Follow Discord

Claude Code v2.1.326

858 entries read Grouped into 773 v2.1.325 → v2.1.326 Mods API: +120 added · 3 removed · 30 changed · 64 docs only Markdown JSON Follow Unofficial

You can now post a message from a cloud session into a Claude Project with /send-to-project, after you check it and confirm. Agent SDK apps can send MCP server settings over stdin with the new mcpServersDelivery option. The old command-line way of passing them now shows a warning. The new CLAUDE_CODE_NEW_RENDERER environment variable chooses whether Claude Code draws the screen with a new terminal renderer. Self-hosted runners gain a --use-anthropic-gh flag that gives sessions a built-in gh api for GitHub, on by default. Headless start-up now also reads CLAUDE_CODE_MCP_PREWAIT_SERVERS_MS_BY_NAME, which appears to set a wait time for each named MCP server.

This release has 71 entries in the build that are not switched on yet, and a part of them is named here. Claude Code can refuse a prompt that is too big for the model's context window before it is sent. It can start uploading the unchanged start of a long conversation while you are still typing. Bash commands can be capped on how many processes they start, so a runaway command cannot fill the container. A message waiting in the queue can cut short work in progress. A reworked screen renderer with inline and fullscreen modes sits behind an option.

In headless mode, an interrupt now marks a cut-off turn as stopped instead of running it again. Apps that start Claude Code through the SDK now get the MCP servers that come with managed settings. Files attached to a prompt that is quietly resent are now fetched again. Session files now count checkpoints and can repair more than one partly written ending. The Workflow tool no longer accepts a runId to act on an existing run.

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

Five to try today

Picked from 25 you can use now
  1. PreToolUse hook matchers gain a whenUnanswered setting for SDK hosts

    SDK hosts can set whenUnanswered on a PreToolUse hook matcher to control what happens to a tool call nobody answers

    Sessions & agents
  2. Apps built on the SDK can send MCP servers at startup instead of on the command line

    SDK apps can hand MCP servers to Claude Code in the initialize request with mcpServersDelivery, and the SDK checks mcp_servers_applied in reply

    Sessions & agents
  3. Self-hosted runner offers a built-in gh api and renews tool-server tokens

    The self-hosted runner gains --use-anthropic-gh, on by default, which offers sessions a built-in gh api, and it can now keep tool-server tokens renewed

    Elsewhere
  4. Office file uploads can include a kept PDF preview in sandboxed deployments

    New SANDBOX_OFFICE_PDF_DIR and SANDBOX_OFFICE_PDF_SEND variables let .docx and .pptx uploads attach a kept PDF preview, and join the host-owned env var list

    Elsewhere
  5. A new terminal renderer can be chosen with CLAUDE_CODE_NEW_RENDERER

    A new environment variable, CLAUDE_CODE_NEW_RENDERER, chooses whether Claude Code draws the screen with a new terminal renderer

    Interface

Want the reasoning? Read walks the 55 entries that probably matter to you, each one opening to what changed and why.

Read this release → Every row →
142 of 773 shownClear
Reading as
Show only
Who it's for
Tier
Flag state
Names
Pick an entry · j / k steps through · rest on a row to peek
4 entries here

What probably matters to you

Anything you can use today, anything that visibly changes, and anything worth poking at. One line each, open for detail.

Were these the right ones to put at the top? 0 answered
Below the fold

Everything else

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

134 entries here

Improvementsopen

8 more of these are in What probably matters to you, above.

↑Improved
You'll notice
Useful3 Signal3
Permissions unclear

Permission checks can now include the full text of your CLAUDE.md files#

The server-side permission check can now receive the full text of your CLAUDE.md instruction files, and retries without them if the server refuses

Unclear It is not clear when Claude Code actually includes the CLAUDE.md text in the check.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal3
Permissions unclear

A permission layer can now cap the mode and turn off bypass#

A new permission layer can limit the permission mode and block bypass, some contexts deny tool calls instead of asking, and a setting replaces a fixed mode

Unclear It is not clear what sets the new mode cap layer or which sessions run in the contexts that deny instead of asking.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal3
Hooks unclear

Plugin hooks get their own check when hooks are locked by policy#

When hooks are locked by a policy, hooks that come from plugins are no longer turned off outright and go through a plugin check instead

Unclear Which policy setting turns on this lock, and what the plugin check allows through, is not clear.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal3
Hooks no docs found unclear

Plugin hooks can block or rewrite a subagent before it starts#

Starting a forked subagent now runs a plugin hook that can deny it or change its prompt and description

Unclear It is not clear whether plugins can use this hook in normal Claude Code sessions.

Details 0 0 Feedback
subagent_spawn_denied_by_hook
↑Improved
You'll notice
Useful2 Signal2
Group of 2 MCP no docs found unclear

MCP requests and sign-in refuse addresses that are not http or https#

MCP requests, redirects and token revocation now refuse non-http(s) addresses, and sign-in-only servers that are held refuse to start sign-in

Unclear It is not clear which of the two protections depends on the off-by-default remote switch.

Details 0 0 Feedback
tengu_mossy_gable
↑Improved
You'll notice
Useful2 Signal2
Group of 3 Gateway no docs found unclear

Claude Code holds back your own sign-in when your organization's gateway won't accept it#

Behind an organization gateway that refuses personal Anthropic sign-in, Claude Code now holds the login back and says why, with a hybrid_gateway reason

Unclear It is not clear what Claude Code counts as a gateway address, so readers cannot tell whether their setup is affected.

Details 0 0 Feedback
hybrid_gateway
↑Improved
You'll notice
Useful2 Signal2
Group of 2 MCP unclear

Organisation connector settings can now block MCP servers on open connections#

Claude Code now refuses messages to and from an MCP server when your organisation's connector settings block it or have not finished checking it

Unclear Whether this check is switched on, and what turns it on, is not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
MCP unclear

Connector calls flagged as needing approval now ask you first#

When a connector call is flagged as needing approval, Claude Code now asks you before running it, and refuses if you deny it

Unclear Which sessions show this prompt, and whether it is switched on for everyone, is not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
Self-Hosted Runners no docs found unclear

Self-hosted runners using an agent proxy stop at startup if git is too old#

A self-hosted runner with an agent proxy now stops at startup if git is too old, unless --no-clone-through-agent-proxy is used

Unclear The minimum git version required is not stated.

Details 0 0 Feedback
SELF_HOSTED_RUNNER_AGENT_PROXY_URL
↑Improved
You'll notice
Useful3 Signal2
Git unclear

Claude Code skips its own git checks in repositories with unsafe settings#

A new safety check can skip Claude Code's own git status runs when a repository's git settings look unsafe, behind a remote switch

Unclear Whether this protection is switched on depends on a remote setting whose state has not been read.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
Plugins unclear

Required plugins can get through a managed-plugins-only policy#

Under a policy that allows only managed plugins, Claude Code can now let some required plugins load even when they are not managed

Unclear It is not clear when this applies or which required plugins it lets through.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
Worktrees unclear

Claude is stopped from running git commands that could move your branches#

Claude Code can now flag git commands like update-ref, reflog or filter-branch that, run from a worktree, could change your own branches

Unclear It is not known whether the check is switched on by default, so it may not be active for you.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
Permissions unclear

/add-dir can ask you to confirm a folder before adding it#

/add-dir now checks the folder you name and, for some folders, asks you to confirm before adding it as a working directory

Unclear Which folders are flagged and trigger the confirmation is not stated.

Details 0 0 Feedback
/add-dir
↑Improved
You'll notice
Useful3 Signal2
REPL Tool

REPL scripts can no longer load modules#

Scripts run by the REPL tool that try to load a module now fail with a message pointing to the tool functions instead

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
Chrome unclear

Claude in Chrome can refuse a browser action if the tab moved to another site#

Claude in Chrome can now withhold a result or refuse to send an action when the tab is not on the site the action was checked against

Unclear Whether this safeguard is switched on depends on a remote switch whose state is not known.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
Sessions unclear

Rewinding a conversation can stop the background commands it removes#

When you rewind, Claude Code can stop background shell commands started by the removed steps, if a remote setting allows it

Unclear It is not known whether the server setting that turns this on is on for any account.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Elsewhere unclear

Restarting a background job fails if its gateway can no longer be reached#

When a background job is restarted, Claude Code now checks the gateway is reachable and fails with gateway_lost if it is not, keeping the queued prompt

Unclear What decides whether this check runs at all is not known.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Plugins unclear

Plugin language servers and output styles are now filtered by name#

Language servers and output styles supplied by plugins are now checked one name at a time, and plugin scans record shader modules and WASM digests

Unclear What decides which language server or output style names are let through is not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Cloud Sessions no docs found unclear

Starting a cloud session stops if it cannot use the sign-in it began on#

Some cloud sessions now refuse to start, with a login_not_in_use error, when they cannot use the sign-in they began on

Unclear Which ways of starting a cloud session are subject to the new check is not stated.

Details 0 0 Feedback
login_not_in_use
↑Improved
You'll notice
Useful2 Signal2
Hooks unclear

A hook's rewritten tool input is not applied in one case#

In one case, a tool input rewritten by a permission hook marked to be kept is now skipped instead of applied

Unclear The setting that decides this case, and what marking a rewrite as kept means, are not shown.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Permissions unclear

A new safety check can block some file path operations#

A new safety check can now refuse permission for a file operation, and automatic approval cannot override it

Unclear What makes this safety check stop an operation is not known.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Chrome unclear

Claude in Chrome permission checks changed#

The Claude in Chrome permission check gained new cases, and reading a tab's address now uses fixed time limits

Unclear It is not clear in which situations you will now be asked, or not asked, for permission.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Auto Mode unclear

Starting in auto mode no longer checks for HIPAA restrictions#

The check that decides whether a session can start in auto mode no longer holds it back for HIPAA reasons; only whether auto mode is enabled counts

Unclear It is not clear whether the HIPAA restriction on auto mode was removed or moved to another check.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Skills unclear

Skills must now pass an extra check before Claude Code offers them#

Skills now need to pass an extra check to be enabled, and the plugin marketplace skips skills that fail a source and name check

Unclear It is not stated what the new check looks at, so it is unclear which skills it removes.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Plugins unclear

Plugin MCP servers and agents must now pass a per-source permission check#

MCP servers and agents brought by plugins are now checked against a per-source permission, and those that fail are skipped

Unclear It is not stated what the check enforces or where its rules come from, so it is unclear which servers and agents it blocks.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Worktrees unclear

Worktree agents are refused git commands that change your own checkout#

An agent working in its own worktree is now refused git commands that would rewrite what the worktree shares with your checkout

Unclear Which git commands count as rewriting shared state is not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Artifacts no docs found

Reading Artifact comments falls back to on#

Reading comments on an Artifact now stays enabled when the server sends no setting, instead of returning a disabled result

Details 0 0 Feedback
tengu_onyx_sluice
↑Improved
You'll notice
Useful2 Signal2
Permissions unclear

Deny rules are checked again after a tool's input is changed#

Claude Code now checks deny rules before a permission decision, and can check them again on input that was changed after approval

Unclear It is not clear under what conditions the second check on the changed input runs.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
MCP unclear

MCP requests to addresses that can't be checked are handled differently#

When an MCP server address can't be checked, Claude Code no longer stops with an error and instead records the check as failed

Unclear It is not clear whether requests to these addresses are still refused or are now allowed through.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal2
Elsewhere unclear

The REPL no longer stops with a module-loading error#

Claude Code's REPL no longer raises "Module loading is not available in REPL" when code tries to load a module

Unclear It is not clear whether modules can now be loaded in the REPL or are blocked somewhere else.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal1
Loops unclear

Esc and Ctrl-C can now cancel a pending /loop wakeup or usage-limit wait#

Esc and Ctrl-C now follow a fixed set of rules that include cancelling a waiting /loop run or a wait for a usage limit to reset

Unclear It is not clear which of these Esc and Ctrl-C behaviours are different from the previous build.

Details 0 0 Feedback
/loop
↑Improved
You'll notice
Useful2 Signal1
Group of 2 Hooks unclear

HTTP hooks: managed-settings allowlist precedence and dropped length headers#

HTTP hook allowlists in other settings files no longer apply to managed hooks, and Content-Length and Transfer-Encoding headers are ignored with a warning

Unclear It is not clear whether Claude Code now behaves this way or only the setting descriptions changed.

Details 0 0 Feedback
httpHookAllowedUrlshttpHookAllowedEnvVars

Continues on page 2 →

Verbatim
Official · Anthropic

Anthropic’s official release notes

Published verbatim by Anthropic for v2.1.326. 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 367 bullets, 107 name something an entry on this page also names, 76 name something no entry here does, and 184 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.

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

System prompt

2 of 30 tool descriptions changed. 2 of 28 tool schemas changed.

Claude Code, interactive mode

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

Documentation

What the docs did around this release

528 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.

Switches

Every name in this release

The 290 literal strings found in the bundle, with the number of entries that name each one. Picking one searches for it. A name is here because this build's code mentions it, which is not the same as it working or being finished.

Slash commands

CLI flags

Environment variables

Settings and names in the code

Feedback