Anthropic · 2026-11-16 · notable
Claude Code 2.1.326 — Code Mode works with agent teams, sandbox tightens
In short
Claude Code 2.1.326 lets Code Mode run with agent teams, keeps sandboxed commands out of sensitive home folders and Claude's sign-in files, and streams Remote Control replies to your phone or browser as they are written.
Anthropic · 2026-11-16 · 1 source checked

Claude Code 2.1.326 brings Code Mode to agent teams and closes more paths from the shell to your credentials.
What is it?
Code Mode can now be turned on while agent teams are enabled in Claude Code 2.1.326; sessions with teams that already had it on now start in Code Mode. Remote Control replies from claude remote-control, Claude Desktop and VS Code sessions also stream to a phone or browser as they are written.
How does it work?
On the security side, sandboxed commands on macOS, Linux and WSL no longer write to some sensitive home folders by default (sandbox.filesystem.allowWrite opens them again), and Claude's file tools refuse writes to sign-in files such as .credentials.json. A hook that returns "decision": "block" now holds in more cases, and settings values nested past 64 levels are dropped with a warning.
Why does it matter?
Teams should check scripted setups after updating: some Bash commands that used to run will now ask or be refused, and terminal or VS Code sessions with no mode set start in auto mode when the organization's policy has not loaded. The trade is more prompts for fewer ways an agent can reach credentials.
Who is it for?
Claude Code users and admins who manage its settings
Try it
npm i -g @anthropic-ai/claude-code@2.1.326