Skip to content

v2.1.216

Choose a tag to compare

@marckrenn marckrenn released this 20 Jul 22:30

2.1.216

(☝ Click to see full diff.)

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:

System prompt changes

Notable changes:

  1. 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:

  1. a441b55/cc-prompt.md#diff-b0a16d13c25d701124251a8943c92de0ff67deacae73de1e83107722f5e5d7f1L59

Other prompt changes

  1. Documents that the write tool writes files to the local filesystem.

Links:

  1. 51f2448/system-prompts/tool-description-write.md#diff-9c34cc0e7d9c17b756de147507de09c530bbab89236f20357009c4ab54a14f9aR18