Skip to content

v2.1.214

Choose a tag to compare

@marckrenn marckrenn released this 18 Jul 01:37

2.1.214

(☝ Click to see full diff.)

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:

Other prompt changes

  1. Edit tool now documented to perform exact string replacements in files, with guidance to use replace_all for renaming.

Links:

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