Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

New process API lets hooks modules start and drive child processes

A new process.open, send, end, read, signal and close API lets hooks modules run child processes, refused in at least one setting

Group of 4 Under the hood Internal Changes
JSON All of v2.1.336
Under the hoodTier: how much it should matter to you
3Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Remote ControlArea: what it touches
Internal ChangesKind: in v2.1.336,
What probably matters to youSection of the release

What

Hooks are scripts that run automatically at set points in a session, and plugins can supply them as modules. Those modules get a new set of process operations for starting and controlling another program (a child process):

  • process.open, process.send, process.end, process.read, process.signal and process.close are added to the hooks module runtime. Each one works through a token, and each token holds at most one child process.
  • Input sent to the process is capped, and on Windows or inside the sandbox (a walled-off area limiting what commands can touch) only SIGTERM and SIGKILL signals are accepted.
  • The same six operations are also exposed as remote calls through a separate wrapper. No caller of it was looked for.
  • A table of allowed operations marks all six as "refused". Before, the table had no entries.
  • The workflow tool now treats process.open like process.run and process.spawn, so a script using it gets the "may use ... on $.process" note.

The same release adds a harness_file_send message type and three new file-send query events.

Why

Plugin authors can start a program from a hooks module, write to it, read from it and stop it, though some setups refuse these operations entirely.

See this entry in the whole of v2.1.336 →

Feedback