Update dependency npm:@anthropic-ai/claude-code to v2.1.212#164
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.1.206→2.1.212Release Notes
anthropics/claude-code (npm:@anthropic-ai/claude-code)
v2.1.212Compare Source
/forknow copies your conversation into a new background session (its own row inclaude agents) while you keep working; the in-session subagent it used to launch is now/subtaskclaude auto-mode resetto restore the default auto-mode configuration, with a confirmation prompt (pass--yesto skip)CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION) to stop runaway search loopsCLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION) to stop runaway delegation loops;/clearresets the budgetCLAUDE_CODE_MCP_AUTO_BACKGROUND_MS/resumein the agent view now opens a picker of past sessions — including sessions deleted from the list — and resumes your pick as a background sessiontouch,rm) without a permission prompt or SDKcanUseToolcallback.claude/worktrees, which could create files outside the repositorycontinue:falsehook's halt being dropped when the tool fails or completes mid-stream, and hook infrastructure errors being misreported as user rejections/backgroundandclaude --bgfailing with "EUNKNOWN: unknown error, uv_spawn" on Windows when Group Policy blocks PowerShell 5.1; the daemon now prefers PowerShell 7!) not executing commands containing file paths while the path autocomplete popup was open?help overlay/ultrareviewrejecting PR references like#123,PR 123, and pasted PR URLs; error hints now name the command you actually typed/ultrareview <branch>not fetching the branch from origin when it exists remotely; it now suggests the closest branch name on typos/ultrareviewskipping the billing confirmation in a new conversation after/clear/ultrareview's "not a git repository" error on Claude Desktop now suggesting the project's repository folder instead of terminal commandsExitWorktreefailing with "no active EnterWorktree session" after resuming a session with--continue/--resumein print/SDK mode/forklosing their live-parent protection after a state write failuretrace_id/span_idwhenTRACEPARENTis set in SDK/headless modeSendMessagebodies are no longer duplicated into replayed history and tool results/forkto name the copy after your prompt when the session has no title, so the row is recognizable in the agent view/btwto reopen the side-question panel on your most recent exchange so you can browse earlier answers←footer hint to pulseN donefor a moment when a background agent finishes while nothing needs your inputmodeparameter (now ignored); subagents inherit the parent session's permission mode by defaultforceLoginMethodto be enforced for VS Code extension, SDK,setup-token, andinstall-github-applogins, not just the terminalset_modelcontrol request mid-turn; the next model round-trip uses the new model instead of waiting for the next turnclaude agents --json: sessions waiting on a sandbox, MCP-input, or managed-settings prompt now show as "Needs input" instead of "Working"v2.1.211Compare Source
--forward-subagent-textflag andCLAUDE_CODE_FORWARD_SUBAGENT_TEXTenvironment variable to include subagent text and thinking in stream-json outputaskdecision for unsandboxed Bash — a hookasknow floors the decision at a prompt.claude/rules/*.mdfiles loading even when setting sources exclude project settings.prn) or trailing dot are now accepted, and files with multiple hard links are refused/loophiding the session from/resumeafter a single use/terminal-setupor onboarding terminal setupANTHROPIC_AUTH_TOKEN+ANTHROPIC_BASE_URL) coming back "Not logged in" after the daemon respawns themclaude agentsjobs becoming permanently undeletable when git no longer recognizes their worktree — the row now shows why the delete was refused instead of silently reappearing/clearnot resetting the session cost counter — the statusline's cost now starts at $0 after/clear/clear1e6and64_000/usage-creditsto ask for confirmation before sending a request to organization adminssandS(substitute char/line) to work in NORMAL mode, matching vim behaviorsave_to_diskon screenshot actions now writes the image to disk and returns the path; previously it did nothingv2.1.210Compare Source
Write(path),NotebookEdit(path), andGlob(path)permission rules — useEdit(path)orRead(path)insteadisolation: 'worktree'subagents being able to run git-mutating commands against the main repo checkout instead of their own isolated worktreeultracodekeyword opt-in firing on non-human-originated input such as webhook payloads and relayed PR commentsclaude attachsometimes failing with "job not found" or "agent is still starting" errors during session transitions — attach now waits for the daemon to settle, and terminal resizes during a slow attach are applied once it completescdtook effect after its command was moved to the background; the tool result now states the working directory is unchanged/doctorskipping its auto-mode-default proposal on Bedrock, Vertex, and Foundry, where auto mode no longer needs an opt-in$1/$2positional placeholders in skills and commands being silently stripped; they are now preserved verbatimclaude agents --effort ultracodenot reaching dispatched sessions; the value was silently droppedgit worktree lockbehind; the periodic sweep now releases locks whose owning process is goneinitializecontrol request waiting until the next turn to start connectingCLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1.claude/*symlinks not being reconciled into the sandbox deny-write listv2.1.209Compare Source
claude agentsbackground sessions (reverts an overly broad guard)v2.1.208Compare Source
claude --ax-screen-reader, set CLAUDE_AX_SCREEN_READER=1, or add "axScreenReader": true to settings.vimInsertModeRemapssetting: map two-key insert-mode sequences likejjto Escape in vim modeCLAUDE_CODE_PROCESS_WRAPPER: agent view and the background service now honor a corporate launcher by running every Claude Code self-spawn through a required wrapper executableclaude agentsprocess was launched fromclaude -pCLAUDE_CODE_MAX_OUTPUT_TOKENSand similar env vars silently using the mantissa of scientific-notation values (1e6became1)apiKeyHelperscript failures being hidden behind a generic 401 after ~10 silent retries; the script's own error is now shown within 3 attempts/upgradeshowing a login flow instead of the upgrade URL when the browser fails to opencontrol_requestcarried a non-stringset_modelpayload; the CLI now answers with an error responsetoolslist resolves to nothing — it now returns a clear error naming the unrecognized entries/usageshowing stale cached bars over fresher data, and/mcpnot reclassifying placeholder servers after config edits~/.claude/workflows/instead of theCLAUDE_CONFIG_DIRlocation for user-scope saves/release-notesadding the viewed notes to the model's context — "Show all" previously injected the entire changelog into every subsequent request/tasksuntil cleanup instead of vanishing the moment they finishrm -rf ~) in commands containing$(…)/backticks/<(…)now prompt in--dangerously-skip-permissionsand auto mode, matching the plain form/install-github-appand the/mcpsettings menu no longer open in background sessions/mcpinstead of a config error/usagenow shows your last-known usage bars with an "as of" note when the usage endpoint is rate-limited, instead of an error screenv2.1.207Compare Source
CLAUDE_CODE_ENABLE_AUTO_MODEopt-in on Bedrock, Vertex AI, and Foundry; disable viadisableAutoModein settingsclaude -p, the SDK) being permanently recorded as consented without ever showing the security consent dialog~/.local/bin/claudeon every release;/doctornow reports an externally managed launchercdprompting for permission when the only output redirect was to/dev/nullextensions.worktreeConfigbeing left in the repo's.git/config(breaking go-git tools liketea) after the lastworktree.sparsePathsworktree was removed.ignore, and.worktreeincludebreaking file reads, file suggestions, and worktree creation[Pasted text #N]placeholder instead of adding a second onewaiting 3m) instead of the same timestamp twiceautoModefrom.claude/settings.local.json(repo-resident); use~/.claude/settings.jsoninsteadcredential_process): the 60-second stall guard now fires instead of waiting forever.${user_config.*}in shell-form commands is now rejected (shell-injection fix). Hooks: use exec form (argsarray) or$CLAUDE_PLUGIN_OPTION_<KEY>; monitors and headersHelper: read the value inside the script (config file or the server'senvblock).pluginConfigs) are no longer read from project-level.claude/settings.json; only user,--settings, and managed settings are honored/usage-creditsamount inputs silently stripping malformed values (e.g. a pasted timestamp) to digits; malformed amounts are now rejected with an error, and amounts over $1,000 require a typed confirmationConfiguration
📅 Schedule: (in timezone Asia/Tokyo)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.