Claude-Code v2.1.216: Filesystem isolation, performance, and bug fixes
Claude-Code v2.1.216 introduces a new setting to disable filesystem isolation, enhancing flexibility for developers. This release also addresses critical performance regressions in long sessions and resolves numerous bugs affecting command execution, session resumes, and cross-platform compatibility. These fixes are crucial for maintaining stable and efficient development workflows for users interacting with Claude for code-related tasks.
- →Added sandbox.filesystem.disabled setting to skip filesystem isolation while keeping network egress control
- →Fixed auto mode denying commands with "HTTP 401" classifier errors after the OAuth token expired or rotated mid-session
- →Fixed Claude Code on the web re-asking the same question and dropping your answer after the session sat idle for a few minutes
- →Fixed resumed background agent sessions reverting to the default agent: the agent's prompt and tool restrictions are now restored
- →Fixed worktree-isolated subagents redirecting git into the shared checkout via git -C, --git-dir, or GIT_DIR/GIT_WORK_TREE
Features (1) ›
- Added sandbox.filesystem.disabled setting to skip filesystem isolation while keeping network egress control
Enhancements (6) ›
- Improved the /fork confirmation to one line with the new session's name, claude attach id, and a note when the copy shares your checkout
- Improved validation of git and gh command arguments in the PowerShell tool
- Improved the /ultrareview diff-too-large error to show configured limits, measured diff size, and largest contributing files
- Improved /code-review ultra empty-diff message to name the exact base ref and suggest passing an explicit base
- Improved the spend limit adjustment prompt to show the server's reason when a spend limit change is rejected
Updated the bundled dataviz skill: reordered the default chart palette and fixed guidance that suggested direct labels for four-series charts
Fixes (29) ›
Fixed a slowdown in long sessions where message normalization cost grew quadratically with the number of turns, causing multi-second stalls and slow resumes
- Fixed auto mode denying commands with "HTTP 401" classifier errors after the OAuth token expired or rotated mid-session
Fixed AskUserQuestion telling Claude to continue even when your answer asked it to wait or explain first — free-text answers now get neutral wording
- Fixed Claude Code on the web re-asking the same question and dropping your answer after the session sat idle for a few minutes
Fixed @-mentions silently attaching nothing after file-modifying hooks, vim dot-repeat of c-operators and paste, statusline running twice on resume, and resume-picker hangs on failure
- Fixed resumed background agent sessions reverting to the default agent: the agent's prompt and tool restrictions are now restored
- Fixed worktree-isolated subagents redirecting git into the shared checkout via git -C, --git-dir, or GIT_DIR/GIT_WORK_TREE
- Fixed worktree sessions landing in another project's leftover worktree when the working directory did not match the selected project
- Fixed background sessions whose worktree has no git repository being undeletable
- Fixed claude daemon stop --any potentially terminating an unrelated process via a stale legacy daemon lockfile
- Fixed Esc-Esc at an idle prompt not opening the rewind picker in long-running sessions with background tasks
- Fixed Bash command permission checking for compound statements with redirects inside && lists or negations
Fixed pressing Ctrl+X twice in the agent list failing to delete a session, and deleted sessions reappearing when their background worker had died
- Fixed background subagents getting cancelled when a high-priority message arrives during their startup window
Fixed mouse and focus garbage in the terminal while a GUI editor from /memory, /plan, /keybindings, or Ctrl+G is open; /memory no longer waits for the editor to close
- Fixed Claude-in-Chrome 403-looping on reconnect when the session's OAuth token lacks a required scope
- Fixed workflow saves and scheduled-task writes following a symlink at .claude, which could redirect writes outside the project
Fixed MCP re-authenticate revoking working credentials before the new sign-in succeeds, and the reconnect needs-auth message in background sessions pointing at an unusable command
- Fixed read-only commands on Windows accessing network paths without a permission prompt
- Fixed Bash command parsing of non-ASCII characters to match real shell word boundaries
- Fixed PowerShell tool permission validation of commands containing invisible Unicode characters
- Fixed dialogs in fullscreen mode stretching past the right-hand edge of their panel
- Fixed the /config settings list in fullscreen mode clipping its keyboard-hint footer
- Fixed the transcript-mode (Ctrl+O) footer hint wrapping on terminals narrower than 104 columns
- Fixed the Prometheus metrics endpoint (OTEL_METRICS_EXPORTER=prometheus) emitting invalid # UNIT lines
- Fixed skills and commands changed during a session not appearing in the slash menu until restart
- Fixed plugin skills with a name frontmatter field losing their plugin prefix in slash-command autocomplete
Fixed telemetry misreporting permission denials: failed permission-prompt requests no longer count as user rejections, and user interrupts are now reported as user aborts instead of rejections
Fixed cloud sessions dropping the in-flight message when the session's container restarts mid-turn — the interrupted turn now re-runs on resume instead of leaving the session unresponsive
https://github.com/anthropics/claude-code/releases/tag/v2.1.216
Related releases
- Anthropic's Claude Code v2.1.269 adds plugin eval, workflow agent limits, and fixes Claude Code Releases ·
- Anthropic Claude Code v2.1.268 Patch Release Claude Code Releases ·
- Anthropic Introduces Smart Reports for Claude Enterprise Teams Claude Release Notes ·
- Anthropic Enhances Claude Managed Agents with `auto` Policy, CLI Connect Claude Platform Release Notes ·
- Anthropic Python SDK v1.5.0 Introduces Managed Agent and Tooling Enhancements Anthropic Python SDK Releases ·
- Anthropic Claude Code v2.1.267 Delivers New Controls and Bug Fixes Claude Code Releases ·