Follow Discord

Claude Code v2.1.327

584 entries read Grouped into 528 v2.1.326 → v2.1.327 Mods API: +0 added · 0 removed · 0 changed · 3 docs only Markdown JSON Follow Unofficial

Self-hosted runners started with --nested-model-access can now share their model access with a Claude Code launched inside a session, within a call budget and a model list. SDK hosts can pass the new --initialize-fields flag to send settings and disallowedTools in the startup request instead of as command-line flags. With that flag set, Claude Code refuses to start if the promised settings never arrive. Apps that embed Claude Code can hand over sign-in details when a session starts with CLAUDE_CODE_HOST_AUTH_ASK_AT_START. Tool output from claude mcp serve used to be always on and is now off unless CLAUDE_CODE_MCP_SERVE_TOOL_OUTPUT is true. Of this release's 528 entries, 370 are shipped and usable today.

Some of the 40 features in this build are not switched on yet. Web search has a new path that returns cleaned-up plain page text to the model instead of the usual results. A new web search instruction caps quotes from any one page at 125 characters and bans song lyrics. Claude can point SharePoint uploads at a local file up to 4 MB, behind a remote switch. A new auto mode check would decide whether to allow a call that repeats one auto mode refused. Support for a new comparison fork request is built in, but nothing announces it yet.

The Claude Test cleanup that began in v2.1.312 goes further this time. The /claude-test command no longer appears, and its start-up error messages are gone. Resuming a session now drops parts of unfinished replies. A resumed turn that hit the stop-hook block limit now counts as finished. Agents woken before plugins have loaded now wait until loading finishes. Setting CLAUDE_CODE_PLAIN_DELTA_TAKE_AT_SOURCE no longer turns on the streamed-text capture mode, and only a remote switch can.

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

Five to try today

Picked from 21 you can use now
  1. SDK can send settings and disallowed tools in the initialize request, with a hard failure if they don't arrive

    New --initialize-fields and SDK delivery options let settings and disallowedTools travel in the initialize request, and startup refuses if they aren't confirmed

    Extensions
  2. Self-hosted runners can share their model access with Claude Code started inside a session

    Self-hosted runners gain opt-in nested model access over a socket, with a call budget, model allow list and a new managed setting for forced-login machines

    Elsewhere
  3. New environment variables for hosts that run Claude Code and supply its model access

    New variables let a launching host supply model access and fetch the API key itself, and some settings then come only from managed settings

    Elsewhere
  4. Host apps can hand Claude Code a credential at start-up

    A new variable, CLAUDE_CODE_HOST_AUTH_ASK_AT_START, makes Claude Code ask the app embedding it for a sign-in credential at start

    Elsewhere
  5. New shell_cwd message can replace hooks that only read the shell's folder

    SDK hosts that mark a hook matcher replacedByFrame: 'shell_cwd' get a shell_cwd system message with the shell's folder instead of a hook callback

    Extensions

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

Read this release → Every row →
84 of 528 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
7 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.

−Removed
You'll notice
Useful3 Signal4
Claude Test no docs found unclear

Claude Test start-up messages and the /claude-test command are gone#

The messages that told you to run /claude-test when Claude Test failed to start have been removed, and the command no longer appears

Unclear It is not clear whether Claude Test was removed or only reworked under another name.

Details 0 0 Feedback
/claude-test
↑Improved
Use it now
Useful3 Signal3
MCP Notable unclear

Tool output in claude mcp serve now has to be switched on#

A behavior that was always on when Claude Code runs as an MCP server now only applies when CLAUDE_CODE_MCP_SERVE_TOOL_OUTPUT is true

Unclear It is not clear exactly what part of tool output this variable controls.

Details 0 0 Feedback
claude mcp serve
+New
You'll notice
Useful3 Signal3
Compliance Notable no docs found

Microsoft 365 file references are blocked for HIPAA organizations#

Organizations under HIPAA compliance can no longer use Microsoft 365 file references, and they are also refused when the policy check is inconclusive

Details 0 0 Feedback
allow_m365_file_references
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.

74 entries here

Improvementsopen

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

↑Improved
You'll notice
Useful3 Signal3
Plugins unclear

Organization-delivered plugins must match a recorded hash to be trusted#

A remotely delivered plugin is treated as organization-managed only if managed settings enable it and its copy matches a recorded hash

Unclear It is not settled whether Claude Code enforces the hash requirement or only states it in a warning message.

Details 0 0 Feedback
↑Improved
You'll notice
Useful3 Signal2
Group of 3 Auto Mode unclear

Permission prompts honour your ask rules alongside safety checks#

Matching ask rules now show up in permission prompts next to safety checks, edits check every path, and SDK hosts learn how to show the 'don't ask again' row

Unclear What Claude Code now does with a lost verdict marked as flagged, instead of treating it as no result, is not stated.

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

Project hooks are skipped in some hosted setups#

In some hosted setups, Claude Code now skips hooks defined in project settings unless the host says it keeps plugins beside repositories

Unclear What the first check is, and so which setups lose their project hooks, is not stated.

Details 0 0 Feedback
projectSettings
↑Improved
You'll notice
Useful2 Signal3
SDK unclear

Changing the model or agent is refused while a spare session is parked#

A settings request that names a model or agent is now refused whole while a spare session is parked, so none of it applies

Unclear What a parked spare session is, and when one is held, is not clear.

Details 0 0 Feedback
apply_flag_settings
↑Improved
You'll notice
Useful2 Signal3
Cloud Sessions unclear

Cloud sessions now turn away some control requests, including set_model#

Cloud sessions now reject update_cloud_session and reload_connectors, and set_model was taken out of a table of control requests

Unclear It is not clear what the table decides, so the effect on a program that sends set_model is unknown.

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

MCP tool calls can be refused when they carry a stray file reference#

Claude Code can refuse an MCP tool call whose input holds a file reference code instead of real content, and tell Claude nothing was sent

Unclear Whether the refusal is active for your account is not settled.

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

Secret fields in MCP server forms are no longer shown masked#

Forms that MCP servers ask you to fill in no longer hide secret fields behind asterisks

Unclear The masking may have moved somewhere else, so it is not settled whether secret fields are now shown in plain text.

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

Slow MCP tool calls can wait longer before timing out#

MCP tool calls can now keep waiting for a slow first reply instead of being cut off by a fixed timeout

Unclear It is not clear what tells Claude Code to keep waiting, or whether the longer wait is switched on for everyone.

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

Limit on how many @-mentioned files one prompt can include#

A prompt can now @-mention only a limited number of files, and Claude Code records when that limit is passed

Unclear The number of mentions allowed per prompt is not stated.

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

Background sessions can start in auto mode without a one-time opt-in#

--bg no longer refuses to start in auto permission mode until you have opted in interactively first

Unclear It is not settled whether auto mode is still checked somewhere else before a background session runs with it.

Details 0 0 Feedback
--permission-mode
↑Improved
You'll notice
Useful1 Signal3
Internals unclear

Two remotely controlled switches now fall back to off#

Two remotely controlled switches now fall back to off when the server sends nothing, instead of a text value and a number

Unclear What these two switches control is not known.

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

Plugins named by your organization now count in policy plugin lists#

Plugins your organization names are now included when Claude Code combines the plugin lists from its policy settings

Unclear Whether this combined list limits which plugins you may use or adds to the plugins that are allowed.

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

Private config folders get tighter permissions at startup#

On macOS and Linux, Claude Code can now remove other users' access to three of its config folders at startup, and image cache cleanup skips links

Unclear It is not stated which three folders are changed or whether the startup step is switched on.

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

Fewer interpreter flags are treated as safe#

Claude Code no longer has built-in safe flag rules for lua, tsx, ts-node and bb, so commands using them may need permission more often

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

New rules for when MCP servers that need sign-in reconnect on their own#

Claude Code has new conditions for automatically reconnecting MCP servers that need sign-in, behind a remote switch that defaults to on

Unclear Exactly when Claude Code now reconnects such a server on its own, and what you see when it does, is not clear.

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

Sessions started with --sdk-url are treated as remote#

Claude Code now treats a session as remote when it is started with --sdk-url, even without the remote environment variables

Unclear Which behaviours change once a session counts as remote is not clear.

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

Plugin hooks that answer for a tool are refused#

Claude Code refuses a plugin hook that answers a call in place of a tool or the account memory server

Unclear It is not clear exactly when the refusal happens or whether it applies to every account.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Edit Tool unclear

Edits that delete text may treat the following newline differently#

Text replacement in edits no longer has a special case that also removes a trailing newline when text is deleted

Unclear It is not clear whether deletions still remove the newline after the deleted text.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
Internals

Host-unreachable network errors are no longer retried#

Claude Code no longer treats an EHOSTUNREACH "host unreachable" error as one worth retrying, and its proxy retry check now skips some errors

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
WebFetch unclear

WebFetch now rejects URLs over a maximum length#

WebFetch now rejects a URL that is too long up front, with a message saying the URL is longer than the limit

Unclear The exact maximum URL length is not stated.

Details 0 0 Feedback
↑Improved
You'll notice
Useful2 Signal1
PowerShell no docs found unclear

PowerShell commands that use modules can now ask for permission first#

PowerShell commands using module, gmo or Get-Module can now stop and ask before they run

Unclear It is not clear which condition decides when these module commands trigger the prompt.

Details 0 0 Feedback
Get-Modulegmo
↑Improved
You'll notice
Useful2 Signal1
Permissions unclear

Shell commands that send output to /dev/null are recognised as safe#

The permission check for shell commands now treats redirecting standard input, output or error to /dev/null or a few allowed devices as safe

Unclear It is not clear whether this check already reduces permission prompts or is only computed so far.

Details 0 0 Feedback
↑Improved
You'll notice
Useful1 Signal1
Permissions unclear

tsx and ts-node inline code is no longer flagged by the shell check#

Claude Code's check for inline code in shell commands no longer treats -e and -p on tsx and ts-node as running code

Unclear Whether inline code passed to tsx or ts-node is still caught by some other check is not stated.

Details 0 0 Feedback
1 entry here

Bug Fixesopen

1 more of these is in What probably matters to you, above.

✓Fixed
You'll notice
Useful2 Signal1
Bash Tool unclear

Commands whose starting folder has vanished are not run#

If the folder a command was meant to start in is gone, Claude Code skips the command, recreates the folder empty and asks Claude to resend it

Unclear This behaviour sits behind a setting whose default could not be determined, so it may not be active for everyone.

Details 0 0 Feedback
2 entries here

Removedopen

1 more of these is in What probably matters to you, above.

−Removed
You'll notice
Useful2 Signal2
Bash Tool unclear

Experimental handling of failed Bash command output removed#

An experiment that kept the end of a failed Bash command's input and added an end note to its result has been removed

Unclear It is not clear exactly how the result of a failed command now looks different.

Details 0 0 Feedback
Verbatim
Official · Anthropic

Anthropic’s official release notes

Published verbatim by Anthropic for v2.1.327. 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 173 bullets, 49 name something an entry on this page also names, 27 name something no entry here does, and 97 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. 1 of 28 tool schemas changed.

Claude Code, interactive mode

28 prompt changes in this release could not be quoted from the build, so no entry on this page describes them.

Documentation

What the docs did around this release

776 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 153 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