v2.1.216
2.1.216
Highlights:
- Added sandbox.filesystem.disabled setting to skip filesystem isolation while keeping network egress control
- Fixed quadratic message normalization in long sessions, preventing multi-second stalls on resume
- Resumed background agent sessions restore agent prompt and tool restrictions to preserve configured behavior
CLI changelog
- Added sandbox.filesystem.disabled setting to skip filesystem isolation while keeping network egress control
- 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
- … +28 more CLI changelog entries
Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21216
Metadata
-
Time since 2.1.215 release: 1d 18h 31m 5s
-
Bundle file size: +332.7 kB (+0.9%)
-
Prompt files: +2 (+13.3%)
-
Prompt tokens: +3,099 (+14.0%)
Prompt token mix by kind:
- system: 38.4%→52.3%
- tools: 61.6%→47.7%
Files:
- metadata: 2d38a31/meta/metadata.md#diff-a08dfa163baef97ea4f56d29009ac65f5f7dbc46e3a58e80d7aa06a2a2520899L10-R10
- prompt stats: 2d38a31/meta/prompt-stats.md#diff-fa8e31336ece71d159f37b6fd4ed0c61939849140bd5c08c7ca793b5b2ae7f58L1-R1
System prompt changes
Notable changes:
- Claude no longer sees a stray Bun HMR error about adding import.meta.hot.accept. Removing this unrelated log line reduces prompt noise and lowers the chance Claude treats it as a required action or shifts the conversation toward frontend hot-reload fixes.
Links:
Other prompt changes
- Documents that the write tool writes files to the local filesystem.
Links: