What
The sandbox is the walled-off area where Claude Code runs commands with limited access. It starts several helper programs: ripgrep (for searching), network bridges, the macOS log stream and srt-win. Before, these inherited your environment variables unchanged. They now start with an environment Claude Code prepares for them.
On Windows, the windows.backend setting can now be mxc, a new way of running sandboxed commands:
- It needs an SDK to be present. Without it, setup stops with an error.
- It does not support
network.tlsTerminate. - It starts commands itself. Programs built on the sandbox must call
SandboxManager.spawnSandboxed()instead of building the command line themselves.
Also:
- The sandbox's SOCKS proxy (the part that routes network traffic) can now route through the connection used for inspecting traffic.
srt-wingainsprofile retry-stale.- An out-of-date grant to read your profile is now refreshed automatically.
- Setup now stops cleanly if the sandbox is reset partway through.
Why
On Windows you can choose the new mxc backend, though it cannot inspect HTTPS traffic. If a sandbox helper relied on a variable from your shell, it may no longer see it.