Skip to content

v2.1.225

Choose a tag to compare

@marckrenn marckrenn released this 08 Aug 01:23
· 10 commits to main since this release

2.1.225

(☝ Click to see full diff.)

Highlights:

  • Edit tool does exact string replacements in files, preventing unintended partial edits that altered substrings
  • Claude Code usage warning shows gateway spend cap, reset time and operator message so limits are clear
  • Auto mode ignores safety-filter refusals for consecutive-block counts, letting denied actions be skipped

CLI changelog

  • Added gateway spend-limit support to Claude Code's usage warning; the limit-reached message now names the cap, its reset time, and the operator's message (requires the gateway on 2.1.225)
  • Added a workspace trust prompt to claude agents for untrusted directories, matching the behavior of claude
  • Fixed a transient 401 replacing a long-lived CLAUDE_CODE_OAUTH_TOKEN with a stored login's short-lived token, breaking headless sessions until restart
  • Fixed MCP OAuth servers on macOS intermittently failing with a burst of 401 errors, as if never authenticated, after a keychain read timed out
  • Fixed auto mode counting a safety-filter refusal of its own permission check toward the consecutive-block limit; the action is still denied, but the model is now told to move on rather than retry
  • Fixed cross-session messages staying parked without a notice or expiry in headless sessions and during startup
  • Fixed conversation history breaking on Remote Control session resume after very large conversations were compacted
  • Fixed hovering over a session in another project in the agents list changing the directory the next agent starts in
  • Fixed claude self-hosted-runner registering and then failing every session when --base-dir cannot be created or written; it now exits at startup with a clear error
  • Fixed Claude Code on the web sessions being misreported as stuck, re-sending a growing event backlog on every reconnect
  • Improved Remote Control: photos attached from the Claude app are now shown to Claude directly instead of being read from disk with a separate tool call
  • [VSCode] Fixed Focus view folding away the latest to-do list, a pending question's context, and settled answers; thinking-only folds show "Thought for Ns" and re-collapse when their turn completes
  • … +2 more CLI changelog entries

Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21225

Metadata

  • Time since 2.1.224 release: 1d 18h 32m 5s

  • Bundle file size: +407.7 kB (+1.0%)

  • Prompt files: +2 (+7.7%)

  • Prompt tokens: +9,353 (+11.6%)

Prompt token mix by kind:

  • system: 79.6%→79.5%
  • tools: 20.4%→20.5%

Files:

Other prompt changes

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

Links:

  1. 9d6afc2/system-prompts/tool-description-edit.md#diff-d98c9d5750be0d3d005e4bf2b7153b7a85d658c33884e9c9ef520cd58aa2536cR10