2.1.211
Highlights:
- Added flag/env to include subagent text/thinking in stream-json, so downstream systems receive subagent output
- Permission previews neutralize bidi, zero-width, and look-alike quotes to prevent visual spoofing of approvals
- Auto mode stops overriding a PreToolUse hook's ask for unsandboxed Bash, so ask now forces a prompt
CLI changelog
- Added --forward-subagent-text flag and CLAUDE_CODE_FORWARD_SUBAGENT_TEXT environment variable to include subagent text and thinking in stream-json output
- Fixed permission previews relayed to chat channels not neutralizing bidirectional-override, zero-width, and look-alike quote characters, so tool inputs cannot visually alter the approval message
- Fixed auto mode overriding a PreToolUse hook's ask decision for unsandboxed Bash — a hook ask now floors the decision at a prompt
- Fixed parallel Claude Code sessions all logging out simultaneously after wake-from-sleep when many sessions share one credential store
- Fixed plugin MCP servers not reconnecting after an idle web session woke, leaving MCP calls failing until the next message
- Fixed Claude Code on Vertex and Bedrock attempting the default Opus model at startup and printing a spurious fallback notice when a model is explicitly configured
- Fixed subagents spawned with an explicit model override reverting to the parent's model when resumed or sent a follow-up message
- Fixed nested .claude/rules/*.md files loading even when setting sources exclude project settings
- Fixed file upload validation: filenames ending in a DOS device suffix (.prn) or trailing dot are now accepted, and files with multiple hard links are refused
- Fixed file uploads to Claude in Chrome from remote and CLI sessions
- Fixed edits that leave the input as "?" being silently swallowed and toggling the shortcuts panel
- Fixed a startup hang when the Claude in Chrome extension is enabled but Chrome is not running
- … +25 more CLI changelog entries
Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21211
Metadata
-
Time since 2.1.210 release: 1d 1h 28m 16s
-
Bundle file size: +137.6 kB (+0.4%)
-
Prompt files: +2 (+7.1%)
-
Prompt tokens: +10,376 (+11.8%)
Prompt token mix by kind:
- system-reminder: 65.0%→58.2%
- system: 20.9%→24.3%
- tools: 14.1%→17.6%
Files:
- metadata: 72d6ea8/meta/metadata.md#diff-a08dfa163baef97ea4f56d29009ac65f5f7dbc46e3a58e80d7aa06a2a2520899L10-R10
- prompt stats: 72d6ea8/meta/prompt-stats.md#diff-fa8e31336ece71d159f37b6fd4ed0c61939849140bd5c08c7ca793b5b2ae7f58L1-R1
Other prompt changes
- Clarifies that the edit tool performs exact string replacements in files.
Links: