Releases · anthropics/claude-code

GitHub

82 min read Original article ↗

v2.1.333

Immutable release. Only release title and notes can be modified.

372f636

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_reached to the 429 for a user's reached spend limit
  • Added CLAUDE_CODE_DISABLE_POWERSHELL_PARSER_OVERLAP=1 to 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 Runs list to claude plugin validate for the commands and servers that a plugin's or marketplace's own files name
  • Added a Built-in tab to /plugin that 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 consent to $.prompt.submit and next.origin.isByPerson for mods: a prompt sent in answer to your press, typed command or answer counts as a turn you started
  • Added wait: false to $.prompt.submit for mods: the prompt enters the running turn at its next step instead of waiting for the turn to end
  • Added CommandRow so mods can draw a command's slash menu label
  • Added session.end for mods when Claude Code restarts itself (as on /tui) and, with the new reason unload, 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.render at the row's name and shows one dim line of its text where no mod draws it
  • Added name and data to the rows a mod appends with $.session.append, read back with $.session.messages({ name }); a named row may have no content
  • Added $.ui.render so a mod can draw a component that other mods wrap, restyle or replace
  • Added terminal and sandbox options to $.process for mods
  • Added $.http.stream for mods to read a response body as it arrives, { base64 } request bodies on $.http.fetch, and timeoutMs (up to ten minutes) and redirect: "manual" on $.http.fetch
  • Added dispose() to what a mod's $.command.register, $.tool.register and $.agent.register calls 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 Ask render site so a mod can explain a tool's permission prompt by drawing above it, and tool_use_id in the AskUserQuestion render props
  • Added $.session.load for mods to resume, clear, branch or rewind the conversation between turns
  • Added a session.load event for /resume, /clear, /branch and /rewind that a mod can veto; hooks on * or session.* now hear it
  • Added a session.state event for mods (busy, waiting, idle), with state on $.session.info(); existing * and session.* hooks start hearing it
  • Added punctuation characters such as "/" or "?" as a mod Button's hotkey
  • Added the ui.key mod 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.stat returns a version, and $.fs.write and $.fs.remove accept ifVersion
  • Added $.fs.remove, $.fs.rename, $.fs.copy and byte writes on $.fs.write for mods
  • Added compare-and-set to a mod's $.store: read a key with its version, then set or delete with ifVersion to 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 content and isEnd to a mod's tool.run answer, to give Claude text and image blocks for a tool call and to end the turn after it
  • Added a Placeholder render site so a mod can set the empty prompt's dim example line, and an "Example prompts" switch in /plugin to turn the "Try …" examples off
  • Added promptCache to a mod's $.session.usage() and session.measure: whether the prompt cache is warm, when it expires and why it last missed
  • Added $.model.stream for mods: a model completion read piece by piece as it is written
  • Added schema and thinking to a mod's $.model.complete call, for JSON replies and extended thinking; results now name the model that answered
  • Added $.session.waitUntil for mods, so claude -p and SDK runs wait up to 30 seconds at exit for work a mod registers
  • Added pluginId, and isOfficial where it applies, to next.origin on a mod's own $ calls; mod tests that compare that origin exactly need the new fields
  • Added read-only $.state values for mods under plugin: "engine": the permission mode and rules, MCP servers and terminal focus
  • Added a read-only $.state value for mods under plugin: "engine": the loaded plugins
  • Added place, key and priority options to $.ui.toast, so a mod can keep, replace and remove one line on the notification bar
  • Added wait to $.ui.open for mods: the call resolves when the pane closes, with the value passed 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 agentId and tool_use_id to next.origin on a mod noun's events, so a hook can tell which subagent or tool call asked
  • Added a Used by row to /plugin, listing the mods that call a noun a mod provides
  • Fixed claude -p on 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 -p waiting up to 10 minutes when git status is very slow or stalls; Claude now continues after 30 seconds
  • Fixed reading a larger file, large MCP results, @ mentions and /context hanging 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 /background or a wake, when --model default or a blocked --model sonnet had 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 asyncRewake hook 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_CAP changes it)
  • Fixed Claude Code exiting with no message in fullscreen mode, and background sessions showing no reason, when sandbox.failIfUnavailable is 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 api being 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 /model and 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_TURN sending Claude a request that nobody asked for in a session with no stored prompt or reply
  • Fixed an awsAuthRefresh or gcpAuthRefresh login that was stopped at its time limit, on cancel or at exit sometimes being treated as a completed sign-in
  • Fixed /rewind deleting 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...

Read more

v2.1.332

Immutable release. Only release title and notes can be modified.

eb8e6d2

What's changed

  • Added skills from MCP servers (beta). They show as server:skill in the / menu; other skills keep their names
  • Added a PreSkillShellCommand hook 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_response event 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 login reporting Login 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 .env mounted 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/worktrees with 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 /stats freezing for seconds when a transcript holds many damaged lines
  • Fixed a family name such as sonnet in --fallback-model being dropped when availableModels allows only an older version of it
  • Fixed keys lagging for seconds while /stats reads 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 availableModels list 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 opus failing 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 availableModels list 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, opus or haiku points to: they now use its newest allowed version under a built-in or mapped name
  • Fixed the sonnet alias 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-app ticking 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/cache when a downloaded plugin couldn't be copied into place
  • Fixed --effort being ignored when starting an interactive session with --environment while CLAUDE_CODE_EFFORT_LEVEL is 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 /plugin instead 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-git sometimes reporting a hung git --version as 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 -p and 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 -p sometimes 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.json still leaving its first key waiting for a second when it was spelled meta and bound as alt, 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_connection event a...

Read more

v2.1.331

Immutable release. Only release title and notes can be modified.

bd07f2a

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_jsonpath to the Claude apps gateway, to read groups from the matching entries of a list of objects with a small subset of JSONPath (RFC 9535)
  • Added an API connectivity section to claude doctor that reports whether the API can be reached, with the HTTP status or the error, or says why it wasn't tested
  • Added a notice when tap-mode voice dictation stops by itself, after 15 seconds without recognized speech or at its 2-minute limit
  • Added CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION to ask for uncompressed model responses behind a proxy that cuts compressed ones off; not advised yet for self-hosted runners or Remote Control
  • Added CLAUDE_GATEWAY_IDP_CONNECT_BY_HOSTNAME=1 for Claude apps gateways: with oidc.use_proxy: true, sign-in requests hand the proxy an https IdP's hostname even with NO_PROXY set
  • Added gen_ai.usage.*, gen_ai.response.model and gen_ai.operation.name to claude_code.llm_request trace spans; gen_ai.usage.input_tokens includes prompt cache tokens
  • Added optionalDependencies to plugin manifests: plugins that install with the plugin listing them and can be disabled or uninstalled on their own
  • Fixed MCP tool calls hanging for up to 30 minutes on some malformed replies from a local or WebSocket server
  • Fixed PushNotification telling a headless run, such as a scheduled one, that the terminal was active in its first minute, instead of saying whether a mobile push was requested
  • Fixed /install-github-app skipping the repository step after setup warnings when no repository was found, and Esc not going back from its workflow list and sign-in steps
  • Fixed one-line tool results cut with no ellipsis in narrow windows, Markdown stars in the Auto mode tab of /permissions, and a hook's reason to stop a forked skill showing twice
  • Fixed /diff hiding its key hints and not selecting files in windows of 24 to 26 rows, and leaving out files added with git add -N in a repository with no commits
  • Fixed the first-run theme list showing too few themes in short windows, and /usage and other tall screens coming out garbled there
  • Fixed /bug in fullscreen hiding its Yes and No answers behind a long report, and Yes staying out of view in very short windows
  • Fixed /compact and auto-compact sometimes losing part of the conversation summary when the summary quoted certain XML tags
  • Fixed Claude not being told when permission rules on the Agent tool dropped its queued message to a subagent that had already ended
  • Fixed a Remote Control message sometimes showing above the reply that was finishing when it was sent
  • Fixed Stop hooks that read the transcript missing the last reply in Claude Desktop; SubagentStop hooks now wait for it too
  • Fixed turns and subagents failing in cloud sessions, or timing out on long replies elsewhere, when a reply went silent while Claude was still thinking; Claude Code now tries the request once more
  • Fixed Esc and Stop waiting about a minute or more when the contents of a cloud or network file that Claude is reading stall
  • Fixed Code Mode sessions resumed with --resume or --continue in another permission mode losing thinking and the prompt cache; one begun in a mode that asks keeps that mode's limits on scripts
  • Fixed Code Mode sending a request about every second when a ! or slash command was typed while a script was running
  • Fixed an interrupted or failed plugin update leaving a partial plugin folder that later loaded with skills or other components missing (#102186)
  • Windows: Fixed file writes on FAT32 and exFAT drives asking for permission every time in some plugin sessions
  • Fixed Claude failing to read a notebook that has a null output or an error output with no traceback
  • Fixed a rewind deleting files after a restore had failed
  • Fixed auto mode sometimes refusing Claude's call to stop a /loop, which left the next wake-up to fire
  • Fixed a Workflow agent's background shells and MCP servers sometimes being left running after it handed back its report
  • Windows: Fixed /desktop downloading the older Claude Desktop installer, and asking for an update when an older install's folder was left behind
  • Fixed claude plugin install, marketplace add and similar commands hanging with no output when managed settings needed an approval that could not be asked for
  • Fixed a permission rule on a subagent's model, such as Agent(model:*), blocking Claude's follow-up message to a subagent started on this version with no model named
  • Fixed PermissionRequest hooks not saving Skill(name:*) allow rules outside local settings
  • Fixed "Ask your admin" asking to raise your own limit when your team's pooled group budget blocked you, and saying "Request sent" when an admin had approved your request in the last few minutes
  • Fixed Code Mode losing the middle of a long script output; Claude now gets a path to the uncut text (#111373)
  • Fixed hold-to-talk dictation stopping early and losing words when Claude Code was busy
  • Fixed Code Mode with --bare not telling Claude what its scripts can call
  • Fixed a crash when a custom API endpoint returned a tool call with no tool name; the call now fails with an error and the session continues
  • Windows: Fixed a possible crash when the machine is almost out of memory
  • Fixed the CLI freezing on some replies, and quoted text sometimes going missing or showing twice
  • Windows: Fixed Claude Code refusing to start when managed settings in the registry contain non-ASCII characters such as Japanese (#93280)
  • Windows: Fixed Remote Control clients showing no steps for a new subagent
  • Fixed @-mentions written as @file#10-12 attaching the whole file instead of those lines
  • Fixed Claude misreading a pasted artifact invitation link; it now asks you to accept the invitation and paste the artifact's own link
  • Fixed sandboxed Bash commands sometimes failing to start on a full temp disk, for sandboxes whose file rules keep commands out of the temp directory
  • Improved typing speed in screen reader mode, most of all in long sessions
  • Improved start-up time: a session started soon after another no longer waits for the model list, and one outside a git repository without .claude/settings.local.json no longer waits on git
  • Windows: Improved the speed of the first Bash command in a session on machines with no custom shell start-up files
  • Improved the plugin auto-update notice to name plugins it newly installs as dependencies, separately from updated plugins
  • Improved Code Mode tool search to show more of an MCP tool's description, with its limits, formats and defaults
  • Improved the Console sign-in link shown by /login and claude auth login --console: it is now much shorter
  • Improved Claude's list of your artifacts: it now marks web pages, so Claude is less likely to try opening one with the Claude Docs connector
  • Improved the folder trust prompts in short terminals: fullscreen /cd and /add-dir show their choices in fewer rows, and the prompt at launch keeps the folder path in view when it has many warnings
  • Changed the questions for stopping auto-connect in /ide and for /clear, /compact or /rewind in a subagent's view to list Yes first; they still start on No, so Down then Enter now answers No
  • Changed what a PermissionDenied hook's retry: true tells Claude: make the refused call again only if you asked for that call
  • Changed in a future release, on or after November 30, 2026: plugin marketplaces in managed extraKnownMarketplaces will auto-update by default. To opt one out, set "autoUpdate": false on its entry
  • Windows: Changed start-up with managed settings in the registry: check them before upgrading, as an HKLM policy outranks managed-settings.json and a broken value can stop the start
  • [VSCode] Added a warning and a link to the revoke page when you log out and the request to revoke your claude.ai login isn't confirmed
  • [VSCode] Added a notice before sending a very large selection or attached text file, and advice under "Prompt is too long" that names the large part and what to do next
  • [VSCode] Added "Add Cell to Chat" to the notebook cell menu, which attaches a cell with its outputs or error
  • [VSCode] Added "Fix with Claude Code" as a quick fix for errors and warnings and to failed tests in the test peek and the Test Results view, which puts the problem into the chat box
  • [VSCode] Added "Add to Chat" to the right-click menu of changed files in the Source Control view
  • [VSCode] Added "Resolve Merge Conflicts" to the editor title of a file with merge conflicts and to the Merge Changes group in Source Control
  • [VSCode] Fixed raw tags for selected code under a reworded prompt, the mode button flashing Manual, the slash menu hiding its highlighted row, a broken sign-in image, and a blinking Accept/Reject bar
  • [VSCode] Fixed a forked conversation overwriting the original conversation's plan file; a fork or rewind that can't copy the plan now shows a warning
  • [VSCode] Fixed voice dictation saying no speech was recognized when its connection closed or never opened; it now says the connection was lost or couldn't connect
  • [VSCode] Fixed an unsent side question being lost when its panel closes
  • [VSCode] Fixed Escape stopping Claude after renaming a session, and typing going nowhere after closing the session history with Escape
  • [VSCode] Fixed Rename, Mark as Unread and Add to Group saying "still connecting" on a tab that resumed a session from its history
  • [VSCode] Fixed wide tables and long paths cut off, long errors hiding their close button, errors out of view in the Add MCP server form and Chrome dialog, and plugin pictures ignoring the editor theme
  • [VSCode] Fixed later prompts and the message box covering the Rewind code dia...

Read more

v2.1.330

Immutable release. Only release title and notes can be modified.

e791a1c

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=1 to print the full sign-in link, if the short one shows an error or a script reads values from it
  • Self-hosted runner: Added --start-dir / SELF_HOSTED_RUNNER_START_DIR to have Claude start its work in a folder of a repository, while settings and hooks load as without it
  • Added a notice in cloud and self-hosted runner sessions when a plugin marketplace can't be fetched because its repository isn't one of the session's
  • Self-hosted runner: Added a notice when Anthropic-managed git refuses a plugin's own repository, naming the plugin and what to do
  • Added commandPrinted to claude plugin install --json results, true when the plugin's install command wrote to stderr, and commandFailed when it exited with an error, was killed or timed out
  • Added claude_code_self_hosted_runner_order_to_registered_seconds to the self-hosted runner's /metrics: seconds from work order issued to registration accepted, on orchestrator-spawned runners
  • Added claude_code_self_hosted_runner_order_to_first_session_seconds to the self-hosted runner's /metrics: seconds from work order to first session handed over, on runners started for a session
  • Fixed Claude Code freezing for up to several minutes right after compacting a very long conversation
  • Fixed WebFetch freezing the session for minutes on some pages, and returning an empty result for some others
  • Fixed ExitWorktree and the worktree exit dialog deleting a worktree that another running Claude Code session was working in
  • Fixed changes to user settings being lost when several Claude Code processes saved them at the same time
  • Fixed --continue and --resume opening an empty session or failing when the last saved message had a missing or invalid timestamp
  • Fixed the first prompt after a sleep of two minutes or more waiting three minutes on a connection that had died, on Linux and WSL
  • Fixed turns failing with "JSON schema is invalid", and session files growing by many megabytes, when many MCP tools have an input schema that the API refuses
  • Linux: Fixed Bash commands waiting seconds and showing no file diff for the rest of a session in slow repositories with large ignored folders such as node_modules
  • Windows: Fixed Bash commands running slower for the rest of a session after Git Bash took 10 to 60 seconds to start, on machines with no custom start-up files
  • Fixed /rewind sometimes restoring an older version of a file when two queued prompts, or stacked skills, ran together right after a turn that changed it
  • Fixed text and images added when approving a permission prompt being dropped when the approved command or tool then failed
  • Fixed MCP resources from claude.ai connectors and plugin servers not being attached when @-mentioned in the terminal's prompt box
  • Fixed an MCP server that subagents declare being shut down when one of them finished, while other subagents or the session were still using it
  • Fixed Claude in Chrome staying "not connected" after a brief connection problem, even though Chrome was open and signed in
  • Fixed terminal sessions on Amazon Bedrock (Mantle) started with no model selected ignoring a pinned Opus model, and still calling an unavailable default model after announcing a fallback
  • Fixed the rest of what you were typing being lost when a plan arrived in fullscreen mode
  • Fixed claude.ai connectors with different names being dropped when they share a server URL (#101856)
  • Fixed plugins going missing from the installed list when several claude plugin commands ran at the same time
  • Fixed task dependencies and metadata being lost when several task updates ran at the same time
  • Fixed incomplete backups of ~/.claude.json being kept, and displacing good ones, when the disk was full
  • Fixed a long pause in Code Mode after code that read hundreds of files in projects with path-scoped rules or Read deny rules
  • Fixed the built-in chart tool failing when Claude called it in Code Mode
  • Fixed Code Mode ignoring an MCP tool's request to end the turn from a script in auto and bypass permissions modes
  • Fixed Code Mode in auto mode dropping earlier thinking and rewriting the prompt cache when a mod added a note after a script loaded a skill
  • Fixed Code Mode not restoring a file that a script had read after Esc and /compact
  • Fixed /context undercounting system tools in Code Mode before Claude's first reply
  • Fixed a stopped background subagent sometimes not staying stopped
  • Fixed Claude still waiting for a background agent that was stopped just as it finished, in sessions run by an app or the SDK
  • Fixed background sessions sometimes waking in their previous permission mode after approving a plan
  • Remote Control: Fixed the note about background agents ended by a Stop from a phone or the web showing in the terminal as if you had typed it
  • Remote Control: Fixed the mobile apps hiding the Diff and pull request buttons, or showing a stopped session as working, after turning it on mid-conversation
  • Fixed environment variables written by a SessionStart hook being lost with claude -p --continue
  • Fixed claude -p exiting 0 with no message when its output went to a file on a full disk: it now prints an error and exits 1, though a full NFS export may go unnoticed
  • Fixed the system prompt keeping the earlier model's instructions when the model was changed after /context but before the first message
  • Fixed Claude sometimes replying to its commit attribution reminder and ending the turn early after the model changed mid-turn; it can still happen where managed settings set the PR attribution line
  • Fixed Esc not ending an LSP tool call that was waiting for a slow or stuck language server
  • Fixed LSP tool calls and diagnostics failing when several calls or edits arrived while a language server was still starting
  • Fixed /mcp listing plugin servers as built-in: they now stand under "Plugin MCPs", --mcp-config and built-in servers under "Other MCPs", and a server's page names its plugin
  • Fixed an "MCP server blocked by enterprise policy: easel" warning showing at every start when an MCP allowlist or denylist excludes the built-in chart tool, which stays blocked
  • Fixed /stats counting new activity in UTC days instead of your local time zone
  • Fixed /ultrareview failing or reviewing the wrong code after the shell moved into another repository: it now stops and names both folders
  • Fixed Grep reporting no matches when the pattern held a line break without multiline mode; it now reports the rejected pattern
  • Fixed Jupyter notebooks saved with a byte order mark being reported as invalid JSON by the Read and NotebookEdit tools
  • Fixed link reference definitions being dropped from CLAUDE.md and memory files that contain an HTML comment
  • Fixed running Monitors keeping the earlier conversation in memory until they end
  • Fixed some Claude Desktop sessions on third-party providers, other than scheduled tasks, ending a turn with "Prompt is too long" when a PDF larger than the context window followed a long conversation
  • Fixed the choice between two user or project agent files declaring the same name depending on the order the file search listed them
  • Fixed claude daemon logs never exiting inside a git repository when there is no log file
  • Fixed markdown hiding a character or two after bold or italic text when a backslash came before an emoji later in the paragraph
  • Fixed Edit refusing some valid hook commands in Claude settings files
  • Fixed Read with a page range showing both halves of a scanned two-page spread on each of its pages
  • Fixed line breaks and class stereotypes missing from Mermaid diagrams in HTML artifacts
  • Fixed the Project instructions picker in /config showing only one of its four choices in a 24-row fullscreen window
  • Fixed a subagent's own subagents and forks running on the plan-mode model in plan mode under opusplan or haiku
  • Fixed WebFetch page summaries ignoring the /effort level when a gateway refuses the small fast model
  • Fixed claude -p on Google Cloud's Agent Platform ignoring --settings '{"fastMode":true}' when the model comes from ANTHROPIC_MODEL or a settings file; such runs now bill at the fast mode price
  • Fixed startup under forceLoginOrgUUID being refused after one temporary server error or dropped connection
  • Fixed claude mcp remove giving no way forward for a claude.ai connector: it now says to turn it off in /mcp or remove it on claude.ai
  • Fixed the /mcp "Connect on claude.ai" check saying "not connected" when claude.ai has a connector at the server's URL without its query
  • Fixed /install-github-app and /design-login showing a generic failure for an account on hold instead of the on-hold notice and appeal link
  • Fixed a running MCP task being reported as stopped when you move a session to the background; the background session can now follow the task, but not if its server uses stdio or sets headers
  • Fixed self-hosted runners ignoring a session until they exited, after its failure report was lost or the session was given back to the same runner
  • Fixed self-hosted sessions losing the prompt cache and earlier thinking when the list of repositories a restart couldn't prepare changed
  • Self-hosted runner: Fixed tool calls behind a permission prompt vanishing with no result when a new runner took over the prompt, in sessions with telemetry off
  • Fixed resumed self-hosted runner sessions starting without their pushed work in large repositories when --push-outcome-on-release is se...

Read more

v2.1.329

Immutable release. Only release title and notes can be modified.

f9e4d1e

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, /loop wakeups, the goal and this conversation's forks to /tasks; x stops one after asking
  • Added a "Server message" row to a server's page in /mcp that shows the JSON-RPC error message of a remote HTTP MCP server that refuses the connection
  • Added a "Marketplace auto-update" row to /status that names managed marketplaces that get no automatic updates, and why
  • Added support for turning on Code Mode while OpenTelemetry events and metrics are enabled; each tool call the code makes sends its events; tracing still keeps it off
  • Fixed ~/.claude.json sometimes being reset to defaults when a network stall or file lock made it unreadable and cleared during a save
  • Fixed repeated sign-outs on macOS when Claude Code could read the Keychain but not save to it. That session now stops at expiry and says why, and other sessions stay signed in
  • Fixed /terminal-setup corrupting VS Code settings or keybindings files around block comments, and reporting success while losing the Shift+Enter binding where keybindings.json has an unclosed string
  • Fixed files accepted through the IDE diff being saved without their last newline, and losing their byte order mark (BOM) when an edit was accepted by saving the diff in VS Code
  • Fixed picking a cloud session in /teleport replacing your open conversation: the pick now starts a new session, as /clear does, and /resume brings the old one back
  • Fixed /usage-credits asking Pro and Max users to log in again after opening the browser, and the link disappearing after 8 seconds if the browser doesn't open and a task stops for usage credits
  • Fixed /usage saying usage credits are off when they had run out or reached the monthly limit, and /model not telling Pro and Max users when that limit blocks a model that runs on usage credits
  • Fixed the spend limit menu showing your spend as your monthly limit and wrapping its rows under the pointer in narrow windows
  • Fixed a status line script that prints without end freezing the prompt and using gigabytes of memory
  • Fixed an empty, frozen screen after approving managed settings while the --resume picker, the trust dialog or another set-up screen was waiting
  • Fixed choosing Default in /model replacing your saved model with your organization's default when the Default row already showed your saved model
  • Fixed an MCP server being signed in again after you cleared its authentication while a token refresh was running
  • Fixed background MCP tasks that stalled after a slow reconnect: Claude Code now reconnects most HTTP MCP servers by itself when one is left on an older protocol version
  • Fixed PDFs, images and .docx, .xlsx or .pptx files that MCP servers or websites send as application/octet-stream being saved as .bin, which kept Claude from reading the PDFs and images
  • Fixed /code-review <pr number> sometimes reviewing the checked-out branch instead of the pull request without saying so: it now reads the pull request with gh pr diff, or says when it can't
  • Fixed /code-review stopping at a permission prompt, on most models, to look for a ~/.claude/CLAUDE.md that doesn't exist
  • Self-hosted runner: Fixed --push-outcome-on-release sometimes deleting a session's branch on the git host
  • Fixed Code Mode hiding a script's finished edits and the stopped command after Esc, and losing them on exit
  • Fixed a runaway loop in Code Mode filling the machine's memory; it is now stopped at a limit
  • Fixed a background agent running on when it was stopped while it was being resumed
  • Fixed background shell commands using memory for the earlier conversation until they exit
  • Fixed Remote Control using memory for the earlier conversation after a compaction or /clear in sessions run by Claude Desktop, IDEs or the SDK
  • Fixed Stop not ending a request in Claude Desktop sessions on Bedrock while it waits on a hung AWS credential_process or sign-in call
  • Fixed Claude sometimes failing to send you a file on its first try on Opus 4.8 and Opus 5
  • Fixed Claude not being told that a connected MCP server's tools could not be loaded, and taking it for a server with no tools, in sessions with tool search
  • Fixed claude mcp login and /mcp saying a service doesn't accept sign-ins from Claude Code when the service's client registration had been retired (HTTP 410 Gone)
  • Fixed another case of claude.ai-synced plugin hooks failing with "Plugin directory does not exist" while a session was still running on macOS
  • Fixed auto mode asking for manual approval to rm a symlink that points outside the working directory or at itself
  • Fixed /sandbox on Linux listing allowUnixSockets entries as allowed: they don't open those sockets there, and /sandbox now says so
  • Fixed pressing Esc twice to clear a mistyped code ending the sign-in in /install-github-app
  • Remote Control: Fixed sessions going back to their first effort level after a restart while the app still showed the level you picked (not yet for sessions that start in Ultracode)
  • Fixed a removed plugin's MCP server staying connected in headless sessions after reload_plugins or when the account's plugin list drops it
  • Fixed the Claude Docs connector's tools going missing when a plugin or MCP server at the same address failed to connect, and its error wrongly suggesting /login
  • Fixed a new skills, commands or agents folder being missed when --add-dir names the working directory or Claude Code starts in the home folder
  • Fixed sessions started from a pre-warmed process ignoring the autoCompactWindow setting in the project's .claude/settings.json
  • Fixed CLAUDE_AUTOCOMPACT_PCT_OVERRIDE staying in effect in a running session after it is removed from settings.json
  • Fixed the Agent tool's effort parameter being ignored for named teammates in agent teams
  • Fixed /auto-mode-setup ignoring recent auto mode denials when it scans a project for rules to suggest; it may now offer allow rules from them, and you review each before it's saved
  • Fixed a false "Couldn't save this change" warning after adding a permission rule or directory in a subfolder or worktree whose own .claude/settings.local.json is unreadable or malformed
  • Fixed cloud sessions telling Claude to run a network proxy check after a failed request, which auto mode then blocked
  • Fixed headless rewind and fork going ahead while a message sent right after a model change still waited on it
  • Fixed Claude not being told when a background task was stopped while a cloud session was restarting
  • Fixed /team-onboarding reporting a guide as shared on Team and Enterprise plans when the server refused the upload
  • Fixed panels and questions being cut off at the prompt in fullscreen, /help, history search and the background tasks list losing rows or titles in short windows, and tables wrapping in dialogs
  • Fixed resumed sessions showing "Rejected" or "Declined" for edits, questions and plans that were cut off when the session ended
  • Fixed /passes showing the wrong number of passes after a server error, and offering usage credits for sharing when no guest passes are left
  • Fixed claude --help output being cut short when piped to another program
  • Fixed /terminal-setup turning on "Use Option as Meta key" in Terminal.app on macOS 27, and tips there suggesting Option+Enter instead of Shift+Enter
  • Self-hosted runner: Fixed setup failing on Git LFS repositories cloned through Anthropic-managed git; sessions now start on pointer files, and git lfs pull fetches the content
  • Fixed sessions on self-hosted environments not starting from a git remote with an SSH host alias, GitHub SSH certificates or a GHE.com SSH user; an unresolved alias's error gives two git commands
  • Fixed remote MCP servers in self-hosted runner sessions staying without tools, or (over https) disconnected, after a timeout or network error
  • Fixed self-hosted runner sessions being shown as having stopped responding while Claude Code was still starting
  • Fixed Code Mode keeping in memory every large text file that code read, and memory growing each time a background subagent was woken
  • Fixed Code Mode stopping a script at its ten-minute limit while an MCP form, an MCP link prompt or a prompt that always asks was waiting for an answer
  • Fixed Code Mode scripts receiving a "moved to the background" message as data from most MCP calls over two minutes: the script now waits up to ten minutes, then gets an error
  • Fixed mods that list only some tools silently turning Code Mode off; such a mod no longer keeps it off, so use managed settings for that
  • Fixed Code Mode ignoring an MCP tool's request to end the turn when the tool was called from a script that Claude waits for
  • Fixed a Code Mode script's let x; keeping the value that an earlier script gave x
  • Fixed a Code Mode script's call with no argument failing with a missing-parameter error on tools that need none
  • Fixed Code Mode scripts losing access to tools through tools in sessions with more than 4,096 tools
  • Fixed the /code-review findings card often showing "high" for a review that ran at medium, on most models
  • Fixed key hints in permission prompts, questions, /model and /rewind ignoring keybindings.json
  • Fixed auto-scroll, the PR status badge, the auto-compact warning and the ultracode tag not following the /config switches that control them in a running session
  • Fixed a custom cancel key not working in /add-dir, /tui feedback and the save-workflow form
  • Fixed arrow keys in the save-workflow form moving the selection in the workflow view behind it
  • Fixed /config saying nothing, or "dismissed", after changing many settings
  • Fixed Read and @-mentions showing one line too many for file...

Read more

v2.1.328

Immutable release. Only release title and notes can be modified.

26fdd00

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" for mcp_tool hooks, 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 /status and claude doctor when an OpenTelemetry exporter has no endpoint and its data would likely be lost
  • Added CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME, which lets a host stop claude -p --resume and --continue from running a tool call that a hook deferred
  • Added support for apps that embed Claude Code to switch on the policy plugin's allowManagedModsOnly option; an admin's managed settings still win
  • Added a startup warning to the Claude apps gateway when a policy's maxEffortLevel is not a valid effort level
  • Self-hosted runner: Added --repository-folder to 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-label to claude self-hosted-runner orchestrator, to hand chosen session labels to the spawn-runner hook
  • Self-hosted runner: Added --metadata key=value to claude --environment, to label a session for the spawn-runner hook
  • Self-hosted runner: Added claude_code_self_hosted_orchestrator_session_queue_wait_by_reason_seconds to 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 as echo ==== or [ a == b ]; =cmd no longer expands to a command's path
  • Fixed automatic compaction reusing the session's earlier system prompt instead of rebuilding it the way /compact does
  • 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_BETAS set behind a gateway rejecting betas, on Bedrock, Agent Platform, Foundry or Claude apps gateway
  • Fixed CLAUDE_STREAM_IDLE_TIMEOUT_MS not 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, oneOf or allOf going 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 --resume picker
  • 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 undefined for 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 await and a top-level return
  • Fixed an @-mentioned small file not being attached in Code Mode after a script had read or written it
  • Fixed Code Mode offering write() and edit() 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 xclip or wl-copy is 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 /theme color editor picking the wrong row when keys arrive together, and keys being dropped there and in the search of /config and /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 /goal removing a skill's Stop hook, or ending early on another hook's result, when both had the same wording
  • Fixed /bug saying cancelled after the report was sent
  • Fixed Esc not dismissing the transcript share question for Pro and Max users
  • Fixed /hooks losing your place when going back
  • Fixed /export writing a file named .txt when the name was left empty
  • Fixed /terminal-setup in Zed replacing a symlinked keymap.json with a plain file
  • Fixed /install-github-app adding a code review workflow when asked to update the existing workflow file
  • Fixed /plugin reopening a skill, or closing the open page, when a slow save or removal finished after you went back
  • Fixed /plugin asking 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 /plugin Installed tab after a search with no results or a click on the tab row
  • Fixed holding Enter in /plugin turning off several installed plugins
  • Fixed the /usage plugin total stopping at 2,000 tokens on 1M context models, and low token estimates in /usage and `/...

Read more

v2.1.327

Immutable release. Only release title and notes can be modified.

9fa2607

What's changed

  • Added a confirmation before /install-github-app changes a repository
  • Added claude mcp add-json <name> - to read the server's JSON from stdin, so tokens can stay off the command line; not available inside a Claude Code session
  • Added a line when a resumed session's earlier messages can't be loaded
  • Added a list in /status of broken agent, skill, command and output style files, keybinding errors, an unavailable sandbox, ignored permission settings and hook matchers that never match
  • Added a note in /config when other settings override a row
  • Added x-claude-code-managed-settings-checksum to the gateway hint headers; sent where managed settings set CLAUDE_CODE_GATEWAY_HINT_HEADERS=1, including where they already do
  • Added support for naming a session's billing group with the attributionProject setting, for Claude apps gateways that set admin.billing_group_tag
  • Added /tui classic as the name for the non-fullscreen renderer; /tui default still works
  • Remote Control: Fixed stopping the server in worktree mode deleting a running session's git-ignored files, such as .env
  • Fixed self-hosted runners with --use-anthropic-git-proxy deleting a non-empty directory named by GIT_CONFIG_GLOBAL at startup: the runner now keeps it, ignores the variable and warns
  • Fixed claude mcp add and claude mcp remove with project scope deleting other top-level keys from .mcp.json, such as $schema or another tool's servers
  • Fixed /export overwriting an existing file without asking: the dialog now asks, and /export <name> keeps the file and says to run /export
  • Fixed a command you had allowed still running after you pressed Stop, when the approval arrived after a restart, in cloud and self-hosted runner sessions with no feature flags loaded
  • Fixed Enter closing /teleport's load error screen
  • Fixed a click followed by Enter in /plugin installing or disabling a plugin
  • Fixed a half-typed ! command running on an extra Enter after the usage limit menu
  • Fixed some --disallowedTools rules with parentheses in their content
  • Fixed auto mode ignoring some wildcard PowerShell allow rules that name a script with .\, such as PowerShell(.\scripts\build.ps1 *)
  • Fixed a running Code Mode script in auto mode getting permission prompts and denials once Claude started a second script that auto mode also allowed
  • Changed some pre-started background sessions to be discarded after an account change
  • Changed a workflow paused at a usage limit in the terminal to stay paused after a login, until the earlier login returns or you type a prompt
  • Fixed a nested claude with its own token being refused by forceLoginOrgUUID: commands that don't get the session's token no longer get its CLAUDE_CODE_OAUTH_SCOPES; set it on any that need it
  • Fixed headless sessions losing stored messages on resume when a message was sent again with the same UUID after the process was killed
  • Fixed cases where a session resumed after an empty reply or a killed command lost an answer, or brought back a rewound prompt, after another crash or a move to the background
  • Fixed a remote session forgetting messages sent after Stop was pressed during a restart, if Claude Code then crashed
  • Fixed tasks created after /clear being lost, and cleared tasks coming back, when a cloud or self-hosted runner session with no feature flags loaded resumed later
  • Fixed a compaction right after a reply cut at the output token limit losing that reply's tool call and its result
  • Fixed a settings change from /config and similar commands failing to save with no warning; a line under the prompt now says so
  • Fixed /rewind closing without a word when some files could not be restored
  • Fixed pasted images being dropped when the prompt starts with a file path such as /tmp/a.txt
  • Fixed agents passed with --agents being lost once plugins loaded or reloaded
  • Fixed a plugin's agent being dropped when resuming a session from the --resume picker
  • Fixed Claude Code refusing to start when https_proxy or HTTPS_PROXY is a bare host:port and neither its input nor its output is a terminal (the desktop app, an SDK, cron)
  • Fixed Claude Code on Linux sometimes returning to the shell while restarting itself at startup, such as after the first sign-in to a Claude apps gateway or when turning on Code Mode
  • Fixed claude -p hanging before its first request when the fetch of a model's settings stalled, such as at a proxy; it now goes on without them after 10 seconds
  • Fixed the screen staying blank or frozen after a brief out-of-memory error
  • Fixed a rare display fault that could freeze the screen or end the session
  • Fixed cloud sessions breaking when a program left thousands of connections open to the session's network proxy
  • Fixed a turn hanging when a mod's $.model.complete or $.model.classify call met a usage limit: the call now gets the API's error at once; mods should handle that error
  • Fixed stalls on a compaction reply with thousands of unclosed tags and on some very long WebFetch URLs; WebFetch now refuses a URL over 2,000 characters before any permission prompt
  • Fixed a message with thousands of @ mentions stalling before Claude replies; only the first 100 mentions are now looked up as files
  • Fixed the prompt freezing after rejecting a write to a very large file; a rejected write now shows a short preview
  • Fixed a crash when a burst of keys reached the search box in /plugin
  • Fixed a false crash report and exit code when a suspended session resumes, or at exit, where a Linux security policy blocks a process from signalling itself
  • Fixed remote MCP servers staying disconnected after a longer outage such as a VPN drop: most servers on other machines reached by hostname over https are now retried in the background for about a day
  • Fixed Edit refusing with "File has not been read yet" after a compaction on unchanged files outside the project that Claude had already read in full
  • Fixed Grep repeating or skipping results when paging with head_limit and offset; content and count results are now sorted by file path
  • Fixed Read failing on Jupyter notebooks that contain an output of an unknown type
  • Fixed NotebookEdit removing the notebook file's final newline
  • Fixed the Read tool reporting 512KB instead of the real size when a file of 10 MB or more is too large to read at once
  • Fixed the Bash tool's diff of changed files not naming files that are binary, too large or too many to show
  • Fixed artifact publishes failing with "the source file changed between approval and publish" when a synced or remote-backed folder had only changed the file's timestamp
  • Fixed a new artifact that you approved being refused in a cloud scheduled task's session, in organizations that require approval of each new artifact
  • Fixed a new artifact being refused after an app built on the Agent SDK approved it, in organizations that require approval of each new artifact
  • Fixed /artifacts showing part of your list, or "No artifacts yet", when a request for more of the list failed: it now tries again, then warns if it can't load the whole list
  • Fixed in-process agent teammates on a different model from the lead compacting at the lead's context limit and on the wrong model; they now use their own limit and model, at that model's rate
  • Fixed a finished subagent resuming on the model and effort of a sibling subagent that messaged it
  • Fixed the main conversation not being told a background agent had finished when the subagent that started it ended by itself without reading the result, outside auto mode
  • Fixed Claude reporting a background agent as still running when it had waited 30 seconds or more on a permission prompt in the desktop app, on the web and in the SDK
  • Fixed Claude not being told in auto mode when a background agent's reply to a follow-up message was dropped, and reduced repeat wake-ups there from agents waiting on background commands
  • Fixed the desktop app, Claude Code on the web and VS Code showing a raw task notification as a subagent's prompt after its background task woke it
  • Fixed messages sent from another session with "later" priority joining the running turn, instead of waiting for it to end, in Remote Control and Claude Desktop sessions
  • Fixed messages to cloud and Remote Control sessions being reported as failed with a stale address after a timeout or rate limit; Claude now says when a message may have arrived
  • Fixed cloud sessions giving no error when a UserPromptSubmit hook blocks a message sent while Claude works
  • Fixed failing hooks showing nothing: SubagentStop in background agents, SessionEnd at /clear and /resume, and CwdChanged and FileChanged in fullscreen
  • Fixed a Stop hook that failed to run being shown as having reported a problem
  • Fixed focus view keeping a finished reply hidden while a Stop hook was running
  • Fixed Claude getting a long managed PostToolUse hook output twice when a mod added context to the tool call
  • Fixed /model listing the wrong models in some terminal sessions when a project's .claude/settings.json sets ANTHROPIC_BASE_URL to an LLM gateway
  • Fixed /statusline writing to ~/.claude/settings.json when CLAUDE_CONFIG_DIR points to another folder
  • Fixed claudeMdExcludes patterns on Windows not matching a path whose drive letter is written in the other case
  • Fixed claude agents and claude rm refusing to remove a fully pushed session ("The worktree has unpushed commits") when its worktree has a file or folder named HEAD at the top level
  • Fixed long ListAgents results hiding most sessions on accounts with many cloud or Remote Control sessions: long lists now come in pages
  • Fixed slow turns in resumed sessions for organizations with tens of thousands of connector tool permissions
  • Self-hosted runner: Fixed claude -p started by a session's script or hook waiting out rate limits, because it inherited the session's own retr...

Read more

v2.1.326

Immutable release. Only release title and notes can be modified.

bc1e8a8

What's changed

  • Added support for turning on Code Mode while agent teams are enabled; if you already turned it on, sessions with teams on now start in Code Mode
  • Added a startup warning when an --allowedTools, --disallowedTools or --tools value has an entry that doesn't look like a complete rule
  • Added a message explaining why MCP servers stop loading when an administrator adds managed-mcp.json during a session
  • Added a row to /status that says when your provider or an environment variable such as DISABLE_TELEMETRY turns features off
  • Added a note in /plugin and claude plugin list when a malformed plugin.json field such as author or homepage is ignored
  • Added Ctrl+O to show hidden startup notices
  • Added a hint in the empty prompt that says what to do after a request fails
  • Added an esc to stop footer hint in a subagent's view where Esc would stop it
  • Added OTEL_RESOURCE_INCLUDE_HOST to include host.name and host.id in OpenTelemetry resource attributes (off by default)
  • Added overflowX="scroll" on a mod's Box, and maxLines and wrap="clip" on its Text
  • Fixed cp of a file being refused when only its source was covered by an Edit deny rule
  • Fixed Bash commands that delete or overwrite files (find -delete, cat a > b, sort -o) being summed up in the transcript as a search or a read
  • Fixed a misleading "Dangerous rm operation" warning in the Bash permission prompt on some commands with no rm that Claude Code can't read reliably
  • Fixed background sessions losing the LLM gateway your shell exported after a crash, after a reopen from another folder, or when the background service lacks it: they now stop before any model request
  • Fixed the background service ending your own processes, such as an SSH login, when a process number on its list had been reused by another user's process
  • Fixed rules added in /permissions or at a main-conversation tool prompt, and /add-dir folders, looking saved when the settings file couldn't be written; the terminal now warns and names it
  • Fixed a failed MCP headersHelper, or one not run in an untrusted folder, making other sessions start without that server, for most servers with no stored OAuth refresh token
  • Fixed managed settings with certain key names stopping Claude Code from starting or affecting other managed files
  • Fixed settings files with values nested thousands of levels deep crashing Claude Code or applying only some of the time; values past 64 levels are now dropped with a warning
  • Fixed a settings file saved with an error mid-session being skipped silently; a warning now names the file
  • Fixed the subagent model set in managed settings not applying in Claude Desktop's Code tab; it now overrides your own, as in a terminal, unless those settings also pick a provider or gateway
  • Fixed sandboxed commands failing to start on Linux when the home or config directory is reached through a symlink into /net and sandbox settings deny reads of it
  • Fixed empty placeholder files, including .git/config.lock, sometimes being left in the project on Linux when Claude Code was stopped during a sandboxed command
  • Fixed Up then Enter answering Yes at the folder trust prompt shown under an already trusted parent folder
  • Fixed an extra Enter at the end of setup accepting the offer to make auto mode the default
  • Fixed a message typed over the startup auto mode offer being lost, and its Enter accepting the offer
  • Fixed a note typed on a permission prompt being sent to Claude after Tab had hidden it
  • Fixed PreToolUse hooks in managed settings leaving no OpenTelemetry tool_decision event or permission_denials entry when they refused a direct tool call
  • Fixed letters typed over /sandbox or a delete question in /permissions moving the selection
  • Fixed resumed sessions losing recent turns after a crash when the previous turn ended with an empty reply
  • Fixed resumed sessions losing earlier conversation history when Claude Code ran low on memory
  • Fixed a re-sent file overwriting Claude's changed copy in Remote Control and cloud sessions on Linux with no feature flags loaded: the copy moves to a .kept- folder, or the new file isn't saved
  • Fixed a background session being killed and its request lost when you opened, stopped or removed the older session whose conversation it had resumed
  • Fixed claude purge hiding its prompts when stdout is redirected, where one unseen Enter could delete a project's data; they now show on the terminal
  • Fixed the spend limit menu removing the monthly limit without asking when Backspace and Enter were pressed as it opened
  • Fixed /rewind restoring only some files after running /branch twice while a slow backup copy was still running
  • Fixed /rewind saying "No code changes" when a shell command changed files it can't restore; a turn whose changes weren't tracked now reads "Code changes unknown"
  • Fixed /rewind: Esc now cancels its summary, its list shows more than one past prompt in fullscreen, and a long prompt no longer hides its warning about losing later file changes
  • Fixed Ctrl+C or Ctrl+D twice in /skills quitting Claude Code and dropping changes; it now saves and closes the panel
  • Fixed the usage limit menu erasing your draft and opening while you were typing
  • Fixed pasted text and images being dropped when ↑ recalls a draft cleared with Esc Esc
  • Fixed an edited typed answer to Claude's question sending the old text when you moved on without pressing Enter
  • Fixed going back to a question you answered from its list putting the cursor on the first option, where Enter replaced your answer
  • Fixed /feedback and /bug sending the report when you typed a space on the confirmation screen, and losing the typed report after Ctrl+O or Ctrl+Z
  • Fixed a prompt typed after --add-dir, --allowedTools or another list option being dropped without a message
  • Fixed /plan <description> ignoring the description when plan mode was already on
  • Fixed valid PDFs being dropped from the conversation after the API rejected a different PDF read in the same batch
  • Fixed a session ending after a single failed memory allocation while drawing the screen
  • Fixed compaction on Bedrock, Vertex and Foundry, and with telemetry turned off, sometimes replying to one of your messages instead of summarizing, or leaving Claude's last reply out of the summary
  • Fixed image-heavy sessions on Vertex AI getting stuck on a 400 error about the request size exceeding a 30 MB limit, instead of compacting and retrying
  • Fixed an error when max_tokens exceeded the model's limit: Claude Code now retries the request with the maximum the Anthropic API reports
  • Fixed grep in the Bash tool silently skipping some text files
  • Fixed a crashed Node or Python hook showing only the first line of its stack trace; the error is now shown, and Ctrl+O shows up to 10,000 characters of the output
  • Fixed /goal clear or a new /goal not sticking when typed while Stop hooks were running and background work was still in progress
  • Fixed the automatic session recap being sent after a reply billed to usage credits; /recap still works
  • Fixed auto mode staying on its local classifier, which counts toward usage, because of a stale saved value, such as one from an older Claude Code
  • Fixed "Sign in with your Console account" in /login replacing your Claude subscription login when the browser sign-in used your Claude plan instead of a Console organization
  • Fixed /login ending on "Login successful" while an approved ANTHROPIC_API_KEY was still used; it now says requests still use the key
  • Fixed "Not logged in" staying after turning on the API key in /config; "Not logged in", /login and /status now name an unused ANTHROPIC_API_KEY
  • Fixed claude auth logout leaving credentials behind, and token refresh failing, when only a Console profile's credentials are on a drive that rejects folder timestamps
  • Fixed a past conversation resumed from agent view being sent on the background service's sign-in when the service doesn't have the terminal's API key or token
  • Fixed model requests failing on a one-off authentication error (401) in Claude Desktop's Code tab: they are now sent once more first
  • Fixed forceLoginOrgUUID and forceRemoteSettingsRefresh startup errors telling you to sign in again when a network block page (HTTP 403) was the cause
  • Fixed claude auth login not showing a pasted sign-in code, so a wrong paste couldn't be seen or corrected before Enter
  • Fixed /login and claude setup-token showing nothing after you submit a pasted code; they now show "Finishing sign-in…"
  • Fixed Esc doing nothing while the first-run sign-in waits for the browser or a pasted code; it now goes back one screen
  • Fixed /logout in fullscreen mode exiting without leaving the logged-out message on screen
  • Fixed the shell prompt being drawn over the last screen after quitting with Ctrl+C or Ctrl+D at a sign-in or first-run step
  • Fixed Ctrl+C twice doing nothing on the first-run theme choice, and freezing the terminal on setup screens or a background session at its startup question
  • Fixed your OFF answer to the updated terms being replaced when keys were typed while it was saving, at startup and in /privacy-settings
  • Fixed the /privacy-settings toggle sometimes saving the opposite of what the screen showed on a quick double press, changing your setting on keys pressed after Esc, and not saying when a save failed
  • Fixed /privacy-settings saving your choice on the wrong account after signing in to a different account in another terminal
  • Fixed /privacy-settings saying "set to true" when you picked OFF right after ON
  • Fixed skills and slash commands failing to load in Code Mode under auto mode when an inline ! command needs approval; Claude is now asked to run it
  • Fixed background subagents started in Code Mode failing when they preload a skill with an inline ! command
  • Fixed mods b...

Read more

v2.1.325

Immutable release. Only release title and notes can be modified.

715ff10

What's changed

  • Fixed a security issue in how zstd-compressed responses are decoded
  • Added a spinner tip in VS Code and similar integrated terminals about re-running a notebook cell, shown once Claude has read or edited a Jupyter notebook
  • Added a line under the error shown when your organization's policy blocks a request, saying how to continue: run /rewind and change the message, or run /clear
  • Added a note for Claude when a sandboxed git checkout, git stash or autostash pull cannot update protected files such as those in .claude
  • Fixed /security-review and skills' inline git commands stopping with an error in worktrees of bare repositories, --separate-git-dir checkouts and Android repo checkouts
  • Fixed subagents with their own model being moved to the plan-mode model when the model setting is opusplan or haiku
  • Fixed subagents on a different model sizing file reads and MCP results with the main session's model
  • Fixed sessions on many third-party gateways and Foundry stopping with a context length error on every turn instead of compacting
  • Fixed recent turns sometimes going missing from a resumed session after Claude Code stopped without a clean exit
  • Fixed shell commands running in the launch directory after the working directory was deleted; the command now fails with a message and can be re-issued
  • Fixed an approved plan edit being lost when the plansDirectory folder can't take it: the plan is now saved in the default plans folder, and a warning says where and why
  • Fixed a saved sonnet[1m] model setting being rewritten on a new install to a model id the API rejects
  • Fixed focus view hiding the reply to your prompt when a scheduled task replied after it
  • Fixed the prompt sometimes missing from a background subagent's view when fullscreen is off
  • Fixed long options in lists and permission prompts being partly overwritten when they wrap, and first-run screens losing lines on narrow terminals
  • Fixed startup warnings about permission rules and the "N MCP servers need authentication" notice being recorded as seen when they were scrolled out of view
  • Fixed the welcome header showing control characters or splitting across lines when an agent's name or the working folder contains them or a line break
  • Fixed the red error shown when Claude tries a command only you can run: a dim line now says it runs only when you type it at the prompt
  • Fixed /stats showing an Active days total that was one day too high
  • Fixed /insights saying a report was ready when no session qualified for analysis, and writing two values into its HTML report without escaping them
  • Fixed /voice saying voice mode changed when managed settings, --settings, or the project's .claude/settings.json or .claude/settings.local.json kept it as it was; it now says what holds it
  • Fixed the IDE welcome dialog showing Cmd+Esc for Quick Launch on Windows and Linux
  • Fixed Slack app tips showing when your organization's policy denies cloud sessions
  • Fixed claude purge hanging silently when there is no terminal to read keys from, and its project picker and -i prompts ignoring the keyboard when stdin is piped
  • Fixed claude plugin eval --output-dir '' writing the report into the current folder; it now exits with an error
  • Fixed claude -p text output on a terminal passing control sequences other than text styling; pipes and files are unchanged
  • Fixed leftover .oauth_refresh.lock.owner.tmp.* files piling up in the config directory
  • Fixed /fast saying "Fast mode has been disabled by your organization" under the keyless Console sign-in, where Claude Code had not asked the server
  • Fixed /model saying that your organization restricts a model when Claude Code could not check that, for example with no network
  • Fixed "Sign in with your Console account" in /login replacing your existing login when you pressed Esc right after the browser step
  • Fixed the browser showing the sign-in success page in some cases where sign-in failed or was canceled
  • Fixed claude auth status and other short commands leaving a lock behind on a Console profile, which made the next session hang for about a minute
  • Fixed background sessions started on your claude.ai login using (and billing) an API key or token from the shell that started the background service
  • Fixed more cases of a session moving to another sign-in in the background; these moves are now refused, with a message saying what works
  • Fixed a second Enter in the exit dialog stopping background work after the move to the background was refused
  • Fixed token counting on Amazon Bedrock sending the conversation to Bedrock when the allowedProviders managed setting does not allow it
  • Fixed AWS credential_process helpers and Google Cloud default credentials failing when Claude Code is started without a HOME environment variable
  • Fixed a session sometimes going back to an earlier permission mode after a subagent's plan was approved
  • Fixed one invalid value in an Agent SDK applyFlagSettings() call silently discarding all settings from earlier calls; a call that would do this is now refused with an error
  • Fixed sessions showing as waiting for input when a finished pull request only needed your own review or merge
  • Fixed an unrecognized teammateMode settings value being ignored without a warning: claude -p, the startup warning and claude doctor now list it as a skipped entry (still not applied)
  • Fixed --worktree skipping a WorktreeCreate hook from a plugin in CLAUDE_CODE_PLUGIN_SEED_DIR on the first run in a new home directory
  • Fixed brief-mode sessions, such as Dispatch, sending a reply again after the turn had already replied
  • Fixed Claude saying a working Atlassian, Asana or Sentry connector had failed in cloud sessions when a plugin listed it at a different URL
  • Fixed Claude Desktop and SDK sessions listing a folder's own MCP servers (.mcp.json, local) as host-added or not at all, and not connecting WebSocket ones, after a folder move or pre-warmed start
  • Fixed /mcp still listing a plugin's MCP server after a plugin reload removed it while it was connecting
  • Fixed an MCP server staying "needs authentication", and its mcp_tool hooks being skipped, after a token refresh that was refused only for a moment
  • Fixed MCP elicitation requests being cancelled without asking in headless mode after a server's connection was replaced during a tool call
  • Fixed MCP tool calls from an SDK host answering "Not connected" after a tool call had reconnected the MCP server
  • Fixed an MCP task getting stuck after its question was closed with Esc or asked again: the footer now says it needs your input, and Enter in /tasks shows the question again
  • Fixed background MCP tasks that stopped updating after another call to the same server lost the connection, when a later call reconnects
  • Fixed a background MCP task's question opening over a message you were still typing; it now waits until you send or clear the draft, and the spinner and turn timer keep running
  • Fixed worktree.sparsePaths and sparse plugin and marketplace clones leaving out the repository's root files on older git versions, such as 2.34
  • Fixed self-hosted runner sessions with several repositories being unable to use a repository added mid-session
  • Fixed Claude asking for permission before reading your own artifact or its data
  • Fixed deny and ask permission rules and hooks for the Artifact tool not applying in some cloud sessions
  • Fixed Code Mode scripts ignoring a worktree entered with EnterWorktree, writing ~ paths into the project, and leaving /mcp showing an MCP server as connected after its sign-in expired
  • Fixed words typed with a Yes at a permission dialog or plan approval not reaching Claude in Code Mode
  • Fixed Claude starting work by itself when you resumed a session that ended during a Code Mode script; it now waits for your next prompt
  • Fixed a missing OpenTelemetry user_prompt event for a message sent while tool calls run. The event has delivery.mode: "mid_turn" and the running turn's prompt.id
  • Fixed the OpenTelemetry user_prompt event leaving out earlier messages' text when queued messages merged into one turn in VS Code, or when one message had an image
  • Fixed a slash command's allowed-tools grants applying to background agents woken during or after its turn
  • Fixed /feedback and /bug to upload other sessions only when they were recorded by the signed-in account or organization
  • Fixed relative deny and ask permission rules (e.g. Read(./.env)) no longer covering the project after a cd; they now also apply in added directories
  • Fixed deny and ask permission rules starting with mcp__plugin_*_ missing a plugin's MCP server or tool spelled in another letter case
  • Fixed deny rules not being applied to a permission approval that arrives after Claude Code restarts, in self-hosted runner and claude remote-control sessions
  • Fixed a case where a committed .claude/settings.local.json could be treated as the user's own when Claude Code was started in certain subfolders of a repository
  • Fixed some deny and ask rules not applying to certain Bash commands
  • Fixed a gap in Bash permission checks where some compound commands could run without asking; these now ask for permission
  • Fixed a case where a Bash allow rule could run a different program than the one it names
  • Fixed a connector tool's approval prompt in cloud sessions being answered automatically while plugins were still loading
  • Fixed some subagents changing an artifact that people outside your organization can see, or uploading files to it, without asking first when an allow rule is set or uploads were approved earlier
  • Fixed some artifact publishes skipping the confirmation for pages that people outside your organization can see when "don't ask again" had been chosen for Artifact
  • Fixed auto mode judging only the first change to an artifact that people outside you...

Read more

v2.1.323

Immutable release. Only release title and notes can be modified.

89eb88e

What's changed

  • Added Code Mode, an experimental opt-in in which Claude writes JavaScript to call its tools; see https://code.claude.com/docs/en/code-mode to turn it on, or to turn it off for an organization
  • Added engines["claude-code"] to plugin.json: plugins outside their stated Claude Code version range are not installed, updated or loaded, and install and update pick the newest version that fits
  • Added type checking of a plugin's TypeScript hooks module to claude plugin validate; each finding is a warning, and --strict fails on it
  • Added to claude plugin validate the $ nouns a mod's engine.create hook adds, withholds or replaces
  • Added support for CLAUDE_CODE_AUTO_MODE_MODEL in managed settings for Claude Desktop sessions on third-party providers (takes effect once Claude Desktop includes this version)
  • Added an options menu (stop, switch to usage credits, upgrade) when a model needs usage credits that are turned off or used up
  • Added a progress heartbeat every 30 seconds while hooks run long in claude -p and SDK sessions, so a host such as Claude Desktop won't end the turn as hung (once it includes this version)
  • Added .docx support to Artifact tool asset uploads
  • Added a /diff to close hint to the diff panel, and the keys that focus and close a panel to the ? shortcut guide
  • Added a start-up warning for Bash allow rules with a * in a variable's value, such as Bash(PORT=* npm run dev)
  • Added a warning when a plugin's language server can't start, naming the server and what to check
  • Added a one-time startup notice naming CLAUDE_CODE_PERFORCE_MODE when Perforce settings are found and the mode is off
  • Added CLAUDE_CODE_DISABLE_AGENT_PROGRESS_SUMMARIES (available since 2.1.318): set it to 1 to turn off subagent progress summaries and the requests that write them (#86879)
  • Added CLAUDE_CODE_RESUME_HINT_COMMAND, which a program that starts Claude Code can set to have the exit hint name its own resume command
  • Added unsetOptionCount to the claude plugin install --json result: how many userConfig options are not yet set
  • Added isPromptCovered to the props a mod's pane is drawn with, telling it when a dialog or a field above the prompt covers the prompt
  • Fixed running /compact again, or after a command such as /context, summarizing away a message that Claude had not answered yet
  • Fixed a resumed session joining your next message to an old interrupted message that was not resumed
  • Fixed a memory spike at the next prompt after Claude changed a very large file
  • Fixed a setting saved in a running session undoing a hand edit made to settings.json moments earlier; a settings file you delete during a session now stays deleted
  • Fixed claude plugin commands and claude mcp list signing you out of a Console profile when they ended while the token was being renewed
  • Fixed Edit and Bash running out of memory on certain /proc files, and Edit hanging or running out of memory on devices and named pipes
  • Fixed Claude Code failing to start, or to clear stored credentials at sign-out, when saving its configuration file failed with "Out of memory"
  • Fixed requests sent without streaming failing on errors that streamed requests recover from, such as a rejected image, thinking block or beta header
  • Fixed ExitWorktree, the worktree exit dialog and /resume leaving the session in the wrong folder when the folder the shell was in before entering the worktree had been deleted
  • Fixed accents and other combining marks sometimes landing left of the text, leaving stale copies on screen, or silently disappearing when text wraps
  • Fixed the last key of a key chord, such as Enter in ctrl+x enter, acting on a dialog's text field when the chord's own action isn't available there
  • Fixed ps processes piling up when the process listing Claude Code runs before stopping a command takes too long
  • Fixed subagent transcripts and large tool results being saved apart from the session's transcript after entering a worktree created by a WorktreeCreate hook or belonging to a nested repository
  • Fixed a session on a named Anthropic profile moving to another sign-in when /fork, the Left arrow or --bg continued it in the background; reopen any session that was open during the update
  • Fixed a background session sending a conversation under another sign-in when its named Anthropic profile is missing, changed or overridden; it now stops and says so
  • Fixed a session on an API key, auth token or workload identity from its shell (not a setup token) moving to another sign-in in the background; it now stops and says so
  • Fixed MCP tool calls ending in the sign-in server's error, such as TOKEN_EXPIRED, instead of asking you to sign in again
  • Fixed an expired claude.ai login showing "Credit balance too low" when a saved Console key or ant auth login profile without credit was used instead
  • Fixed a session on a named Anthropic profile being handed to an older background service that could not keep its sign-in; it now says to restart the service
  • Fixed a background session's sign-in leaving the previous account's login or other credentials in place; it now clears them for every session on the computer, and a refused sign-in can leave no login
  • Fixed background sessions moving between a profile and the stored login when an update restarted them
  • Fixed sessions opened before a sign-in keeping signed-out feature flags after the sign-in
  • Fixed sessions that kept failing after a Claude apps gateway sign-in expired: once you sign in again with /login in another terminal, they carry on at the next message
  • Fixed the billing notice naming your ant auth login organization when a custom X-Api-Key header is set
  • macOS: Fixed "Not logged in · Please run /login" coming back right after a successful /login or a token refresh when the keychain was slow to answer
  • Fixed turns failing in Claude Desktop when an organization's gateway answers an expired token with 403: Claude Code now asks Desktop for a fresh token and retries
  • Fixed the error shown when Amazon Bedrock refuses your account a model: it no longer says to refresh your AWS credentials, it says to enable the model
  • Fixed the awsAuthRefresh or gcpAuthRefresh command sometimes running twice for one request when three or more sessions needed a fresh sign-in at once
  • Fixed the claude -p warning about an ended claude.ai login to say that claude auth logout also removes saved MCP server logins and plugin secrets
  • Fixed Bash permission prompts offering "don't ask again" for commands that write to sensitive paths such as .git or .claude, where the saved rule did not stop the next prompt
  • Fixed a case where some lsof commands ran without a permission prompt
  • Fixed Bash commands that write a file with cat > file <<EOF being shown as "Read 1 file"
  • Fixed a case where Bash permission checks judged an rm from the wrong folder and skipped the dangerous-removal prompt under bypass permissions or a Bash allow rule
  • Fixed --permission-mode auto or a settings defaultMode: auto starting in a mode that could allow more when auto mode was unavailable. It now starts in Manual mode, which asks first
  • Fixed plan files sometimes being written outside the project when plansDirectory is set; a write that can't be shown to stay inside the project is now refused
  • Fixed a permission prompt when Claude read the output of its own background command or agent after entering a worktree
  • Fixed a case where Bash permission checks missed part of a command
  • Fixed a case where the Bash sandbox could switch off during a session
  • Fixed Bash allow rules with an attached wildcard, such as Bash(ls*), skipping the permission prompt in some cases; a rule that names a variable, such as Bash(NODE_ENV*), now asks
  • Fixed auto mode running behind a gateway at ANTHROPIC_BASE_URL on a model whose gateway name contains "haiku"; such a model, other than claude-haiku-5-5, is now refused, as Haiku 4.5 is
  • Fixed Bash deny and ask rules missing some commands run through sudo, env and similar wrappers
  • Fixed Bash allow rules written with combined sudo flags skipping the permission prompt in some cases
  • Fixed sandbox.excludedCommands letting a command that it does not name run outside the sandbox in some cases
  • Fixed a case where the Write and Edit tools could write to a path covered by a Read deny rule
  • Fixed a case where a Bash command ran without a permission prompt for zsh users with certain non-default shell options set
  • Fixed the Bash sandbox not fully protecting Claude Code's own config on installs still using the legacy config file
  • Fixed a permission prompt from a mod's tool.check hook naming every plugin hooked on the tool instead of the one that asked
  • Fixed sandboxed commands being able to read Claude Code's file checkpoint copies under the config directory
  • Fixed a rewind sometimes changing your permission mode
  • Fixed project settings sometimes being read through a symbolic link that leads to a different folder than the one Claude Code checked
  • Fixed HTTP hooks failing with HTTP 500 on Linux when CLAUDE_CODE_SUBPROCESS_ENV_SCRUB is set and sandbox.enabled is off
  • Fixed claude -p and the Agent SDK running Bash unsandboxed when --settings or SDK settings that turn the sandbox on fail validation; Claude Code now stops at start-up and names the invalid setting
  • Fixed /export silently stopping early after a long run of calls to an MCP tool that is no longer loaded
  • Fixed earlier MCP tool calls missing from a resumed conversation, and lines repeating in scrollback, when the server connects late
  • Fixed claude mcp add --help splitting long example commands across lines in narrow terminals and pipes, so a pasted example ran without its header
  • Fixed plugins with defaultEnabled: false staying off in a claude.ai chat's cloud session after you turn them on in c...

Read more