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 v2.1.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

Sandbox status can be reported as machine-readable JSON

Use it now
Useful3 Signal3
Sandbox Notable

Sandbox status can be emitted as a JSON object covering availability, enablement, strict mode and filesystem policy.

What

A new sandbox status path emits a JSON object stamped statusVersion: 2 covering whether sandboxing is available, installed, policy-locked and supported, whether it is enabled, whether strict mode is on, and the filesystem policy, with reasons attached.

Details
  • Two provenance fields say where the settings came from: one for enablement and one for strict mode, each reported as forced, policy, settings or off.
  • Nothing carrying a status version existed in the previous build.
  • Which command surfaces this output is not wired up anywhere visible in the bundle.
Evidence

strictModeSource

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.247 →