{"version":"2.1.333","anchor":"stream-json-sessions-get-a-notice-when-the-sandbox-is-off","canonical_anchor":"stream-json-sessions-get-a-notice-when-the-sandbox-is-off","heading":"stream-json output now says when Claude Code started without the sandbox","tier":"notice","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/stream-json-sessions-get-a-notice-when-the-sandbox-is-off","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### stream-json output now says when Claude Code started without the sandbox\n\nOn Linux and macOS, stream-json output now carries a `sandbox_off` notice when the sandbox couldn't start\n\n**What**\n\nThe sandbox is the protection that limits what shell commands can reach on the network and on disk. In the stream-json output format, where Claude Code writes each event as a line of JSON for another program to read, Claude Code now sends an informational `sandbox_off` message when the sandbox is not available. This applies on Linux and macOS only.\n\nThe message says \"Claude Code started without the sandbox, so shell commands run outside it\", that its network and file restrictions don't apply, and the cause when one is known.\n\n**Why**\n\nPrograms and SDK integrations running Claude Code without a screen can now tell when sandboxing failed instead of assuming it is on.\n\n- Area: Sandbox\n- Names: `sandbox_off`, `stream-json`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}