Follow Discord

Claude Code v2.1.325

3 entries read Grouped into 2 v2.1.324 → v2.1.325 Markdown JSON Follow Unofficial

Double-quoted parts of a command are now told apart from unquoted parts. Claude Code reads shell-style commands by splitting them into pieces. That step now records the real quote mark around each piece. Before this fix, a double-quoted piece was not kept separate correctly. Commands that mix quoted and unquoted text should now be read the way you wrote them.

Written by our agent from the shipped bundle, not by Anthropic.

Want the reasoning? Read walks every section of this release, each entry opening to what changed and why.

Read this release → Every row →
2 of 2 shownClear
Reading as
Show only
Who it's for
Tier
Pick an entry · j / k steps through · rest on a row to peek
Below the fold

Everything else

Smaller changes and internals, grouped as the pipeline found them. Nothing is dropped, it is only further down.

1 entry here

Bug Fixesopen

✓Fixed
You'll notice
Useful2 Signal2
Group of 2 Elsewhere unclear

Command parser now keeps track of which quote each piece of an argument used#

A fix in how Claude Code splits command text into quoted and unquoted pieces, so double-quoted parts may now be recognised correctly

Unclear It is not clear which feature relies on this parser, such as permission checks or file path detection, so the visible effect for a user is unknown.

Details 0 0 Feedback
1 entry here

Internal Changesopen

·Internal
You'll notice
Useful2 Signal1
Elsewhere

Version number moves to 2.1.325#

The built-in version, build time and build ID were updated to 2.1.325, with no change in behaviour

Details 0 0 Feedback
Verbatim
Official · Anthropic

Anthropic’s official release notes

Published verbatim by Anthropic for v2.1.325. Text is unmodified from the upstream changelog. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

Of these 139 bullets, 0 name something an entry on this page also names, 74 name something no entry here does, and 65 name nothing specific enough to line up either way. The pairings are made on names both sides wrote down, a flag or a setting or a slash command, so read one as probably the same thing rather than as a fact, and read the middle number as candidates rather than as a miss count.

  • Fixed a security issue in how zstd-compressed responses are decoded Nothing to match on
  • 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 Nothing to match on
  • 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 No entry names this
  • Added a note for Claude when a sandboxed git checkout, git stash or autostash pull cannot update protected files such as those in .claude No entry names this
  • 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 No entry names this
  • Fixed subagents with their own model being moved to the plan-mode model when the model setting is opusplan or haiku Nothing to match on
  • Fixed subagents on a different model sizing file reads and MCP results with the main session's model Nothing to match on
  • Fixed sessions on many third-party gateways and Foundry stopping with a context length error on every turn instead of compacting Nothing to match on
  • Fixed recent turns sometimes going missing from a resumed session after Claude Code stopped without a clean exit Nothing to match on
  • 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 Nothing to match on
  • 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 No entry names this
  • Fixed a saved sonnet[1m] model setting being rewritten on a new install to a model id the API rejects No entry names this
  • Fixed focus view hiding the reply to your prompt when a scheduled task replied after it Nothing to match on #105280[BUG] Scheduled task turn hides the previous answer in focus mode Open
  • Fixed the prompt sometimes missing from a background subagent's view when fullscreen is off Nothing to match on
  • Fixed long options in lists and permission prompts being partly overwritten when they wrap, and first-run screens losing lines on narrow terminals Nothing to match on
  • 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 No entry names this
  • 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 Nothing to match on
  • 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 Nothing to match on
  • Fixed /stats showing an Active days total that was one day too high No entry names this
  • Fixed /insights saying a report was ready when no session qualified for analysis, and writing two values into its HTML report without escaping them No entry names this
  • 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 No entry names this
  • Fixed the IDE welcome dialog showing Cmd+Esc for Quick Launch on Windows and Linux Nothing to match on
  • Fixed Slack app tips showing when your organization's policy denies cloud sessions Nothing to match on
  • 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 No entry names this
  • Fixed claude plugin eval --output-dir '' writing the report into the current folder; it now exits with an error No entry names this
  • Fixed claude -p text output on a terminal passing control sequences other than text styling; pipes and files are unchanged No entry names this
  • Fixed leftover .oauth_refresh.lock.owner.tmp.* files piling up in the config directory No entry names this #108764Windows: .oauth_refresh.lock.owner.tmp.* files accumulate in ~/.claude Open
  • 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 No entry names this
  • Fixed /model saying that your organization restricts a model when Claude Code could not check that, for example with no network No entry names this
  • Fixed "Sign in with your Console account" in /login replacing your existing login when you pressed Esc right after the browser step No entry names this
  • Fixed the browser showing the sign-in success page in some cases where sign-in failed or was canceled Nothing to match on
  • 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 No entry names this
  • 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 Nothing to match on
  • 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 Nothing to match on
  • Fixed a second Enter in the exit dialog stopping background work after the move to the background was refused Nothing to match on
  • Fixed token counting on Amazon Bedrock sending the conversation to Bedrock when the allowedProviders managed setting does not allow it No entry names this
  • Fixed AWS credential_process helpers and Google Cloud default credentials failing when Claude Code is started without a HOME environment variable No entry names this
  • Fixed a session sometimes going back to an earlier permission mode after a subagent's plan was approved Nothing to match on
  • 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 No entry names this
  • Fixed sessions showing as waiting for input when a finished pull request only needed your own review or merge Nothing to match on
  • 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) No entry names this #102881[BUG] teammateMode in settings accepts any value with no warning, while --teammate-mode and permissions.defaultMode reject bad values Open
  • Fixed --worktree skipping a WorktreeCreate hook from a plugin in CLAUDE_CODE_PLUGIN_SEED_DIR on the first run in a new home directory No entry names this
  • Fixed brief-mode sessions, such as Dispatch, sending a reply again after the turn had already replied Nothing to match on #94397[BUG] Remote Control (mobile): every assistant reply is rendered twice — the brief-mode reminder makes the model restate it via SendUserMessage Open
  • Fixed Claude saying a working Atlassian, Asana or Sentry connector had failed in cloud sessions when a plugin listed it at a different URL Nothing to match on
  • 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 No entry names this #107179[Desktop app / Code tab] Project .mcp.json MCP servers are killed after the first turn in pre-warmed (spare) sessions and never restarted Duplicate #104833MCP servers from project/local scope removed on 2nd message in sessions opened from a pre-warmed "spare" (Desktop, Windows) Duplicate #107060[Desktop] Project `.mcp.json` server is stopped after the first turn in sessions started from a pre-warmed spare, and never comes back Duplicate #104895[Desktop] Project and local MCP servers are torn down at the first turn end of sessions claimed from a pre-warmed spare Open
  • Fixed /mcp still listing a plugin's MCP server after a plugin reload removed it while it was connecting No entry names this
  • 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 No entry names this
  • Fixed MCP elicitation requests being cancelled without asking in headless mode after a server's connection was replaced during a tool call Nothing to match on
  • Fixed MCP tool calls from an SDK host answering "Not connected" after a tool call had reconnected the MCP server No entry names this
  • 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 No entry names this
  • Fixed background MCP tasks that stopped updating after another call to the same server lost the connection, when a later call reconnects Nothing to match on
  • 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 Nothing to match on
  • Fixed worktree.sparsePaths and sparse plugin and marketplace clones leaving out the repository's root files on older git versions, such as 2.34 No entry names this
  • Fixed self-hosted runner sessions with several repositories being unable to use a repository added mid-session Nothing to match on
  • Fixed Claude asking for permission before reading your own artifact or its data Nothing to match on
  • Fixed deny and ask permission rules and hooks for the Artifact tool not applying in some cloud sessions Nothing to match on
  • 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 No entry names this
  • Fixed words typed with a Yes at a permission dialog or plan approval not reaching Claude in Code Mode Nothing to match on
  • 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 Nothing to match on
  • 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 No entry names this
  • 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 No entry names this
  • Fixed a slash command's allowed-tools grants applying to background agents woken during or after its turn No entry names this
  • Fixed /feedback and /bug to upload other sessions only when they were recorded by the signed-in account or organization No entry names this
  • 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 No entry names this
  • Fixed deny and ask permission rules starting with mcp__plugin_*_ missing a plugin's MCP server or tool spelled in another letter case No entry names this
  • 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 No entry names this
  • 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 No entry names this
  • Fixed some deny and ask rules not applying to certain Bash commands Nothing to match on #107987Read deny rule stops applying to cat/sed/head when the same Bash command uses $?, $$ or ${#…} Open
  • Fixed a gap in Bash permission checks where some compound commands could run without asking; these now ask for permission Nothing to match on
  • Fixed a case where a Bash allow rule could run a different program than the one it names Nothing to match on
  • Fixed a connector tool's approval prompt in cloud sessions being answered automatically while plugins were still loading Nothing to match on #99453Connector tool permission "Needs approval" is ignored in Projects (beta) cloud thread sessions Open
  • 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 Nothing to match on
  • 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 No entry names this
  • Fixed auto mode judging only the first change to an artifact that people outside your organization can see; its yes now covers that change alone Nothing to match on
  • Fixed a managed strictPluginOnlyCustomization lock on agents and skills not taking effect in sessions that were already running No entry names this
  • Fixed sandboxed commands being able to write to the native updater's download folder in some cases Nothing to match on
  • Fixed a case where the Bash sandbox did not fully protect a worktree's settings and hooks Nothing to match on
  • Fixed a case where the Bash sandbox did not fully protect a linked worktree's shared git folder Nothing to match on
  • Fixed /teleport's stash choice in some unusual git states: it now stops and says what to do No entry names this
  • Windows: Fixed a start-up stall that could last about a second when a PATH entry sits under a folder your account cannot open Nothing to match on
  • Fixed /resume on Windows refusing or hiding sessions whose folder was recorded with a different drive-letter case or slashes No entry names this #108918[BUG] Desktop app (Code tab, Windows): /resume can't open sessions created in the VS Code extension ("folder not trusted") because of drive-letter case (c:\ vs C:\) Open
  • Fixed an in-session /resume on Windows dropping a project's saved trust when the session was recorded with a different drive-letter case No entry names this
  • Linux: Fixed sandboxed Bash commands failing with bwrap: Can't create file when the working directory was below an allowRead folder inside a denyRead, such as under a symlinked home directory No entry names this
  • Fixed Claude Desktop's third-party deployments staying on "Stopping" until a token renewal finished (once it includes this version) No entry names this
  • Improved subagents cut off at the output token limit: they are now asked for the whole answer again, more briefly, instead of returning only its end Nothing to match on
  • Improved startup with a keyless Console sign-in or other Anthropic profile login: a token that is still valid is read without waiting for the credentials lock Nothing to match on
  • Improved the account email check: it now also refuses your email as a client's identity in scripts a command runs, file writes, web fetches and MCP calls Nothing to match on
  • Improved the HTTPS authentication failed message for private plugin marketplaces: it now says git's terminal prompts and askpass programs are disabled, and it also appears with newer git versions No entry names this
  • Improved the add-marketplace confirmations, plugin recommendation prompts and plugin install warning to say that plugins can run code on your computer, with access to your files and shell Nothing to match on
  • Improved the claude --desktop sign-in error to name the API key, provider or setting that stops a Claude account sign-in from working No entry names this
  • Improved the /voice "No audio detected" message on macOS and Windows: it now says where to pick your microphone No entry names this
  • Improved MCP tasks: Claude is now told when a task is waiting for your answer, and can point you to /tasks No entry names this
  • Improved claude remote-control: it now exits with status 4 when it stops by itself (single-session runs still exit 0) and 69 when it can't register, so a service manager can start it again No entry names this
  • Improved the messages shown when a background session can't use its session's API key or token: they no longer suggest adding the key to settings Nothing to match on
  • Improved the bundled dataviz skill's part-to-whole advice for static images and for parts with a natural order, such as age bands Nothing to match on
  • Changed sandboxed Bash commands to follow the normal permission flow by default; set sandbox.autoAllowBashIfSandboxed: true to keep running them without prompts No entry names this
  • Changed managed settings that turn the sandbox on: to keep commands running without prompts, set sandbox.autoAllowBashIfSandboxed: true in your highest-ranking managed source No entry names this
  • Changed read-only git commands to ask first in a repository that isn't the project's or one you trusted; name it with --add-dir, not the additionalDirectories setting, to run them without prompts No entry names this
  • Changed scheduled tasks and /loop to ask before running a skill that declares allowed-tools or hooks; add Skill(name) to permissions.allow to run it unattended No entry names this
  • Changed "Always allow" in Desktop, IDE and SDK hosts: a rule alone is offered only when saving it would allow that command again, so a scheduled task that relied on one can now wait for you No entry names this
  • Changed the sandbox to refuse sandboxed writes to .claude settings, skills, agents, commands and hooks in added directories, as it does in the launch folder Nothing to match on
  • Changed worktree isolation: an isolated worktree session or agent is now refused git bisect run, git maintenance register|start and scalar's set-up commands, and is told what still works No entry names this
  • Changed plugin MCP bundles (.mcpb, .dxt) to unpack under the plugins directory, not .mcpb-cache in the plugin's folder, so read-only plugin folders load; one fetched by URL downloads again once No entry names this
  • Changed plugins of a remote marketplace that managed settings declare, enable and list in prependPlugins or appendPlugins to count as the organization's; pluginDigests is deprecated and ignored No entry names this
  • Changed plugin loading to skip, and claude plugin validate to report, some unsafe paths and links in a plugin's folder No entry names this
  • Changed nested skill loading: .claude/skills folders in --plugin-dir plugins no longer load from a session started above them; start Claude Code in the plugin folder instead No entry names this
  • Changed EnterWorktree to refuse a WorktreeCreate hook path that goes through a symlink inside the project; have the hook print the real path No entry names this
  • Changed tmux and iTerm2 teammates, and new sessions from the agents view opened with ←, to start in the session's folder instead of where the shell last ran cd Nothing to match on
  • Changed prompt suggestions in the terminal to refresh less often after 8 turns in a row started by background or scheduled tasks, saving usage until you press a key or return to the terminal Nothing to match on
  • Changed Esc on a background MCP task's question to "answer later": nothing is sent to the server, and the question stays in /tasks No entry names this
  • Changed CLAUDE_CODE_MAX_CONTEXT_TOKENS to also set the context window of unrecognized model IDs that start with claude-, such as a gateway's claude-sonnet-latest No entry names this
  • Changed /login to ask for permission to change your privacy settings No entry names this
  • Changed /cost, $.session.usage(), --max-budget-usd and the cost and token metrics to count a mod's $.model.complete and $.model.classify calls No entry names this
  • Changed the programs that Claude Code's sandbox starts for its own use, such as its network bridge, to run without Claude Code's sign-in tokens and API keys in their environment Nothing to match on
  • Changed ripgrep, local git commands and the sandbox runtime's own helper programs to run without the mTLS client key's passphrase in their environment Nothing to match on
  • Remote Control: Changed /resume and /teleport to disconnect first when the connected session has a share link, or when that can't be checked; run /remote-control to connect again No entry names this
  • Changed Claude Code on the web, cloud scheduled tasks and Cowork cloud sessions to start despite sandbox.failIfUnavailable: the hosted container has no command sandbox No entry names this
  • Changed requests for settings, permission rules, hooks or status over a cloud or self-hosted session's connection to return less or be refused; what applies in the session is unchanged Nothing to match on
  • Changed claude -p with no cached account data to wait for that data before its first request, so a first run in a clean environment can start a few seconds later No entry names this
  • Changed Claude's instructions to keep files you'll want out of its temporary scratchpad folder, which can be cleared Nothing to match on
  • Changed marketplace ref to accept the full ID of any commit on a branch or tag; clients before this version can't clone such a pin, so a marketplace pinned this way stops loading there Nothing to match on
  • Changed plugin marketplace and plugin downloads to use a CONNECT tunnel when ALL_PROXY is the only proxy set; a proxy that refuses CONNECT now fails them No entry names this
  • Changed -p and SDK runs in a worktree or submodule mounted into a container to apply .claude/settings.local.json allow rules only once the folder is trusted No entry names this
  • Changed self-hosted runners to refuse a session whose session folder or repository path is a symbolic link, other than a checkout hook's checkout Nothing to match on
  • Removed "ask your admin to raise it" from spend limit and shared budget errors in cloud sessions and under Remote Control No entry names this
  • [VSCode] Added prompt suggestions wherever the terminal shows them: Tab accepts the suggested next prompt; promptSuggestionEnabled: false in Claude Code's settings.json turns them off No entry names this
  • [VSCode] Added a Console sign-in that creates no API key Nothing to match on
  • [VSCode] Added a field to paste the redirect URL when signing in to an MCP server from the panel in SSH, WSL and container windows Nothing to match on
  • [VSCode] Fixed the model picker's check mark staying on the old model after Claude Code restarted on another model or the model was switched over Remote Control Nothing to match on
  • [VSCode] Fixed the effort selector offering levels above the effort cap set by your organization or the maxEffortLevel setting No entry names this
  • [VSCode] Fixed the sign-in screen offering sign-ins that the managed allowedProviders setting refuses No entry names this
  • [VSCode] Fixed the permission prompt for MCP tools not saying why Claude Code asks when a safety check raises the question Nothing to match on
  • [VSCode] Fixed the message for organization settings that couldn't load saying to run a command again; it now says to try again, matching the tab's Retry link Nothing to match on
  • [VSCode] Improved the note shown for an untrusted folder: it now says why the extension is off and how to turn it on Nothing to match on
  • [VSCode] Improved the error shown when the system refuses to run Claude Code: it now says your IT team can allow a blocked program Nothing to match on
  • [VSCode] Improved the sign-in card to say what to do when the browser shows a connection error for localhost Nothing to match on
  • [VSCode] Changed the install link's marketplace confirmation button to "Trust marketplace and continue" No entry names this
  • [Claude Code on the web] Fixed new cloud sessions cutting MCP tool descriptions loaded through tool search at 4,096 characters; the limit is now 16,384, as in other Claude Code sessions Nothing to match on
  • [Claude Tag] Fixed artifact links pasted in Slack getting no card when the poster's Claude sign-in had expired in a workspace their organization doesn't manage; a plain card now appears Nothing to match on

A model matched these bullets to the GitHub issues they fix, so a link can be wrong.

System prompt

No change to the system prompt since v2.1.324.

Claude Code, interactive mode

No prompt capture for v2.1.325, so this release's prompt surface is unknown.

Documentation

What the docs did around this release

913 documentation changes were recorded within 24 hours either side of this release, nearest first. The closest 12 are below. They're here because they happened near this release in time. That's not a claim that this release caused the edit, or that the page documents anything in it.

Feedback