Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Sandbox settings requests take extra parameters and refuse when folder settings are not read

get_sandbox_dialog now carries optional parameters such as lists, and sandbox setting edits are refused with local_settings_off when folder settings aren't read

Group of 2 You'll notice Improvements
JSON All of v2.1.331
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SandboxArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release

What

The sandbox is the protected area that limits what commands Claude runs can reach. Programs that build on Claude Code through the SDK (the developer toolkit) can ask it for the sandbox settings dialog and change those settings. They do this with control requests, which are messages the host program sends to Claude Code. Two things changed:

  • getSandboxDialog now passes optional parameters along in the get_sandbox_dialog request, which before carried only its type. One of these is an optional lists field.
  • Editing sandbox settings is now refused with the code local_settings_off when the session does not read the folder's settings, for example in a folder you have not trusted. The message says: "This session doesn't read this folder's settings, so the change wouldn't apply."

Why

Before this, a change could be accepted into settings the session would never use. Now the host program and you get a clear refusal instead, and the host program can ask for more specific parts of the sandbox dialog.

See this entry in the whole of v2.1.331 →

Feedback