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.333 ·

Plugin processes can take over the terminal or run sandboxed

Programs started by plugins can now borrow the session's terminal or run inside the sandbox, with new terminal and sandbox options

Group of 3 Under the hood New Features
JSON All of v2.1.333
Under the hoodTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Plugin APIArea: what it touches
New FeaturesKind: in v2.1.333,
New FeaturesSection of the release

What

A plugin can start a separate program, called a process. Starting one now accepts two new options:

  • terminal lends the session's terminal to the program, so it can take over the screen. If the session has no terminal, it fails with "this session has no terminal to hand over".
  • sandbox runs the program inside the sandbox, the walled-off area that limits what commands can read and write.

How the options are handled:

  • Both are passed on with the existing stdin and timeoutMs options. Before, only stdin and timeoutMs were passed on. terminal is passed only when it is present and set, and sandbox only when it is set.
  • Both must be true or left out. Any other value is rejected with "init. is true or left out".
  • terminal cannot be combined with stdin or sandbox. The error reads "init.terminal goes with neither init.stdin nor init.sandbox".
  • The check on timeoutMs moved into a shared helper.
  • Programs launched this way are stopped with SIGHUP, the signal a program gets when its terminal closes.

Why

Plugins can now run interactive programs that need the whole terminal, such as an editor, or keep a program they start inside the sandbox. A plugin cannot ask for the terminal and the sandbox at the same time.

See this entry in the whole of v2.1.333 →

Feedback