# Claude Code 2.1.326 — Code Mode works with agent teams, sandbox tightens

> Claude Code 2.1.326 brings Code Mode to agent teams and closes more paths from the shell to your credentials.

- Org: Anthropic
- Date: 2026-11-16
- Category: tool
- Source: https://github.com/anthropics/claude-code/releases/tag/v2.1.326
- Canonical page: https://ai-tldr.dev/releases/anthropic-claude-code-2-1-326/

## 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.

## What it is

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 it works

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 it matters

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 it's for

Claude Code users and admins who manage its settings

## Try it

npm i -g @anthropic-ai/claude-code@2.1.326

## Links

- [Release Notes](https://github.com/anthropics/claude-code/releases/tag/v2.1.326)
- [Repository](https://github.com/anthropics/claude-code)
