Repository navigation
Releases
Releases Β· anthropics/claude-code
v2.1.337
Immutable
release. Only release title and notes can be modified.
What's changed
- Added
overflowY="scroll"for a mod's pane, unbound chords inui.key, a spinner for a runningProgress, and clickable file paths in a mod's Markdown - Added
/plugin install <git address>in the terminal: type or paste agit@,https://orowner/repoaddress to install a plugin and use it right away - Added picture cards for mods: in the terminal, a
Buttoncan holdBoxandImageelements as one control - Added
built_into the MCP server details that hooks receive: Claude Desktop sets it on its own servers, some of which run commands or control the computer - Added "Run in background" for a running skill in Desktop, cloud and Remote Control sessions, except on third-party providers;
background: falsein its frontmatter keeps it in the conversation - Fixed more cases of Claude and artifact publish prompts calling an artifact private when other people can open it
- Fixed Claude losing the git branch and status after a compaction in folders where
git statusis slow - Fixed multi-line commands copied from Claude's replies with their left margin not running correctly when pasted in shell mode
- Fixed a long pasted
!command running twice after pasting it again to expand it - Fixed a freeze when a long diff with tabs or thousands of small hunks was shown with syntax highlighting off
- Fixed background sessions being restarted with "Session not responding" when they were only slow to start
- Fixed worktree sessions and subagents refusing commands that name a path or branch such as
tests/evalorx/source - Fixed
/loopand other session-only scheduled tasks running twice after forking a session that is still open - Self-hosted runner: Fixed a resumed session getting no branch when git refuses its pushed branch under
--push-outcome-on-release, unless the local branch has unpushed commits - Fixed empty Remote Control sessions staying in the session list after Claude Code was killed before the first prompt
- Fixed session names splitting Persian, Urdu or Hindi words and joined emoji at a zero-width joiner or non-joiner
- Fixed cloud and self-hosted sessions telling Claude a workflow was lost after a restart, when it could be resumed without rerunning its finished agents
- Fixed an in-process teammate's spinner showing the lead's effort, and its compaction between turns running at the lead's effort, when the teammate has its own level
- Fixed
/diffshowing "No diff content" instead of file changes when git'scolor.uiorcolor.diffisalways - Fixed voice dictation staying on while the external editor (Ctrl+G) was open or Claude Code was suspended (Ctrl+Z)
- Fixed launches stopping when
--allowedToolsor--toolsheld an old tool name or a bare*, and the resume command printed at exit being refused for some lists (regression in 2.1.333) - Fixed cloud sessions at a usage limit sending a refused request for every new notification
- Fixed background sessions attached from Terminal.app triggering a macOS prompt to control Terminal when they send a notification
- Fixed messages being refused after
/loginto the Amazon Bedrock proxy of an organization managed in Anthropic's Enterprise Admin Console: Claude Code can now restart into the conversation - Fixed a case of
claude auth loginlosing the new sign-in after a slow token renewal - Fixed computer use on macOS failing to type multi-line text that ends in a newline
- Fixed
/feedback,/bugand/sharestaying on "Submitting reportβ¦" and losing what you typed when the report couldn't be built - Windows: Fixed long Bash commands being cut short in Git Bash, and improved error notes and
cdinto temp folders, on Bedrock, Vertex, Foundry, gateway sign-ins, and with telemetry off - Fixed background subagents that had stopped to wait on a Monitor watch not waking in the terminal when the watch ended
- Fixed signing in to an MCP server from VS Code, Claude Desktop or Remote Control deleting a still-working sign-in that another session had stored
- Fixed Claude Code refusing to send emails, messages and calendar invites through MCP tools when they included your email address and a link to the SEC's website
- Fixed Claude not recognizing attached files by name in cloud sessions when the name has non-English letters, such as ε ±ε.txt
- Fixed
/feedbackignoring clicks on its answers, offering to send a transcript that is too large, and not saying when one you chose was left out - Fixed read-only helper processes of the IDE extensions and the desktop app showing up as sessions in
/list-agentsandclaude agentsand accepting messages that nobody read - Fixed commands on Windows sometimes outliving Claude Code when it exits on a heavily loaded machine
- Fixed some menus, dialogs and surveys ignoring keys pressed just after they open
- Fixed messages from before a compaction disappearing in fullscreen mode after returning from the agents view, using
/tuior resuming a session - Fixed
/code-reviewskipping some REVIEW.md rules: past 150,000 bytes, in folders with brackets or parentheses in their name, and sometimes in every folder of a large repository - Fixed
/plugin helpclosing without leaving its list of commands on screen - Fixed clicks in fullscreen mode being ignored just after a tab, link, suggestion or agent row appears, or after you press "N more" in a list
- Fixed
/plugin taghanging on "Preparing the tagβ¦" after an unexpected error, and drawing parts of its report as Markdown - Fixed Enable, Disable and Clear authentication in
/mcpand/plugingoing wrong when the MCP server had changed since the screen was drawn - Fixed
/desktopexiting and losing the conversation when transcript saving is off; it also names the launch flags that Claude Desktop won't use - Fixed teleporting a Remote Control session opening an empty session instead of saying that there is nothing to copy
- Fixed conversations being lost at exit when
clauderan in a terminal opened by another Claude Code session - Fixed read-only side chats in the desktop app's Code tab telling Claude that CLAUDE.md and rules files were no longer present
- Fixed the
/pluginusage page leaving out a plugin's skills: it now lists them and counts their context cost as the skill listing does - Fixed skills from MCP servers (beta) disappearing when the server rate-limited a second request for them at startup
- Fixed a background session running a turn again after a restart when the turn had been cancelled before Claude's reply began
- Fixed the Artifact tool's login error behind an LLM gateway telling people to unset the credential their session needs
- Fixed computer use on a Mac selecting all the text instead of pasting, copying or saving when a Korean, Russian or similar keyboard is on
- Fixed Ctrl+R starting a prompt history search behind an open slash-command screen while Claude is working, outside fullscreen mode
- Fixed the "Claude is waiting for your input" notification firing while a background subagent waits on its own command or monitor (#98373)
- Fixed cloud sessions losing the messages since the last compaction when an earlier message ran again after a restart
- Fixed conversations failing on every message when the API rejected the advisor's model; the request now retries without the advisor
- Fixed newly built artifact pages that log timed entries, such as doses or feeds, saving the time the page loaded instead of the time of the entry; pages built earlier still do
- Fixed
--model defaultfailing on Amazon Bedrock (Mantle) in headless runs when the newest Opus model is not enabled - Fixed the diff of an edit in cloud and
claude remote-controlsessions showing another file's changes when the file name holds brackets or a star - Fixed missing terminal titles with
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICset: each takes a model request, andCLAUDE_CODE_DISABLE_TERMINAL_TITLEstops them (#106307) - Fixed Claude Code in a VS Code terminal staying disconnected from the editor after a window reload, and no longer hearing of new editor errors after a reload or
/clear - Fixed Ctrl+C twice exiting Claude Code from the thinking mode picker instead of closing the picker
- Fixed auto mode refusing actions in VS Code, the desktop app's Code tab and background agents when its safety check can't run: Claude now asks you to approve most of them
- Fixed missing spend limit warnings, and the missing limit in
/usage, for people who sign in to the Claude apps gateway of an Enterprise Admin Console organization - Fixed voice dictation falling back to English when the language setting includes a region, such as "PortuguΓͺs (Brasil)" or "Brazilian Portuguese"
- Fixed
/pluginnot telling you when turning off computer use could not be saved - Fixed removing a marketplace in
/pluginturning off its plugins when the removal was refused, or uninstalling a plugin that the confirmation didn't list - Fixed a press, typed text or pick on a mod's button, link, field or list being lost when a hook was still running and the mod redrew
- Fixed clicking a file path in a reply showing "File could not be read" after Claude had changed folder
- Fixed many cases of later messages being blocked because an earlier one in the conversation was flagged
- Fixed a crash when giving up a search in the transcript view (
ctrl+o) that began deep in a long message - Fixed transcript search in fullscreen mode sometimes reporting a match without scrolling to it
- Improved memory use of terminal, desktop app and VS Code sessions and of
claude -p - Improved auto mode on gateways, cloud providers and self-hosted runners: when its safety check is refused or may be blocked, Claude or the session's error says so and who can fix it
- Improved detection of streamed replies damaged on the way, so fewer tool calls run on incomplete input
- Improved MCP tool calls after compaction on third-party providers or with telemetry or fea...
v2.1.336
Immutable
release. Only release title and notes can be modified.
What's changed
- Added hooks and a status line to the settings that Claude Code applies from an organization managed in Anthropic's Enterprise Admin Console, including hooks already saved in the console
- Added support for a base URL on Amazon Bedrock, Mantle, Google Cloud's Agent Platform and Microsoft Foundry connections in organizations managed in Anthropic's Enterprise Admin Console
- Added identity provider sign-in for an Amazon Bedrock proxy in Enterprise Admin Console organizations: run
/login, once an admin has registered the/gateway-sign-in/callbackaddress - Added rows to
/statusfor organizations managed in Anthropic's Enterprise Admin Console: the AWS profile they chose, and how their sign-in relates to your ownANTHROPIC_BASE_URL - Added answering an in-process agent teammate's permission prompt from Remote Control
- Added search to the command lists in
/help, and changed search fields to one line instead of a box - Added clickable file names and labelled links in Claude Code Desktop's terminal (macOS and Linux)
- Added for mods:
$.process.opento hold a long-lived child process, andview.isScrolledBackto tell when the fullscreen transcript is scrolled away from the bottom - Added a
claude plugin validatewarning for a plugin with files in itsbin/folder, which claude.ai refuses;--strictnow fails on such a plugin - Added a line that says when automatic compaction gives up
- Added the time you last opened each artifact to the Artifact tool's list, so Claude can find what you opened recently
- Added
CLAUDE_CODE_RETRY_WATCHDOG_MAX_SUBAGENT_MODEL_LIMIT_WAIT_MSso unattended retry mode can end a subagent's wait at some usage limits instead of sleeping until they reset - Added
BASH_DEFAULT_BACKGROUND_TIMEOUT_MSto lengthen the default time limit of background shell commands in Agent SDK and cloud sessions, leaving foreground timeouts alone - Added the
allowedAdminConsoleOrgUUIDsmanaged setting: it applies an Enterprise Admin Console organization's settings after sign-in and, unlikeforceLoginOrgUUID, still allows API keys and tokens - Fixed a freeze when an edit or overwrite changed thousands of lines; very long diffs now show their line counts, and ctrl+o shows the whole diff
- Fixed exiting a worktree session hanging on a blank prompt for up to 10 minutes when git was slow or stuck
- Fixed subagents and
/cleareach waiting 30 seconds before their first request in folders wheregit statusis very slow - Fixed a delay of up to 25 seconds before tools appear from HTTP MCP servers whose change-notification stream is never acknowledged (#91414)
- Fixed a background session repeating work after a restart: a turn you stopped with Esc, a prompt you took back with Esc, or a turn that ended on purpose, such as a
/goalat its Stop-hook limit - Windows: Fixed a script and the programs it ran, such as a running
rm, going on after a Bash command was stopped - Fixed Remote Control on a slow connection never receiving a large message, such as one with pictures, or anything sent after it
- Fixed WebFetch reporting a domain as blocked when a proxy answered the domain safety check with its own page
- Fixed a freeze of several seconds when Claude saved hundreds of artifact database documents to files
- Fixed
/pluginshowing no error when a plugin's MCP servers file can't be loaded (for example, one saved with a byte-order mark) or one of its server entries is invalid - Fixed
claude plugin updatefailing for GitHub plugins where SSH isn't set up: it now falls back to HTTPS (#103638) - Fixed idle Remote Control sessions moving to the top of session lists as just used when Claude Code exited
- Fixed a message stopped right after sending sometimes being lost from cloud and SDK sessions
- Remote Control: Fixed
SessionStarthook titles not showing on claude.ai and mobile for newclaude remote-controlsessions - Fixed errors,
/voice, the notice by the prompt andclaude agentswrongly suggesting/loginin organizations managed in Anthropic's Enterprise Admin Console - Fixed
/setup-bedrockfailing to verify a profile or key pair whenAWS_BEARER_TOKEN_BEDROCKis set but empty - Fixed old tool results staying in memory after
/clear, and after compaction outside fullscreen - Fixed first-run setup asking for a sign-in again after
claude auth loginto an organization managed in Anthropic's Enterprise Admin Console - Fixed managed settings' OpenTelemetry metric temporality being ignored when Anthropic's Enterprise Admin Console sets the telemetry collector
- Fixed a permission prompt from an in-process teammate staying open after the teammate was stopped
- Fixed a file that is attached again in Remote Control or a cloud session overwriting a copy that Claude had edited
- Fixed a resumed conversation sometimes missing its last messages after a crash or kill in Anthropic API sessions with no feature flags loaded, such as with telemetry off
- Windows: Fixed an endless loop in Claude Desktop's Code sessions that filled up memory within hours when
%LOCALAPPDATA%\Temp\claudeis a junction or symlink (#95489) - Remote Control: Fixed
/btwside questions from a connected app getting no answer until a turn had finished, such as after--resumeor/clear - Fixed a certificate error during sign-in through your organization's identity provider being reported as a network problem
- Fixed
claude plugin evalscoring a plugin that managed settings require without loading it; the plugin now loads, or the case fails with an error - Fixed one cause of background sessions on macOS losing folder access after updates
- Fixed a forked subagent being unable to read web pages after it loaded the
claude-apiskill - Fixed Team and Enterprise members not being warned in the terminal when they get close to their monthly spend limit
- Fixed the usage limit message repeating each time a background agent or workflow finished while the session was at its limit
- Fixed new cloud scheduled tasks made with
/schedulemoving an hour when daylight saving starts or ends - Fixed cloud sessions with very long histories being restarted repeatedly while they resumed
- Fixed a case where a resumed session on macOS found its scratchpad files gone
- Fixed shortened command output sometimes ending in part of a color code, such as
[38;2;105;120, shown as text - Fixed vim mode's ciw and ciW doing nothing on an empty prompt, so the text typed next ran as vim commands
- Fixed opening a session from the agents view changing the terminal title when
CLAUDE_CODE_DISABLE_TERMINAL_TITLEis set - Fixed a rare case where a session stopped answering prompts without showing an error (regression in 2.1.335)
- Fixed the status line's
used_percentageandremaining_percentageto count against the auto-compact window, like/context; for the full window, usetotal_input_tokens / context_window_size - Fixed
/install-github-appputting quotation marks around its commit messages - Windows: Fixed shell commands being refused in a folder that is a junction onto a volume with no drive letter
- Fixed Stop not ending a turn while Claude was still loading some built-in skills
- Fixed Claude Code freezing while it removes a large worktree on Windows, or one with a very large folder on macOS
- Fixed most cases of cloud sessions being stopped mid-turn while a mod's tool made many short tool calls in a row
- Fixed
/passesand the guest pass notice showing the wrong number of used and remaining passes, and the notice appearing with none left - Fixed
claude plugin updatesaying a plugin was at the latest version when its marketplace couldn't be refreshed - Fixed one-shot
claude -pruns started inside a Desktop, cloud or Remote Control session waiting on a background status request before finishing - Fixed your own mods from a marketplace URL with a query not loading in untrusted VS Code folders
- Fixed
claude -pwaiting up to 30 seconds at exit when a plugin's npm registry refuses connections or can't be resolved - Fixed managed
OTEL_RESOURCE_INCLUDE_HOST=0being ignored in some sessions started by the Claude desktop app - Fixed the one-time auto-compact prompt coming back at each launch when
~/.claude.jsonis read-only or reset between runs, and needing an answer in every terminal when several start together - Fixed computer use in the desktop app often taking an extra step before Claude could ask to use an app
- Fixed
claude -p --resumeand--continuefailing when the session's saved name in its file isn't text - Fixed a finished tool call running again when its permission answer was repeated in a session whose transcript is over 5 MB
- Fixed messages waiting several seconds to start when a file that Claude had edited was on a slow or network drive, or was large and changed outside Claude Code
- Fixed messages and tool results missing on claude.ai and mobile in Remote Control and cloud sessions when an upload was rejected: it is now sent again in smaller parts, leaving out oversized content
- Fixed typed
/mcp__server__promptcommands going out as plain text in headless sessions while the server was still connecting - Fixed
/statuslisting a computer's managed settings as skipped when they partly apply beside an organization's settings from Anthropic's Enterprise Admin Console - Fixed computer use asking people to install Claude in Chrome for websites when Claude has another browser
- Fixed CLAUDE.md edits being missed by the next message after a
/btwasked right after resuming in VS Code or Desktop - Fixed
/plugin install,/plugin listandclaude plugin listsaying that a plugin couldn't load when only part of it didn't load - Fixed fullscreen mode sometimes needing a second click on buttons and on links that mods draw
- Fixed the
/claude-apiskill to say that a request failing the history-editing check might or might not re...
v2.1.335
Immutable
release. Only release title and notes can be modified.
What's changed
- Added
claude mcp add --webto add a remote MCP server as a claude.ai connector from your terminal, on paid plans - Added Tab completion for
/model,/effort,/mcp,/advisor,/tuiand/colorarguments; in these and the/pluginand/configmenus, Enter runs what you typed unless you arrow to a row - Added click to view: in fullscreen outside VS Code, in a git repository and a window 110 columns or wider, click a file path in a reply or tool row to see the file beside the chat, at the line named
- Added support for cloud sessions loading the plugins and mods in a repository's
.claude/skills; a hook that reaches out of its plugin's folder with../fails there and can block shell commands - Added a way to finish signing in to your organization's gateway through its identity provider from
/login, over SSH or on Linux with no display - Linux: Added
/desktopandclaude --desktopon Linux desktops - Added
/claude-api harness-auditto find agent harness code written for older models (loop limits, sub-agents, context management, injected reminders, session-start code) and propose fixes as a diff - Added support for mods calling
on()inside theirsession.starthook, so hooks can be registered based on a fetch or MCP call - Added
sourceandviato thesession.stopmod event, saying who sent the Stop and how it arrived - Added
requiredByOrganizationtoclaude plugin list --jsonfor plugins your organization requires - Added an
Interrupthook event that fires when a turn is interrupted and says whether a person, another session or the system stopped it - Added
/accessto view the verification programs your claude.ai account is in, such as the Cyber Verification Program - Windows: Added the
disableWindowsBashCommandSplitmanaged setting: on Pro and Max,truekeeps Bash commands in one argument for tools matching command lines; long ones may fail (v2.1.319 or later) - Fixed the model button in the Claude mobile apps keeping the old model after
/modelin a cloud session - Fixed self-hosted runners reporting a session as failed after the service had archived it or taken it from them; post-session hooks now usually get
completedorinterruptedthere - Fixed
/schedulenot listing your organization's self-hosted environments, and creating a cloud environment where one of those could be used - Fixed charts misreading some cells:
(7drawn as a negative number,$1.2bnwithout its multiple,1e-400and malformed durations as zero, and a first row lost from a table with no header - Fixed the result of a running command missing from the session transcript when
claude -pis stopped with SIGTERM - Fixed TaskUpdate reporting a dependency as added when the other task does not exist
- Fixed starting several worktree-isolated agents at once sometimes failing with "failed to read commondir"
- Fixed
forceLoginOrgUUIDin managed settings refusing its own organization when the ID is written in capital letters - Fixed the Artifact tool blaming the owner's organization when Claude can't reach the stored data of an artifact shared from another organization
- Fixed the Artifact tool dropping your edits to most pages' built-in styles or body tag on the next publish, after it restored the page's missing source file
- Fixed code display: syntax highlighting breaking a line before
${in some CSS template literals, and inline code losing its formatting or turning into a link after a~right before a backtick - Fixed "nice(5) failed: operation not permitted" printed for each background job of a zsh command in the macOS sandbox
- Fixed a reply stopped at a permission prompt running again after a cloud, self-hosted runner or Remote Control session restarted
- Fixed
claude stopandclaude rmsometimes exiting with no output and no effect right after the background service died - Fixed Claude in Chrome not connecting on Windows when the path to Claude Code contains non-ASCII characters
- Fixed the report URL from
/insightsnot opening on Windows or when the path contains spaces - Fixed the
/setup-vertexwizard on Windows not finding a service account key given as~\keys\key.json - Fixed
/terminal-setuprefusing to update a VS Codesettings.jsonthat has trailing commas - Fixed
/importdestroying an existingCLAUDE.mdthat isn't saved as UTF-8 - Fixed dropping an image whose file name has an apostrophe pasting its path instead of attaching it, in terminals that quote dropped paths
- Fixed
/keybindingsand/plan openreporting a file as opened, and Ctrl+G doing nothing, when no editor is installed - Fixed
~/.claude.jsonbeing replaced with default settings at startup when the drive returned an I/O error or timed out - Fixed
/modellisting no gateway models when the gateway returned"display_name": nullfor one of them - Fixed
claude --resume <name>and/resume <name>not finding a session whose name has zero-width characters, as in Persian and Hindi words and some emoji - Fixed MCP forms that couldn't be accepted after an optional text field was filled in and emptied again
- Fixed
/confignot saying so when "Show tips" or "Reduce motion" could not be saved - Fixed
claude plugin listand VS Code's Manage plugins showing the wrong on or off state for a plugin that managed settings decide - Fixed messages in IDE extensions and the Desktop app waiting up to a minute behind a plugin's unanswered question or a pane waiting for an answer
- Fixed a retried or edited message coming back into a cloud session's context after a failed request and a restart
- Fixed
/diffleaving out blank lines and showing wrong line numbers when git'sdiff.suppressBlankEmptyis on - Fixed terminal color codes in the git status Claude sees at the start of a conversation when git's
color.uiis set toalways - Fixed added and removed line counts in cloud and Remote Control sessions leaving out changed lines that begin with
++or-- - Fixed
/contextlisting MCP tools as deferred after the API endpoint had refused tool search - Fixed
/code-reviewwith no target printing "REVIEW.md wasn't followed" in repos where only folders untouched by the committed changes have a REVIEW.md - Fixed
/rewindleaving out the row of a stoppedcontext: forkskill when a message was queued as you pressed Esc, so its edits counted under the prompt before - Fixed a Haiku, Sonnet or Opus subagent model set in a project's settings not applying in Claude Desktop's Code tab
- Fixed Remote Control showing a session as waiting for input after Stop left an MCP form open, or after an MCP link was accepted
- Fixed
/design-syncand artifact updates overwriting a teammate's newer edit after a compacted session was resumed - Fixed
claude plugin marketplace add --claudeairefusing right after a first sign-in, until two sessions had been started - Fixed cloud and Remote Control sessions forgetting the focus view when they wake or restart
- Fixed resumed sessions, also in VS Code, showing "Background shell command didn't finish" for a Monitor that had expired or ended by itself
- Fixed MCP servers with five-minute OAuth access tokens getting a token refresh before every request; short-lived tokens are now used for half their lifetime
- Fixed sandboxed
giton macOS failing on every HTTPS host when a certificate inNODE_EXTRA_CA_CERTShas blank lines in it - Fixed Remove at the worktree exit question deleting files or commits made while it was open, when it had shown none
- Fixed computer use on macOS refusing "Try again" after you grant Accessibility, until Claude Code restarted
- Fixed pull requests opened or merged with
gh apinot being recognized as such in the transcript - Fixed
/backgroundleaving its own command in the conversation that the background session continues - Fixed a background agent losing its task when it was woken in a session that saves no transcript
- Mods: Fixed a toast pushing a warning off the notification line outside fullscreen, a
placement: "full"pane docking after a long wait, and ctrl+x ctrl+a saying "plugin panel hidden" with no panel - Fixed
/design-syncstopping with "no design system" on a large design system that someone outside your organization can edit - Fixed the one-time auto-compact prompt opening over a history search or menu
- Fixed computer use on macOS leaving your terminal behind the app Claude was using after a turn, if your terminal was in front when Claude started
- Fixed
/exitin an idle terminal hiding turns made in another terminal when the session was resumed - Fixed
/exitin a new session leaving an empty conversation for--continueto open - Windows: Fixed long Bash commands reaching Git Bash cut short: they now arrive whole, or are refused with a message (on Pro and Max plans)
- Improved
/claude-api prompt-audit: it now flags broad ask-first rules, always-delegate instructions and "treat earlier answers as done" lines, and keeps stop-early guidance the model needs - Improved the "Autocompact is thrashing" error to name instruction files such as CLAUDE.md when they take up more of the context than anything else
- Improved
/usagefor screen readers: each limit's percentage is now read once, not twice - Improved sessions whose host app is disconnected: Claude is told that the app's tools can't run, so it moves on instead of retrying each one
- Windows: Improved what Claude is told about Git Bash paths and failed commands, and working-folder tracking (on Pro and Max plans)
- Updated computer use on macOS to newer safety rules, so more actions are refused and more apps have less access
- Updated the
/claude-api managed-agents-onboardBug hunter template to run at most 20 agents at once, matching the Claude Console - Updated the
/claude-apiskill with the SDKs' error codes and stream errors, simplified its retry guidance, and fixed its rate limit header names and C# exception classes - Changed Claude Cod...
v2.1.334
Immutable
release. Only release title and notes can be modified.
What's changed
- Added a search box to
/modelwhen the list has more than 25 models, matching names and model IDs; press β forsand number keys (#99239) (#107237) - Windows: Added
/desktopandclaude --desktopon Arm computers - Added an Auto-compact window row to
/configto see and change the size that/autocompactsets - Self-hosted runner: Added
--health-host 127.0.0.1to the orchestrator, for its health and metrics pages - Added
placement: "full"andClientautoFocusso a mod's pane can fill the terminal in fullscreen mode until you press Esc, with itsClienttaking keys from the start - Added
cacheWrite5m,cacheWrite1hand, for Haiku 5.5,longPrompttomodelPricing, andcache_write_5m,cache_write_1h,long_promptto gatewaypricing.overrides; old keys still work - Added folder-level REVIEW.md support to
/code-review: local reviews also follow REVIEW.md files in folders above a committed change - Gateway: Added
claude gateway --config <file> --check configto check a config file without starting, and a start now reports a bad managed policy before it connects to Postgres - Fixed requests failing with thinking turned off on models that don't accept turning it off: Claude Code now resends without that setting, so the model may think on those requests
- Fixed sessions with an mTLS client certificate switching to expired or unusable certificate files on disk after a single temporary HTTP 400 certificate error
- Fixed worktrees starting from the wrong branch or local HEAD after Claude moved into another repository, and with
--worktreein some bare repositories whose default branch isn'tmain - Fixed resuming an unchanged worktree dropping an unpushed commit that only its branch still had
- Fixed a plugin's SessionStart hook being skipped in terminal and background sessions when the plugin finished loading after the session started; a mod on that event can now hear it twice
- Fixed plugins enabled through
--settingsor user settings not loading on the second start of a new machine, including resumed and background sessions - Fixed sessions stuck behind a gateway that rewrites API errors: an unknown 400 or 422 is silently resent, then without earlier thinking;
CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE=1turns it off - Fixed needless auto-compaction, or a false "Prompt is too long" error, after a response hit the output token limit before it wrote any text
- Fixed a session failing on every request after Claude called a tool with an input that is not an object
- Fixed most cases of Claude Code exiting when a session holds a message it can't display: that message now shows a placeholder
- Fixed
/contextdrawing the compact buffer as used space when auto-compact is off - Fixed
/ideand auto-connect not finding the editor on Linux hosts with nopsinstalled - Fixed the computer use permissions panel: it now updates as you grant each permission, names your terminal, and opens one window for Accessibility
- Fixed Claude asking which design system to use for every deck or design after you turned your organization's default design system off for yourself
- macOS: Fixed
gitfailing certificate checks in sandboxed commands when a corporate CA is trusted through the keychain orNODE_EXTRA_CA_CERTS - Fixed /compact and auto-compact sometimes keeping the model's draft notes in front of the conversation summary
- Self-hosted runner: Fixed a runner or orchestrator hanging forever on a call that never finishes, and a stopped runner staying alive: each call now ends after 60 seconds by default
- Fixed
prompt.attachmenthooks not being asked again on resume after their plugin was updated - Fixed a failing telemetry collector or signal on the Claude apps gateway dropping exports to other collectors and signals and repeatedly delaying model requests
- Fixed
claude plugin updatenot saying that a plugin's npm or bun packages could not be installed when the plugin is a folder of its marketplace's repository - Fixed OTLP/HTTP exports in Claude Desktop sessions still sending an expired sign-in token after the token was renewed
- Fixed
/design-syncshowing no component previews for Storybooks that use CSF factories (preview.meta,meta.story) - Remote Control: Fixed it turning back on by itself after you switched it off in
/configwhile it showed a sign-in failure - Fixed the PowerShell permission prompt showing thousands of characters of encoded text when PowerShell couldn't be started
- Fixed
/design-syncrefusing to run in a signed-in session after a Claude Code process of this version or later ran on the same machine with an API key - Fixed Remote Control and self-hosted runner sessions exiting when a message from their host arrived in two parts
- Fixed @-mentions picked from the menu finding no agent when the agent's name contains "agent-"
- Fixed
/cdnot loading the new folder's CLAUDE.md after entering and leaving a worktree - Fixed
claude -p --resumefailing with no message for a session title that contains a colon - Fixed
claude purgereporting success when the history file is a symlink: it now reports that item as not deleted and says where to remove the prompts - Fixed
/exportnever finishing after a subagent ran when a mod draws assistant messages - Fixed Stop being ignored for up to a minute in cloud sessions waiting for refreshed credentials
- Fixed a running workflow's progress not being saved after the session moved to another folder or worktree
- Fixed
--continuenot restoring the permission mode and worktree of a session that held only slash commands - Fixed a branch made with
/branchunder--agentlosing the agent when resumed - Fixed
/modelnot naming the effort level in screen reader mode - Fixed saving a plugin's options turning an untouched list option into one string
- Fixed plugin install records: a failed read of the list during an install no longer drops other plugins' records, and project or local installs are recorded for the launch folder after a shell
cd - Fixed hold-to-talk voice dictation losing the last words when Space was pressed or held again while "Transcribingβ¦" was showing
- Fixed
/design-syncstopping with "still connecting" when run as the first prompt (claude /design-sync): it now waits up to 10 seconds for the connection - Fixed
/design-syncrefusing to publish large design systems to Claude: it now takes up to 4,080 files, up from 1,024 - Fixed
.worktreeincludeskipping files whose names are not ASCII - Fixed Code Mode drawing tool calls as empty rows, hiding a script's error, and calling a finished script lost after a resume, when a mod adds to or rewrites tool results
- Fixed Code Mode counting a script's tool calls toward the context size, which caused early compaction, and sending an image or PDF again after the API rejected it
- Fixed Code Mode freezing the terminal while checking a script's
rmof many files, refusing a hook-allowed MCP skill, and showing an MCP call as called after you pressed Esc at its permission prompt - Fixed subagents in Code Mode failing again in 2.1.333 with "Agent stalled" and losing their command when a script ran for more than 10 minutes
- Fixed some cases of Code Mode scripts overwriting an outside edit of a file after
/compact - Fixed settings changes going unnoticed when the file was replaced just as Claude Code began watching it
- Fixed MCP servers causing high CPU use when they ask for a zero retry delay and keep closing their event stream, and memory growing each time a connection drops and reconnects
- Windows: Fixed official plugin marketplace updates failing when another program briefly held one of its files
- Fixed one-line JSON tool output not expanding on click in fullscreen mode
- Fixed several Skill calls in one reply each re-sending the agent list and MCP server instructions
- Fixed Vim mode's
p,x,s,r,~, text objects and Visual-mode edits breaking an image or pasted-text placeholder, which dropped its content from the prompt - Fixed Vim mode keys acting unlike Vim:
bskipping empty lines,dbjoining lines,dFtaking an extra character,ci"at escaped quotes,;aftert, and arrow keys afterrorf - Fixed Markdown table borders out of line when a cell holds a tab, an ideographic space or a no-break space, and MCP tool results out of line when their keys have wide characters
- Fixed the cursor landing one character off on wrapped prompt lines that start with a full-width space
- Fixed MCP forms blocking Accept after a valid pick, a pasted date such as βtomorrowβ staying marked invalid, and a typed date being replaced by an older answer
- Fixed the reason being left out when an Agent SDK
PreCompactcallback hook blocks a compaction - Fixed the git commands printed by
claude plugin tagfailing when the repository path has a space - Fixed
claude plugin detailsnot listing agents thatplugin.jsonnames by file (#99999) - Fixed
/memorynaming~/.claude/CLAUDE.mdwhenCLAUDE_CONFIG_DIRpoints elsewhere (#113013) - Fixed missing checkboxes on task list items that start with a heading, quote, list or code block
- Fixed the Grep tool's description naming an
includeparameter that doesn't exist (#112938) - Fixed the LSP tool showing results from git-ignored files with non-ASCII names, and wrong paths on Windows for servers that encode the drive colon as
%3A; ignored files are now left out there too - Fixed
/statsleaving out today where daylight saving time skips midnight, and showing no models after switching date range while scrolled - Fixed files that start with a UTF-8 byte-order mark being misread:
.mcp.jsonin/team-onboarding, custom themes, a plugin's.lsp.jsonandclaude gateway's managed settings - Fixed colors being lost in command output (some 256-color and true colors,...
v2.1.333
Immutable
release. Only release title and notes can be modified.
What's changed
- Added REVIEW.md support to
/code-review: local reviews now follow the root REVIEW.md on your repository's default branch - Added the ability for Claude to stop one running agent of a workflow while the others continue
- Gateway: Added
error.details.error_code: spend_limit_reachedto the 429 for a user's reached spend limit - Added
CLAUDE_CODE_DISABLE_POWERSHELL_PARSER_OVERLAP=1to stop a slow PowerShell parser before its retry starts, so the two don't run together - Added a notice when a held message from another session expires unanswered
- Self-hosted runner: Added a one-time notice to a subagent resumed by a new Claude Code process, on any runner, that earlier unpushed file changes may be gone
- Added a
Runslist toclaude plugin validatefor the commands and servers that a plugin's or marketplace's own files name - Added a Built-in tab to
/pluginthat lists built-in plugins by group with plain names, and shows the ones your organization's settings lock on or off - Added the ability for any mod to send its own records to your OpenTelemetry collector, as
claude_code.plugin_event - Added the names a mod registers to
claude plugin validate --json, with a mark on calls that may register other names - Added
consentto$.prompt.submitandnext.origin.isByPersonfor mods: a prompt sent in answer to your press, typed command or answer counts as a turn you started - Added
wait: falseto$.prompt.submitfor mods: the prompt enters the running turn at its next step instead of waiting for the turn to end - Added
CommandRowso mods can draw a command's slash menu label - Added
session.endfor mods when Claude Code restarts itself (as on /tui) and, with the new reasonunload, when the mod's plugin is turned off or uninstalled - Added
lasts: "transcript"to$.state.set, so a mod's value comes back on resume and fork, follows a rewind and survives compaction - Added drawing for the rows a mod names: the terminal raises
ui.renderat the row's name and shows one dim line of its text where no mod draws it - Added
nameanddatato the rows a mod appends with$.session.append, read back with$.session.messages({ name }); a named row may have no content - Added
$.ui.renderso a mod can draw a component that other mods wrap, restyle or replace - Added
terminalandsandboxoptions to$.processfor mods - Added
$.http.streamfor mods to read a response body as it arrives,{ base64 }request bodies on$.http.fetch, andtimeoutMs(up to ten minutes) andredirect: "manual"on$.http.fetch - Added
dispose()to what a mod's$.command.register,$.tool.registerand$.agent.registercalls return - Added reading another saved session of the project with
$.session.messages({ id }), for mods in terminal sessions - Added
$.session.messages({ id })for mods to read the running session's rows since its last compaction, each with a handle - Added an
Askrender site so a mod can explain a tool's permission prompt by drawing above it, andtool_use_idin theAskUserQuestionrender props - Added
$.session.loadfor mods to resume, clear, branch or rewind the conversation between turns - Added a
session.loadevent for/resume,/clear,/branchand/rewindthat a mod can veto; hooks on*orsession.*now hear it - Added a
session.stateevent for mods (busy, waiting, idle), withstateon$.session.info(); existing*andsession.*hooks start hearing it - Added punctuation characters such as "/" or "?" as a mod Button's hotkey
- Added the
ui.keymod event: in the terminal, a hook that names it can pass on or take a key pressed at the prompt, in a pane or above the prompt, or swap it for an editing or moving action - Added compare-and-set for files in mods:
$.fs.statreturns aversion, and$.fs.writeand$.fs.removeacceptifVersion - Added
$.fs.remove,$.fs.rename,$.fs.copyand byte writes on$.fs.writefor mods - Added compare-and-set to a mod's
$.store: read a key with its version, thensetordeletewithifVersionto act only while the key stands at that version - Added traits for tools a mod registers with
$.tool.register: read-only, concurrency-safe, destructive, runs code, a search hint, a when-to-use line and a display title - Added
contentandisEndto a mod'stool.runanswer, to give Claude text and image blocks for a tool call and to end the turn after it - Added a
Placeholderrender site so a mod can set the empty prompt's dim example line, and an "Example prompts" switch in/pluginto turn the "Try β¦" examples off - Added
promptCacheto a mod's$.session.usage()andsession.measure: whether the prompt cache is warm, when it expires and why it last missed - Added
$.model.streamfor mods: a model completion read piece by piece as it is written - Added
schemaandthinkingto a mod's$.model.completecall, for JSON replies and extended thinking; results now name the model that answered - Added
$.session.waitUntilfor mods, soclaude -pand SDK runs wait up to 30 seconds at exit for work a mod registers - Added
pluginId, andisOfficialwhere it applies, tonext.originon a mod's own$calls; mod tests that compare that origin exactly need the new fields - Added read-only
$.statevalues for mods underplugin: "engine": the permission mode and rules, MCP servers and terminal focus - Added a read-only
$.statevalue for mods underplugin: "engine": the loaded plugins - Added
place,keyandpriorityoptions to$.ui.toast, so a mod can keep, replace and remove one line on the notification bar - Added
waitto$.ui.openfor mods: the call resolves when the pane closes, with thevaluepassed to$.ui.close - Added streaming methods to the nouns mods provide: write one as
async function*; a second parameter with no default is handed{ signal } - Added
agentIdandtool_use_idtonext.originon a mod noun's events, so a hook can tell which subagent or tool call asked - Added a
Used byrow to/plugin, listing the mods that call a noun a mod provides - Fixed
claude -pon macOS and Linux losing the end of a successful run's piped output when the reader lagged; it now waits up to 30 seconds and warns if any is unread - Fixed the first prompt, subagents and
-pwaiting up to 10 minutes whengit statusis very slow or stalls; Claude now continues after 30 seconds - Fixed reading a larger file, large MCP results,
@mentions and/contexthanging for 10 minutes or more when the token count request got no answer - Fixed tool calls to HTTP MCP servers that offer no GET stream hanging for up to 5 minutes after the server or a proxy closed the response stream without an answer
- Fixed memory growing by gigabytes and CPU staying at 100% on Linux while a build or other command creates and removes many files in the repository
- Fixed background sessions failing with a model error after
/backgroundor a wake, when--model defaultor a blocked--model sonnethad resolved to a model the account lacks - Fixed a turn hanging on a plugin's language server that exits or stays silent while starting: an exit now fails the call at once, and a silent server's call gives up after 60 seconds by default
- Fixed
!commands in cloud and headless sessions hanging for ten minutes when the command reads standard input - Fixed an
asyncRewakehook that keeps exiting quickly with code 2 waking Claude in an endless loop; wakes now stop after 8 in a row (CLAUDE_CODE_STOP_HOOK_BLOCK_CAPchanges it) - Fixed Claude Code exiting with no message in fullscreen mode, and background sessions showing no reason, when
sandbox.failIfUnavailableis set and the sandbox can't start - Fixed a stopped reply sometimes running again when a remote session restarted with a background notice queued after the Stop, and Claude not seeing a message you stopped during a restart
- Fixed pull requests opened with
gh apibeing left out of the pull request count and session link when the command was multi-line, quoted its path, or used--input - Fixed subagents reporting the main conversation's effort level to hooks and shell commands after a model fallback
- Fixed a subagent's own MCP server getting the tool descriptions of another MCP server with the same name
- Fixed a renewed or newly added mTLS client certificate not reaching model requests when a server answers with an HTTP 400 certificate page; certificate errors now say what to check
- Fixed
/modeland SDK model switches failing at the first "overloaded" answer from the API: the model check now retries for up to 2.5 seconds - Fixed
CLAUDE_CODE_RESUME_INTERRUPTED_TURNsending Claude a request that nobody asked for in a session with no stored prompt or reply - Fixed an
awsAuthRefreshorgcpAuthRefreshlogin that was stopped at its time limit, on cancel or at exit sometimes being treated as a completed sign-in - Fixed
/rewinddeleting a file that was missing when an edit of it failed and was later put back - Fixed a Code tab session going back to a worktree it had been moved out of after a restart
- Fixed SessionEnd hooks of plugins loaded from a zip file failing at exit with "Plugin directory does not exist"
- Fixed a queued message being sent without the interrupted tool's result when pressing Esc while a tool was running
- Fixed plugin marketplace adds and updates failing, removing the marketplace or leaving it incomplete when two sessions download it at once
- Fixed the prompt staying on "Pastingβ¦" and ignoring Enter on WSL and Windows when the clipboard never answered
- Windows: Fixed an idle session using a full CPU core after a folder it watched was deleted
- Windows: Fixed tool calls being refused at the root of some network and virtual drives
- Fixed Claude Desktop's read-only side chats (for example in WSL sessions) ignoring the language setting
- Remote Control: Fixed high CPU use when the eve...
v2.1.332
Immutable
release. Only release title and notes can be modified.
What's changed
- Added skills from MCP servers (beta). They show as
server:skillin the/menu; other skills keep their names - Added a
PreSkillShellCommandhook event that can refuse a skill or command's inline shell commands as it loads; on 2.1.331 and older, a settings file naming it opens a dialog at start - Added "Always deliver" to the prompt for held messages from other sessions
- Added a footer line that stays while a flagged message has your session on a different model, until you pick one with
/model - Added an OpenTelemetry
assistant_responseevent for text Claude sends through SendUserMessage or Cowork's message tool, when response logging is on - Added a warning in VS Code and Desktop's Code tab when part of a session couldn't be saved, saying how to save it with
/compact - Added a notice in VS Code and Desktop's Code tab when a resumed session's earlier messages weren't loaded, as the terminal already shows
- Added your Cyber Verification Program access tier to the startup header, beside the model name when your tier applies to that model and you're signed in with a claude.ai account
- Fixed
claude auth loginreportingLogin successful.when a claude.ai login could not be saved: it now exits 1 and says what to check, such as a leftover lock file or a full disk - Fixed Read, @-mentions and compaction hanging on a named pipe that nothing writes to, such as a
.envmounted by a locked secrets manager; the read now fails after 20 seconds - Fixed turns ending in "Prompt is too long" after repeated auto-compaction failures when one more compaction at the context limit could have kept them going
- Fixed compaction failing when a summary kept running past the output limit: after three cut-off replies, the last try now asks for a shorter summary
- Fixed a freeze when a permission rule or hook condition with several wildcards was checked against a long command
- Fixed freezes and runaway memory use in most cases while a hook prints output without end
- Fixed a freeze and context overflow when a hook blocks or fails during a turn, or after
/compact, with a very large log; text over about 50,000 characters is now shortened - Fixed the terminal freezing, and ignoring Ctrl+C, while a local MCP server floods its standard output
- Fixed a freeze when a prompt or piped input holds an
@followed by a very long unbroken string, such as minified CSS with an embedded font - Fixed a long freeze when opening a rewind point after a large tracked file was rewritten
- Fixed SSE MCP servers hanging or refusing every tool call after their event stream was cut and came back on a new endpoint or not at all, until reconnected by hand
- Fixed Remote Control showing a session in the desktop app, VS Code or the Agent SDK as running while it waited there on a dialog or an MCP server's question
- Fixed a usage limit being reported as reached to Remote Control, IDE and SDK clients after it had already reset
- Fixed CLAUDE.md and rules files being sent to the model a second time, in most cases, after a session moves into a worktree under
.claude/worktreeswith EnterWorktree or is resumed there - Fixed tool calls that never ran being counted as done in a claude.ai chat's summary line after you declined a permission prompt in a session that had restarted
- Linux: Fixed the Bash edit diff showing an unchanged symlink as edited after Claude had read the file through it
- Fixed resuming a session and
/statsfreezing for seconds when a transcript holds many damaged lines - Fixed a family name such as
sonnetin--fallback-modelbeing dropped whenavailableModelsallows only an older version of it - Fixed keys lagging for seconds while
/statsreads large session transcripts, also after the dialog is closed, and with debug logging on while a language server floods its stderr - Fixed a session failing when the cloud refused its default model and an
availableModelslist that isn't enforced named neither it nor an older model of that family - Fixed an enforced list of older models failing on Google Cloud's Agent Platform and Foundry when the first is refused: it now steps down to the next in that family, if listed newest first
- Fixed
opusfailing on Bedrock, Google Cloud's Agent Platform and Foundry behind a gateway that refuses a model in its own words: it now steps down to an older model that answers - Fixed the start-up model upgrade offer on Bedrock and Google Cloud's Agent Platform naming a model that your
availableModelslist leaves out - Fixed Bedrock sub-agents failing when your account lists no profile for their model in the parent's region: they now use the model's own profile, which can be outside that region
- Fixed Foundry sessions leaving a model family when an admin's list blocks the version
sonnet,opusorhaikupoints to: they now use its newest allowed version under a built-in or mapped name - Fixed the
sonnetalias on Bedrock Mantle resolving to Haiku 4.5: it now means Sonnet 5, not Sonnet 5.5, and an account without Sonnet 5 gets an error, so enable it first - Fixed Ctrl+C at the prompt starting a new turn, and a double Ctrl+C not exiting, when a background agent it stopped had an unread subagent report
- Fixed
/install-github-appticking a workflow again after going back with Esc - Fixed dictated text past 10,000 characters being lost
- Fixed raw "JSON Parse error" and "The operation was aborted." API errors when the non-streaming retry got a broken response or was interrupted
- Fixed Esc not stopping computer use between actions on macOS when Claude Code's window or an app you allowed is in front; an Esc meant for that app's popup now stops computer use instead
- Fixed a rare hang when a helper command, such as an API key helper, ran past its time limit
- Fixed selecting text in fullscreen pushing the footer's right-hand label onto a second row, which moved the text under the mouse and could copy the wrong line
- Fixed a PreToolUse hook's reason for asking not showing on terminal Read, Grep, Glob, Edit and Write prompts (#102892, #105343)
- Fixed
temp_*folders piling up in~/.claude/plugins/cachewhen a downloaded plugin couldn't be copied into place - Fixed
--effortbeing ignored when starting an interactive session with--environmentwhileCLAUDE_CODE_EFFORT_LEVELis set to the same level - Fixed headless and cloud sessions reporting a foreground fork's Agent call as finished the moment the fork started
- Fixed local MCP servers seeing a new session ID after a Remote Control session's process restarts
- Fixed idle compaction being skipped for subscribers still well under their weekly limit
- Fixed an @-mentioned text file with an extension being silently dropped when even its first 2,000 lines exceed the read limit; Claude is now told its size and how to read it
- Fixed the plugin "not cached" error pointing to
/plugininstead of/reload-plugins, the command that reloads plugins - Fixed self-hosted runner sessions failing their first clone under Anthropic-managed git when the machine's git config has an
includeIf "gitdir:"or (git 2.44 to 2.46)"onbranch:"section - Fixed replies that start with phrases like "You've used" or "You've hit your" showing as a red usage limit error
- Fixed a resumed conversation sometimes missing its last messages after a crash or kill on Bedrock, Google Cloud's Agent Platform, Foundry and other third-party providers
- Fixed NotebookEdit saving an invalid notebook when an edit changes a cell's type; turning a cell with attachments into code is now refused
- Fixed a long README in a design system moved from standalone Claude Design losing its list of files to load when Claude starts a deck or design
- Fixed MCP tool calls failing with "malformed task handle" when the server's task ID is longer than 128 characters; IDs of up to 1,024 characters now work
- Self-hosted runner: Fixed
--configure-gitsometimes reporting a hunggit --versionas a git that isn't on PATH - Fixed task ids being reused and deleted tasks coming back when several tasks were deleted or updated at once, and TaskGet listing completed tasks as blockers
- Fixed stale and repeated rows in the fullscreen Ctrl+R history picker when prompts share a timestamp
- Fixed Code Mode silently skipping a tool call whose input has a list of over 4,096 items, and freezing on a very large typed array in a tool's input, which is now refused
- Fixed Code Mode leaving a message unanswered when it was typed during a command and Esc was pressed before Claude replied; the message now starts a new turn, which a second Esc stops
- Fixed Code Mode not telling Claude when a slow command moved to the background and left its script with empty output, or of the time limit on background commands in
claude -pand the Agent SDK - Fixed Code Mode sometimes waiting for minutes on a command that had already been stopped
- Fixed a typed slash command's inline shell commands not running in Code Mode after a background script's output arrived
- Fixed Code Mode sessions in the Agent SDK and
claude -psometimes losing Claude's last reply on resume after being stopped while a script was running - Remote Control: Fixed sessions hosted by the desktop app or VS Code showing as idle while /compact runs
- Fixed a session sometimes losing its "needs input" status after a background task's report in Claude Desktop
- Fixed Grep: -o missing an empty match at the end of a file with no last newline, -o with multiline adding an empty line or misnumbering lines in non-UTF-8 files, and -A and -B ignored beside a zero -C
- Fixed unbinding a chord in
keybindings.jsonstill leaving its first key waiting for a second when it was spelledmetaand bound asalt, or the reverse - Fixed moving an empty session to the background sometimes failing with "Couldn't load transcript from file"
- Fixed OpenTelemetry reporting a failed
mcp_server_connectionevent a...
v2.1.331
Immutable
release. Only release title and notes can be modified.
What's changed
- 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_jsonpathto 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 doctorthat 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_COMPRESSIONto 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=1for Claude apps gateways: withoidc.use_proxy: true, sign-in requests hand the proxy anhttpsIdP's hostname even withNO_PROXYset - Added
gen_ai.usage.*,gen_ai.response.modelandgen_ai.operation.nametoclaude_code.llm_requesttrace spans;gen_ai.usage.input_tokensincludes prompt cache tokens - Added
optionalDependenciesto 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-appskipping 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
/diffhiding its key hints and not selecting files in windows of 24 to 26 rows, and leaving out files added withgit add -Nin 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
/bugin 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
--resumeor--continuein 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
/desktopdownloading the older Claude Desktop installer, and asking for an update when an older install's folder was left behind - Fixed
claude plugin install,marketplace addand 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
--barenot 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-12attaching 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.jsonno 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
/cdand/add-dirshow 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
/ideand for/clear,/compactor/rewindin a subagent's view to list Yes first; they still start on No, so Down then Enter now answers No - Changed what a
PermissionDeniedhook'sretry: truetells 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
extraKnownMarketplaceswill auto-update by default. To opt one out, set"autoUpdate": falseon its entry - Windows: Changed start-up with managed settings in the registry: check them before upgrading, as an
HKLMpolicy outranksmanaged-settings.jsonand 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 dia...
v2.1.330
Immutable
release. Only release title and notes can be modified.
What's changed
- 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=1to 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_DIRto 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
commandPrintedtoclaude plugin install --jsonresults, true when the plugin's install command wrote to stderr, andcommandFailedwhen it exited with an error, was killed or timed out - Added
claude_code_self_hosted_runner_order_to_registered_secondsto 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_secondsto 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
ExitWorktreeand 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
--continueand--resumeopening 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
/rewindsometimes 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 plugincommands 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.jsonbeing 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
/contextundercounting 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 -pexiting 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
/contextbut 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
/mcplisting plugin servers as built-in: they now stand under "Plugin MCPs",--mcp-configand 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
/statscounting new activity in UTC days instead of your local time zone - Fixed
/ultrareviewfailing 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 logsnever 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
Readwith 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
/configshowing 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
opusplanorhaiku - Fixed WebFetch page summaries ignoring the
/effortlevel when a gateway refuses the small fast model - Fixed
claude -pon Google Cloud's Agent Platform ignoring--settings '{"fastMode":true}'when the model comes fromANTHROPIC_MODELor a settings file; such runs now bill at the fast mode price - Fixed startup under
forceLoginOrgUUIDbeing refused after one temporary server error or dropped connection - Fixed
claude mcp removegiving 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-appand/design-loginshowing 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-releaseis se...
v2.1.329
Immutable
release. Only release title and notes can be modified.
What's changed
- 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,
/loopwakeups, 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
/mcpthat shows the JSON-RPC error message of a remote HTTP MCP server that refuses the connection - Added a "Marketplace auto-update" row to
/statusthat 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.jsonsometimes 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-setupcorrupting 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
/teleportreplacing your open conversation: the pick now starts a new session, as/cleardoes, and/resumebrings the old one back - Fixed
/usage-creditsasking 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
/usagesaying usage credits are off when they had run out or reached the monthly limit, and/modelnot 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
/modelreplacing 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,.xlsxor.pptxfiles that MCP servers or websites send asapplication/octet-streambeing 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 withgh pr diff, or says when it can't - Fixed
/code-reviewstopping at a permission prompt, on most models, to look for a~/.claude/CLAUDE.mdthat doesn't exist - Self-hosted runner: Fixed
--push-outcome-on-releasesometimes 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
/clearin 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 loginand/mcpsaying 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
rma symlink that points outside the working directory or at itself - Fixed
/sandboxon Linux listingallowUnixSocketsentries as allowed: they don't open those sockets there, and/sandboxnow 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_pluginsor 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-dirnames the working directory or Claude Code starts in the home folder - Fixed sessions started from a pre-warmed process ignoring the
autoCompactWindowsetting in the project's.claude/settings.json - Fixed
CLAUDE_AUTOCOMPACT_PCT_OVERRIDEstaying in effect in a running session after it is removed from settings.json - Fixed the Agent tool's
effortparameter being ignored for named teammates in agent teams - Fixed
/auto-mode-setupignoring 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.jsonis 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-onboardingreporting 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
/passesshowing the wrong number of passes after a server error, and offering usage credits for sharing when no guest passes are left - Fixed
claude --helpoutput being cut short when piped to another program - Fixed
/terminal-setupturning 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 pullfetches 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 gavex - 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
toolsin sessions with more than 4,096 tools - Fixed the
/code-reviewfindings card often showing "high" for a review that ran at medium, on most models - Fixed key hints in permission prompts, questions,
/modeland/rewindignoringkeybindings.json - Fixed auto-scroll, the PR status badge, the auto-compact warning and the ultracode tag not following the
/configswitches that control them in a running session - Fixed a custom cancel key not working in
/add-dir,/tuifeedback and the save-workflow form - Fixed arrow keys in the save-workflow form moving the selection in the workflow view behind it
- Fixed
/configsaying nothing, or "dismissed", after changing many settings - Fixed Read and @-mentions showing one line too many for file...
v2.1.328
Immutable
release. Only release title and notes can be modified.
What's changed
- Added auto mode for Claude Opus 4.6 and Sonnet 4.6 on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and Claude apps gateway; interactive sessions with no permission mode start in it
- Added
"onFailure": "block"formcp_toolhooks, as for command and HTTP hooks: a hook whose call fails blocks the action - Added a warning when a message from a session that skips permission prompts may be held and dropped by a cloud session
- Added a notice in
/statusandclaude doctorwhen an OpenTelemetry exporter has no endpoint and its data would likely be lost - Added
CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME, which lets a host stopclaude -p --resumeand--continuefrom running a tool call that a hook deferred - Added support for apps that embed Claude Code to switch on the policy plugin's
allowManagedModsOnlyoption; an admin's managed settings still win - Added a startup warning to the Claude apps gateway when a policy's
maxEffortLevelis not a valid effort level - Self-hosted runner: Added
--repository-folderto name the folder that sessions use for a repository at--capacity 1, in place of its path under the base folder, which can't be a symbolic link - Self-hosted runner: Added a start-up warning when the host's settings.json sets a default permission mode that sessions ignore
- Self-hosted runner: Added
--hook-labeltoclaude self-hosted-runner orchestrator, to hand chosen session labels to thespawn-runnerhook - Self-hosted runner: Added
--metadata key=valuetoclaude --environment, to label a session for thespawn-runnerhook - Self-hosted runner: Added
claude_code_self_hosted_orchestrator_session_queue_wait_by_reason_secondsto the orchestrator's/metrics, so a re-opened session's wait can be told from a new one's - Self-hosted runner: Added an orchestrator metric,
claude_code_self_hosted_orchestrator_sessions_given_up_total, that counts by cause how often Anthropic gave up starting a runner for a session - Fixed Bash commands in zsh stopping with a "not found" error at a word that starts with
=, such asecho ====or[ a == b ];=cmdno longer expands to a command's path - Fixed automatic compaction reusing the session's earlier system prompt instead of rebuilding it the way
/compactdoes - Fixed markdown rendering freezing on some very long or malformed input
- Fixed rare screen freezes
- Fixed Esc often being lost at a permission prompt or question when you typed straight after it; in terminals that send Alt as Esc and a key, an unused Alt or Option key now declines there
- Fixed a paste or a terminal's reply being typed into the prompt when a slow connection cut it in two
- Fixed saving a scheduled task erasing the project's other saved tasks when the scheduled tasks file can't be read, on third-party providers or with telemetry or feature flags turned off
- Fixed a scheduled task with a typo in the project's scheduled tasks file being deleted the next time that file was saved
- Fixed a case where a resumed cloud session could lose its compaction summary or recent messages when a message was saved late
- Fixed the token counts on the spinner and for subagents counting a retried reply twice, missing replies that were not streamed, and standing still while Claude thinks
- Fixed the error shown when usage credits run out mid-response, which named a rate limit
- Fixed auto mode failing every turn outside Claude Desktop with
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETASset behind a gateway rejecting betas, on Bedrock, Agent Platform, Foundry or Claude apps gateway - Fixed
CLAUDE_STREAM_IDLE_TIMEOUT_MSnot lengthening the 5-minute connection limit on gateways, custom base URLs and cloud providers - Fixed some Claude Desktop sessions on third-party providers, other than scheduled tasks, ending for good with "Prompt is too long" after large tool results; the largest are now left out
- Fixed MCP tools whose input schema starts with
anyOf,oneOforallOfgoing missing on third-party providers or with telemetry or feature flags turned off - Fixed an MCP tool with an invalid input schema failing requests on third-party providers or with telemetry or feature flags turned off; the tool is now left out and Claude is told why
- Fixed effort being turned off for a subagent's model for the session if Bedrock, Google Cloud's Agent Platform or Foundry refused its progress summary's effort setting (regression in 2.1.327)
- Fixed Code Mode stopping a script when a permission prompt outside auto or bypass mode, a plan approval or a question stayed open for ten minutes
- Fixed Code Mode scripts in auto and bypass-permissions modes failing to call an MCP server that had connected while the previous script was running
- Fixed Code Mode scripts not running in the background in auto or bypass permissions mode in a session chosen in the
claude --resumepicker - Fixed Code Mode losing a loaded skill, hook context or a note typed with a permission approval when resuming a session in which one reply ran several scripts
- Fixed Claude not being told that a Code Mode script was cut off when the session was resumed from the picker or in a mode that asks for permission
- Fixed Code Mode silently using
undefinedfor top-level variables that an earlier failed script never set - Fixed Code Mode scripts not being told when a failing command's long output was cut
- Fixed Code Mode refusing valid scripts that start with a
{block - Fixed Code Mode refusing scripts that use both a top-level
awaitand a top-levelreturn - Fixed an @-mentioned small file not being attached in Code Mode after a script had read or written it
- Fixed Code Mode offering
write()andedit()to read-only subagents that can't call them - Fixed Claude starting a turn by itself in Code Mode when Esc was followed by a command such as
/model - Fixed Claude in Code Mode not being told to run workflows only when you ask, or the workflow size you set in
/config - Fixed Remote Control repeating the same disconnect message, and telling you to retry a session that can't reconnect
- Fixed a waiting permission prompt being lost, and its answer ignored, when a remote session restarted while the service was slow
- Fixed cloud sessions resuming a cleared conversation after a rewind followed by
/clear - Fixed a remote session losing a turn's tool calls and results when its runner or worker was lost after a dropped model stream had been retried
- Fixed cloud and Remote Control sessions that just started, or have an @ in their title, being unreachable in cross-session messaging from a session with Remote Control on
- Fixed Claude being told that cloud sessions can never reply; it now learns when a reply can come and how else to get the result
- Fixed
/diff, the Changes pane of Remote Control sessions and the diff beside an edit leaving out committed work after a command moved into another repository - Fixed Remote Control not showing a running workflow's agents when a session run by an IDE extension or other SDK app is opened over an hour after the workflow last made progress
- Remote Control: Fixed an idle Desktop or VS Code session showing as running after Remote Control is turned on
- Fixed the model saying background agents were still running after an SDK interrupt had stopped them
- Fixed Send now in the desktop app and SDK hosts telling Claude that a stopped web search found no results
- Fixed Cmd+letter being typed into the prompt in terminals that report Cmd
- Fixed Ctrl+click opening a link twice in GNOME Terminal, side mouse buttons acting as clicks, and the first wheel notch in the other direction being ignored after a pause, in fullscreen mode
- Fixed Shift+Enter in Konsole outside tmux and ssh, and Alt shortcuts on non-Latin keyboard layouts in terminals that speak the kitty keyboard protocol
- Linux: Fixed pasting in other apps freezing while Claude Code is suspended with Ctrl+Z, when
xcliporwl-copyis installed - Linux: Fixed Ctrl+V missing the clipboard image, pasting an old one or hanging
- Fixed text copied in fullscreen mode including the quote bar, losing spaces at line wraps when a drag scrolled upward, or missing words under the "Jump to bottom" pill
- Fixed an image path pasted into a
!command becoming an attachment - Fixed Ctrl+C showing no exit warning while the
?shortcuts list is open - Fixed Ctrl+R search in fullscreen mode and the
/themecolor editor picking the wrong row when keys arrive together, and keys being dropped there and in the search of/configand/plugin - Fixed wrong or missing colors inside GNU screen
- Fixed many background notifications cutting into the top border of open dialogs in fullscreen mode
- Fixed a message to a background agent showing a long file path in place of a pasted image
- Fixed
/goalremoving a skill's Stop hook, or ending early on another hook's result, when both had the same wording - Fixed
/bugsaying cancelled after the report was sent - Fixed Esc not dismissing the transcript share question for Pro and Max users
- Fixed
/hookslosing your place when going back - Fixed
/exportwriting a file named.txtwhen the name was left empty - Fixed
/terminal-setupin Zed replacing a symlinkedkeymap.jsonwith a plain file - Fixed
/install-github-appadding a code review workflow when asked to update the existing workflow file - Fixed
/pluginreopening a skill, or closing the open page, when a slow save or removal finished after you went back - Fixed
/pluginasking to uninstall the wrong plugin, or ignoring Esc, after leaving a plugin while a change was still running - Fixed typing and arrow keys not working on the
/pluginInstalled tab after a search with no results or a click on the tab row - Fixed holding Enter in
/pluginturning off several installed plugins - Fixed the
/usageplugin total stopping at 2,000 tokens on 1M context models, and low token estimates in/usageand `/...