Update claude-code to 2.1.219 #38
Loading…
Reference in a new issue
No description provided.
Delete branch "auto-update/claude-code-2.1.219"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Automated update of claude-code from 2.1.211 to 2.1.219.
Changelog
2.1.219
claude-opus-5), now the default Opus model — 1M context, fast mode at $10/$50 per Mtoksandbox.network.strictAllowlistsetting to deny non-allowlisted hosts for sandboxed commands without promptingDirectoryAddedhook that fires after/add-diror the SDKregister_repo_rootcontrol request registers a new working directory mid-sessionmcp_server_errorsto the headless stream-json init event, listing--mcp-configentries skipped by config validation; terminal runs print a startup warningworkflowSizeGuidelinesettings key so the advisory Dynamic workflow size guideline can be set from any settings file; the/configrow is hidden while one does--forward-subagent-textis set, keyed by their spawning Agenttool_useidclaude -ptext output dropping the answer already produced when a turn dies on a mid-stream API errorclaude mcp listand/mcpwhen a server fails to connect, and a warning for MCP config values with hidden leading or trailing whitespace/modelpicker showing the merged Opus row as plain "Opus" instead of "Opus (1M context)"CLAUDE_CODE_GIT_BASH_PATHon Windows exiting or being used as bash when the path isn't a bash/sh binary; it's now ignored with a warningclaude --teleportto show which repo your current checkout points at when it doesn't match the session's repo/config${VAR}entries to resolve from the startup environment and managed-settings env instead of settings-file env/modelpicker to highlight only the newest model's name, so the highlight marks the new release rather than an arbitrary subset of the list/configfor changing it/fastnow applies to Opus 5 and Opus 4.82.1.218
/code-reviewto run as a background subagent, so review work no longer fills your conversation and keeps stacked slash commands as its review targetOption+Delete,Ctrl+W,Cmd+Backspace,Ctrl+U,Ctrl+K) in--ax-screen-readermode\u-prefixed segments (likeC:\Users\unicorn) being corrupted into CJK characters in tool inputs, which made those files inaccessiblejin place of newlines in terminals that encode pasted newlines as Ctrl+J/contextreporting stale pre-compact token usage after compacting from the message picker/ultrareviewfailing on descriptive arguments like "review my auth changes" — they now run a review of your current branch with the text applied as a note to the findings/code-review ultrasilently running a local review in non-interactive sessions — it now launches the cloud reviewtool_useblock left in the transcript when a tool aborted mid-response--ax-screen-readermodeCtrl+Bbackgrounding now applies the same background-shell caps as other paths/ultrareviewerror feedback so Claude can correct an invalid argument instead of retrying it unchanged&, and suspicious-Windows-path checks no longer open permission dialogs; the auto-mode classifier adjudicates them instead/deep-researchto start only when invoked manually; Claude no longer launches it on its own/config model=<x>or Remote Control:, which is reserved for plugin namespacingcontext: forkto run in the background by default; opt out per skill withbackground: falseyes/no/on/off/1/0(case-insensitive) as accepted values for skill and plugin frontmatter booleans, alongsidetrue/false2.1.217
:heart:to insert ❤️, or:heafor suggestions — disable with theemojiCompletionEnabledsettingclaude.exemissing; failed updates now restore the preserved executable automatically/compactfailing once over the limitOTEL_EXPORTER_OTLP_ENDPOINTnot governing all signals — lower-scope signal-specific overrides no longer redirect telemetry away from the managed endpoint--resume/--continueand/resumefailing with a TypeError when a transcript has a malformed attachment entry/backgroundor←) or when the session exits on a heavily loaded machine, most visible on WindowsCLAUDE.mdorSKILL.mdpaths frontmatter value with many brace groups OOM-killing or stalling the CLI at startup — brace expansion is now budget-boundedFORCE_HYPERLINK=0to opt outCLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS) so one message can't fan out unbounded background agentsCLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTHto allow deeper nesting--max-budget-usdnot stopping background subagents: once the cap is reached, new spawns are denied and running background agents are halted2.1.216
sandbox.filesystem.disabledsetting to skip filesystem isolation while keeping network egress controlc-operators and paste, statusline running twice on resume, and resume-picker hangs on failuregit -C,--git-dir, orGIT_DIR/GIT_WORK_TREEclaude daemon stop --anypotentially terminating an unrelated process via a stale legacy daemon lockfile&&lists or negations/memory,/plan,/keybindings, or Ctrl+G is open;/memoryno longer waits for the editor to close.claude, which could redirect writes outside the project/configsettings list in fullscreen mode clipping its keyboard-hint footerOTEL_METRICS_EXPORTER=prometheus) emitting invalid# UNITlinesnamefrontmatter field losing their plugin prefix in slash-command autocomplete/forkconfirmation to one line with the new session's name,claude attachid, and a note when the copy shares your checkoutgitandghcommand arguments in the PowerShell tool/ultrareviewdiff-too-large error to show configured limits, measured diff size, and largest contributing files/code-review ultraempty-diff message to name the exact base ref and suggest passing an explicit base/contextnow shows an explicit warning when the conversation exceeds the context window, and a failed/compactdisplays as an error/rewindno longer restores or deletes files through symlinks or hard links at tracked paths and reports how many paths it skipped/mcpand/install-github-appnow park a "needs input" request in the agent view when no client is attached2.1.215
/verifyand/code-reviewskills on its own; invoke them with/verifyor/code-reviewwhen you want them2.1.214
dir/**allow rules likeEdit(src/**)auto-approving writes to nesteddir/directories anywhere in the tree instead of only<cwd>/dir[[ ]]comparisons as inert text — these commands now prompt for approvalhelpandmancommands that could run unsafe options, command substitutions, or backslash pathsmodifiedtimestamp to memory file frontmattermessage.uuid,client_request_id, andtool_sourceattributes to OpenTelemetry log events for message-level correlation and tool provenanceCLAUDE_CODE_OTEL_CONTENT_MAX_LENGTHto configure the 60 KB truncation limit on OpenTelemetry content attributessubagentStatusLinepayload, so custom agent rows can render model and effortdockercommands (including the Podmandockershim) carrying daemon-redirect flags (--url,--connection,--identity, and Podman's remote mode) that previously ran without onepkill -fpattern accidentally matched the CLI's own process (Linux)--settingspoints at a device file or multi-GB file; oversized (>2 MiB) settings files now fail at startup with a clear errorwhere.exe,fc.exe, anddiff.exeas errors when they return a valid negative answer (Windows)>and>>under the PowerShell tool on Windows PowerShell 5.1 writing UTF-16LE files that other tools couldn't read as UTF-8←or/backgroundand left idle keeping the background daemon and a worker process alive indefinitelyclaude rmor the agent view once the background service had gone idle/install-github-appand the/mcpsettings menu being blocked in agent-view sessions — they're now refused only in background sessions with no terminal attached--settingsCLI flag not loading (regression since v2.1.181)/ultrareviewrefusing to run in repos with no merge base — it now offers to review all tracked filesclaude updateandclaude doctorhanging silently, and the/statusSystem diagnostics section going blank, when a shell-config path is a directory#when memory files are savedmessage_deltaframesclaude rcworkspace-trust error in the home directory to say trust there is never saved and to suggest running from a project directorydir/**hookif:conditions to match only<cwd>/dir; write**/dir/**for any-depth matching.deny/askpermission rules keep their any-depth match.filecommands using-m/--magic-fileor-f/--files-fromto require permission instead of being auto-allowed as read-only"fork"when a session begins as a fork instead of"resume"2.1.212
/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"