Claude Code 2.1.311
Released26 Oct 202626 Oct 2026. 92 items: 5 added, 56 fixed, 16 improved, 15 changed.
Security2
-
FIX
Fixed
/mcpshowing "authenticated" for a remote server that Claude Code sends no credentials to -
FIX
Linux: Fixed sandboxed Bash commands failing with
bwrap: Can't create filewhen a--plugin-dirfolder was also an added directory andpermissions.blockReadsOutsideWorkingDirectorieswas on
MCP2
- FIX Fixed interrupting Claude not taking effect until a timeout while an MCP server had not answered a resource read or a skill was still downloading
- FIX Fixed subagents being unable to use MCP tools from servers that finish connecting after the subagent starts
Hooks2
-
FIX
Fixed
SubagentStophooks running about twice a minute for each running subagent instead of once when it finishes - ADD [VSCode] Added a "Running UserPromptSubmit hooks" spinner status and screen reader announcement for slow UserPromptSubmit hooks
Plugins and skills7
-
FIX
Fixed Cowork cloud sessions losing their connectors and most tools after a restart when a plugin or your settings named an
agent; Cowork cloud sessions now ignore that setting -
FIX
Fixed a finished
/code-review, or another skill that runs in a sub-agent, running a second time when a cloud or background session restarts -
FIX
Fixed
/idesaying it had installed the JetBrains plugin when nothing was installed -
FIX
Fixed a
--plugin-dirfolder of plugins loading as one plugin when an empty.mcp.jsonwas at its top -
CHG
Changed sessions that set
CLAUDE_CODE_SYNC_SKILLSwith feature-flag fetching off to reuse a claude.ai skills list up to 10 minutes old that another session on the machine fetched - FIX [VSCode] Fixed custom skills and custom slash commands sent from the VS Code or JetBrains panel leaving out the open file or selected lines that ordinary messages include (anthropics/claude-code#102799)
- ADD [Claude Tag] Added a Skills view to Claude Tag analytics showing how often Claude runs each attached skill in Slack channels and which go unused, with Usage links in admin settings
SDK and headless2
-
FIX
Fixed
claude -pand SDK sessions saving transcript messages out of order or keeping messages that were taken back -
CHG
Changed
--output-format jsonandstream-jsonoutput to write DEL, C1 control and Unicode format characters inside strings as\uXXXXescapes; parsed values are unchanged
Agents6
- FIX Fixed a subagent's isolated worktree being removed while a background subagent it started was still working in it
- FIX Fixed background agents in auto mode that wait on their own shells starting a new main conversation turn on every wake
- FIX Fixed ↑ in an agent's chat tab recalling a message that was still waiting to be delivered, so resending it sent a second copy
-
FIX
Fixed agent teams sessions showing an empty task list when coming back with
--resume,--continue,/resumeor--session-id, including after/clearor a crash, and/branchwriting to the original session's list -
FIX
Fixed agent teammates compacting their history when
DISABLE_COMPACTis set - CHG Changed Ctrl+D in agent view to match the prompt: on an empty input, pressing it twice exits
IDE and desktop7
-
FIX
Fixed
/idesaying the VS Code extension was installed before the install finished or when it failed - ADD [VSCode] Added syntax coloring to code blocks in Claude's replies, in light, dark and high contrast dark themes
- FIX [VSCode] Fixed the extension host freezing while the login shell ran its start-up files to read PATH on macOS and Linux
- FIX [VSCode] Fixed clicking an image in a tool result, or closing its preview, also opening the result's text in an editor tab
- FIX [VSCode] Fixed voice dictation continuing to record after a message was sent with the Send button; sending now stops dictation first, as pressing Enter already did
-
CHG
[VSCode] Changed the extension to start Claude Code sessions with
DISABLE_TELEMETRYset while VS Code's telemetry setting is off, so they send no usage metrics or error reports and fetch no feature flags - CHG [VSCode] Changed the session list side bar to load Web sessions when the Web tab is first opened, not at startup
Commands10
-
FIX
Fixed
claude mcp add,claude mcp removeand/mcpnaming the current folder instead of the project entry in~/.claude.jsonthat holds a local-scope server when run below a repository root -
FIX
Fixed
/effortnot warning about a prompt cache miss in plan mode when the plan model differs from the session model -
FIX
Fixed pasting text that mentions an image file, such as
! open /tmp/shot.pngor/review look at /tmp/shot.png, attaching the image and dropping its path from the prompt -
FIX
Fixed
/mcpshowing a remote server as failed after "Clear authentication" when the server works without sign-in -
FIX
Fixed
/usagenever showing large prompt-cache misses under "What's contributing to your limits usage?" - FIX Fixed the /rewind confirmation saying the conversation "will be forked" when the later messages are removed from the conversation
- FIX Fixed the /rewind warning that wrongly said manual and Bash edits are never affected by a code restore
-
IMP
Improved
/teleportandclaude --teleportto warn when a compacted cloud session loads from its last compaction, so the messages it summarized aren't in the local copy - IMP Improved screen reader mode: deleting a rule in /permissions says "Deleted allow rule …" right away
-
CHG
Changed
/code-reviewto tell Claude to put the effort level first and use max only when asked
Settings9
- FIX Fixed long freezes at startup and after reading or editing files when a CLAUDE.md file holds a very long list item
- FIX Fixed Claude seeing stale MEMORY.md and CLAUDE.md content right after automatic compaction when those files were edited earlier in the session
-
FIX
Fixed the rewind menu offering "Summarize from here" and "Summarize up to here" when
DISABLE_COMPACTis set - FIX Fixed Claude Pro and Max subscribers being told to ask their admin when their subscription can't be used; the message now points to billing settings
-
FIX
Fixed Claude Code retrying requests the API marked not to retry, which could hold a turn for minutes or, in unattended retry mode (
CLAUDE_CODE_RETRY_WATCHDOG), indefinitely - CHG Changed startup warnings about permission rules in settings files to show once per user until the rule changes
-
CHG
Changed
DISABLE_COMPACTin settings files and in a mod's$.env.setso they can only turn compaction off, not back on - CHG Changed Claude Code on Bedrock, Mantle, Vertex, and Foundry to load model settings from a signed file on downloads.claude.ai; set CLAUDE_CODE_MODEL_CATALOG=off to turn this off
- CHG [Claude Tag] Changed Claude Tag admin settings to show a lock instead of # for private Slack channels that your own Slack account can see
Permissions1
- FIX Fixed plan approval in screen reader mode sending feedback you had dismissed with Escape
Models and providers10
- FIX Fixed standard-context sessions stopping with "Usage credits required for 1M context" when a request ran over 200K tokens; Claude Code now compacts the conversation and continues
- FIX Fixed long hidden thinking being cut off as idle on Google Vertex AI, Microsoft Foundry and Claude Platform on AWS, where the endpoint sends thinking progress updates
- IMP Improved compaction: when the model's reply has no summary in it, Claude Code now usually asks for the summary once more before it replaces the conversation
-
IMP
Improved startup time for launches whose only arguments are options and their values, such as
claude --model opus - IMP Improved the "Connection dropped" API error: it now says where to look first (the proxy or gateway in use, else VPN or firewall; Anthropic API only, Bedrock, Vertex and Foundry are unchanged)
-
CHG
Changed
ultrathinkin the interactive terminal to run its turn at xhigh effort on Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.1 through Anthropic's API; typed while Claude is working, it raises the rest of that turn -
CHG
Changed the
ultrathinkrainbow to appear only where the keyword can raise effort, and not when the word is quoted or part of a file path -
CHG
Changed model names and IDs to drop the
[1m]suffix and its label on models where the suffix has no effect; the suffix is still accepted - FIX [Cloud sessions] Fixed a failed routine API token delete or regenerate showing nothing if the edit dialog had already closed; it now shows an error toast
- IMP [Code Review] Improved Code Review's check run to say no further automatic review will start when the model still can't analyze a change on the automatic retry
Performance2
- FIX Fixed WebFetch and WebSearch hanging on a stalled response in Cowork cloud sessions; an unfinished request now fails after 300 seconds
- IMP Improved startup time for Pro and Max accounts by skipping two network requests on launches within an hour of the last check
Terminal and input6
- FIX Fixed the Write tool's file preview skipping rows and miscounting hidden lines when a line is wider than the terminal
- FIX Fixed the feedback draft card showing its 1/2/0 and Esc shortcuts while the prompt has text, when those keys act on the prompt instead of the card
- FIX Fixed status line links staying plain text in background sessions after you open them from a terminal that supports links
- IMP Improved the message shown when a pasted sign-in code is refused: it now says the code may have expired or been used, and to sign in again
- IMP Improved screen reader mode: Claude's questions are listed as "Questions: Color (answered), Pages", without arrows or symbols
- CHG Changed clicks on scrollbar arrows and bars in fullscreen lists to act when the mouse button is released, so moving off the scrollbar before letting go cancels the click
Sessions and context13
-
ADD
Added
--hold-idle-fileand--max-hold-mintoself-hosted-runner, to keep an idle session while your host reports processes it left running - FIX Fixed Remote Control sessions staying on "Connecting" for about two minutes when a network proxy blocks a startup request
- FIX Fixed messages that Claude sends to a cloud or Remote Control session appearing as your own message in the Claude mobile apps
- FIX Fixed Claude not being told the cause when a file attached to a message sent over Remote Control or to a cloud session could not be saved because the disk was full, or that a message's attachments past the first 20 were left out
- FIX Fixed a background session that crashed between turns not being restarted while it was attached, pinned, or had a scheduled task or wake-up set
-
FIX
Fixed the "background service did not respond" error suggesting the disabled
claude daemon restart; it now suggestsclaude daemon stop --anyand says it ends background sessions -
FIX
Fixed
claude respawn <id>starting the background service before reporting that no background session matches the id - FIX Self-hosted runner: Fixed a session failing to start when a rate limit (HTTP 429, or a git wrapper that exits 75) blocks an added read-only repository; it now starts without that repository
- IMP Improved the messages shown when a background session's process exits: they no longer promise a restart that isn't coming, and they say how to resume the session
- FIX [Cloud sessions] Fixed routines in Anthropic-hosted environments staying locked after their owner left the organization and rejoined; the owner can now turn them back on
- FIX [Cloud sessions] Fixed cloud environment dialogs, including the admin dialog, accepting duplicate names; they now refuse a name another listed environment already has
- IMP [Claude Tag] Improved Claude Tag routines that run in a new session: a run with nothing to report can now end without posting a throwaway message to the channel
- IMP [Code Review] Improved Code Review reliability: a review whose session fails to start because of a transient server fault is now retried once automatically, and its check run says so
Built-in tools4
- FIX Fixed Write and Edit stalling for up to 5 seconds after they ran, and reporting 0 lines changed, when changing thousands of lines in a file
- FIX Fixed the Bash tool description claiming the working directory always persists between calls
- FIX Fixed the environment block naming a shell commands don't run in, such as fish when the Bash tool uses zsh
- IMP Improved the Artifact tool's choice between a page and a document: explainers and visual or interactive work become artifact pages; documents are for writing people keep editing or pass around
Everything else9
- ADD Added a tip for the Explanatory output style, shown when you ask Claude for explanations
-
FIX
Fixed the @ file picker ignoring
.ignore/.rgignorenegation rules that re-include git-ignored files -
FIX
Fixed
claude mcp listandclaude mcp getshowing the error code twice on failed-connection lines (for exampleENOENT: ENOENT: …) -
FIX
Fixed a lone backslash in quotes or brackets, like
"\"or(\), disappearing from Claude's responses - FIX Fixed the diff pane opening by itself after an edit in wide fullscreen terminals when it had nothing to show
-
IMP
Improved artifacts with several views: Claude now routes each view on the link's
#nameand no longer says the address bar stays the same as you switch views - IMP Improved shell commands that reach their timeout: the result now shows the output so far and says the command is still running in the background
- IMP Improved Slack connector sends: Claude now checks a channel's topic for posting rules before messaging a channel you didn't name
-
CHG
Changed
claude purgeto say it deletes data only on this computer, not anything stored by Anthropic