Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v1.0.124 Home All releases olderv1.0.123 v1.0.125newer
Claude Code v1.0.124

Sandboxed Bash Mode (-sb/--sandboxed-bash)

What: A new permission mode that combines sandbox restrictions with automatic command approval for commands that comply with configured filesystem and network policies.

How to use:

# Enable sandboxed bash mode
claude -sb

# Or with long form
claude --sandboxed-bash

Details:

  • Requires a sandbox configuration to be active in your settings.json files
  • Only available when sandbox.filesystem or sandbox.network restrictions are configured
  • Auto-accepts commands that comply with sandbox policies while rejecting violating commands
  • Accessible via keyboard shortcut (cycles through permission modes: default → sandboxBashMode → acceptEdits → plan → bypassPermissions)
  • Evidence: Permission mode added to enum at X41 line 352214, mode cycling logic in bFB() at line 427311, validation in Ku2() at line 383783

See this entry in the whole of v1.0.124 →