Claude Code 2.1.328
Released18 Nov 202618 Nov 2026. 144 items: 14 added, 91 fixed, 19 improved, 20 changed.
Security4
- FIX Fixed a crash in secret masking when the machine is almost out of memory
-
FIX
Fixed the Bash sandbox on Linux renaming
.git/HEADafter each command when the branch name is not valid UTF-8 - CHG Changed a shell command rewritten by a PermissionRequest hook to a sandbox-excluded command to run outside the sandbox
-
CHG
Changed how a sandbox that can't start is reported, unless
sandbox.failIfUnavailableis set: the next sandboxed Bash command is refused and says that the sandbox is off for the session
MCP5
-
FIX
Fixed MCP tools whose input schema starts with
anyOf,oneOforallOfgoing missing on third-party providers or with telemetry or feature flags turned off - FIX 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
- FIX 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
-
FIX
Self-hosted runner: Fixed a session with a damaged
.claude.jsonfailing every later start under--trust-workspace false; it now starts on defaults, with MCP servers turned off there on again - IMP Improved prompt caching for new Code Mode sessions that have MCP servers, and Claude is now told when a server is still connecting and when the list of servers changes
Hooks15
-
ADD
Added
"onFailure": "block"formcp_toolhooks, as for command and HTTP hooks: a hook whose call fails blocks the action -
ADD
Added
CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME, which lets a host stopclaude -p --resumeand--continuefrom running a tool call that a hook deferred -
ADD
Self-hosted runner: Added
--hook-labeltoclaude self-hosted-runner orchestrator, to hand chosen session labels to thespawn-runnerhook -
ADD
Self-hosted runner: Added
--metadata key=valuetoclaude --environment, to label a session for thespawn-runnerhook - FIX 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
-
FIX
Fixed
/goalremoving a skill's Stop hook, or ending early on another hook's result, when both had the same wording -
FIX
Fixed
/hookslosing your place when going back - FIX Fixed agent hooks running past their timeout while compacting after a request was refused as too large
-
FIX
Self-hosted runner: Fixed sessions with Anthropic-managed git losing git access to GitHub after a script or hook in the session ran
claudeagain - FIX Self-hosted runner: Fixed a failed start's message losing the words that say what failed when a checkout hook or git printed a lot
- FIX Fixed the self-hosted runner skipping its post-session hook when a disk stalled for a few seconds; on a dead disk a session's end can take 25 seconds longer by default
-
FIX
Self-hosted runner: Fixed
--correlation-idofclaude --environmentnot reaching thespawn-runnerhook -
CHG
Changed Code Mode to no longer run UserPromptSubmit hooks, managed ones included, on scripts' output; to redact that output, use a PostToolUse hook with
updatedToolOutput -
CHG
Changed managed
PostToolUsehooks to no longer fire for calls refused before they ran: no log entry, rewrite, block or stop there;PostToolBatchgets most, not marked as refused -
CHG
Self-hosted runner: Changed
CLAUDE_RUNNER_SESSION_UUIDandCLAUDE_CODE_REMOTE_SESSION_UUIDto both be set for the session and itscheckout,post-sessionandspawn-runnerhooks
Plugins and skills10
-
ADD
Added support for apps that embed Claude Code to switch on the policy plugin's
allowManagedModsOnlyoption; an admin's managed settings still win -
FIX
Fixed Ctrl+R search in fullscreen mode and the
/themecolor editor picking the wrong row when keys arrive together, and keys being dropped there and in the search of/configand/plugin -
FIX
Fixed
/pluginreopening a skill, or closing the open page, when a slow save or removal finished after you went back -
FIX
Fixed
/pluginasking to uninstall the wrong plugin, or ignoring Esc, after leaving a plugin while a change was still running -
FIX
Fixed typing and arrow keys not working on the
/pluginInstalled tab after a search with no results or a click on the tab row -
FIX
Fixed holding Enter in
/pluginturning off several installed plugins -
FIX
Fixed the
/usageplugin total stopping at 2,000 tokens on 1M context models, and low token estimates in/usageand/pluginwhen no model is picked - FIX Fixed a plugin's toast sometimes showing another plugin's text
-
IMP
Improved
claude -pand SDK sessions to fetch managed-settings plugins that have their own git repository, in the background, for a later session -
IMP
Improved how soon managed-settings plugins from a git marketplace load on a fresh machine in
claude -p, SDK and Claude Desktop sessions; a short run may exit up to 30 seconds later
SDK and headless8
- FIX 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
- FIX Fixed the model saying background agents were still running after an SDK interrupt had stopped them
- FIX Fixed Send now in the desktop app and SDK hosts telling Claude that a stopped web search found no results
- IMP Improved memory use and response time in long SDK and desktop sessions that run slow commands or tools
-
IMP
Improved
claude -ptext output to say on stderr when a message from another session is held or dropped, and how to allow it -
CHG
Changed subagents in
claude -p, the Agent SDK, desktop and VS Code to wait for their own subagents by default whenCLAUDE_CODE_FORK_SUBAGENT=0is set -
CHG
Changed
claude -pwithCLAUDE_CODE_FORK_SUBAGENT=0to count a background subagent and those it waits for against one 10-minute wait; raiseCLAUDE_CODE_PRINT_BG_WAIT_CEILING_MSfor longer chains - CHG Changed Claude Desktop and Agent SDK sessions on third-party providers or with telemetry or feature flags off to end the turn when closed with a question open, instead of continuing without an answer
Agents9
- ADD 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
- FIX 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
-
FIX
Fixed auto mode failing every turn outside Claude Desktop with
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETASset behind a gateway rejecting betas, on Bedrock, Agent Platform, Foundry or Claude apps gateway - FIX 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)
-
FIX
Fixed Code Mode offering
write()andedit()to read-only subagents that can't call them - FIX Fixed a message to a background agent showing a long file path in place of a pasted image
- IMP Improved starting several in-process teammates at once: far fewer now fail with "Lock file is already being held"
- CHG Changed subagent progress summaries in terminal sessions on the Anthropic API to be written by the default small fast model from short notes, also with telemetry off, using far fewer tokens
-
CHG
Changed
/list-agentsto show its list to you alone; Claude lists sessions itself when needed
IDE and desktop6
- FIX 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
- FIX Remote Control: Fixed an idle Desktop or VS Code session showing as running after Remote Control is turned on
-
FIX
Fixed
/terminal-setupin Zed replacing a symlinkedkeymap.jsonwith a plain file - ADD [VSCode] Added a notice when a message from another session is held, with a link to the settings file that can allow it
- FIX [VSCode] Fixed the permission prompt cutting off its No button, reply field or title when the panel is low or a command, URL or description is long
- FIX [VSCode] Fixed failed or blocked tool calls showing no reason or a reason cut short, and Glob and Grep counting an error as results
Commands17
-
ADD
Added a notice in
/statusandclaude doctorwhen an OpenTelemetry exporter has no endpoint and its data would likely be lost -
ADD
Self-hosted runner: Added
claude_code_self_hosted_orchestrator_session_queue_wait_by_reason_secondsto the orchestrator's/metrics, so a re-opened session's wait can be told from a new one's -
FIX
Fixed automatic compaction reusing the session's earlier system prompt instead of rebuilding it the way
/compactdoes -
FIX
Fixed Claude starting a turn by itself in Code Mode when Esc was followed by a command such as
/model -
FIX
Fixed Claude in Code Mode not being told to run workflows only when you ask, or the workflow size you set in
/config -
FIX
Fixed cloud sessions resuming a cleared conversation after a rewind followed by
/clear -
FIX
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 -
FIX
Fixed
/bugsaying cancelled after the report was sent -
FIX
Fixed
/exportwriting a file named.txtwhen the name was left empty -
FIX
Fixed
/install-github-appadding a code review workflow when asked to update the existing workflow file -
FIX
Fixed Esc on the Bedrock access keys step closing
/logininstead of going back -
FIX
Fixed
/exitand Ctrl+D describing running work differently, and/exitwarning about a workflow that had stopped -
IMP
Improved how Claude starts dev servers in Code Mode's auto and bypass modes: Claude is told to run them as background tasks that show in
/tasks -
CHG
Changed
/code-reviewon most models to report only bugs and CLAUDE.md violations; run/simplifyfor reuse, simplification and efficiency cleanups -
CHG
Changed
/code-reviewto mark each finding Important, Pre-existing or Nit on most models, and to end each summary with a suggested fix; a clean review's list now reads "Code review found no issues." -
CHG
Changed
/bugto ask Yes or No before sending, so repeated Enters no longer send a report or open GitHub -
CHG
Changed the Claude in Chrome welcome screen and
/chrometo say that Claude Code asks before Claude acts on a site, unless your permission mode or a rule in/permissionsanswers
Settings7
- ADD Self-hosted runner: Added a start-up warning when the host's settings.json sets a default permission mode that sessions ignore
-
FIX
Fixed
CLAUDE_STREAM_IDLE_TIMEOUT_MSnot lengthening the 5-minute connection limit on gateways, custom base URLs and cloud providers -
FIX
Fixed one malformed
OTEL_RESOURCE_ATTRIBUTESentry dropping the variable's other labels from metric points, events, and spans. Now only that entry is left off -
FIX
Fixed a crash at startup when
FORCE_COLORis set to a negative number -
FIX
Fixed self-hosted runners with Anthropic-managed git being unable to fetch or push where the machine's git config sets
http.proactiveAuth - FIX Fixed self-hosted runners: a session that resumes in a new Claude config directory no longer loses its task list
-
CHG
Self-hosted runner: Changed the built-in
gh apito be off by default where settings guard Claude's GitHub tools by name;--use-anthropic-gh trueturns it on
Permissions9
- ADD Added a warning when a message from a session that skips permission prompts may be held and dropped by a cloud session
- FIX 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
- FIX 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
-
FIX
Fixed Code Mode scripts not running in the background in auto or bypass permissions mode in a session chosen in the
claude --resumepicker - FIX 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
- FIX Fixed a waiting permission prompt being lost, and its answer ignored, when a remote session restarted while the service was slow
- IMP Improved Code Mode's speed in auto and bypass-permissions modes by removing a 0.75 second pause after most scripts
- IMP Improved the computer use approval dialog: it now shows each app's level of access and plainer warnings
-
CHG
Changed plan mode and Bash prompts for Opus 4.6 and Sonnet 4.6 on third-party providers to use and offer auto mode, as on newer models;
disableAutoModeturns both off
Models and providers4
-
ADD
Added a startup warning to the Claude apps gateway when a policy's
maxEffortLevelis not a valid effort level - FIX 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
- FIX Fixed self-hosted runners stopping when their token ran out on a host whose clock is slow or was set back
- IMP Improved Code Mode's token use with shorter tool descriptions
Performance6
- FIX Fixed markdown rendering freezing on some very long or malformed input
- FIX Fixed rare screen freezes
- FIX Fixed a paste or a terminal's reply being typed into the prompt when a slow connection cut it in two
-
FIX
Linux: Fixed pasting in other apps freezing while Claude Code is suspended with Ctrl+Z, when
xcliporwl-copyis installed - FIX Linux: Fixed Ctrl+V missing the clipboard image, pasting an old one or hanging
- IMP Improved memory use when resuming a session with many images
Terminal and input10
- FIX Fixed Cmd+letter being typed into the prompt in terminals that report Cmd
- FIX 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
- FIX 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
- FIX 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
-
FIX
Fixed an image path pasted into a
!command becoming an attachment -
FIX
Fixed Ctrl+C showing no exit warning while the
?shortcuts list is open - FIX Fixed wrong or missing colors inside GNU screen
- FIX Fixed Esc not dismissing the transcript share question for Pro and Max users
- FIX Fixed the self-hosted runner setup wizard's key rotation advice, which now warns that revoking a key stops the sessions running under it
- CHG Changed pasted text to be marked for Claude as pasted, on third-party providers or with telemetry or feature flags turned off
Sessions and context15
-
ADD
Self-hosted runner: Added
--repository-folderto name the folder that sessions use for a repository at--capacity 1, in place of its path under the base folder, which can't be a symbolic link -
ADD
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 - FIX Fixed a case where a resumed cloud session could lose its compaction summary or recent messages when a message was saved late
- FIX Fixed Remote Control repeating the same disconnect message, and telling you to retry a session that can't reconnect
- FIX 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
- FIX 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
-
FIX
Self-hosted runner: Fixed all running sessions being stopped when a proxy or web filter answered a poll with HTTP 200 and a body such as
{}; the runner now retries such a poll -
FIX
Self-hosted runner: Fixed archiving or requeueing a session not taking effect while it waited for another session to prepare the same repository (
--capacityabove 1) - FIX Fixed Claude not being told when a self-hosted session starts without one of its repositories, and why
- IMP Improved the time to resume large sessions
- IMP Improved cross-session messaging: Claude now explains that Remote Control is off when a cloud session or another computer is not listed
- IMP Improved resumed self-hosted runner sessions: Claude now checks whether its earlier work is still there, and says what is missing
-
CHG
Changed
deniedMcpServersentries of the formclaude.ai <name>to apply to that connector in cloud and self-hosted runner sessions too -
CHG
Self-hosted runner: Changed a
claudethat a wrapper script runs before the session's ownclaudeis up, or after it has ended, to have no Anthropic-managed git -
CHG
Changed self-hosted runners at
--capacity 1to refuse a session earlier when the path of a repository it pushes to is a symbolic link
Built-in tools3
-
FIX
Fixed Bash commands in zsh stopping with a "not found" error at a word that starts with
=, such asecho ====or[ a == b ];=cmdno longer expands to a command's path - IMP Improved Code Mode: Claude is now told which tool calls were still running when a script failed
- IMP Windows: Improved Code Mode by telling Claude that scripts' shell commands run in Git Bash and that PowerShell aliases run instead of functions with the same name
Everything else16
- FIX 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
- FIX Fixed a scheduled task with a typo in the project's scheduled tasks file being deleted the next time that file was saved
- FIX Fixed the error shown when usage credits run out mid-response, which named a rate limit
-
FIX
Fixed Code Mode silently using
undefinedfor top-level variables that an earlier failed script never set - FIX Fixed Code Mode scripts not being told when a failing command's long output was cut
-
FIX
Fixed Code Mode refusing valid scripts that start with a
{block -
FIX
Fixed Code Mode refusing scripts that use both a top-level
awaitand a top-levelreturn - FIX Fixed an @-mentioned small file not being attached in Code Mode after a script had read or written it
- FIX Fixed many background notifications cutting into the top border of open dialogs in fullscreen mode
- FIX Fixed Claude calling an artifact private after reading one in a shared folder or publishing to another organization's, and saying only named people can open one when its folder's people can too
- FIX Fixed a mod saved just after a turn began sometimes reloading mid-turn instead of at the turn's end
- FIX Self-hosted runner: Fixed deletion of a kept clone's objects or refs, and of commits that existed only there, after a temporary disk error; that start now fails instead
- FIX Self-hosted runner: Fixed a runner that exited without telling the server when setup failed after it had registered; it now deregisters with a reason, and an on-demand runner reports the failed start
- IMP Improved Code Mode to show the command a script is running, and its output, while it runs
- IMP Improved Code Mode edits: an edit that changes nothing no longer stops a script, and Claude is told where a failed edit matches or comes closest
- IMP Improved Claude's answers on who can open an artifact it published: Claude is now told to check the artifact again instead of repeating the last publish's answer