v2.1.219
2.1.219
Highlights:
- Opus default switched to Claude Opus 5 (1M), enabling faster responses; fast mode $10/$50 per Mtok
- Added a tool that executes bash commands and returns their output, enabling direct shell data retrieval
- Added ability to launch agents for complex multi-step tasks, allowing delegation and composition of subtasks
CLI changelog
- Added Claude Opus 5 (claude-opus-5), now the default Opus model — 1M context, fast mode at $10/$50 per Mtok
- Added sandbox.network.strictAllowlist setting to deny non-allowlisted hosts for sandboxed commands without prompting
- Added DirectoryAdded hook that fires after /add-dir or the SDK register_repo_root control request registers a new working directory mid-session
- Added mcp_server_errors to the headless stream-json init event, listing --mcp-config entries skipped by config validation; terminal runs print a startup warning
- Added the workflowSizeGuideline settings key so the advisory Dynamic workflow size guideline can be set from any settings file; the /config row is hidden while one does
- Added nested subagent forwarding in stream-json: subagents spawned at depth-2+ now appear when --forward-subagent-text is set, keyed by their spawning Agent tool_use id
- Added HTTP status and error text to claude mcp list and /mcp when a server fails to connect, and a warning for MCP config values with hidden leading or trailing whitespace
- Added structured failure categories to self-hosted runner spawn and session failures, so hook errors, runner crashes and config errors can be told apart
- Added the current default workflow size to the running-workflow status line, with a pointer to /config for changing it
- Fixed claude -p text output dropping the answer already produced when a turn dies on a mid-stream API error
- Fixed a permission you approved while a self-hosted runner was restarting being dropped when the session resumed, so the approved action now runs
- Fixed the Fable model row showing "Requires usage credits" for plans that include it, when a stale cache had baked the label in
- … +15 more CLI changelog entries
Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21219
Metadata
-
Time since 2.1.218 release: 1d 9h 43m 37s
-
Bundle file size: +337.1 kB (+0.9%)
-
Prompt files: +1 (+5.9%)
-
Prompt tokens: +6,483 (+16.9%)
Prompt token mix by kind:
- system: 62.0%→66.1%
- tools: 38.0%→33.9%
Files:
- metadata: dbf6b1f/meta/metadata.md#diff-a08dfa163baef97ea4f56d29009ac65f5f7dbc46e3a58e80d7aa06a2a2520899L10-R10
- prompt stats: dbf6b1f/meta/prompt-stats.md#diff-fa8e31336ece71d159f37b6fd4ed0c61939849140bd5c08c7ca793b5b2ae7f58L1-R1
Other prompt changes
- Clarifies that the edit tool performs exact string replacements in files.
- Tool to run a given bash command and return its output.
- Added a tool to launch a new agent for handling complex, multi-step tasks.
Links:
- 061f884/system-prompts/tool-description-edit.md#diff-d98c9d5750be0d3d005e4bf2b7153b7a85d658c33884e9c9ef520cd58aa2536cR10
- d27115c/system-prompts/tool-description-executes-given-bash-command-returns.md#diff-e97af91442d47a9becde747dd57118d8c113885e098fb83a92a44cc56313350aR33
- 369c42a/system-prompts/tool-description-launch-new-handle-complex-multi.md#diff-f9c65488006fcb18d293ebca17f2420fa5b869c7f4fca44e5a4b8ec47d6cad2fR26