Skip to content

v2.1.211

Latest

Choose a tag to compare

@marckrenn marckrenn released this 15 Jul 23:29

2.1.211

(☝ Click to see full diff.)

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:

Other prompt changes

  1. Clarifies that the edit tool performs exact string replacements in files.

Links:

  1. 8432729/system-prompts/tool-description-edit.md#diff-d98c9d5750be0d3d005e4bf2b7153b7a85d658c33884e9c9ef520cd58aa2536cR3