v2.1.246
2.1.246
Highlights:
- Added a tool to launch dedicated agents for complex multi-step tasks, enabling isolated subagent workflows
- Auto mode tab added to /permissions to view and edit auto-mode classifier rules, enabling finer control
- Increased safety-check timeout for auto-mode tool calls to prevent temporary denials for large sessions
CLI changelog
- Added a startup warning for Bash allow rules with a wildcard before the subcommand (e.g. Bash(git * main)), since they also match options inserted before the subcommand
- Added an Auto mode tab to /permissions for viewing and editing auto mode classifier rules
- Added the turn's completion time to the end-of-turn duration line, e.g. ✻ Sautéed for 23s · done 6:05 PM
- Fixed fullscreen mode showing a blank transcript after resizing the terminal and jumping to the bottom until the next keypress
- Fixed a severe transcript slowdown when a diff contained a very long single line (e.g. a base64 string); such lines now render truncated with a marker
- Fixed erratic fullscreen scrolling when positioned at an earlier message, including jump-to-bottom getting stuck mid-transcript
- Fixed background sessions failing to open after 45 seconds when Claude Code's starting directory had been deleted, the machine had slept, or the host is slow to start processes
- Fixed background sessions failing to open with "Couldn't start the background service … EACCES" when another Claude Code process was re-installing the npm package at that moment
- Fixed markdown rendering being disabled for a whole message when its first 500 characters contained no markdown, and for +/N) lists and setext headings
- Fixed MCP tool calls interrupted by an incoming message in headless/remote sessions being reported to the model as "completed with no output" instead of an explicit interrupted error
- Fixed MCP tool arguments being sent as JSON strings when the parameter's schema is empty ({}), instead of their real type
- Fixed a command interrupted mid-run showing as "Ran 1 shell command" with no sign it was cut
- … +49 more CLI changelog entries
Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21246
Metadata
-
Time since 2.1.245 release: 14h 33m 33s
-
Bundle file size: -10,784.2 kB (-15.8%)
-
Prompt files: +3 (+5.9%)
-
Prompt tokens: +9,883 (+4.5%)
Prompt token mix by kind:
- system: 89.0%→88.4%
- tools: 11.0%→11.6%
Files:
- metadata: e7a2cd3/meta/metadata.md#diff-a08dfa163baef97ea4f56d29009ac65f5f7dbc46e3a58e80d7aa06a2a2520899L10-R10
- prompt stats: e7a2cd3/meta/prompt-stats.md#diff-fa8e31336ece71d159f37b6fd4ed0c61939849140bd5c08c7ca793b5b2ae7f58L1-R1
Other prompt changes
- Adds a tool to launch a new agent to handle complex, multi-step tasks.
Links: