v2.1.214
2.1.214
Highlights:
- Added EndConversation tool to end sessions with abusive users or jailbreak attempts and halt interaction
- Added permission prompts for Docker/Podman daemon-redirect flags to prevent accidental remote daemon access
- Edit tool makes literal string replacements in files so edits affect only exact specified text, not patterns
CLI changelog
- Added the EndConversation tool: Claude can end sessions with highly abusive users or jailbreak attempts, as on claude.ai since 2025 — see https://www.anthropic.com/research/end-subset-conversations
- Added a periodic progress heartbeat for long-running tool calls that previously went silent
- Added an ISO modified timestamp to memory file frontmatter
- Added message.uuid, client_request_id, and tool_source attributes to OpenTelemetry log events for message-level correlation and tool provenance
- Added CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH to configure the 60 KB truncation limit on OpenTelemetry content attributes
- Added reasoning effort to the subagentStatusLine payload, so custom agent rows can render model and effort
- Added permission prompts for docker commands (including the Podman docker shim) carrying daemon-redirect flags (--url, --connection, --identity, and Podman's remote mode) that previously ran without one
- Fixed single-segment dir/ allow rules like Edit(src/) auto-approving writes to nested dir/ directories anywhere in the tree instead of only /dir
- Fixed a permission-check bypass affecting commands run in Windows PowerShell 5.1 sessions
- Fixed Bash permission checks to fail closed on file-descriptor redirect forms that bash parses differently than the permission analyzer
- Fixed Bash permission checks misjudging very long commands — commands over 10,000 characters now always prompt instead of running automatically
- Fixed Bash permission checks treating zsh variable subscripts and modifiers in [[ ]] comparisons as inert text — these commands now prompt for approval
- … +35 more CLI changelog entries
Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21214
Metadata
-
Time since 2.1.213 release: 2h 25m 30s
-
Bundle file size: +6.9 kB (+0.0%)
-
Prompt files: -18 (-58.1%)
-
Prompt tokens: -92,279 (-85.1%)
Prompt token mix by kind:
- tools: 14.3%→74.0%
- system: 33.1%→26.0%
- system-reminder: 52.6%→0.0%
Files:
- metadata: dd12186/meta/metadata.md#diff-a08dfa163baef97ea4f56d29009ac65f5f7dbc46e3a58e80d7aa06a2a2520899L10-R10
- prompt stats: dd12186/meta/prompt-stats.md#diff-fa8e31336ece71d159f37b6fd4ed0c61939849140bd5c08c7ca793b5b2ae7f58L1-R1
Other prompt changes
- Edit tool now documented to perform exact string replacements in files, with guidance to use replace_all for renaming.
Links: