chore(deps): update dependency @anthropic-ai/claude-code to v2.1.331 #71

Open
james wants to merge 1 commit from renovate/anthropic-ai-claude-code-2.x into main
Owner

This PR contains the following updates:

Package Change Age Confidence
@anthropic-ai/claude-code 2.1.328 → 2.1.331 age confidence

Release Notes

anthropics/claude-code (@​anthropic-ai/claude-code)

v2.1.331

Compare Source

  • Added Code Mode support in terminal sessions on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and Claude Platform on AWS
  • Added oidc.groups_jsonpath to the Claude apps gateway, to read groups from the matching entries of a list of objects with a small subset of JSONPath (RFC 9535)
  • Added an API connectivity section to claude doctor that reports whether the API can be reached, with the HTTP status or the error, or says why it wasn't tested
  • Added a notice when tap-mode voice dictation stops by itself, after 15 seconds without recognized speech or at its 2-minute limit
  • Added CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION to ask for uncompressed model responses behind a proxy that cuts compressed ones off; not advised yet for self-hosted runners or Remote Control
  • Added CLAUDE_GATEWAY_IDP_CONNECT_BY_HOSTNAME=1 for Claude apps gateways: with oidc.use_proxy: true, sign-in requests hand the proxy an https IdP's hostname even with NO_PROXY set
  • Added gen_ai.usage.*, gen_ai.response.model and gen_ai.operation.name to claude_code.llm_request trace spans; gen_ai.usage.input_tokens includes prompt cache tokens
  • Added optionalDependencies to plugin manifests: plugins that install with the plugin listing them and can be disabled or uninstalled on their own
  • Fixed MCP tool calls hanging for up to 30 minutes on some malformed replies from a local or WebSocket server
  • Fixed PushNotification telling a headless run, such as a scheduled one, that the terminal was active in its first minute, instead of saying whether a mobile push was requested
  • Fixed /install-github-app skipping the repository step after setup warnings when no repository was found, and Esc not going back from its workflow list and sign-in steps
  • Fixed one-line tool results cut with no ellipsis in narrow windows, Markdown stars in the Auto mode tab of /permissions, and a hook's reason to stop a forked skill showing twice
  • Fixed /diff hiding its key hints and not selecting files in windows of 24 to 26 rows, and leaving out files added with git add -N in a repository with no commits
  • Fixed the first-run theme list showing too few themes in short windows, and /usage and other tall screens coming out garbled there
  • Fixed /bug in fullscreen hiding its Yes and No answers behind a long report, and Yes staying out of view in very short windows
  • Fixed /compact and auto-compact sometimes losing part of the conversation summary when the summary quoted certain XML tags
  • Fixed Claude not being told when permission rules on the Agent tool dropped its queued message to a subagent that had already ended
  • Fixed a Remote Control message sometimes showing above the reply that was finishing when it was sent
  • Fixed Stop hooks that read the transcript missing the last reply in Claude Desktop; SubagentStop hooks now wait for it too
  • Fixed turns and subagents failing in cloud sessions, or timing out on long replies elsewhere, when a reply went silent while Claude was still thinking; Claude Code now tries the request once more
  • Fixed Esc and Stop waiting about a minute or more when the contents of a cloud or network file that Claude is reading stall
  • Fixed Code Mode sessions resumed with --resume or --continue in another permission mode losing thinking and the prompt cache; one begun in a mode that asks keeps that mode's limits on scripts
  • Fixed Code Mode sending a request about every second when a ! or slash command was typed while a script was running
  • Fixed an interrupted or failed plugin update leaving a partial plugin folder that later loaded with skills or other components missing (#​102186)
  • Windows: Fixed file writes on FAT32 and exFAT drives asking for permission every time in some plugin sessions
  • Fixed Claude failing to read a notebook that has a null output or an error output with no traceback
  • Fixed a rewind deleting files after a restore had failed
  • Fixed auto mode sometimes refusing Claude's call to stop a /loop, which left the next wake-up to fire
  • Fixed a Workflow agent's background shells and MCP servers sometimes being left running after it handed back its report
  • Windows: Fixed /desktop downloading the older Claude Desktop installer, and asking for an update when an older install's folder was left behind
  • Fixed claude plugin install, marketplace add and similar commands hanging with no output when managed settings needed an approval that could not be asked for
  • Fixed a permission rule on a subagent's model, such as Agent(model:*), blocking Claude's follow-up message to a subagent started on this version with no model named
  • Fixed PermissionRequest hooks not saving Skill(name:*) allow rules outside local settings
  • Fixed "Ask your admin" asking to raise your own limit when your team's pooled group budget blocked you, and saying "Request sent" when an admin had approved your request in the last few minutes
  • Fixed Code Mode losing the middle of a long script output; Claude now gets a path to the uncut text (#​111373)
  • Fixed hold-to-talk dictation stopping early and losing words when Claude Code was busy
  • Fixed Code Mode with --bare not telling Claude what its scripts can call
  • Fixed a crash when a custom API endpoint returned a tool call with no tool name; the call now fails with an error and the session continues
  • Windows: Fixed a possible crash when the machine is almost out of memory
  • Fixed the CLI freezing on some replies, and quoted text sometimes going missing or showing twice
  • Windows: Fixed Claude Code refusing to start when managed settings in the registry contain non-ASCII characters such as Japanese (#​93280)
  • Windows: Fixed Remote Control clients showing no steps for a new subagent
  • Fixed @​-mentions written as @file#10-12 attaching the whole file instead of those lines
  • Fixed Claude misreading a pasted artifact invitation link; it now asks you to accept the invitation and paste the artifact's own link
  • Fixed sandboxed Bash commands sometimes failing to start on a full temp disk, for sandboxes whose file rules keep commands out of the temp directory
  • Improved typing speed in screen reader mode, most of all in long sessions
  • Improved start-up time: a session started soon after another no longer waits for the model list, and one outside a git repository without .claude/settings.local.json no longer waits on git
  • Windows: Improved the speed of the first Bash command in a session on machines with no custom shell start-up files
  • Improved the plugin auto-update notice to name plugins it newly installs as dependencies, separately from updated plugins
  • Improved Code Mode tool search to show more of an MCP tool's description, with its limits, formats and defaults
  • Improved the Console sign-in link shown by /login and claude auth login --console: it is now much shorter
  • Improved Claude's list of your artifacts: it now marks web pages, so Claude is less likely to try opening one with the Claude Docs connector
  • Improved the folder trust prompts in short terminals: fullscreen /cd and /add-dir show their choices in fewer rows, and the prompt at launch keeps the folder path in view when it has many warnings
  • Changed the questions for stopping auto-connect in /ide and for /clear, /compact or /rewind in a subagent's view to list Yes first; they still start on No, so Down then Enter now answers No
  • Changed what a PermissionDenied hook's retry: true tells Claude: make the refused call again only if you asked for that call
  • Changed in a future release, on or after November 30, 2026: plugin marketplaces in managed extraKnownMarketplaces will auto-update by default. To opt one out, set "autoUpdate": false on its entry
  • Windows: Changed start-up with managed settings in the registry: check them before upgrading, as an HKLM policy outranks managed-settings.json and a broken value can stop the start
  • [VSCode] Added a warning and a link to the revoke page when you log out and the request to revoke your claude.ai login isn't confirmed
  • [VSCode] Added a notice before sending a very large selection or attached text file, and advice under "Prompt is too long" that names the large part and what to do next
  • [VSCode] Added "Add Cell to Chat" to the notebook cell menu, which attaches a cell with its outputs or error
  • [VSCode] Added "Fix with Claude Code" as a quick fix for errors and warnings and to failed tests in the test peek and the Test Results view, which puts the problem into the chat box
  • [VSCode] Added "Add to Chat" to the right-click menu of changed files in the Source Control view
  • [VSCode] Added "Resolve Merge Conflicts" to the editor title of a file with merge conflicts and to the Merge Changes group in Source Control
  • [VSCode] Fixed raw tags for selected code under a reworded prompt, the mode button flashing Manual, the slash menu hiding its highlighted row, a broken sign-in image, and a blinking Accept/Reject bar
  • [VSCode] Fixed a forked conversation overwriting the original conversation's plan file; a fork or rewind that can't copy the plan now shows a warning
  • [VSCode] Fixed voice dictation saying no speech was recognized when its connection closed or never opened; it now says the connection was lost or couldn't connect
  • [VSCode] Fixed an unsent side question being lost when its panel closes
  • [VSCode] Fixed Escape stopping Claude after renaming a session, and typing going nowhere after closing the session history with Escape
  • [VSCode] Fixed Rename, Mark as Unread and Add to Group saying "still connecting" on a tab that resumed a session from its history
  • [VSCode] Fixed wide tables and long paths cut off, long errors hiding their close button, errors out of view in the Add MCP server form and Chrome dialog, and plugin pictures ignoring the editor theme
  • [VSCode] Fixed later prompts and the message box covering the Rewind code dialog, and focus jumping from "Never mind" to "Rewind" when it finishes checking files
  • [VSCode] Fixed the command menu keeping an earlier match highlighted while you type more in its filter, so Enter could run the wrong row
  • [VSCode] Fixed the @​ menu showing "No files found" before its first search results arrived, or when it couldn't search all files of a very large workspace, which it now says
  • [VSCode] Fixed Escape stopping Claude at a Remove or Delete confirmation in MCP, Hooks and Memory dialogs, on a side question panel's button or link, and on the Bookmarks button with its panel open
  • [VSCode] Fixed empty boxes showing instead of the + and − signs in diffs (#​73069)
  • [VSCode] Fixed the chat no longer following Claude's reply after the panel was resized, or hidden and shown again
  • [VSCode] Fixed a chat left in bypass permissions mode reopening in Auto mode instead of your initial permission mode when settings disable bypass
  • [VSCode] Fixed the chat panel freezing on some CSS code blocks and diffs
  • [VSCode] Fixed the context usage indicator disappearing after an API error, "Prompt is too long", or a slash command
  • [VSCode] Fixed a message queued behind a queued /clear being lost
  • [VSCode] Fixed Manage Plugins losing its search box or showing no message when a search has no match, and not saying that the list of available plugins failed to load
  • [VSCode] Fixed proposed changes to notebooks and files with a custom editor opening in a tab with no Accept or Reject that stayed open after the answer
  • [VSCode] Fixed the spend limit message telling Team and Enterprise members to run /usage-credits, which can't send a request to their admin from the panel
  • [VSCode] Fixed a written message being wiped by Tab on a command in the "/" button's menu or by a click on an onboarding suggestion
  • [VSCode] Fixed Claude continuing to edit files after you rewind code while it is working
  • [VSCode] Fixed typed text being lost after /tasks, /copy, /export, a skipped /feedback, or /plan while already in plan mode
  • [VSCode] Fixed the question card dropping a typed "Other" answer on Ctrl/Cmd+Enter, and sending the word "Other" when nothing was typed
  • [VSCode] Fixed the panel showing "Something went wrong" for a conversation in which a gateway sent a tool call with no name
  • [VSCode] Fixed unsaved changes being missed, and Claude's edit being overwritten by the next save, in a folder opened through a symlink
  • [VSCode] Fixed @​-mentions attaching nothing, or another file of the same name, after Claude changed folders with cd
  • [VSCode] Fixed the arrow keys replacing typed text with an old prompt while selecting, and dropping edits to a recalled prompt
  • [VSCode] Fixed an @​-mention added while a permission prompt was open being lost
  • [VSCode] Fixed shortcuts such as Ctrl+1, Alt+1 or Ctrl+Space answering an open dialog, which could restore files in the rewind confirmation or switch the git branch
  • [VSCode] Fixed prompts that start with a file path or code comment being sent without the selected code and having no fork or rewind menu
  • [VSCode] Fixed file links in the chat ignoring your editor associations for files in the workspace, except notebooks (#​81482)
  • [VSCode] Fixed selected lines staying attached to your next message after their file's tab was closed
  • [VSCode] Fixed new sessions starting in Edit automatically after pressing Shift+Tab through it to reach Plan mode
  • [VSCode] Fixed an edited command on the permission prompt running without the line breaks that were typed or pasted into it
  • [VSCode] Fixed a newly opened Claude tab not focusing its message box, or taking the keyboard late from the terminal or command palette and sending the typed text as a prompt
  • [VSCode] Fixed Alt+K line ranges such as @app.ts#5-10 sending the whole file, or its first 2,000 lines, instead of the selected lines
  • [VSCode] Fixed diff tabs opening out of order when several subagents wait for approval, and a later edit to the same file cancelling an earlier one
  • [VSCode] Fixed Enter rewriting a message or running a menu action when a /word such as the path /api stands beside other text, and running a typed slash command without its arguments
  • [VSCode] Fixed Electron apps and extension tests failing to start from Claude, a hook or an MCP server; a wrapper, hook or server that runs VS Code as Node must now set ELECTRON_RUN_AS_NODE=1
  • [VSCode] Fixed Claude not being told when you reject part of a proposed edit or change it in the diff view before accepting
  • [VSCode] Fixed Escape on a permission prompt sending a half-typed instruction to Claude instead of cancelling
  • [VSCode] Fixed Ctrl+J and Ctrl+O in the chat also opening VS Code's terminal or Open File dialog on Windows and Linux
  • [VSCode] Fixed the @​ menu inserting the wrong file on a quick Tab or Enter, and Enter not sending a prompt that ends in an @​word with no matching file
  • [VSCode] Fixed new Claude tabs staying blank and the side bar failing to load after closing a tab while Claude was still starting
  • [VSCode] Fixed a quick double click in the panel pressing a button or row that appeared after the first click, or starting a second compaction from the context usage circle
  • [VSCode] Fixed switching models failing with "Settings file is not valid JSON" when settings.json is empty or starts with a byte order mark
  • [VSCode] Fixed memory growing with each fork or rewind of a long conversation until the window was reloaded
  • [VSCode] Fixed plan comments not showing on the plan approval card in Focus view
  • [VSCode] Fixed file links without a line number moving the cursor of an open file to line 1
  • [VSCode] Fixed a missing notification when a conversation running behind another one in the same panel needs a permission or an answer
  • [VSCode] Fixed Manage Plugins not loading when Claude Code is slow to start or fails to start, so a plugin that blocks startup can be turned off
  • [VSCode] Fixed proposed diffs showing and saving garbled non-ASCII text when files.encoding is not UTF-8
  • [VSCode] Fixed approved edits and writes saving right-to-left marks as literal \u200F escapes on lines with Hebrew, Arabic or Persian text
  • [VSCode] Fixed a model pick being ignored for the next message when Claude's process had ended or was still starting
  • [VSCode] Fixed Rewind showing "No active session" after Claude's process had ended
  • [VSCode] Fixed typing @​ leaving a helper process running per tab when no browser is connected, except when Claude in Chrome's service can't be reached
  • [VSCode] Fixed the session list opening every transcript at once, which stalled the editor's extensions and could leave sessions out in projects with many sessions
  • [VSCode] Improved the time to the first reply in a new folder when the Python extension is installed and the folder has no Python
  • [VSCode] Improved the sign-in screen to say when it opened because a request was refused
  • [VSCode] Improved the speed of opening, restoring and switching back to long conversations, most of all with many file edits or where git is slow
  • [VSCode] Improved responsiveness in long chats: smooth typing and large file writes while a reply streams, faster permission prompts, and far less freezing on send with accessibility support on
  • [VSCode] Improved startup and memory use: the panel and new chat tabs open faster, a first message in a new tab is answered sooner, and on Pro and Max plans the folder trust dialog comes up sooner
  • [VSCode] Improved speed in remote windows (SSH, WSL, containers): the panel starts, replies appear and sessions reopen faster
  • [VSCode] Improved the time to a response for the first message after a chat has been idle for a few minutes on a machine that is low on memory
  • [VSCode] Improved how fast chats start, open from history and come back after a restart on slow or antivirus-scanned disks
  • [VSCode] Improved how fast diffs appear in reopened conversations, and removed diff menu entries that did not work
  • [VSCode] Improved the @​ file menu to list the files of open editor tabs first, the most recently used on top
  • [VSCode] Changed saving a proposed diff to accept it only after you click or type in its proposed (right) side; a notification says when a save is refused or a close with Save applies nothing
  • [VSCode] Changed diffs from a terminal session to open without moving keyboard focus, and beside a file with unsaved changes; to answer, click Accept or use the terminal
  • [VSCode] Changed permission cards to show only Yes and No when allowManagedPermissionRulesOnly is set and the card would offer an allow rule; key 2 on those cards now answers No
  • [VSCode] Changed a Claude tab to ignore Enter and show a notice when its Find box has lost the keyboard

v2.1.330

Compare Source

  • Added sign-in to organizations managed in Anthropic's Enterprise Admin Console: after claude auth login, Claude Code applies the organization's settings and uses its cloud provider or gateway
  • Added easel, a built-in mod that draws charts when asked and under MCP metrics results, on Pro, Max and, where available, Team and Enterprise on macOS and Linux; turn automatic charts off in /config
  • Added CLAUDE_CODE_FULL_SIGN_IN_LINK=1 to print the full sign-in link, if the short one shows an error or a script reads values from it
  • Self-hosted runner: Added --start-dir / SELF_HOSTED_RUNNER_START_DIR to have Claude start its work in a folder of a repository, while settings and hooks load as without it
  • Added a notice in cloud and self-hosted runner sessions when a plugin marketplace can't be fetched because its repository isn't one of the session's
  • Self-hosted runner: Added a notice when Anthropic-managed git refuses a plugin's own repository, naming the plugin and what to do
  • Added commandPrinted to claude plugin install --json results, true when the plugin's install command wrote to stderr, and commandFailed when it exited with an error, was killed or timed out
  • Added claude_code_self_hosted_runner_order_to_registered_seconds to the self-hosted runner's /metrics: seconds from work order issued to registration accepted, on orchestrator-spawned runners
  • Added claude_code_self_hosted_runner_order_to_first_session_seconds to the self-hosted runner's /metrics: seconds from work order to first session handed over, on runners started for a session
  • Fixed Claude Code freezing for up to several minutes right after compacting a very long conversation
  • Fixed WebFetch freezing the session for minutes on some pages, and returning an empty result for some others
  • Fixed ExitWorktree and the worktree exit dialog deleting a worktree that another running Claude Code session was working in
  • Fixed changes to user settings being lost when several Claude Code processes saved them at the same time
  • Fixed --continue and --resume opening an empty session or failing when the last saved message had a missing or invalid timestamp
  • Fixed the first prompt after a sleep of two minutes or more waiting three minutes on a connection that had died, on Linux and WSL
  • Fixed turns failing with "JSON schema is invalid", and session files growing by many megabytes, when many MCP tools have an input schema that the API refuses
  • Linux: Fixed Bash commands waiting seconds and showing no file diff for the rest of a session in slow repositories with large ignored folders such as node_modules
  • Windows: Fixed Bash commands running slower for the rest of a session after Git Bash took 10 to 60 seconds to start, on machines with no custom start-up files
  • Fixed /rewind sometimes restoring an older version of a file when two queued prompts, or stacked skills, ran together right after a turn that changed it
  • Fixed text and images added when approving a permission prompt being dropped when the approved command or tool then failed
  • Fixed MCP resources from claude.ai connectors and plugin servers not being attached when @​-mentioned in the terminal's prompt box
  • Fixed an MCP server that subagents declare being shut down when one of them finished, while other subagents or the session were still using it
  • Fixed Claude in Chrome staying "not connected" after a brief connection problem, even though Chrome was open and signed in
  • Fixed terminal sessions on Amazon Bedrock (Mantle) started with no model selected ignoring a pinned Opus model, and still calling an unavailable default model after announcing a fallback
  • Fixed the rest of what you were typing being lost when a plan arrived in fullscreen mode
  • Fixed claude.ai connectors with different names being dropped when they share a server URL (#​101856)
  • Fixed plugins going missing from the installed list when several claude plugin commands ran at the same time
  • Fixed task dependencies and metadata being lost when several task updates ran at the same time
  • Fixed incomplete backups of ~/.claude.json being kept, and displacing good ones, when the disk was full
  • Fixed a long pause in Code Mode after code that read hundreds of files in projects with path-scoped rules or Read deny rules
  • Fixed the built-in chart tool failing when Claude called it in Code Mode
  • Fixed Code Mode ignoring an MCP tool's request to end the turn from a script in auto and bypass permissions modes
  • Fixed Code Mode in auto mode dropping earlier thinking and rewriting the prompt cache when a mod added a note after a script loaded a skill
  • Fixed Code Mode not restoring a file that a script had read after Esc and /compact
  • Fixed /context undercounting system tools in Code Mode before Claude's first reply
  • Fixed a stopped background subagent sometimes not staying stopped
  • Fixed Claude still waiting for a background agent that was stopped just as it finished, in sessions run by an app or the SDK
  • Fixed background sessions sometimes waking in their previous permission mode after approving a plan
  • Remote Control: Fixed the note about background agents ended by a Stop from a phone or the web showing in the terminal as if you had typed it
  • Remote Control: Fixed the mobile apps hiding the Diff and pull request buttons, or showing a stopped session as working, after turning it on mid-conversation
  • Fixed environment variables written by a SessionStart hook being lost with claude -p --continue
  • Fixed claude -p exiting 0 with no message when its output went to a file on a full disk: it now prints an error and exits 1, though a full NFS export may go unnoticed
  • Fixed the system prompt keeping the earlier model's instructions when the model was changed after /context but before the first message
  • Fixed Claude sometimes replying to its commit attribution reminder and ending the turn early after the model changed mid-turn; it can still happen where managed settings set the PR attribution line
  • Fixed Esc not ending an LSP tool call that was waiting for a slow or stuck language server
  • Fixed LSP tool calls and diagnostics failing when several calls or edits arrived while a language server was still starting
  • Fixed /mcp listing plugin servers as built-in: they now stand under "Plugin MCPs", --mcp-config and built-in servers under "Other MCPs", and a server's page names its plugin
  • Fixed an "MCP server blocked by enterprise policy: easel" warning showing at every start when an MCP allowlist or denylist excludes the built-in chart tool, which stays blocked
  • Fixed /stats counting new activity in UTC days instead of your local time zone
  • Fixed /ultrareview failing or reviewing the wrong code after the shell moved into another repository: it now stops and names both folders
  • Fixed Grep reporting no matches when the pattern held a line break without multiline mode; it now reports the rejected pattern
  • Fixed Jupyter notebooks saved with a byte order mark being reported as invalid JSON by the Read and NotebookEdit tools
  • Fixed link reference definitions being dropped from CLAUDE.md and memory files that contain an HTML comment
  • Fixed running Monitors keeping the earlier conversation in memory until they end
  • Fixed some Claude Desktop sessions on third-party providers, other than scheduled tasks, ending a turn with "Prompt is too long" when a PDF larger than the context window followed a long conversation
  • Fixed the choice between two user or project agent files declaring the same name depending on the order the file search listed them
  • Fixed claude daemon logs never exiting inside a git repository when there is no log file
  • Fixed markdown hiding a character or two after bold or italic text when a backslash came before an emoji later in the paragraph
  • Fixed Edit refusing some valid hook commands in Claude settings files
  • Fixed Read with a page range showing both halves of a scanned two-page spread on each of its pages
  • Fixed line breaks and class stereotypes missing from Mermaid diagrams in HTML artifacts
  • Fixed the Project instructions picker in /config showing only one of its four choices in a 24-row fullscreen window
  • Fixed a subagent's own subagents and forks running on the plan-mode model in plan mode under opusplan or haiku
  • Fixed WebFetch page summaries ignoring the /effort level when a gateway refuses the small fast model
  • Fixed claude -p on Google Cloud's Agent Platform ignoring --settings '{"fastMode":true}' when the model comes from ANTHROPIC_MODEL or a settings file; such runs now bill at the fast mode price
  • Fixed startup under forceLoginOrgUUID being refused after one temporary server error or dropped connection
  • Fixed claude mcp remove giving no way forward for a claude.ai connector: it now says to turn it off in /mcp or remove it on claude.ai
  • Fixed the /mcp "Connect on claude.ai" check saying "not connected" when claude.ai has a connector at the server's URL without its query
  • Fixed /install-github-app and /design-login showing a generic failure for an account on hold instead of the on-hold notice and appeal link
  • Fixed a running MCP task being reported as stopped when you move a session to the background; the background session can now follow the task, but not if its server uses stdio or sets headers
  • Fixed self-hosted runners ignoring a session until they exited, after its failure report was lost or the session was given back to the same runner
  • Fixed self-hosted sessions losing the prompt cache and earlier thinking when the list of repositories a restart couldn't prepare changed
  • Self-hosted runner: Fixed tool calls behind a permission prompt vanishing with no result when a new runner took over the prompt, in sessions with telemetry off
  • Fixed resumed self-hosted runner sessions starting without their pushed work in large repositories when --push-outcome-on-release is set
  • Fixed self-hosted runner sessions being shown as working when Claude Code hangs at every start and --startup-timeout-min is from 2 to about 6
  • Fixed pkill -f in self-hosted runner sessions on Linux ending its own shell with exit code 144, or the runner (needs a pkill with --ignore-ancestors)
  • Fixed scheduled tasks on self-hosted runners having no tool to notify their owner when telemetry is off or a third-party provider is used
  • Self-hosted runner: Fixed one slow spawn-runner hook keeping the orchestrator from claiming sessions for its free slots; it now polls every 4 to 6 seconds while a slot is free
  • Self-hosted runner: Fixed a 403, such as an IP allowlist's, logged as a bad secret or token: most such lines now lead with the server's reason, so update log alerts that match the old words
  • Fixed self-hosted runners' warn mode for repository settings stopping at the first finding of most kinds: it now goes on, up to 50 for a session, and says if it stops early
  • Self-hosted runner: Fixed runners that start on a full disk taking sessions and failing them; they now wait for room and exit 1 after a minute with no session, unless started from a work order
  • Self-hosted runner: Fixed a failed start suggesting a retry when the runner's machine had no git credentials; the error now says whom to ask and what to do if the repository is wrong
  • Fixed the self-hosted runner's last_poll_age_seconds reading 0 while the runner had never polled successfully
  • Fixed the notice about a skipped scheduled task that names no organization: it now says to start Claude Code with --resume, because /resume inside a running session doesn't run the task
  • Fixed claude plugin validate wrongly warning that a mod's AbovePrompt or AbovePromptList hook never runs in VS Code
  • Fixed /design-sync deleting a file it had just uploaded when Claude Design stored that file under a changed name
  • Reverted 2.1.329's removal of the automatic retry when max_tokens exceeds a model's or gateway's limit
  • Improved the claude.ai sign-in link shown by /login, claude auth login and claude setup-token: it is now much shorter
  • Windows: Improved Grep and Glob speed by no longer starting a console host for each built-in ripgrep search on a local path
  • Improved the speed of file diffs
  • Improved /config search: most settings whose name starts with what you type come first, "effort" finds Model, and "dark" or "light" finds Theme
  • Improved /resume: sessions where you only opened a screen such as /model and left are no longer listed
  • Improved Reconnect in /mcp and /plugin: a server's page now stays open, with the cause in view, when the server still fails or needs sign-in
  • Improved the error on macOS when sandbox deny lists are too long: it now names the long lists and how to shorten them
  • Improved /plugin in fullscreen mode: the page of a plugin with errors now starts with those errors
  • Improved /ultrareview's cost confirmation on Team and Enterprise plans: it now says how much of your monthly spend limit is left when that is less than a review usually costs
  • Improved self-hosted runner sessions on Amazon Bedrock or Google Cloud's Agent Platform to say so when they start on another default model because your account refused the first
  • Windows: Improved the error when a session's folder is on a drive Claude Code can't verify: it says why, and whether retrying can help
  • Improved Code Mode: Claude is now told how to look at images and PDFs
  • Improved Code Mode: after Esc, "Interrupted" now shows under the stopped command in place of a red error
  • Improved Code Mode: the terminal freezes for far less time after a subagent's script makes thousands of tool calls
  • Changed recurring scheduled tasks and /loop to run up to 30 days instead of 7 while their session keeps running, and say when they end; tasks made before this release still end at 7 days
  • Changed more rm commands aimed at the root, home, a top-level folder or the working folder to ask for approval; where nobody can answer, they're refused
  • Changed deniedMcpServers name entries to hide only the named claude.ai connector, not others at its URL; to block them all, deny its exact URL
  • Changed claude --teleport in some setups to print the git commands for switching branch instead of running them; with -p it exits 1 until you switch
  • Changed unrecognized model names containing "sonnet" or "haiku" to use the shorter system prompt, like other unrecognized names; CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 gives every model the full one
  • Changed skills that Claude runs with a model setting, other than context: fork skills, to leave subagents, forks, compaction and /recap on the session's model
  • Changed a subagent's model fallback to carry over: agents with no model and forks it then starts run on the fallback, and the agents they start use its Bedrock region
  • Self-hosted runner: Changed spawn-runner hooks to start while earlier ones still run, up to --hook-concurrency per orchestrator (4 by default); set it to 1 if yours can't run beside another
  • Self-hosted runner: Changed Bash commands to skip the file diff when nothing needs it, so transcripts can lack it; set bashEditDiffEnabled to true in managed settings to get every diff
  • Changed self-hosted runners to stop a session's start at once, without trying other runners, when a checkout hook exits with status 108
  • Changed prompt hooks to accept model aliases such as haiku or sonnet in their model field
  • Changed /design-sync's fallback build of the reference Storybook to use only a Storybook installed in the project
  • Changed subagent progress summaries in terminal sessions signed in to a Claude apps gateway to be written from short notes instead of the whole conversation, using far fewer tokens
  • [VSCode] Added /fork to fork a conversation after its last reply (#​69272)
  • [VSCode] Added /workflows, which opens the agent map with running workflows
  • [VSCode] Added the claudeCode.escapeStopsClaude setting; turn it off so Escape does not stop Claude (#​91536)
  • [VSCode] Added the claudeCode.pinPrompt setting to let your message scroll away instead of staying pinned
  • [VSCode] Added the claudeCode.contextUsageThreshold setting for when the context indicator shows (#​93036)
  • [VSCode] Added a prompt argument to the "Open in Side Bar" command for keybindings and extensions
  • [VSCode] Added Move up and Move down to a session group's menu (#​98654)
  • [VSCode] Fixed VS Code opening and focusing its terminal on every prompt of a connected terminal session
  • [VSCode] Fixed copying a code block adding a trailing newline that ran the command on paste (#​96976)
  • [VSCode] Fixed holding Enter on /rewind restoring files, and a double click on Remove or Delete removing a memory, MCP server or plugin marketplace, without confirmation
  • [VSCode] Fixed Enter on a question card sending your earlier answer instead of picking the focused one, and arrow keys not working after an "Other" answer; answered questions reopen on your pick
  • [VSCode] Fixed a held-down Enter key sending a half-written message or running a typed slash command
  • [VSCode] Fixed Cmd+A, C, V, X and Z not working in the rename box and dialogs on macOS
  • [VSCode] Fixed Ctrl+F and Ctrl+P not moving the caret in the message box on macOS
  • [VSCode] Fixed the Accept and Reject buttons doing nothing on a proposed diff moved to a new window
  • [VSCode] Fixed Accept and Reject Proposed Changes showing over the chat, the terminal tab and other files; they now show only on the proposed diff
  • [VSCode] Fixed a slow-starting Claude tab taking the keyboard away from the file you had gone on typing in
  • [VSCode] Fixed unsaved changes and new problems being missed on macOS and Linux for files whose path contains #, ? or %20, such as a C# folder
  • [VSCode] Fixed whole-line selections counting one line too many in the selection chip, in @​-mentions and in what Claude is told, and file links leaving out the last line of a range
  • [VSCode] Fixed a conversation forked in the panel re-running an old, unanswered prompt by itself after a window reload
  • [VSCode] Fixed a forked conversation running the original conversation's /loop schedules a second time
  • [VSCode] Fixed /clear giving no sign that the session still runs without a newly trusted folder's CLAUDE.md and settings
  • [VSCode] Fixed dialogs closing, and losing typed text, when a text selection was dragged past their edge
  • [VSCode] Fixed advisor calls showing as "Unsupported content type" (#​73499, #​64158, #​90471, #​73637)
  • [VSCode] Fixed the session list showing no status for the sidebar chat's session (#​93898)
  • [VSCode] Fixed the plan preview's Add Comment button vanishing after a fast double click on a word
  • [VSCode] Fixed long lines cut off in the Edit Notebook Cell row, permission rules squeezed in a narrow panel, hard-to-see question card marks, and menus moving the chat after a declined trust prompt
  • [VSCode] Fixed signing in to an account on hold showing a generic failure instead of the on-hold notice and appeal link

v2.1.329

Compare Source

  • Added a trust dialog warning that says where a folder's hooks are declared
  • Added a warning in the conversation, in Claude Desktop and other non-interactive hosts, when hooks in managed settings fail to load
  • Added this session's scheduled tasks, /loop wakeups, the goal and this conversation's forks to /tasks; x stops one after asking
  • Added a "Server message" row to a server's page in /mcp that shows the JSON-RPC error message of a remote HTTP MCP server that refuses the connection
  • Added a "Marketplace auto-update" row to /status that names managed marketplaces that get no automatic updates, and why
  • Added support for turning on Code Mode while OpenTelemetry events and metrics are enabled; each tool call the code makes sends its events; tracing still keeps it off
  • Fixed ~/.claude.json sometimes being reset to defaults when a network stall or file lock made it unreadable and cleared during a save
  • Fixed repeated sign-outs on macOS when Claude Code could read the Keychain but not save to it. That session now stops at expiry and says why, and other sessions stay signed in
  • Fixed /terminal-setup corrupting VS Code settings or keybindings files around block comments, and reporting success while losing the Shift+Enter binding where keybindings.json has an unclosed string
  • Fixed files accepted through the IDE diff being saved without their last newline, and losing their byte order mark (BOM) when an edit was accepted by saving the diff in VS Code
  • Fixed picking a cloud session in /teleport replacing your open conversation: the pick now starts a new session, as /clear does, and /resume brings the old one back
  • Fixed /usage-credits asking Pro and Max users to log in again after opening the browser, and the link disappearing after 8 seconds if the browser doesn't open and a task stops for usage credits
  • Fixed /usage saying usage credits are off when they had run out or reached the monthly limit, and /model not telling Pro and Max users when that limit blocks a model that runs on usage credits
  • Fixed the spend limit menu showing your spend as your monthly limit and wrapping its rows under the pointer in narrow windows
  • Fixed a status line script that prints without end freezing the prompt and using gigabytes of memory
  • Fixed an empty, frozen screen after approving managed settings while the --resume picker, the trust dialog or another set-up screen was waiting
  • Fixed choosing Default in /model replacing your saved model with your organization's default when the Default row already showed your saved model
  • Fixed an MCP server being signed in again after you cleared its authentication while a token refresh was running
  • Fixed background MCP tasks that stalled after a slow reconnect: Claude Code now reconnects most HTTP MCP servers by itself when one is left on an older protocol version
  • Fixed PDFs, images and .docx, .xlsx or .pptx files that MCP servers or websites send as application/octet-stream being saved as .bin, which kept Claude from reading the PDFs and images
  • Fixed /code-review <pr number> sometimes reviewing the checked-out branch instead of the pull request without saying so: it now reads the pull request with gh pr diff, or says when it can't
  • Fixed /code-review stopping at a permission prompt, on most models, to look for a ~/.claude/CLAUDE.md that doesn't exist
  • Self-hosted runner: Fixed --push-outcome-on-release sometimes deleting a session's branch on the git host
  • Fixed Code Mode hiding a script's finished edits and the stopped command after Esc, and losing them on exit
  • Fixed a runaway loop in Code Mode filling the machine's memory; it is now stopped at a limit
  • Fixed a background agent running on when it was stopped while it was being resumed
  • Fixed background shell commands using memory for the earlier conversation until they exit
  • Fixed Remote Control using memory for the earlier conversation after a compaction or /clear in sessions run by Claude Desktop, IDEs or the SDK
  • Fixed Stop not ending a request in Claude Desktop sessions on Bedrock while it waits on a hung AWS credential_process or sign-in call
  • Fixed Claude sometimes failing to send you a file on its first try on Opus 4.8 and Opus 5
  • Fixed Claude not being told that a connected MCP server's tools could not be loaded, and taking it for a server with no tools, in sessions with tool search
  • Fixed claude mcp login and /mcp saying a service doesn't accept sign-ins from Claude Code when the service's client registration had been retired (HTTP 410 Gone)
  • Fixed another case of claude.ai-synced plugin hooks failing with "Plugin directory does not exist" while a session was still running on macOS
  • Fixed auto mode asking for manual approval to rm a symlink that points outside the working directory or at itself
  • Fixed /sandbox on Linux listing allowUnixSockets entries as allowed: they don't open those sockets there, and /sandbox now says so
  • Fixed pressing Esc twice to clear a mistyped code ending the sign-in in /install-github-app
  • Remote Control: Fixed sessions going back to their first effort level after a restart while the app still showed the level you picked (not yet for sessions that start in Ultracode)
  • Fixed a removed plugin's MCP server staying connected in headless sessions after reload_plugins or when the account's plugin list drops it
  • Fixed the Claude Docs connector's tools going missing when a plugin or MCP server at the same address failed to connect, and its error wrongly suggesting /login
  • Fixed a new skills, commands or agents folder being missed when --add-dir names the working directory or Claude Code starts in the home folder
  • Fixed sessions started from a pre-warmed process ignoring the autoCompactWindow setting in the project's .claude/settings.json
  • Fixed CLAUDE_AUTOCOMPACT_PCT_OVERRIDE staying in effect in a running session after it is removed from settings.json
  • Fixed the Agent tool's effort parameter being ignored for named teammates in agent teams
  • Fixed /auto-mode-setup ignoring recent auto mode denials when it scans a project for rules to suggest; it may now offer allow rules from them, and you review each before it's saved
  • Fixed a false "Couldn't save this change" warning after adding a permission rule or directory in a subfolder or worktree whose own .claude/settings.local.json is unreadable or malformed
  • Fixed cloud sessions telling Claude to run a network proxy check after a failed request, which auto mode then blocked
  • Fixed headless rewind and fork going ahead while a message sent right after a model change still waited on it
  • Fixed Claude not being told when a background task was stopped while a cloud session was restarting
  • Fixed /team-onboarding reporting a guide as shared on Team and Enterprise plans when the server refused the upload
  • Fixed panels and questions being cut off at the prompt in fullscreen, /help, history search and the background tasks list losing rows or titles in short windows, and tables wrapping in dialogs
  • Fixed resumed sessions showing "Rejected" or "Declined" for edits, questions and plans that were cut off when the session ended
  • Fixed /passes showing the wrong number of passes after a server error, and offering usage credits for sharing when no guest passes are left
  • Fixed claude --help output being cut short when piped to another program
  • Fixed /terminal-setup turning on "Use Option as Meta key" in Terminal.app on macOS 27, and tips there suggesting Option+Enter instead of Shift+Enter
  • Self-hosted runner: Fixed setup failing on Git LFS repositories cloned through Anthropic-managed git; sessions now start on pointer files, and git lfs pull fetches the content
  • Fixed sessions on self-hosted environments not starting from a git remote with an SSH host alias, GitHub SSH certificates or a GHE.com SSH user; an unresolved alias's error gives two git commands
  • Fixed remote MCP servers in self-hosted runner sessions staying without tools, or (over https) disconnected, after a timeout or network error
  • Fixed self-hosted runner sessions being shown as having stopped responding while Claude Code was still starting
  • Fixed Code Mode keeping in memory every large text file that code read, and memory growing each time a background subagent was woken
  • Fixed Code Mode stopping a script at its ten-minute limit while an MCP form, an MCP link prompt or a prompt that always asks was waiting for an answer
  • Fixed Code Mode scripts receiving a "moved to the background" message as data from most MCP calls over two minutes: the script now waits up to ten minutes, then gets an error
  • Fixed mods that list only some tools silently turning Code Mode off; such a mod no longer keeps it off, so use managed settings for that
  • Fixed Code Mode ignoring an MCP tool's request to end the turn when the tool was called from a script that Claude waits for
  • Fixed a Code Mode script's let x; keeping the value that an earlier script gave x
  • Fixed a Code Mode script's call with no argument failing with a missing-parameter error on tools that need none
  • Fixed Code Mode scripts losing access to tools through tools in sessions with more than 4,096 tools
  • Fixed the /code-review findings card often showing "high" for a review that ran at medium, on most models
  • Fixed key hints in permission prompts, questions, /model and /rewind ignoring keybindings.json
  • Fixed auto-scroll, the PR status badge, the auto-compact warning and the ultracode tag not following the /config switches that control them in a running session
  • Fixed a custom cancel key not working in /add-dir, /tui feedback and the save-workflow form
  • Fixed arrow keys in the save-workflow form moving the selection in the workflow view behind it
  • Fixed /config saying nothing, or "dismissed", after changing many settings
  • Fixed Read and @​-mentions showing one line too many for files that end in a newline
  • Fixed /status not naming the model that opusplan and haiku use in plan mode
  • Fixed claude doctor advising a Keychain unlock inside a macOS sandbox, where unlocking can't help
  • Fixed the "Jump to bottom" pill staying hidden after copying text and scrolling away, the row under it going blank when its label changed, and quick PageUp presses scrolling too far in fullscreen
  • Fixed a screen update sometimes being skipped when memory is low
  • Fixed long code blocks losing a blank line and repeating another in scrollback
  • Fixed prompt suggestions sometimes showing placeholder text such as _(no suggestion)_
  • Fixed the line about earlier messages on resume blaming a damaged file when the file was intact
  • Fixed characters disappearing from the prompt when its text held a color code that sets several styles and a keyword or command was highlighted
  • Fixed /rename and UserPromptSubmit hook titles in claude remote-control sessions not showing on claude.ai and mobile
  • Fixed the Remote Control diff listing a file twice when the branch renamed it and it was then edited
  • Improved the automatic clean-up of old sessions on computers with managed settings
  • Improved /tui and other in-place restarts to wait briefly for a login refresh, so they are less likely to sign you out
  • Improved memory use in long sessions that edit many files, and in long Claude Desktop sessions on macOS and Linux with many large MCP tool results
  • Windows: Improved start-up and the first search on PCs where Claude Code's search program starts slowly
  • Improved auto mode's handling of a short reply such as "yes" to Claude's question when telemetry is off, behind a gateway to the Anthropic API, or on Microsoft Foundry
  • Improved memory use of idle Claude Desktop and SDK sessions after a long turn, and after --resume or --continue of a session that holds screenshots or large tool results
  • Improved how fast a Claude Desktop Code session with Remote Control on is ready for the next message after an answer
  • Improved cloud sessions to retry plugins that failed to download at startup
  • Improved Code Mode: the terminal freezes for far less time after a script makes thousands of tool calls
  • Improved Code Mode: after starting a subagent, Claude now gets the same guidance on waiting as outside Code Mode
  • Updated computer use on macOS to newer safety rules, so some actions are refused and some apps have less access
  • Changed saved scheduled tasks: in new signed-in sessions, most saved by earlier versions need scheduling again, though --resume of their own session still runs them
  • Changed /code-review with no target on most models to review the whole branch against the default branch, and fixed it losing the diff on multi-commit branches
  • Changed auto mode to run git status less often so most requests wait less in large repositories; a git command that discards changes may be blocked until the working tree is checked
  • Changed /code-review <pr number> --fix, and /code-review given a pull request URL, to stop without reviewing when gh pr diff is refused or fails
  • Changed 'Exit and stop tasks' to end this session's scheduled tasks so they don't run again on resume, unless you exit while Claude is responding
  • Changed some teammate panes to start through /bin/sh, so they may not read shell start-up files
  • Changed computer use on macOS to give up on an app launch that has not finished after 30 seconds
  • Gateway: Changed the start-up warning shown while access_control.allow_cidrs is empty to a notice at every start, boxed in text logs: never expose the gateway to the public internet
  • Self-hosted runner: Changed a second host name's clone of the same owner/name to go under _repos/clones/<host>/ in the base folder; no clone moves
  • Self-hosted runner: Changed repositories with unusual characters in their address path to clone anew in a new folder; rules and volumes naming the old one stop applying, and the old clone stays put
  • Self-hosted runner: Changed --repository-folder to take most folders in the base folder at --capacity 1 (above 1, one there stops start-up); another repository's session overlapping one is refused
  • Changed Code Mode so a PreToolUse hook that errors no longer refuses a script's tool call, as outside Code Mode; set "onFailure": "block" on a command, HTTP or MCP tool hook that must refuse
  • Changed Code Mode to refuse a script's read of a line range over 256 MiB, which could use gigabytes of memory, and fixed reads of very long lines timing out
  • Changed Code Mode to also start when telemetry, nonessential traffic or feature flags are turned off; an administrator can keep it off in managed settings
  • Changed Code Mode to run a script that declares its own log, preview or sleep, which it used to refuse
  • Changed macOS login renewal to test the Keychain with a Claude Code-write-check item
  • Changed the /tasks header and the footer's background count to one number covering shells, monitors, MCP calls, agents, workflows and scheduled tasks
  • Changed Stop and SubagentStop hooks to list a Monitor's script as monitor, not shell, in background_tasks
  • Removed 2.1.326's automatic retry at the limit named in a max_tokens error; behind a gateway whose model takes fewer output tokens, set CLAUDE_CODE_MAX_OUTPUT_TOKENS to that limit
  • [VSCode] Added a line above the message box after you decline the trust prompt, with Review trust to bring the prompt back without reloading the window
  • [VSCode] Fixed being signed out of Claude Code in every window and terminal when the sign-in server took 10 to 30 seconds to answer the extension's token refresh
  • [VSCode] Fixed keys pressed while an input method (IME) is composing moving focus on or declining a permission prompt, running menu rows and closing dialogs (#​106358)
  • [VSCode] Fixed the permission prompt for Bash, Edit, Write and other built-in tools not showing why a safety check asks
  • [VSCode] Fixed a half-written plan comment being lost or moved to another passage, and an input method's Enter sending the comment, ending a session rename or picking an @​-mentioned file
  • [VSCode] Fixed the limit banner not saying when usage credits are in use, and the session survey covering that banner and the usage credits card
  • [VSCode] Fixed screen readers not announcing a permission request that arrived while the Account & Usage dialog was open until that dialog was closed
  • [VSCode] Fixed a proposed-edit diff tab staying open, with an Accept button that did nothing, after its terminal Claude Code session disconnected
  • [VSCode] Fixed short tool inputs and outputs cut off at the panel's edge with no way to read the rest (they now open in an editor tab), and dragging to select text also opening one
  • [VSCode] Fixed the Up key putting an earlier message over text that an input method (IME) is composing in the message box (#​101294)
  • [VSCode] Fixed dropping an Explorer folder onto the chat inserting nothing on VS Code 1.103 to 1.139 or in a floating chat window, and the drop highlight vanishing with a false "Hold Shift" hint
  • [VSCode] Fixed a permission prompt moving keyboard focus away from the details you were scrolling as its buttons switched on
  • [VSCode] Fixed file links in a Claude tab opening in another editor group when claudeCode.lockEditorGroups is off (#​108884)
  • [VSCode] Fixed ranges written with a single tilde (3~5 … 7~10) losing their tildes and showing struck-through text between them; only ~~text~~ is struck through now
  • [VSCode] Fixed dictation errors wrapping into a narrow column, the spinner turning while a question card waits, and a NUL symbol after each letter in the output of a failed UTF-16 command
  • [VSCode] Changed Down to stop at the last item of a permission prompt instead of wrapping to Yes
  • [VSCode] Changed command output to show hidden characters and control sequences other than plain colors as symbols, so Persian, Khmer, Lao, Sinhala and Malayalam text can look broken or out of order

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@anthropic-ai/claude-code](https://github.com/anthropics/claude-code) | `2.1.328` → `2.1.331` | ![age](https://developer.mend.io/api/mc/badges/age/npm/@anthropic-ai%2fclaude-code/2.1.331?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@anthropic-ai%2fclaude-code/2.1.328/2.1.331?slim=true) | --- ### Release Notes <details> <summary>anthropics/claude-code (@&#8203;anthropic-ai/claude-code)</summary> ### [`v2.1.331`](https://github.com/anthropics/claude-code/blob/HEAD/CHANGELOG.md#21331) [Compare Source](https://github.com/anthropics/claude-code/compare/v2.1.330...v2.1.331) - Added Code Mode support in terminal sessions on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and Claude Platform on AWS - Added `oidc.groups_jsonpath` to the Claude apps gateway, to read groups from the matching entries of a list of objects with a small subset of JSONPath (RFC 9535) - Added an API connectivity section to `claude doctor` that reports whether the API can be reached, with the HTTP status or the error, or says why it wasn't tested - Added a notice when tap-mode voice dictation stops by itself, after 15 seconds without recognized speech or at its 2-minute limit - Added `CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION` to ask for uncompressed model responses behind a proxy that cuts compressed ones off; not advised yet for self-hosted runners or Remote Control - Added `CLAUDE_GATEWAY_IDP_CONNECT_BY_HOSTNAME=1` for Claude apps gateways: with `oidc.use_proxy: true`, sign-in requests hand the proxy an `https` IdP's hostname even with `NO_PROXY` set - Added `gen_ai.usage.*`, `gen_ai.response.model` and `gen_ai.operation.name` to `claude_code.llm_request` trace spans; `gen_ai.usage.input_tokens` includes prompt cache tokens - Added `optionalDependencies` to plugin manifests: plugins that install with the plugin listing them and can be disabled or uninstalled on their own - Fixed MCP tool calls hanging for up to 30 minutes on some malformed replies from a local or WebSocket server - Fixed PushNotification telling a headless run, such as a scheduled one, that the terminal was active in its first minute, instead of saying whether a mobile push was requested - Fixed `/install-github-app` skipping the repository step after setup warnings when no repository was found, and Esc not going back from its workflow list and sign-in steps - Fixed one-line tool results cut with no ellipsis in narrow windows, Markdown stars in the Auto mode tab of /permissions, and a hook's reason to stop a forked skill showing twice - Fixed `/diff` hiding its key hints and not selecting files in windows of 24 to 26 rows, and leaving out files added with `git add -N` in a repository with no commits - Fixed the first-run theme list showing too few themes in short windows, and /usage and other tall screens coming out garbled there - Fixed `/bug` in fullscreen hiding its Yes and No answers behind a long report, and Yes staying out of view in very short windows - Fixed /compact and auto-compact sometimes losing part of the conversation summary when the summary quoted certain XML tags - Fixed Claude not being told when permission rules on the Agent tool dropped its queued message to a subagent that had already ended - Fixed a Remote Control message sometimes showing above the reply that was finishing when it was sent - Fixed Stop hooks that read the transcript missing the last reply in Claude Desktop; SubagentStop hooks now wait for it too - Fixed turns and subagents failing in cloud sessions, or timing out on long replies elsewhere, when a reply went silent while Claude was still thinking; Claude Code now tries the request once more - Fixed Esc and Stop waiting about a minute or more when the contents of a cloud or network file that Claude is reading stall - Fixed Code Mode sessions resumed with `--resume` or `--continue` in another permission mode losing thinking and the prompt cache; one begun in a mode that asks keeps that mode's limits on scripts - Fixed Code Mode sending a request about every second when a `!` or slash command was typed while a script was running - Fixed an interrupted or failed plugin update leaving a partial plugin folder that later loaded with skills or other components missing ([#&#8203;102186](https://github.com/anthropics/claude-code/issues/102186)) - Windows: Fixed file writes on FAT32 and exFAT drives asking for permission every time in some plugin sessions - Fixed Claude failing to read a notebook that has a null output or an error output with no traceback - Fixed a rewind deleting files after a restore had failed - Fixed auto mode sometimes refusing Claude's call to stop a /loop, which left the next wake-up to fire - Fixed a Workflow agent's background shells and MCP servers sometimes being left running after it handed back its report - Windows: Fixed `/desktop` downloading the older Claude Desktop installer, and asking for an update when an older install's folder was left behind - Fixed `claude plugin install`, `marketplace add` and similar commands hanging with no output when managed settings needed an approval that could not be asked for - Fixed a permission rule on a subagent's model, such as `Agent(model:*)`, blocking Claude's follow-up message to a subagent started on this version with no model named - Fixed PermissionRequest hooks not saving `Skill(name:*)` allow rules outside local settings - Fixed "Ask your admin" asking to raise your own limit when your team's pooled group budget blocked you, and saying "Request sent" when an admin had approved your request in the last few minutes - Fixed Code Mode losing the middle of a long script output; Claude now gets a path to the uncut text ([#&#8203;111373](https://github.com/anthropics/claude-code/issues/111373)) - Fixed hold-to-talk dictation stopping early and losing words when Claude Code was busy - Fixed Code Mode with `--bare` not telling Claude what its scripts can call - Fixed a crash when a custom API endpoint returned a tool call with no tool name; the call now fails with an error and the session continues - Windows: Fixed a possible crash when the machine is almost out of memory - Fixed the CLI freezing on some replies, and quoted text sometimes going missing or showing twice - Windows: Fixed Claude Code refusing to start when managed settings in the registry contain non-ASCII characters such as Japanese ([#&#8203;93280](https://github.com/anthropics/claude-code/issues/93280)) - Windows: Fixed Remote Control clients showing no steps for a new subagent - Fixed @&#8203;-mentions written as `@file#10-12` attaching the whole file instead of those lines - Fixed Claude misreading a pasted artifact invitation link; it now asks you to accept the invitation and paste the artifact's own link - Fixed sandboxed Bash commands sometimes failing to start on a full temp disk, for sandboxes whose file rules keep commands out of the temp directory - Improved typing speed in screen reader mode, most of all in long sessions - Improved start-up time: a session started soon after another no longer waits for the model list, and one outside a git repository without `.claude/settings.local.json` no longer waits on git - Windows: Improved the speed of the first Bash command in a session on machines with no custom shell start-up files - Improved the plugin auto-update notice to name plugins it newly installs as dependencies, separately from updated plugins - Improved Code Mode tool search to show more of an MCP tool's description, with its limits, formats and defaults - Improved the Console sign-in link shown by /login and `claude auth login --console`: it is now much shorter - Improved Claude's list of your artifacts: it now marks web pages, so Claude is less likely to try opening one with the Claude Docs connector - Improved the folder trust prompts in short terminals: fullscreen `/cd` and `/add-dir` show their choices in fewer rows, and the prompt at launch keeps the folder path in view when it has many warnings - Changed the questions for stopping auto-connect in `/ide` and for `/clear`, `/compact` or `/rewind` in a subagent's view to list Yes first; they still start on No, so Down then Enter now answers No - Changed what a `PermissionDenied` hook's `retry: true` tells Claude: make the refused call again only if you asked for that call - Changed in a future release, on or after November 30, 2026: plugin marketplaces in managed `extraKnownMarketplaces` will auto-update by default. To opt one out, set `"autoUpdate": false` on its entry - Windows: Changed start-up with managed settings in the registry: check them before upgrading, as an `HKLM` policy outranks `managed-settings.json` and a broken value can stop the start - \[VSCode] Added a warning and a link to the revoke page when you log out and the request to revoke your claude.ai login isn't confirmed - \[VSCode] Added a notice before sending a very large selection or attached text file, and advice under "Prompt is too long" that names the large part and what to do next - \[VSCode] Added "Add Cell to Chat" to the notebook cell menu, which attaches a cell with its outputs or error - \[VSCode] Added "Fix with Claude Code" as a quick fix for errors and warnings and to failed tests in the test peek and the Test Results view, which puts the problem into the chat box - \[VSCode] Added "Add to Chat" to the right-click menu of changed files in the Source Control view - \[VSCode] Added "Resolve Merge Conflicts" to the editor title of a file with merge conflicts and to the Merge Changes group in Source Control - \[VSCode] Fixed raw tags for selected code under a reworded prompt, the mode button flashing Manual, the slash menu hiding its highlighted row, a broken sign-in image, and a blinking Accept/Reject bar - \[VSCode] Fixed a forked conversation overwriting the original conversation's plan file; a fork or rewind that can't copy the plan now shows a warning - \[VSCode] Fixed voice dictation saying no speech was recognized when its connection closed or never opened; it now says the connection was lost or couldn't connect - \[VSCode] Fixed an unsent side question being lost when its panel closes - \[VSCode] Fixed Escape stopping Claude after renaming a session, and typing going nowhere after closing the session history with Escape - \[VSCode] Fixed Rename, Mark as Unread and Add to Group saying "still connecting" on a tab that resumed a session from its history - \[VSCode] Fixed wide tables and long paths cut off, long errors hiding their close button, errors out of view in the Add MCP server form and Chrome dialog, and plugin pictures ignoring the editor theme - \[VSCode] Fixed later prompts and the message box covering the Rewind code dialog, and focus jumping from "Never mind" to "Rewind" when it finishes checking files - \[VSCode] Fixed the command menu keeping an earlier match highlighted while you type more in its filter, so Enter could run the wrong row - \[VSCode] Fixed the @&#8203; menu showing "No files found" before its first search results arrived, or when it couldn't search all files of a very large workspace, which it now says - \[VSCode] Fixed Escape stopping Claude at a Remove or Delete confirmation in MCP, Hooks and Memory dialogs, on a side question panel's button or link, and on the Bookmarks button with its panel open - \[VSCode] Fixed empty boxes showing instead of the + and − signs in diffs ([#&#8203;73069](https://github.com/anthropics/claude-code/issues/73069)) - \[VSCode] Fixed the chat no longer following Claude's reply after the panel was resized, or hidden and shown again - \[VSCode] Fixed a chat left in bypass permissions mode reopening in Auto mode instead of your initial permission mode when settings disable bypass - \[VSCode] Fixed the chat panel freezing on some CSS code blocks and diffs - \[VSCode] Fixed the context usage indicator disappearing after an API error, "Prompt is too long", or a slash command - \[VSCode] Fixed a message queued behind a queued /clear being lost - \[VSCode] Fixed Manage Plugins losing its search box or showing no message when a search has no match, and not saying that the list of available plugins failed to load - \[VSCode] Fixed proposed changes to notebooks and files with a custom editor opening in a tab with no Accept or Reject that stayed open after the answer - \[VSCode] Fixed the spend limit message telling Team and Enterprise members to run `/usage-credits`, which can't send a request to their admin from the panel - \[VSCode] Fixed a written message being wiped by Tab on a command in the "/" button's menu or by a click on an onboarding suggestion - \[VSCode] Fixed Claude continuing to edit files after you rewind code while it is working - \[VSCode] Fixed typed text being lost after /tasks, /copy, /export, a skipped /feedback, or /plan while already in plan mode - \[VSCode] Fixed the question card dropping a typed "Other" answer on Ctrl/Cmd+Enter, and sending the word "Other" when nothing was typed - \[VSCode] Fixed the panel showing "Something went wrong" for a conversation in which a gateway sent a tool call with no name - \[VSCode] Fixed unsaved changes being missed, and Claude's edit being overwritten by the next save, in a folder opened through a symlink - \[VSCode] Fixed @&#8203;-mentions attaching nothing, or another file of the same name, after Claude changed folders with `cd` - \[VSCode] Fixed the arrow keys replacing typed text with an old prompt while selecting, and dropping edits to a recalled prompt - \[VSCode] Fixed an @&#8203;-mention added while a permission prompt was open being lost - \[VSCode] Fixed shortcuts such as Ctrl+1, Alt+1 or Ctrl+Space answering an open dialog, which could restore files in the rewind confirmation or switch the git branch - \[VSCode] Fixed prompts that start with a file path or code comment being sent without the selected code and having no fork or rewind menu - \[VSCode] Fixed file links in the chat ignoring your editor associations for files in the workspace, except notebooks ([#&#8203;81482](https://github.com/anthropics/claude-code/issues/81482)) - \[VSCode] Fixed selected lines staying attached to your next message after their file's tab was closed - \[VSCode] Fixed new sessions starting in Edit automatically after pressing Shift+Tab through it to reach Plan mode - \[VSCode] Fixed an edited command on the permission prompt running without the line breaks that were typed or pasted into it - \[VSCode] Fixed a newly opened Claude tab not focusing its message box, or taking the keyboard late from the terminal or command palette and sending the typed text as a prompt - \[VSCode] Fixed Alt+K line ranges such as `@app.ts#5-10` sending the whole file, or its first 2,000 lines, instead of the selected lines - \[VSCode] Fixed diff tabs opening out of order when several subagents wait for approval, and a later edit to the same file cancelling an earlier one - \[VSCode] Fixed Enter rewriting a message or running a menu action when a `/word` such as the path `/api` stands beside other text, and running a typed slash command without its arguments - \[VSCode] Fixed Electron apps and extension tests failing to start from Claude, a hook or an MCP server; a wrapper, hook or server that runs VS Code as Node must now set `ELECTRON_RUN_AS_NODE=1` - \[VSCode] Fixed Claude not being told when you reject part of a proposed edit or change it in the diff view before accepting - \[VSCode] Fixed Escape on a permission prompt sending a half-typed instruction to Claude instead of cancelling - \[VSCode] Fixed Ctrl+J and Ctrl+O in the chat also opening VS Code's terminal or Open File dialog on Windows and Linux - \[VSCode] Fixed the @&#8203; menu inserting the wrong file on a quick Tab or Enter, and Enter not sending a prompt that ends in an [@&#8203;word](https://github.com/word) with no matching file - \[VSCode] Fixed new Claude tabs staying blank and the side bar failing to load after closing a tab while Claude was still starting - \[VSCode] Fixed a quick double click in the panel pressing a button or row that appeared after the first click, or starting a second compaction from the context usage circle - \[VSCode] Fixed switching models failing with "Settings file is not valid JSON" when settings.json is empty or starts with a byte order mark - \[VSCode] Fixed memory growing with each fork or rewind of a long conversation until the window was reloaded - \[VSCode] Fixed plan comments not showing on the plan approval card in Focus view - \[VSCode] Fixed file links without a line number moving the cursor of an open file to line 1 - \[VSCode] Fixed a missing notification when a conversation running behind another one in the same panel needs a permission or an answer - \[VSCode] Fixed Manage Plugins not loading when Claude Code is slow to start or fails to start, so a plugin that blocks startup can be turned off - \[VSCode] Fixed proposed diffs showing and saving garbled non-ASCII text when `files.encoding` is not UTF-8 - \[VSCode] Fixed approved edits and writes saving right-to-left marks as literal `\u200F` escapes on lines with Hebrew, Arabic or Persian text - \[VSCode] Fixed a model pick being ignored for the next message when Claude's process had ended or was still starting - \[VSCode] Fixed Rewind showing "No active session" after Claude's process had ended - \[VSCode] Fixed typing @&#8203; leaving a helper process running per tab when no browser is connected, except when Claude in Chrome's service can't be reached - \[VSCode] Fixed the session list opening every transcript at once, which stalled the editor's extensions and could leave sessions out in projects with many sessions - \[VSCode] Improved the time to the first reply in a new folder when the Python extension is installed and the folder has no Python - \[VSCode] Improved the sign-in screen to say when it opened because a request was refused - \[VSCode] Improved the speed of opening, restoring and switching back to long conversations, most of all with many file edits or where git is slow - \[VSCode] Improved responsiveness in long chats: smooth typing and large file writes while a reply streams, faster permission prompts, and far less freezing on send with accessibility support on - \[VSCode] Improved startup and memory use: the panel and new chat tabs open faster, a first message in a new tab is answered sooner, and on Pro and Max plans the folder trust dialog comes up sooner - \[VSCode] Improved speed in remote windows (SSH, WSL, containers): the panel starts, replies appear and sessions reopen faster - \[VSCode] Improved the time to a response for the first message after a chat has been idle for a few minutes on a machine that is low on memory - \[VSCode] Improved how fast chats start, open from history and come back after a restart on slow or antivirus-scanned disks - \[VSCode] Improved how fast diffs appear in reopened conversations, and removed diff menu entries that did not work - \[VSCode] Improved the @&#8203; file menu to list the files of open editor tabs first, the most recently used on top - \[VSCode] Changed saving a proposed diff to accept it only after you click or type in its proposed (right) side; a notification says when a save is refused or a close with Save applies nothing - \[VSCode] Changed diffs from a terminal session to open without moving keyboard focus, and beside a file with unsaved changes; to answer, click Accept or use the terminal - \[VSCode] Changed permission cards to show only Yes and No when `allowManagedPermissionRulesOnly` is set and the card would offer an allow rule; key 2 on those cards now answers No - \[VSCode] Changed a Claude tab to ignore Enter and show a notice when its Find box has lost the keyboard ### [`v2.1.330`](https://github.com/anthropics/claude-code/blob/HEAD/CHANGELOG.md#21330) [Compare Source](https://github.com/anthropics/claude-code/compare/v2.1.329...v2.1.330) - Added sign-in to organizations managed in Anthropic's Enterprise Admin Console: after `claude auth login`, Claude Code applies the organization's settings and uses its cloud provider or gateway - Added easel, a built-in mod that draws charts when asked and under MCP metrics results, on Pro, Max and, where available, Team and Enterprise on macOS and Linux; turn automatic charts off in `/config` - Added `CLAUDE_CODE_FULL_SIGN_IN_LINK=1` to print the full sign-in link, if the short one shows an error or a script reads values from it - Self-hosted runner: Added `--start-dir` / `SELF_HOSTED_RUNNER_START_DIR` to have Claude start its work in a folder of a repository, while settings and hooks load as without it - Added a notice in cloud and self-hosted runner sessions when a plugin marketplace can't be fetched because its repository isn't one of the session's - Self-hosted runner: Added a notice when Anthropic-managed git refuses a plugin's own repository, naming the plugin and what to do - Added `commandPrinted` to `claude plugin install --json` results, true when the plugin's install command wrote to stderr, and `commandFailed` when it exited with an error, was killed or timed out - Added `claude_code_self_hosted_runner_order_to_registered_seconds` to the self-hosted runner's `/metrics`: seconds from work order issued to registration accepted, on orchestrator-spawned runners - Added `claude_code_self_hosted_runner_order_to_first_session_seconds` to the self-hosted runner's `/metrics`: seconds from work order to first session handed over, on runners started for a session - Fixed Claude Code freezing for up to several minutes right after compacting a very long conversation - Fixed WebFetch freezing the session for minutes on some pages, and returning an empty result for some others - Fixed `ExitWorktree` and the worktree exit dialog deleting a worktree that another running Claude Code session was working in - Fixed changes to user settings being lost when several Claude Code processes saved them at the same time - Fixed `--continue` and `--resume` opening an empty session or failing when the last saved message had a missing or invalid timestamp - Fixed the first prompt after a sleep of two minutes or more waiting three minutes on a connection that had died, on Linux and WSL - Fixed turns failing with "JSON schema is invalid", and session files growing by many megabytes, when many MCP tools have an input schema that the API refuses - Linux: Fixed Bash commands waiting seconds and showing no file diff for the rest of a session in slow repositories with large ignored folders such as `node_modules` - Windows: Fixed Bash commands running slower for the rest of a session after Git Bash took 10 to 60 seconds to start, on machines with no custom start-up files - Fixed `/rewind` sometimes restoring an older version of a file when two queued prompts, or stacked skills, ran together right after a turn that changed it - Fixed text and images added when approving a permission prompt being dropped when the approved command or tool then failed - Fixed MCP resources from claude.ai connectors and plugin servers not being attached when @&#8203;-mentioned in the terminal's prompt box - Fixed an MCP server that subagents declare being shut down when one of them finished, while other subagents or the session were still using it - Fixed Claude in Chrome staying "not connected" after a brief connection problem, even though Chrome was open and signed in - Fixed terminal sessions on Amazon Bedrock (Mantle) started with no model selected ignoring a pinned Opus model, and still calling an unavailable default model after announcing a fallback - Fixed the rest of what you were typing being lost when a plan arrived in fullscreen mode - Fixed claude.ai connectors with different names being dropped when they share a server URL ([#&#8203;101856](https://github.com/anthropics/claude-code/issues/101856)) - Fixed plugins going missing from the installed list when several `claude plugin` commands ran at the same time - Fixed task dependencies and metadata being lost when several task updates ran at the same time - Fixed incomplete backups of `~/.claude.json` being kept, and displacing good ones, when the disk was full - Fixed a long pause in Code Mode after code that read hundreds of files in projects with path-scoped rules or Read deny rules - Fixed the built-in chart tool failing when Claude called it in Code Mode - Fixed Code Mode ignoring an MCP tool's request to end the turn from a script in auto and bypass permissions modes - Fixed Code Mode in auto mode dropping earlier thinking and rewriting the prompt cache when a mod added a note after a script loaded a skill - Fixed Code Mode not restoring a file that a script had read after Esc and `/compact` - Fixed `/context` undercounting system tools in Code Mode before Claude's first reply - Fixed a stopped background subagent sometimes not staying stopped - Fixed Claude still waiting for a background agent that was stopped just as it finished, in sessions run by an app or the SDK - Fixed background sessions sometimes waking in their previous permission mode after approving a plan - Remote Control: Fixed the note about background agents ended by a Stop from a phone or the web showing in the terminal as if you had typed it - Remote Control: Fixed the mobile apps hiding the Diff and pull request buttons, or showing a stopped session as working, after turning it on mid-conversation - Fixed environment variables written by a SessionStart hook being lost with `claude -p --continue` - Fixed `claude -p` exiting 0 with no message when its output went to a file on a full disk: it now prints an error and exits 1, though a full NFS export may go unnoticed - Fixed the system prompt keeping the earlier model's instructions when the model was changed after `/context` but before the first message - Fixed Claude sometimes replying to its commit attribution reminder and ending the turn early after the model changed mid-turn; it can still happen where managed settings set the PR attribution line - Fixed Esc not ending an LSP tool call that was waiting for a slow or stuck language server - Fixed LSP tool calls and diagnostics failing when several calls or edits arrived while a language server was still starting - Fixed `/mcp` listing plugin servers as built-in: they now stand under "Plugin MCPs", `--mcp-config` and built-in servers under "Other MCPs", and a server's page names its plugin - Fixed an "MCP server blocked by enterprise policy: easel" warning showing at every start when an MCP allowlist or denylist excludes the built-in chart tool, which stays blocked - Fixed `/stats` counting new activity in UTC days instead of your local time zone - Fixed `/ultrareview` failing or reviewing the wrong code after the shell moved into another repository: it now stops and names both folders - Fixed Grep reporting no matches when the pattern held a line break without multiline mode; it now reports the rejected pattern - Fixed Jupyter notebooks saved with a byte order mark being reported as invalid JSON by the Read and NotebookEdit tools - Fixed link reference definitions being dropped from CLAUDE.md and memory files that contain an HTML comment - Fixed running Monitors keeping the earlier conversation in memory until they end - Fixed some Claude Desktop sessions on third-party providers, other than scheduled tasks, ending a turn with "Prompt is too long" when a PDF larger than the context window followed a long conversation - Fixed the choice between two user or project agent files declaring the same name depending on the order the file search listed them - Fixed `claude daemon logs` never exiting inside a git repository when there is no log file - Fixed markdown hiding a character or two after bold or italic text when a backslash came before an emoji later in the paragraph - Fixed Edit refusing some valid hook commands in Claude settings files - Fixed `Read` with a page range showing both halves of a scanned two-page spread on each of its pages - Fixed line breaks and class stereotypes missing from Mermaid diagrams in HTML artifacts - Fixed the Project instructions picker in `/config` showing only one of its four choices in a 24-row fullscreen window - Fixed a subagent's own subagents and forks running on the plan-mode model in plan mode under `opusplan` or `haiku` - Fixed WebFetch page summaries ignoring the `/effort` level when a gateway refuses the small fast model - Fixed `claude -p` on Google Cloud's Agent Platform ignoring `--settings '{"fastMode":true}'` when the model comes from `ANTHROPIC_MODEL` or a settings file; such runs now bill at the fast mode price - Fixed startup under `forceLoginOrgUUID` being refused after one temporary server error or dropped connection - Fixed `claude mcp remove` giving no way forward for a claude.ai connector: it now says to turn it off in /mcp or remove it on claude.ai - Fixed the /mcp "Connect on claude.ai" check saying "not connected" when claude.ai has a connector at the server's URL without its query - Fixed `/install-github-app` and `/design-login` showing a generic failure for an account on hold instead of the on-hold notice and appeal link - Fixed a running MCP task being reported as stopped when you move a session to the background; the background session can now follow the task, but not if its server uses stdio or sets headers - Fixed self-hosted runners ignoring a session until they exited, after its failure report was lost or the session was given back to the same runner - Fixed self-hosted sessions losing the prompt cache and earlier thinking when the list of repositories a restart couldn't prepare changed - Self-hosted runner: Fixed tool calls behind a permission prompt vanishing with no result when a new runner took over the prompt, in sessions with telemetry off - Fixed resumed self-hosted runner sessions starting without their pushed work in large repositories when `--push-outcome-on-release` is set - Fixed self-hosted runner sessions being shown as working when Claude Code hangs at every start and `--startup-timeout-min` is from 2 to about 6 - Fixed `pkill -f` in self-hosted runner sessions on Linux ending its own shell with exit code 144, or the runner (needs a `pkill` with `--ignore-ancestors`) - Fixed scheduled tasks on self-hosted runners having no tool to notify their owner when telemetry is off or a third-party provider is used - Self-hosted runner: Fixed one slow `spawn-runner` hook keeping the orchestrator from claiming sessions for its free slots; it now polls every 4 to 6 seconds while a slot is free - Self-hosted runner: Fixed a 403, such as an IP allowlist's, logged as a bad secret or token: most such lines now lead with the server's reason, so update log alerts that match the old words - Fixed self-hosted runners' warn mode for repository settings stopping at the first finding of most kinds: it now goes on, up to 50 for a session, and says if it stops early - Self-hosted runner: Fixed runners that start on a full disk taking sessions and failing them; they now wait for room and exit 1 after a minute with no session, unless started from a work order - Self-hosted runner: Fixed a failed start suggesting a retry when the runner's machine had no git credentials; the error now says whom to ask and what to do if the repository is wrong - Fixed the self-hosted runner's `last_poll_age_seconds` reading 0 while the runner had never polled successfully - Fixed the notice about a skipped scheduled task that names no organization: it now says to start Claude Code with `--resume`, because `/resume` inside a running session doesn't run the task - Fixed `claude plugin validate` wrongly warning that a mod's `AbovePrompt` or `AbovePromptList` hook never runs in VS Code - Fixed `/design-sync` deleting a file it had just uploaded when Claude Design stored that file under a changed name - Reverted 2.1.329's removal of the automatic retry when `max_tokens` exceeds a model's or gateway's limit - Improved the claude.ai sign-in link shown by /login, `claude auth login` and `claude setup-token`: it is now much shorter - Windows: Improved Grep and Glob speed by no longer starting a console host for each built-in ripgrep search on a local path - Improved the speed of file diffs - Improved `/config` search: most settings whose name starts with what you type come first, "effort" finds Model, and "dark" or "light" finds Theme - Improved `/resume`: sessions where you only opened a screen such as `/model` and left are no longer listed - Improved Reconnect in `/mcp` and `/plugin`: a server's page now stays open, with the cause in view, when the server still fails or needs sign-in - Improved the error on macOS when sandbox deny lists are too long: it now names the long lists and how to shorten them - Improved `/plugin` in fullscreen mode: the page of a plugin with errors now starts with those errors - Improved `/ultrareview`'s cost confirmation on Team and Enterprise plans: it now says how much of your monthly spend limit is left when that is less than a review usually costs - Improved self-hosted runner sessions on Amazon Bedrock or Google Cloud's Agent Platform to say so when they start on another default model because your account refused the first - Windows: Improved the error when a session's folder is on a drive Claude Code can't verify: it says why, and whether retrying can help - Improved Code Mode: Claude is now told how to look at images and PDFs - Improved Code Mode: after Esc, "Interrupted" now shows under the stopped command in place of a red error - Improved Code Mode: the terminal freezes for far less time after a subagent's script makes thousands of tool calls - Changed recurring scheduled tasks and `/loop` to run up to 30 days instead of 7 while their session keeps running, and say when they end; tasks made before this release still end at 7 days - Changed more `rm` commands aimed at the root, home, a top-level folder or the working folder to ask for approval; where nobody can answer, they're refused - Changed `deniedMcpServers` name entries to hide only the named claude.ai connector, not others at its URL; to block them all, deny its exact URL - Changed `claude --teleport` in some setups to print the git commands for switching branch instead of running them; with `-p` it exits 1 until you switch - Changed unrecognized model names containing "sonnet" or "haiku" to use the shorter system prompt, like other unrecognized names; `CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0` gives every model the full one - Changed skills that Claude runs with a `model` setting, other than `context: fork` skills, to leave subagents, forks, compaction and `/recap` on the session's model - Changed a subagent's model fallback to carry over: agents with no model and forks it then starts run on the fallback, and the agents they start use its Bedrock region - Self-hosted runner: Changed `spawn-runner` hooks to start while earlier ones still run, up to `--hook-concurrency` per orchestrator (4 by default); set it to 1 if yours can't run beside another - Self-hosted runner: Changed Bash commands to skip the file diff when nothing needs it, so transcripts can lack it; set `bashEditDiffEnabled` to true in managed settings to get every diff - Changed self-hosted runners to stop a session's start at once, without trying other runners, when a checkout hook exits with status 108 - Changed prompt hooks to accept model aliases such as `haiku` or `sonnet` in their `model` field - Changed `/design-sync`'s fallback build of the reference Storybook to use only a Storybook installed in the project - Changed subagent progress summaries in terminal sessions signed in to a Claude apps gateway to be written from short notes instead of the whole conversation, using far fewer tokens - \[VSCode] Added `/fork` to fork a conversation after its last reply ([#&#8203;69272](https://github.com/anthropics/claude-code/issues/69272)) - \[VSCode] Added `/workflows`, which opens the agent map with running workflows - \[VSCode] Added the `claudeCode.escapeStopsClaude` setting; turn it off so Escape does not stop Claude ([#&#8203;91536](https://github.com/anthropics/claude-code/issues/91536)) - \[VSCode] Added the `claudeCode.pinPrompt` setting to let your message scroll away instead of staying pinned - \[VSCode] Added the `claudeCode.contextUsageThreshold` setting for when the context indicator shows ([#&#8203;93036](https://github.com/anthropics/claude-code/issues/93036)) - \[VSCode] Added a `prompt` argument to the "Open in Side Bar" command for keybindings and extensions - \[VSCode] Added Move up and Move down to a session group's menu ([#&#8203;98654](https://github.com/anthropics/claude-code/issues/98654)) - \[VSCode] Fixed VS Code opening and focusing its terminal on every prompt of a connected terminal session - \[VSCode] Fixed copying a code block adding a trailing newline that ran the command on paste ([#&#8203;96976](https://github.com/anthropics/claude-code/issues/96976)) - \[VSCode] Fixed holding Enter on `/rewind` restoring files, and a double click on Remove or Delete removing a memory, MCP server or plugin marketplace, without confirmation - \[VSCode] Fixed Enter on a question card sending your earlier answer instead of picking the focused one, and arrow keys not working after an "Other" answer; answered questions reopen on your pick - \[VSCode] Fixed a held-down Enter key sending a half-written message or running a typed slash command - \[VSCode] Fixed Cmd+A, C, V, X and Z not working in the rename box and dialogs on macOS - \[VSCode] Fixed Ctrl+F and Ctrl+P not moving the caret in the message box on macOS - \[VSCode] Fixed the Accept and Reject buttons doing nothing on a proposed diff moved to a new window - \[VSCode] Fixed Accept and Reject Proposed Changes showing over the chat, the terminal tab and other files; they now show only on the proposed diff - \[VSCode] Fixed a slow-starting Claude tab taking the keyboard away from the file you had gone on typing in - \[VSCode] Fixed unsaved changes and new problems being missed on macOS and Linux for files whose path contains `#`, `?` or `%20`, such as a `C#` folder - \[VSCode] Fixed whole-line selections counting one line too many in the selection chip, in @&#8203;-mentions and in what Claude is told, and file links leaving out the last line of a range - \[VSCode] Fixed a conversation forked in the panel re-running an old, unanswered prompt by itself after a window reload - \[VSCode] Fixed a forked conversation running the original conversation's `/loop` schedules a second time - \[VSCode] Fixed /clear giving no sign that the session still runs without a newly trusted folder's CLAUDE.md and settings - \[VSCode] Fixed dialogs closing, and losing typed text, when a text selection was dragged past their edge - \[VSCode] Fixed advisor calls showing as "Unsupported content type" ([#&#8203;73499](https://github.com/anthropics/claude-code/issues/73499), [#&#8203;64158](https://github.com/anthropics/claude-code/issues/64158), [#&#8203;90471](https://github.com/anthropics/claude-code/issues/90471), [#&#8203;73637](https://github.com/anthropics/claude-code/issues/73637)) - \[VSCode] Fixed the session list showing no status for the sidebar chat's session ([#&#8203;93898](https://github.com/anthropics/claude-code/issues/93898)) - \[VSCode] Fixed the plan preview's Add Comment button vanishing after a fast double click on a word - \[VSCode] Fixed long lines cut off in the Edit Notebook Cell row, permission rules squeezed in a narrow panel, hard-to-see question card marks, and menus moving the chat after a declined trust prompt - \[VSCode] Fixed signing in to an account on hold showing a generic failure instead of the on-hold notice and appeal link ### [`v2.1.329`](https://github.com/anthropics/claude-code/blob/HEAD/CHANGELOG.md#21329) [Compare Source](https://github.com/anthropics/claude-code/compare/v2.1.328...v2.1.329) - Added a trust dialog warning that says where a folder's hooks are declared - Added a warning in the conversation, in Claude Desktop and other non-interactive hosts, when hooks in managed settings fail to load - Added this session's scheduled tasks, `/loop` wakeups, the goal and this conversation's forks to `/tasks`; x stops one after asking - Added a "Server message" row to a server's page in `/mcp` that shows the JSON-RPC error message of a remote HTTP MCP server that refuses the connection - Added a "Marketplace auto-update" row to `/status` that names managed marketplaces that get no automatic updates, and why - Added support for turning on Code Mode while OpenTelemetry events and metrics are enabled; each tool call the code makes sends its events; tracing still keeps it off - Fixed `~/.claude.json` sometimes being reset to defaults when a network stall or file lock made it unreadable and cleared during a save - Fixed repeated sign-outs on macOS when Claude Code could read the Keychain but not save to it. That session now stops at expiry and says why, and other sessions stay signed in - Fixed `/terminal-setup` corrupting VS Code settings or keybindings files around block comments, and reporting success while losing the Shift+Enter binding where keybindings.json has an unclosed string - Fixed files accepted through the IDE diff being saved without their last newline, and losing their byte order mark (BOM) when an edit was accepted by saving the diff in VS Code - Fixed picking a cloud session in `/teleport` replacing your open conversation: the pick now starts a new session, as `/clear` does, and `/resume` brings the old one back - Fixed `/usage-credits` asking Pro and Max users to log in again after opening the browser, and the link disappearing after 8 seconds if the browser doesn't open and a task stops for usage credits - Fixed `/usage` saying usage credits are off when they had run out or reached the monthly limit, and `/model` not telling Pro and Max users when that limit blocks a model that runs on usage credits - Fixed the spend limit menu showing your spend as your monthly limit and wrapping its rows under the pointer in narrow windows - Fixed a status line script that prints without end freezing the prompt and using gigabytes of memory - Fixed an empty, frozen screen after approving managed settings while the --resume picker, the trust dialog or another set-up screen was waiting - Fixed choosing Default in `/model` replacing your saved model with your organization's default when the Default row already showed your saved model - Fixed an MCP server being signed in again after you cleared its authentication while a token refresh was running - Fixed background MCP tasks that stalled after a slow reconnect: Claude Code now reconnects most HTTP MCP servers by itself when one is left on an older protocol version - Fixed PDFs, images and `.docx`, `.xlsx` or `.pptx` files that MCP servers or websites send as `application/octet-stream` being saved as .bin, which kept Claude from reading the PDFs and images - Fixed `/code-review <pr number>` sometimes reviewing the checked-out branch instead of the pull request without saying so: it now reads the pull request with `gh pr diff`, or says when it can't - Fixed `/code-review` stopping at a permission prompt, on most models, to look for a `~/.claude/CLAUDE.md` that doesn't exist - Self-hosted runner: Fixed `--push-outcome-on-release` sometimes deleting a session's branch on the git host - Fixed Code Mode hiding a script's finished edits and the stopped command after Esc, and losing them on exit - Fixed a runaway loop in Code Mode filling the machine's memory; it is now stopped at a limit - Fixed a background agent running on when it was stopped while it was being resumed - Fixed background shell commands using memory for the earlier conversation until they exit - Fixed Remote Control using memory for the earlier conversation after a compaction or `/clear` in sessions run by Claude Desktop, IDEs or the SDK - Fixed Stop not ending a request in Claude Desktop sessions on Bedrock while it waits on a hung AWS credential_process or sign-in call - Fixed Claude sometimes failing to send you a file on its first try on Opus 4.8 and Opus 5 - Fixed Claude not being told that a connected MCP server's tools could not be loaded, and taking it for a server with no tools, in sessions with tool search - Fixed `claude mcp login` and `/mcp` saying a service doesn't accept sign-ins from Claude Code when the service's client registration had been retired (HTTP 410 Gone) - Fixed another case of claude.ai-synced plugin hooks failing with "Plugin directory does not exist" while a session was still running on macOS - Fixed auto mode asking for manual approval to `rm` a symlink that points outside the working directory or at itself - Fixed `/sandbox` on Linux listing `allowUnixSockets` entries as allowed: they don't open those sockets there, and `/sandbox` now says so - Fixed pressing Esc twice to clear a mistyped code ending the sign-in in `/install-github-app` - Remote Control: Fixed sessions going back to their first effort level after a restart while the app still showed the level you picked (not yet for sessions that start in Ultracode) - Fixed a removed plugin's MCP server staying connected in headless sessions after `reload_plugins` or when the account's plugin list drops it - Fixed the Claude Docs connector's tools going missing when a plugin or MCP server at the same address failed to connect, and its error wrongly suggesting `/login` - Fixed a new skills, commands or agents folder being missed when `--add-dir` names the working directory or Claude Code starts in the home folder - Fixed sessions started from a pre-warmed process ignoring the `autoCompactWindow` setting in the project's `.claude/settings.json` - Fixed `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE` staying in effect in a running session after it is removed from settings.json - Fixed the Agent tool's `effort` parameter being ignored for named teammates in agent teams - Fixed `/auto-mode-setup` ignoring recent auto mode denials when it scans a project for rules to suggest; it may now offer allow rules from them, and you review each before it's saved - Fixed a false "Couldn't save this change" warning after adding a permission rule or directory in a subfolder or worktree whose own `.claude/settings.local.json` is unreadable or malformed - Fixed cloud sessions telling Claude to run a network proxy check after a failed request, which auto mode then blocked - Fixed headless rewind and fork going ahead while a message sent right after a model change still waited on it - Fixed Claude not being told when a background task was stopped while a cloud session was restarting - Fixed `/team-onboarding` reporting a guide as shared on Team and Enterprise plans when the server refused the upload - Fixed panels and questions being cut off at the prompt in fullscreen, `/help`, history search and the background tasks list losing rows or titles in short windows, and tables wrapping in dialogs - Fixed resumed sessions showing "Rejected" or "Declined" for edits, questions and plans that were cut off when the session ended - Fixed `/passes` showing the wrong number of passes after a server error, and offering usage credits for sharing when no guest passes are left - Fixed `claude --help` output being cut short when piped to another program - Fixed `/terminal-setup` turning on "Use Option as Meta key" in Terminal.app on macOS 27, and tips there suggesting Option+Enter instead of Shift+Enter - Self-hosted runner: Fixed setup failing on Git LFS repositories cloned through Anthropic-managed git; sessions now start on pointer files, and `git lfs pull` fetches the content - Fixed sessions on self-hosted environments not starting from a git remote with an SSH host alias, GitHub SSH certificates or a GHE.com SSH user; an unresolved alias's error gives two git commands - Fixed remote MCP servers in self-hosted runner sessions staying without tools, or (over https) disconnected, after a timeout or network error - Fixed self-hosted runner sessions being shown as having stopped responding while Claude Code was still starting - Fixed Code Mode keeping in memory every large text file that code read, and memory growing each time a background subagent was woken - Fixed Code Mode stopping a script at its ten-minute limit while an MCP form, an MCP link prompt or a prompt that always asks was waiting for an answer - Fixed Code Mode scripts receiving a "moved to the background" message as data from most MCP calls over two minutes: the script now waits up to ten minutes, then gets an error - Fixed mods that list only some tools silently turning Code Mode off; such a mod no longer keeps it off, so use managed settings for that - Fixed Code Mode ignoring an MCP tool's request to end the turn when the tool was called from a script that Claude waits for - Fixed a Code Mode script's `let x;` keeping the value that an earlier script gave `x` - Fixed a Code Mode script's call with no argument failing with a missing-parameter error on tools that need none - Fixed Code Mode scripts losing access to tools through `tools` in sessions with more than 4,096 tools - Fixed the `/code-review` findings card often showing "high" for a review that ran at medium, on most models - Fixed key hints in permission prompts, questions, `/model` and `/rewind` ignoring `keybindings.json` - Fixed auto-scroll, the PR status badge, the auto-compact warning and the ultracode tag not following the `/config` switches that control them in a running session - Fixed a custom cancel key not working in `/add-dir`, `/tui` feedback and the save-workflow form - Fixed arrow keys in the save-workflow form moving the selection in the workflow view behind it - Fixed `/config` saying nothing, or "dismissed", after changing many settings - Fixed Read and @&#8203;-mentions showing one line too many for files that end in a newline - Fixed `/status` not naming the model that opusplan and haiku use in plan mode - Fixed `claude doctor` advising a Keychain unlock inside a macOS sandbox, where unlocking can't help - Fixed the "Jump to bottom" pill staying hidden after copying text and scrolling away, the row under it going blank when its label changed, and quick PageUp presses scrolling too far in fullscreen - Fixed a screen update sometimes being skipped when memory is low - Fixed long code blocks losing a blank line and repeating another in scrollback - Fixed prompt suggestions sometimes showing placeholder text such as `_(no suggestion)_` - Fixed the line about earlier messages on resume blaming a damaged file when the file was intact - Fixed characters disappearing from the prompt when its text held a color code that sets several styles and a keyword or command was highlighted - Fixed `/rename` and `UserPromptSubmit` hook titles in `claude remote-control` sessions not showing on claude.ai and mobile - Fixed the Remote Control diff listing a file twice when the branch renamed it and it was then edited - Improved the automatic clean-up of old sessions on computers with managed settings - Improved `/tui` and other in-place restarts to wait briefly for a login refresh, so they are less likely to sign you out - Improved memory use in long sessions that edit many files, and in long Claude Desktop sessions on macOS and Linux with many large MCP tool results - Windows: Improved start-up and the first search on PCs where Claude Code's search program starts slowly - Improved auto mode's handling of a short reply such as "yes" to Claude's question when telemetry is off, behind a gateway to the Anthropic API, or on Microsoft Foundry - Improved memory use of idle Claude Desktop and SDK sessions after a long turn, and after `--resume` or `--continue` of a session that holds screenshots or large tool results - Improved how fast a Claude Desktop Code session with Remote Control on is ready for the next message after an answer - Improved cloud sessions to retry plugins that failed to download at startup - Improved Code Mode: the terminal freezes for far less time after a script makes thousands of tool calls - Improved Code Mode: after starting a subagent, Claude now gets the same guidance on waiting as outside Code Mode - Updated computer use on macOS to newer safety rules, so some actions are refused and some apps have less access - Changed saved scheduled tasks: in new signed-in sessions, most saved by earlier versions need scheduling again, though `--resume` of their own session still runs them - Changed `/code-review` with no target on most models to review the whole branch against the default branch, and fixed it losing the diff on multi-commit branches - Changed auto mode to run `git status` less often so most requests wait less in large repositories; a git command that discards changes may be blocked until the working tree is checked - Changed `/code-review <pr number> --fix`, and `/code-review` given a pull request URL, to stop without reviewing when `gh pr diff` is refused or fails - Changed 'Exit and stop tasks' to end this session's scheduled tasks so they don't run again on resume, unless you exit while Claude is responding - Changed some teammate panes to start through /bin/sh, so they may not read shell start-up files - Changed computer use on macOS to give up on an app launch that has not finished after 30 seconds - Gateway: Changed the start-up warning shown while `access_control.allow_cidrs` is empty to a notice at every start, boxed in text logs: never expose the gateway to the public internet - Self-hosted runner: Changed a second host name's clone of the same owner/name to go under `_repos/clones/<host>/` in the base folder; no clone moves - Self-hosted runner: Changed repositories with unusual characters in their address path to clone anew in a new folder; rules and volumes naming the old one stop applying, and the old clone stays put - Self-hosted runner: Changed `--repository-folder` to take most folders in the base folder at `--capacity 1` (above 1, one there stops start-up); another repository's session overlapping one is refused - Changed Code Mode so a PreToolUse hook that errors no longer refuses a script's tool call, as outside Code Mode; set `"onFailure": "block"` on a command, HTTP or MCP tool hook that must refuse - Changed Code Mode to refuse a script's read of a line range over 256 MiB, which could use gigabytes of memory, and fixed reads of very long lines timing out - Changed Code Mode to also start when telemetry, nonessential traffic or feature flags are turned off; an administrator can keep it off in managed settings - Changed Code Mode to run a script that declares its own `log`, `preview` or `sleep`, which it used to refuse - Changed macOS login renewal to test the Keychain with a `Claude Code-write-check` item - Changed the `/tasks` header and the footer's background count to one number covering shells, monitors, MCP calls, agents, workflows and scheduled tasks - Changed Stop and SubagentStop hooks to list a Monitor's script as `monitor`, not `shell`, in `background_tasks` - Removed 2.1.326's automatic retry at the limit named in a `max_tokens` error; behind a gateway whose model takes fewer output tokens, set `CLAUDE_CODE_MAX_OUTPUT_TOKENS` to that limit - \[VSCode] Added a line above the message box after you decline the trust prompt, with Review trust to bring the prompt back without reloading the window - \[VSCode] Fixed being signed out of Claude Code in every window and terminal when the sign-in server took 10 to 30 seconds to answer the extension's token refresh - \[VSCode] Fixed keys pressed while an input method (IME) is composing moving focus on or declining a permission prompt, running menu rows and closing dialogs ([#&#8203;106358](https://github.com/anthropics/claude-code/issues/106358)) - \[VSCode] Fixed the permission prompt for Bash, Edit, Write and other built-in tools not showing why a safety check asks - \[VSCode] Fixed a half-written plan comment being lost or moved to another passage, and an input method's Enter sending the comment, ending a session rename or picking an @&#8203;-mentioned file - \[VSCode] Fixed the limit banner not saying when usage credits are in use, and the session survey covering that banner and the usage credits card - \[VSCode] Fixed screen readers not announcing a permission request that arrived while the Account & Usage dialog was open until that dialog was closed - \[VSCode] Fixed a proposed-edit diff tab staying open, with an Accept button that did nothing, after its terminal Claude Code session disconnected - \[VSCode] Fixed short tool inputs and outputs cut off at the panel's edge with no way to read the rest (they now open in an editor tab), and dragging to select text also opening one - \[VSCode] Fixed the Up key putting an earlier message over text that an input method (IME) is composing in the message box ([#&#8203;101294](https://github.com/anthropics/claude-code/issues/101294)) - \[VSCode] Fixed dropping an Explorer folder onto the chat inserting nothing on VS Code 1.103 to 1.139 or in a floating chat window, and the drop highlight vanishing with a false "Hold Shift" hint - \[VSCode] Fixed a permission prompt moving keyboard focus away from the details you were scrolling as its buttons switched on - \[VSCode] Fixed file links in a Claude tab opening in another editor group when `claudeCode.lockEditorGroups` is off ([#&#8203;108884](https://github.com/anthropics/claude-code/issues/108884)) - \[VSCode] Fixed ranges written with a single tilde (`3~5 … 7~10`) losing their tildes and showing struck-through text between them; only `~~text~~` is struck through now - \[VSCode] Fixed dictation errors wrapping into a narrow column, the spinner turning while a question card waits, and a NUL symbol after each letter in the output of a failed UTF-16 command - \[VSCode] Changed Down to stop at the last item of a permission prompt instead of wrapping to Yes - \[VSCode] Changed command output to show hidden characters and control sequences other than plain colors as symbols, so Persian, Khmer, Lao, Sinhala and Malayalam text can look broken or out of order </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42NS41IiwidXBkYXRlZEluVmVyIjoiNDQuNjUuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
chore(deps): update dependency @anthropic-ai/claude-code to v2.1.329
All checks were successful
security-scan / security-scan (pull_request) Successful in 1m49s
codecov/project 54.97% (No base report)
codecov/patch 100.00% >= target 80%
test / go (pull_request) Successful in 4m22s
claude-review / review (pull_request) Successful in 5m40s
test / web (pull_request) Successful in 1m32s
test / coverage-badge (pull_request) Has been skipped
3679ac0d26

Codecov Results 📊

✅ Patch coverage is 100.00%. Project has 5549 uncovered lines.


Generated by Codecov Action

<!-- codecov-action-results --> ## Codecov Results 📊 :white_check_mark: Patch coverage is **100.00%**. Project has **5549** uncovered lines. --- *Generated by [Codecov Action](https://github.com/getsentry/codecov-action)*

🔎 ojo scan results

No findings.

<!-- ojo-scan-summary --> ### 🔎 ojo scan results No findings.

Updates

Name Ecosystem Old → New Direct / transitive Bump
@anthropic-ai/claude-code npm (CI tool pinned in a workflow env var, not in web/package.json) 2.1.328 → 2.1.331 Direct (CI only) patch

The diff changes one line: .forgejo/workflows/claude-review.yml:35. Nothing changes in go.mod, go.sum, web/package.json, web/package-lock.json or any Dockerfile, so no transitive dependency moves. The CLI's only dependencies are its per-platform binaries in optionalDependencies (e.g. @anthropic-ai/claude-code-linux-x64). Those are pinned to the same version, so they also move from 2.1.328 to 2.1.331. The CLI is installed with npm install -g at .forgejo/workflows/claude-review.yml:39.

Changelog

@anthropic-ai/claude-code 2.1.328 → 2.1.331. Sources: the release notes in the PR description for v2.1.329, v2.1.330 and v2.1.331, which cover the whole range, and the upstream CHANGELOG. I checked package metadata against the npm registry (2.1.328, 2.1.331).

Package metadata: engines.node is >=22.0.0 in both versions, and the licence is SEE LICENSE IN README.md in both, so neither changed. No new runtime dependencies (the field is empty in both). 2.1.331 was published by GitHub Actions through npm trusted publishing (OIDC).

None of the three releases lists a security fix or CVE/GHSA id.

Behaviour changes relevant to how we run it (headless claude -p, restricted --tools, no Bash, no hooks, no MCP):

  • 2.1.329 removed the automatic retry when a max_tokens error names a lower limit. 2.1.330 reverted that removal, so the range as a whole leaves this behaviour unchanged.
  • 2.1.329: Code Mode now also starts when telemetry, nonessential traffic or feature flags are off. It can still be turned off in managed settings.
  • 2.1.329: in Code Mode, a PreToolUse hook that errors no longer refuses a script's tool call.
  • 2.1.330: claude -p used to exit 0 with no message when writing its output to a file on a full disk. It now prints an error and exits 1.
  • 2.1.330: Grep used to report "no matches" for a pattern containing a line break when multiline mode was off. It now reports that the pattern was rejected.
  • 2.1.330: adds "easel", a built-in chart-drawing mod, on Pro/Max (and some Team/Enterprise) plans on macOS and Linux. The changelog treats it as an MCP server ("MCP server blocked by enterprise policy: easel").
  • 2.1.330: more rm commands now need approval, and are refused when nobody can answer.
  • Deprecation notice in 2.1.331: on or after 2026-11-30, plugin marketplaces in managed extraKnownMarketplaces will auto-update by default.

Notable fixes:

  • 2.1.330: WebFetch could freeze the session for minutes on some pages, or return an empty result for others.
  • 2.1.330: turns failed with "JSON schema is invalid" when many MCP tool schemas were refused.
  • 2.1.330: Claude Code froze for up to several minutes right after compacting a very long conversation.
  • 2.1.331: turns could time out on long replies when the reply went silent while Claude was still thinking. Claude Code now retries the request once.
  • 2.1.331: /compact and auto-compact could lose part of the summary.
  • 2.1.331: a custom endpoint returning a tool call with no name crashed the session. The call now fails with an error and the session continues.

The rest is mostly Code Mode, self-hosted runner (Anthropic's runner, not Forgejo's), Remote Control, Windows and VS Code fixes and features. We don't use any of those.

Transitive updates: only the pinned per-platform binary packages listed above.

Concerns

  • Scope: this only affects the AI review job (scripts/claude-pr-review.sh). The Go API, the web app and the deployed images don't change.
  • How we use it: the CLI runs with -p, --tools limited to Read Grep Glob (plus WebFetch WebSearch on bot PRs), --strict-mcp-config, --setting-sources user, --no-session-persistence and --output-format text (scripts/claude-pr-review.sh:172-213).
    • The rm-approval change, the hook changes and the self-hosted runner changes don't apply: there is no Bash tool and no hooks.
    • The flags we pass aren't mentioned anywhere in the three releases' notes.
    • The new exit-1-on-full-disk behaviour helps us. Under set -euo pipefail (scripts/claude-pr-review.sh:23), a failed write of raw-review.md now fails the job instead of producing an empty review.
  • Tool-surface check (low risk, couldn't verify): two changes could in principle add callable capability.
    • Code Mode now starts even when telemetry or nonessential traffic is off (2.1.329).
    • The built-in "easel" chart server is enabled on Linux for Pro/Max accounts (2.1.330). It would apply if CLAUDE_CODE_OAUTH_TOKEN comes from such an account.
    • Our hardening depends on Claude having only the tools in --tools (comment at scripts/claude-pr-review.sh:196-201). I couldn't confirm that --tools and --strict-mcp-config also exclude easel and Code Mode scripting. Easel only draws charts, so the impact would be small, but it's worth checking once in a job log.
  • Version requirements: Node stays at >=22.0.0, which matches node-version: 22 at .forgejo/workflows/claude-review.yml:30. No new dependencies, no licence change, no lockfile churn.
  • Already true before this PR: the install is pinned by version only, not by integrity hash (.forgejo/workflows/claude-review.yml:39). This PR doesn't change that.
  • Untrusted content: the PR description contains only Renovate's standard table and upstream release notes. I found no text trying to steer the review.
  • Checks:
    • Passed: test / go, test / web, security-scan, codecov/patch (100.00%) and codecov/project (54.97%, no base report).
    • Skipped: test / coverage-badge.
    • None failed or are pending.
    • The ojo scan comment reports "No findings." The Codecov comment reports 100% patch coverage. Neither raises anything about this update.

Summary

This is a patch bump of the Claude Code CLI used only by the CI review job, covering three releases: 2.1.329, 2.1.330 and 2.1.331. It brings reliability fixes that matter for headless runs (WebFetch hangs, silent long replies, -p exit codes on a full disk). The Node requirement and licence are unchanged, and none of the changed behaviour touches the Read/Grep/Glob/WebFetch setup we use.

Merge after manual check: in the claude-review job log for this PR, confirm that the run still exposes only the allowed tools, with no Code Mode scripting and no "easel" chart tool, and that it posted its comment normally.


Claude dependency-update review of c0de775143 · claude-opus-5-5

<!-- claude-pr-review --> ### Updates | Name | Ecosystem | Old → New | Direct / transitive | Bump | |---|---|---|---|---| | `@anthropic-ai/claude-code` | npm (CI tool pinned in a workflow env var, not in `web/package.json`) | `2.1.328` → `2.1.331` | Direct (CI only) | patch | The diff changes one line: `.forgejo/workflows/claude-review.yml:35`. Nothing changes in `go.mod`, `go.sum`, `web/package.json`, `web/package-lock.json` or any Dockerfile, so no transitive dependency moves. The CLI's only dependencies are its per-platform binaries in `optionalDependencies` (e.g. `@anthropic-ai/claude-code-linux-x64`). Those are pinned to the same version, so they also move from `2.1.328` to `2.1.331`. The CLI is installed with `npm install -g` at `.forgejo/workflows/claude-review.yml:39`. ### Changelog **`@anthropic-ai/claude-code` 2.1.328 → 2.1.331.** Sources: the release notes in the PR description for v2.1.329, v2.1.330 and v2.1.331, which cover the whole range, and the [upstream CHANGELOG](https://github.com/anthropics/claude-code/blob/HEAD/CHANGELOG.md). I checked package metadata against the npm registry ([2.1.328](https://registry.npmjs.org/@anthropic-ai/claude-code/2.1.328), [2.1.331](https://registry.npmjs.org/@anthropic-ai/claude-code/2.1.331)). Package metadata: `engines.node` is `>=22.0.0` in both versions, and the licence is `SEE LICENSE IN README.md` in both, so neither changed. No new runtime `dependencies` (the field is empty in both). 2.1.331 was published by GitHub Actions through npm trusted publishing (OIDC). None of the three releases lists a security fix or CVE/GHSA id. **Behaviour changes relevant to how we run it** (headless `claude -p`, restricted `--tools`, no Bash, no hooks, no MCP): - **2.1.329** removed the automatic retry when a `max_tokens` error names a lower limit. **2.1.330** reverted that removal, so the range as a whole leaves this behaviour unchanged. - **2.1.329:** Code Mode now also starts when telemetry, nonessential traffic or feature flags are off. It can still be turned off in managed settings. - **2.1.329:** in Code Mode, a PreToolUse hook that errors no longer refuses a script's tool call. - **2.1.330:** `claude -p` used to exit 0 with no message when writing its output to a file on a full disk. It now prints an error and exits 1. - **2.1.330:** Grep used to report "no matches" for a pattern containing a line break when multiline mode was off. It now reports that the pattern was rejected. - **2.1.330:** adds "easel", a built-in chart-drawing mod, on Pro/Max (and some Team/Enterprise) plans on macOS and Linux. The changelog treats it as an MCP server ("MCP server blocked by enterprise policy: easel"). - **2.1.330:** more `rm` commands now need approval, and are refused when nobody can answer. - **Deprecation notice in 2.1.331:** on or after 2026-11-30, plugin marketplaces in managed `extraKnownMarketplaces` will auto-update by default. **Notable fixes:** - **2.1.330:** WebFetch could freeze the session for minutes on some pages, or return an empty result for others. - **2.1.330:** turns failed with "JSON schema is invalid" when many MCP tool schemas were refused. - **2.1.330:** Claude Code froze for up to several minutes right after compacting a very long conversation. - **2.1.331:** turns could time out on long replies when the reply went silent while Claude was still thinking. Claude Code now retries the request once. - **2.1.331:** `/compact` and auto-compact could lose part of the summary. - **2.1.331:** a custom endpoint returning a tool call with no name crashed the session. The call now fails with an error and the session continues. The rest is mostly Code Mode, self-hosted runner (Anthropic's runner, not Forgejo's), Remote Control, Windows and VS Code fixes and features. We don't use any of those. **Transitive updates:** only the pinned per-platform binary packages listed above. ### Concerns - **Scope:** this only affects the AI review job (`scripts/claude-pr-review.sh`). The Go API, the web app and the deployed images don't change. - **How we use it:** the CLI runs with `-p`, `--tools` limited to `Read Grep Glob` (plus `WebFetch WebSearch` on bot PRs), `--strict-mcp-config`, `--setting-sources user`, `--no-session-persistence` and `--output-format text` (`scripts/claude-pr-review.sh:172-213`). - The `rm`-approval change, the hook changes and the self-hosted runner changes don't apply: there is no Bash tool and no hooks. - The flags we pass aren't mentioned anywhere in the three releases' notes. - The new exit-1-on-full-disk behaviour helps us. Under `set -euo pipefail` (`scripts/claude-pr-review.sh:23`), a failed write of `raw-review.md` now fails the job instead of producing an empty review. - **Tool-surface check (low risk, couldn't verify):** two changes could in principle add callable capability. - Code Mode now starts even when telemetry or nonessential traffic is off (2.1.329). - The built-in "easel" chart server is enabled on Linux for Pro/Max accounts (2.1.330). It would apply if `CLAUDE_CODE_OAUTH_TOKEN` comes from such an account. - Our hardening depends on Claude having only the tools in `--tools` (comment at `scripts/claude-pr-review.sh:196-201`). I couldn't confirm that `--tools` and `--strict-mcp-config` also exclude easel and Code Mode scripting. Easel only draws charts, so the impact would be small, but it's worth checking once in a job log. - **Version requirements:** Node stays at `>=22.0.0`, which matches `node-version: 22` at `.forgejo/workflows/claude-review.yml:30`. No new dependencies, no licence change, no lockfile churn. - **Already true before this PR:** the install is pinned by version only, not by integrity hash (`.forgejo/workflows/claude-review.yml:39`). This PR doesn't change that. - **Untrusted content:** the PR description contains only Renovate's standard table and upstream release notes. I found no text trying to steer the review. - **Checks:** - Passed: `test / go`, `test / web`, `security-scan`, `codecov/patch` (100.00%) and `codecov/project` (54.97%, no base report). - Skipped: `test / coverage-badge`. - None failed or are pending. - The ojo scan comment reports "No findings." The Codecov comment reports 100% patch coverage. Neither raises anything about this update. ### Summary This is a patch bump of the Claude Code CLI used only by the CI review job, covering three releases: 2.1.329, 2.1.330 and 2.1.331. It brings reliability fixes that matter for headless runs (WebFetch hangs, silent long replies, `-p` exit codes on a full disk). The Node requirement and licence are unchanged, and none of the changed behaviour touches the Read/Grep/Glob/WebFetch setup we use. **Merge after manual check:** in the claude-review job log for this PR, confirm that the run still exposes only the allowed tools, with no Code Mode scripting and no "easel" chart tool, and that it posted its comment normally. --- _Claude dependency-update review of c0de775143 · claude-opus-5-5_
james force-pushed renovate/anthropic-ai-claude-code-2.x from 3679ac0d26
All checks were successful
security-scan / security-scan (pull_request) Successful in 1m49s
codecov/project 54.97% (No base report)
codecov/patch 100.00% >= target 80%
test / go (pull_request) Successful in 4m22s
claude-review / review (pull_request) Successful in 5m40s
test / web (pull_request) Successful in 1m32s
test / coverage-badge (pull_request) Has been skipped
to fae3e9a4f5
All checks were successful
codecov/project 0.00% (No base report)
codecov/patch 100.00% >= target 80%
test / go (pull_request) Successful in 2m41s
security-scan / security-scan (pull_request) Successful in 2m57s
test / web (pull_request) Successful in 3m29s
test / coverage-badge (pull_request) Has been skipped
claude-review / review (pull_request) Successful in 4m41s
2026-11-21 04:03:53 +00:00
Compare
james changed title from chore(deps): update dependency @anthropic-ai/claude-code to v2.1.329 to chore(deps): update dependency @anthropic-ai/claude-code to v2.1.330 2026-11-21 04:04:00 +00:00
james force-pushed renovate/anthropic-ai-claude-code-2.x from fae3e9a4f5
All checks were successful
codecov/project 0.00% (No base report)
codecov/patch 100.00% >= target 80%
test / go (pull_request) Successful in 2m41s
security-scan / security-scan (pull_request) Successful in 2m57s
test / web (pull_request) Successful in 3m29s
test / coverage-badge (pull_request) Has been skipped
claude-review / review (pull_request) Successful in 4m41s
to c0de775143
All checks were successful
security-scan / security-scan (pull_request) Successful in 2m11s
test / web (pull_request) Successful in 2m14s
test / coverage-badge (pull_request) Has been skipped
codecov/project 54.97% (No base report)
codecov/patch 100.00% >= target 80%
test / go (pull_request) Successful in 4m43s
claude-review / review (pull_request) Successful in 6m7s
2026-11-24 04:03:58 +00:00
Compare
james changed title from chore(deps): update dependency @anthropic-ai/claude-code to v2.1.330 to chore(deps): update dependency @anthropic-ai/claude-code to v2.1.331 2026-11-24 04:04:06 +00:00
All checks were successful
security-scan / security-scan (pull_request) Successful in 2m11s
test / web (pull_request) Successful in 2m14s
test / coverage-badge (pull_request) Has been skipped
codecov/project 54.97% (No base report)
codecov/patch 100.00% >= target 80%
test / go (pull_request) Successful in 4m43s
claude-review / review (pull_request) Successful in 6m7s
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/anthropic-ai-claude-code-2.x:renovate/anthropic-ai-claude-code-2.x
git switch renovate/anthropic-ai-claude-code-2.x
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ColibriSec/balam!71
No description provided.