v2.1.225
2.1.225
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:
- metadata: bd25e3d/meta/metadata.md#diff-a08dfa163baef97ea4f56d29009ac65f5f7dbc46e3a58e80d7aa06a2a2520899L10-R10
- prompt stats: bd25e3d/meta/prompt-stats.md#diff-fa8e31336ece71d159f37b6fd4ed0c61939849140bd5c08c7ca793b5b2ae7f58L1-R1
Other prompt changes
- Clarifies that the edit tool performs exact string replacements in files.
Links: