Skip to content

Commit 2c62b1d

Browse files
github-actions[bot]claude-yolo[bot]
andcommitted
docs: Claude Code v2.1.212 - /fork becomes background sessions, runaway loop caps, MCP auto-background
Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
1 parent f72867f commit 2c62b1d

237 files changed

Lines changed: 5821 additions & 4737 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

content/.metadata.json

Lines changed: 477 additions & 463 deletions
Large diffs are not rendered by default.

content/CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,56 @@
11
# Changelog
22

3+
## 2.1.212
4+
5+
- `/fork` now copies your conversation into a new background session (its own row in `claude agents`) while you keep working; the in-session subagent it used to launch is now `/subtask`
6+
- Added `claude auto-mode reset` to restore the default auto-mode configuration, with a confirmation prompt (pass `--yes` to skip)
7+
- Added a session-wide limit on WebSearch tool calls (default 200, tunable via `CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION`) to stop runaway search loops
8+
- Added a per-session cap on subagent spawns (default 200, override with `CLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION`) to stop runaway delegation loops; `/clear` resets the budget
9+
- MCP tool calls running longer than 2 minutes now move to the background automatically so the session stays usable; configure the threshold or disable with `CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS`
10+
- Typing `/resume` in the agent view now opens a picker of past sessions — including sessions deleted from the list — and resumes your pick as a background session
11+
- Fixed plan mode auto-running file-modifying Bash commands (e.g. `touch`, `rm`) without a permission prompt or SDK `canUseTool` callback
12+
- Fixed worktree creation following a repository-committed symlink at `.claude/worktrees`, which could create files outside the repository
13+
- Fixed a `continue:false` hook's halt being dropped when the tool fails or completes mid-stream, and hook infrastructure errors being misreported as user rejections
14+
- Fixed SIGTERM during a running Bash tool orphaning the command's process tree in print/SDK mode; the CLI now aborts the turn, kills the tree, and exits 143
15+
- Fixed `/background` and `claude --bg` failing with "EUNKNOWN: unknown error, uv_spawn" on Windows when Group Policy blocks PowerShell 5.1; the daemon now prefers PowerShell 7
16+
- Fixed shell mode (`!`) not executing commands containing file paths while the path autocomplete popup was open
17+
- Fixed auto-mode denial notifications rendering broken characters when a long denial reason was truncated mid-emoji
18+
- Fixed Ctrl+J not inserting a newline in the agent view dispatch input on terminals with extended key reporting, and surfaced the newline shortcut in the `?` help overlay
19+
- Fixed `/ultrareview` rejecting PR references like `#123`, `PR 123`, and pasted PR URLs; error hints now name the command you actually typed
20+
- Fixed `/ultrareview <branch>` not fetching the branch from origin when it exists remotely; it now suggests the closest branch name on typos
21+
- Fixed `/ultrareview` skipping the billing confirmation in a new conversation after `/clear`
22+
- Fixed `/ultrareview`'s "not a git repository" error on Claude Desktop now suggesting the project's repository folder instead of terminal commands
23+
- Fixed hosted (host-managed) sessions failing at startup when repository settings configured mTLS certs, extra CA bundles, or OAuth scopes; these transport settings are now ignored with a warning
24+
- Fixed a spurious "File has not been read yet" error when editing a file that had been read with offset/limit before resuming a session
25+
- Fixed `ExitWorktree` failing with "no active EnterWorktree session" after resuming a session with `--continue`/`--resume` in print/SDK mode
26+
- Fixed the workflow agent grid staying empty for Remote Control clients that join a session mid-run
27+
- Fixed streaming-mode control requests being marked complete before their handler finished, which could lose the request on session restart
28+
- Fixed background sessions created with `/fork` losing their live-parent protection after a state write failure
29+
- Fixed reopening a stopped background session from the agent view failing silently — it now resumes the session, or shows why it can't and lets you force a restart
30+
- Fixed agent teams: a stopping teammate could send the leader duplicate idle notifications when team initialization re-ran within a session
31+
- Fixed the plan-approval dialog footer splitting "ctrl+g to edit in <editor>" apart when the file path is long
32+
- Fixed the welcome banner keeping its old panel widths after a combined width+height terminal resize in fullscreen mode
33+
- Fixed diff previews losing their line numbers and +/- markers in narrow layouts
34+
- Fixed @-mentions attaching nothing after a partial file read, plugin uninstall targeting the wrong marketplace, and false "Command timed out" on exit code 143
35+
- Fixed OpenTelemetry HTTP exports being rejected with 411/400 by Azure Monitor and other endpoints that don't accept chunked transfer encoding
36+
- Fixed OTLP event log records missing `trace_id`/`span_id` when `TRACEPARENT` is set in SDK/headless mode
37+
- Fixed conversations with many images incorrectly failing with "Request too large" errors, and improved the error message to explain the actual cause
38+
- Fixed web search and web fetch returning "API Error" text as search results or page content when the API was overloaded
39+
- Improved web search and web fetch reliability by retrying 529 errors and rate-limited requests with bounded backoff
40+
- Improved prompt caching: the mid-conversation system block now works behind LLM gateways and custom base URLs (Bedrock, Vertex, 1P)
41+
- Improved background agent attach: cold-attaching now instantly shows the formatted transcript while the session boots, instead of a blank wait
42+
- Reduced token usage in inter-agent messaging: `SendMessage` bodies are no longer duplicated into replayed history and tool results
43+
- Changed `/fork` to name the copy after your prompt when the session has no title, so the row is recognizable in the agent view
44+
- Changed bare `/btw` to reopen the side-question panel on your most recent exchange so you can browse earlier answers
45+
- Changed the `` footer hint to pulse `N done` for a moment when a background agent finishes while nothing needs your input
46+
- Deprecated the Task tool's `mode` parameter (now ignored); subagents inherit the parent session's permission mode by default
47+
- Changed Enterprise `forceLoginMethod` to be enforced for VS Code extension, SDK, `setup-token`, and `install-github-app` logins, not just the terminal
48+
- Changed session transcripts to record the reasoning effort level on each assistant message
49+
- Changed headless/SDK sessions to apply a `set_model` control request mid-turn; the next model round-trip uses the new model instead of waiting for the next turn
50+
- Changed agent view / `claude agents --json`: sessions waiting on a sandbox, MCP-input, or managed-settings prompt now show as "Needs input" instead of "Working"
51+
- Updated the auth status panel title from "Cloud authentication" to "Authentication"
52+
- Corrected an earlier release note (2.1.200): tmux through the 3.6 series lacks synchronized output; newer tmux with support is detected automatically
53+
354
## 2.1.211
455

556
- Added `--forward-subagent-text` flag and `CLAUDE_CODE_FORWARD_SUBAGENT_TEXT` environment variable to include subagent text and thinking in stream-json output

content/claude-code-manifest.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "@anthropic-ai/claude-code",
3-
"version": "2.1.211",
3+
"version": "2.1.212",
44
"author": {
55
"name": "Anthropic",
66
"email": "support@anthropic.com"
77
},
88
"license": "SEE LICENSE IN README.md",
9-
"_id": "@anthropic-ai/claude-code@2.1.211",
9+
"_id": "@anthropic-ai/claude-code@2.1.212",
1010
"maintainers": [
1111
{
1212
"name": "zak-anthropic",
@@ -69,20 +69,20 @@
6969
"claude": "bin/claude.exe"
7070
},
7171
"dist": {
72-
"shasum": "68055cb6571ffeb9c6dcd711460a3df1521fcaac",
73-
"tarball": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.211.tgz",
72+
"shasum": "7e8059b59c88e03a81e866662d3026e2a064a638",
73+
"tarball": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.212.tgz",
7474
"fileCount": 7,
75-
"integrity": "sha512-yGhXSF9YfHoVGe0S6N9ky5uajx79f+vt6ZT3HhBJLFSjJtiGEs67H0h93iTdOvPU/wOffijpTUAn76U/+vQnTQ==",
75+
"integrity": "sha512-MEasj1oaoARRKEWU7eHJ6DWC2TC8ogml9QUDihbmxYI2Ij5Ol1leW90DIj8/a0xX3lfHZOwT3gJr0JxVKa8Sxw==",
7676
"signatures": [
7777
{
78-
"sig": "MEUCIEJRQrYRz/QzeVio1yKdJBySDQlwZFdnAzOwpHP7J4ZBAiEAwcB6t+weFMj1XrB4RJj5JgDBygD07x0DPwZuoHlOCLQ=",
78+
"sig": "MEQCIH+1m6cgl34lDUtw9OqJYSZE3sZmgoROr3U5sHFyZC/XAiBMiH7TyF6Ka3o+omNezfmBQ/xt6trP/nGAc7h8RfoZNw==",
7979
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
8080
}
8181
],
82-
"unpackedSize": 159686
82+
"unpackedSize": 165282
8383
},
8484
"type": "module",
85-
"_from": "file:staged-npm/anthropic-ai-claude-code-2.1.211.tgz",
85+
"_from": "file:staged-npm/anthropic-ai-claude-code-2.1.212.tgz",
8686
"engines": {
8787
"node": ">=22.0.0"
8888
},
@@ -94,8 +94,8 @@
9494
"name": "wolffiex",
9595
"email": "wolffiex@anthropic.com"
9696
},
97-
"_resolved": "/home/runner/work/claude-cli-internal/claude-cli-internal/staged-npm/anthropic-ai-claude-code-2.1.211.tgz",
98-
"_integrity": "sha512-yGhXSF9YfHoVGe0S6N9ky5uajx79f+vt6ZT3HhBJLFSjJtiGEs67H0h93iTdOvPU/wOffijpTUAn76U/+vQnTQ==",
97+
"_resolved": "/home/runner/work/claude-cli-internal/claude-cli-internal/staged-npm/anthropic-ai-claude-code-2.1.212.tgz",
98+
"_integrity": "sha512-MEasj1oaoARRKEWU7eHJ6DWC2TC8ogml9QUDihbmxYI2Ij5Ol1leW90DIj8/a0xX3lfHZOwT3gJr0JxVKa8Sxw==",
9999
"_npmVersion": "11.16.0",
100100
"description": "Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.",
101101
"directories": {},
@@ -104,17 +104,17 @@
104104
"_hasShrinkwrap": false,
105105
"readmeFilename": "README.md",
106106
"optionalDependencies": {
107-
"@anthropic-ai/claude-code-linux-x64": "2.1.211",
108-
"@anthropic-ai/claude-code-win32-x64": "2.1.211",
109-
"@anthropic-ai/claude-code-darwin-x64": "2.1.211",
110-
"@anthropic-ai/claude-code-linux-arm64": "2.1.211",
111-
"@anthropic-ai/claude-code-win32-arm64": "2.1.211",
112-
"@anthropic-ai/claude-code-darwin-arm64": "2.1.211",
113-
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.211",
114-
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.211"
107+
"@anthropic-ai/claude-code-linux-x64": "2.1.212",
108+
"@anthropic-ai/claude-code-win32-x64": "2.1.212",
109+
"@anthropic-ai/claude-code-darwin-x64": "2.1.212",
110+
"@anthropic-ai/claude-code-linux-arm64": "2.1.212",
111+
"@anthropic-ai/claude-code-win32-arm64": "2.1.212",
112+
"@anthropic-ai/claude-code-darwin-arm64": "2.1.212",
113+
"@anthropic-ai/claude-code-linux-x64-musl": "2.1.212",
114+
"@anthropic-ai/claude-code-linux-arm64-musl": "2.1.212"
115115
},
116116
"_npmOperationalInternal": {
117-
"tmp": "tmp/claude-code_2.1.211_1784143446878_0.6187546655379783",
117+
"tmp": "tmp/claude-code_2.1.212_1784229624194_0.005650864120049448",
118118
"host": "s3://npm-registry-packages-npm-production"
119119
}
120120
}

0 commit comments

Comments
 (0)