Claude Code 2.1.311
Highlights in this release
New 13
Self-Hosted Runner Supports Keeping Idle Sessions and Skips Rate-Limited Read-Only Repositories on Startup
When running automation tasks via a runner on a self-hosted server, your host often still has unfinished processes left behind. ⟦Consider renting a conference room for a cross-departmental meeting: previously, whenever the projector connection glitched, the entire room was immediately cancelled and locked by the system; now, the room skips the faulty projector and opens as usual, and if a discussion group stays behind to organize notes at the whiteboard after the meeting ends, access control will not immediately turn off the lights and lock the doors.⟧
If you run tasks using self-hosted-runner, two new options, --hold-idle-file and --max-hold-min, are now available. When your host reports processes left running from earlier, an idle session (an ongoing interactive connection) is preserved.
In addition, when an added read-only repository encountered rate limiting during startup in the past—such as receiving an HTTP 429 error or a Git wrapper exiting with code 75—the entire session failed to start. Now, the self-hosted runner automatically skips the rate-limited read-only repository, allowing the main session to open smoothly.
Original changelog
Added --hold-idle-file and --max-hold-min to self-hosted-runner, to keep an idle session while your host reports processes it left running
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
Typing ultrathink in Terminal Enables Extra-High Thinking Effort with Dynamic Mid-Turn Boosts
When facing particularly thorny architecture refactoring or algorithm debugging, you might want the model to spend more time thinking deeply. ⟦A driver climbing an uphill slope downshifts and steps on the gas: previously, the cruise control setting could not be altered once set before departure, leaving the car to crawl slowly on steep hills; now, pressing the pedal mid-drive instantly injects power, and the dashboard boost light illuminates only when actual extra power is being delivered.⟧
Typing ultrathink in the interactive terminal allows Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.1 models on Anthropic's API to think deeply at extra-high effort (xhigh effort). Even if Claude has already started answering, typing ultrathink midway raises the thinking depth for the rest of that turn's computation.
The rainbow text effect has also been adjusted in tandem. The colorful effect appears only where the keyword can genuinely raise thinking effort; if mentioned inside quotes or as part of a file path, the interface keeps normal text color.
Original changelog
Changed ultrathink in 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
Changed the ultrathink rainbow to appear only where the keyword can raise effort, and not when the word is quoted or part of a file path
Conversations Past 200K Tokens Auto-Compact, Memory Reading and Summary Checks Improved
During extended conversations or when working on large projects, lengthy conversation histories easily trigger context limits. ⟦Imagine a library organizing mountains of research notes: in the past, once notes filled a fixed number of pages, you were simply refused from turning the page, and obsolete drafts might even resurface; now, librarians proactively bind and condense bulky materials so you can keep writing, rechecking whether key summaries are properly included before binding.⟧
In standard-context sessions, when a single request exceeded 200,000 tokens (text units for AI processing and billing), the tool previously halted directly and prompted that "Usage credits required for 1M context". Now, the tool proactively compacts the conversation history, organizing context for you and continuing execution directly without stalling midway.
This automatic compaction mechanism also fixes a file state reading error. If MEMORY.md or CLAUDE.md was edited earlier in the session, the model previously saw stale, unupdated content right after automatic compaction; this issue has now been resolved.
Additionally, when the model's compaction reply misses summary content, the tool requests the summary once more from the model before replacing the existing conversation.
Original changelog
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
Fixed Claude seeing stale MEMORY.md and CLAUDE.md content right after automatic compaction when those files were edited earlier in the session
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
Remote Control Promptly Reports Blocked Connections, Cloud Collaboration Retains Tools Across Restarts
When working remotely from a mobile phone or terminal outside the office, connection reliability and message attribution are critical. ⟦Directing base camp operations remotely over a satellite phone follows the same pattern: previously, whenever a relay line was blocked, the signal stalled silently on connecting for several minutes, while dispatches sent by an assistant were stamped with your personal seal; now, blocked lines are reported immediately, full disks or excess attachments explain their causes, and equipment remains intact after restarting the system.⟧
If Remote Control is blocked by a network proxy, it no longer stays on "Connecting" for two minutes. In mobile apps, messages that Claude sends to a cloud or Remote Control session are no longer mistakenly attributed to you.
When attachments are omitted because the disk is full or exceed 20 files, the system now explains the reason. In Cowork cloud sessions, hanging fetching and searching now time out after 300 seconds; restarts no longer lose tools due to specifying an agent. Loading a compacted session via /teleport or claude --teleport now warns that local copies omit messages prior to summarization.
Original changelog
Fixed Remote Control sessions staying on "Connecting" for about two minutes when a network proxy blocks a startup request
Fixed messages that Claude sends to a cloud or Remote Control session appearing as your own message in the Claude mobile apps
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
Fixed WebFetch and WebSearch hanging on a stalled response in Cowork cloud sessions; an unfinished request now fails after 300 seconds
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
Improved /teleport and claude --teleport to warn when a compacted cloud session loads from its last compaction, so the messages it summarized aren't in the local copy
Background Daemon Restarts Scheduled Sessions on Crash, Accurately Guiding Recovery and Respawn
When delegating heavy workloads to background services, sudden silent terminations of background processes are a major concern. ⟦Night watch patrol systems in a commercial high-rise face a comparable scenario: previously, the control console advised flipping a switch that had long been removed, blindly spinning up generators even when no records were found; now, abnormal interruptions during scheduled patrols trigger automatic restarts, and the system offers clear guidance on resuming shift duties.⟧
When a background session is pinned, connected, or has scheduled tasks or wake-ups configured, it now automatically restarts if it crashes between turns.
When the background service does not respond, the error prompt now suggests running claude daemon stop --any and explains that it terminates all background sessions, rather than recommending a disabled command. Running claude respawn <id> now checks whether that ID exists beforehand, preventing the background service from launching needlessly when no matching session is found.
Messages shown when a background process exits no longer promise an impossible restart and explain how to resume the session. When opening a background session from a terminal supporting hyperlinks, status line (the bar displayed at the bottom of the terminal) links can now be clicked normally.
Original changelog
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
Fixed the "background service did not respond" error suggesting the disabled claude daemon restart; it now suggests claude daemon stop --any and says it ends background sessions
Fixed claude respawn <id> starting the background service before reporting that no background session matches the id
Fixed status line links staying plain text in background sessions after you open them from a terminal that supports links
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
Artifacts Support Routing Multiple Views by Anchor, Smart Distinction Between Page and Document Types
When asking Claude to build interactive demos or write lengthy reports, the presentation format of artifacts directly affects the reading and sharing experience. ⟦Much like a design agency delivering project deliverables, interactive prototypes and formal contracts used to be handed over in the exact same binder without URL hashes jumping when switching chapters; now interactive diagrams are crafted into clickable presentation web pages, while long-form prose is organized into documents easy to circulate and revise.⟧
The Artifact tool improved its logic for choosing output types. When you need explainer text, visual diagrams, or interactive creations with buttons, Claude generates them as standalone artifact pages. Plain text content suited for continuous team revisions and everyday circulation is created as artifact documents.
If multiple switchable views are designed within a single artifact, the system now routes precisely to the corresponding view based on the #name anchor at the end of the link.
This view-switching mechanism also corrects its explanation. In the past, when guiding readers through different views, Claude mistakenly stated that the browser address bar stayed the same, and this explanation has now been updated to reflect the correct routing behavior.
Original changelog
Improved artifacts with several views: Claude now routes each view on the link's #name and no longer says the address bar stays the same as you switch views
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
Billing Settings Guidance for Restricted Subscriptions, Cached Network Verification Speeds Tool Startup
When launching command-line tools frequently throughout the day, waiting several seconds for network verification on every startup adds up to noticeable overhead. ⟦Entering a business lounge with a membership card used to mean that even if less than an hour had passed since your last entry, the turnstile still pinged a remote server to verify identity twice, and when payment failed the desk told individual members to ask a non-existent company manager; now entering within a short window grants fast clearance, and an expired pass triggers a reminder to draw a new ticket.⟧
Launches for Pro and Max accounts within an hour of the last check automatically skip two network requests to accelerate startup. Startup workflows for launches whose only arguments are options and their values (such as claude --model opus) have also been optimized.
When Pro and Max subscribers cannot use their subscription, the prompt message now guides them to billing settings instead of mistakenly telling them to ask an admin. When a pasted sign-in code is refused, the message now explains that the code may have expired or been used, and prompts them to sign in again.
Original changelog
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
Improved startup time for Pro and Max accounts by skipping two network requests on launches within an hour of the last check
Improved startup time for launches whose only arguments are options and their values, such as claude --model opus
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
Deep Thinking on Cloud Platforms Protected from Idle Disconnection, Non-Retry Flags Respected to Prevent Hangs
When invoking external models in enterprise cloud environments, complex network proxies and long computations often pose connection challenges. ⟦Watching a long-distance convoy navigate a cross-border highway, checkpoints used to assume trucks had broken down whenever cargo required detailed audits, repeatedly requeueing freight already denied customs clearance; now active running signals are properly recognized, and connection drops point out which toll gate should be inspected first.⟧
On Google Vertex AI, Microsoft Foundry, and AWS platforms, endpoints send thinking progress updates, so they are no longer misjudged as idle and cut off.
Requests are no longer retried when the API marks them not to retry, preventing conversations from stalling or retrying indefinitely. When the Anthropic API connection drops, the error first suggests checking the proxy or gateway, followed by the VPN or firewall. Bedrock, Mantle, Vertex, and Foundry now load model settings from an official signed file, which can be disabled by setting CLAUDE_CODE_MODEL_CATALOG=off.
Original changelog
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
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
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)
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
SDK Transcripts Preserved in Order, JSON Control Character Escaping and Post Checks
When connecting automation scripts or integrating messaging software, data format rigor determines whether downstream services can parse correctly. ⟦Handling mail dispatch in a registry office, special seal stamps used to cause errors during system filing, and automated messengers forwarding documents frequently ignored notices posted right at the doorway; now special characters are escaped and packaged using standard codes, and the recipient's intake guidelines are reviewed before delivery.⟧
Issues where claude -p and SDK sessions saved transcript messages out of order or retained retracted messages have been resolved. A tip for the Explanatory output style is now displayed when asking for explanations.
--output-format json and stream-json now write DEL, C1 control characters, and Unicode format characters inside strings as \uXXXX escape formats. Before messaging an unnamed Slack channel, Claude now checks that channel's topic for posting rules. In addition, the explanation for claude purge clarifies that it deletes data only on this machine, without affecting anything stored by Anthropic.
Original changelog
Added a tip for the Explanatory output style, shown when you ask Claude for explanations
Fixed claude -p and SDK sessions saving transcript messages out of order or keeping messages that were taken back
Improved Slack connector sends: Claude now checks a channel's topic for posting rules before messaging a channel you didn't name
Changed --output-format json and stream-json output to write DEL, C1 control and Unicode format characters inside strings as \uXXXX escapes; parsed values are unchanged
Changed claude purge to say it deletes data only on this computer, not anything stored by Anthropic
[VSCode] Code in Replies Supports Syntax Coloring, Telemetry Disabled via Editor Setting
When chatting with AI inside the VS Code editor, clear syntax highlights and a responsive sidebar make reading much more comfortable. ⟦Renovating a modern coding studio used to leave code in the dialogue panel looking like an illegible black-and-white photocopy, and opening the front door immediately triggered a rush to bulk-load every remote file from storage; now code is fully printed in color, the sidebar list loads only when a drawer is opened, and privacy signs at the entrance are fully respected.⟧
In the VS Code extension, code blocks in Claude's replies now support syntax coloring across light, dark, and high-contrast dark themes.
The session list in the sidebar now loads Web sessions only when the Web tab is opened for the first time, rather than at startup. When VS Code telemetry is turned off, the extension launches Claude Code with DISABLE_TELEMETRY, sending no usage metrics or error reports and fetching no feature flags. For slow-running UserPromptSubmit hooks (small programs triggered by specific events), a spinner status and screen reader announcement have been added.
Original changelog
[VSCode] Added syntax coloring to code blocks in Claude's replies, in light, dark and high contrast dark themes
[VSCode] Added a "Running UserPromptSubmit hooks" spinner status and screen reader announcement for slow UserPromptSubmit hooks
[VSCode] Changed the extension to start Claude Code sessions with DISABLE_TELEMETRY set while VS Code's telemetry setting is off, so they send no usage metrics or error reports and fetch no feature flags
[VSCode] Changed the session list side bar to load Web sessions when the Web tab is first opened, not at startup
[Cloud sessions] Cloud routines can be turned back on after owner rejoin, environment dialogs prevent duplicate names
When scheduling automated tasks in a cloud-hosted environment, organizational member turnover should not permanently lock automated workflows. ⟦Renting automated slots in a shared server room, a manager temporarily leaving and later rejoining the company previously left earlier scheduled machines permanently locked, and failed key regenerations gave no feedback on the console; now returning to the team allows machines to be re-enabled, and naming equipment triggers checks that intercept duplicate tags.⟧
In Anthropic-hosted environments, when the owner of an automated routine leaves the organization and rejoins, the routine no longer remains locked, and the owner can now turn it back on.
When deleting or regenerating a routine's API token (authorization token) fails, the screen now displays an error toast even if the edit dialog has already closed. Cloud environment dialogs, including the admin dialog, no longer accept duplicate names and actively refuse names already used in the list.
Original changelog
[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
[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
[Cloud sessions] Fixed cloud environment dialogs, including the admin dialog, accepting duplicate names; they now refuse a name another listed environment already has
[Claude Tag] Added Slack skills view to analytics, empty runs exit cleanly
When bringing AI tagging into team messaging apps for collaboration, understanding invocation frequency across skills helps optimize workflows. ⟦Introducing a digital bulletin board to an internal company channel, teams previously had no visibility into which features employees actually used, and routine checks with nothing to report posted useless blank notices that cluttered the feed; now administrators can review invocation rates for each tool, quiet runs exit without posting, and private rooms display a lock badge.⟧
Claude Tag analytics has added a Skills view showing how often Claude runs each attached skill in Slack channels and which go unused, with Usage links provided in admin settings.
Routine inspection tasks that run in a new session can now end directly without posting a throwaway message to the channel if there is nothing to report. In admin settings, private Slack channels visible to your account now show a lock icon instead of the # symbol.
Original changelog
[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
[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
[Claude Tag] Changed Claude Tag admin settings to show a lock instead of # for private Slack channels that your own Slack account can see
[Code Review] Automatic retry on transient server faults, clear closure when retries fail
When relying on automated review bots during pull requests, occasional cloud connection hiccups can stall the inspection process. ⟦Submitting assignments through an online portal, brief network drops previously led the system to immediately register a failed submission, leaving students uncertain whether to keep waiting or retry manually; now line faults trigger one automatic reconnect with clear status updates, and a failure to parse the material triggers a definitive notice to stop waiting.⟧
Code review sessions that fail to start due to transient server faults are now retried once automatically, and the check run clearly indicates that a retry is in progress.
If the model still cannot analyze a change during the automatic retry, the check run explicitly states that no further automatic review will start, preventing teams from waiting indefinitely without updates.
Original changelog
[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
[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
Fixed 11
Prompt Cache Misses from Thinking Effort Add Warnings, Usage List Fully Reveals Consumption
When switching between different models to plan tasks or review code, cache misses can consume valuable quota without you noticing. ⟦Utility bills that break down every detail offer a clear parallel: previously, sudden power spikes caused by swapping in specialized appliances were entirely hidden, leaving people wondering where their quota went; now, the meter proactively warns of power loss when switching to devices with different specifications, and the bill prints out large expenses.⟧
When adjusting thinking effort in plan mode, if the plan model differs from the current session model, the /effort command now proactively warns about a prompt cache miss so you can assess additional costs.
The /usage command has also updated its display, faithfully listing large prompt cache misses that were previously omitted. When running /code-review, Claude prioritizes thinking effort and uses the maximum level only when explicitly requested. In addition, model names have dropped the [1m] suffix where it had no practical effect, though the legacy format remains accepted.
Original changelog
Fixed /effort not warning about a prompt cache miss in plan mode when the plan model differs from the session model
Fixed /usage never showing large prompt-cache misses under "What's contributing to your limits usage?"
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
Changed /code-review to tell Claude to put the effort level first and use max only when asked
Disable Compaction Setting Strictly Enforced, Rewind Confirmation Clarifies Removing Later Messages
Some teams must preserve the original context of every conversation step due to audit requirements or troubleshooting needs. ⟦Courtroom trial records requiring verbatim archiving present an identical principle: previously, even when ordered to record proceedings entirely, some clerks would take it upon themselves to summarize main points; now, whenever a prohibition badge is placed, all members and menus are strictly barred from condensing text, and retrieving records clearly states that subsequent notes are being removed.⟧
When the DISABLE_COMPACT environment variable is set, agent teammates no longer automatically compact history. Entering /rewind to open the rewind menu also no longer offers "Summarize from here" or "Summarize up to here" options.
DISABLE_COMPACT in configuration files and module environments can now only turn compaction off, not re-enable it. When running /rewind, the confirmation screen has been corrected to state that subsequent messages will be removed, rather than incorrectly claiming the conversation "will be forked"; the warning message has also corrected the claim that manual and Bash edits are never affected by a code restore.
Original changelog
Fixed agent teammates compacting their history when DISABLE_COMPACT is set
Fixed the rewind menu offering "Summarize from here" and "Summarize up to here" when DISABLE_COMPACT is set
Fixed the /rewind confirmation saying the conversation "will be forked" when the later messages are removed from the conversation
Fixed the /rewind warning that wrongly said manual and Bash edits are never affected by a code restore
Changed DISABLE_COMPACT in settings files and in a mod's $.env.set so they can only turn compaction off, not back on
Subagents Support Connecting Tools Dynamically, Fixing Repeated Hook Triggers and Cleanup
When the main agent breaks subtasks down into background parallel execution, background agents often require dedicated directories and tool support. ⟦Dispatching a project task force to an independent meeting room mirrors this setup: previously, if the coordinator stepped out early, the whiteboard was wiped clean, while the punch clock by the door rang twice every minute; now, support tools arriving late are properly received, and the room is never cleared out early before the team finishes work.⟧
After a subagent starts, if it encounters an MCP (Model Context Protocol, an open standard connecting AI to external tools) server that takes longer to connect, it can now properly use those tools once connection completes.
An isolated worktree (Git's mechanism to run multiple parallel copies of the same project) used by a subagent is no longer deleted prematurely while a background subagent is still working in it. SubagentStop hooks (small programs triggered by specific events) now fire only once upon completion instead of repeating twice a minute. Background agents waiting for terminal wakeups no longer mistakenly start a new main conversation turn. When cloud or background sessions restart, completed skills no longer run a second time.
Original changelog
Fixed subagents being unable to use MCP tools from servers that finish connecting after the subagent starts
Fixed SubagentStop hooks running about twice a minute for each running subagent instead of once when it finishes
Fixed a subagent's isolated worktree being removed while a background subagent it started was still working in it
Fixed background agents in auto mode that wait on their own shells starting a new main conversation turn on every wake
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
Agent Teams Retain Task Lists on Reconnection, Keybinding Aligns Exit Behavior
When collaborating with multi-agent teams, reconnecting after interruptions relies on the system completely preserving pending tasks. ⟦Scheduling around a whiteboard with a project team illustrates the problem: previously, when reconvening in the office after lunch, all task sticky notes on the whiteboard were wiped clean, and progress from a new branch was even pasted back onto the old board; now, the whiteboard remains intact upon returning, and identical notes are not repeatedly handed over during conversations.⟧
In agent team sessions, reconnecting via --resume, --continue, /resume, or --session-id, as well as running /clear or recovering from a crash, no longer empties the task list. Running /branch also no longer mistakenly writes progress to the original session's list.
In an individual agent's chat tab, pressing the up arrow key ↑ when a message is waiting to be sent now properly recalls history rather than sending a duplicate message. In agent view, pressing Ctrl+D twice on an empty input now exits, matching the behavior of the main prompt.
Original changelog
Fixed ↑ in an agent's chat tab recalling a message that was still waiting to be delivered, so resending it sent a second copy
Fixed agent teams sessions showing an empty task list when coming back with --resume, --continue, /resume or --session-id, including after /clear or a crash, and /branch writing to the original session's list
Changed Ctrl+D in agent view to match the prompt: on an empty input, pressing it twice exits
MCP Accurately Maps Project Paths, Fixing Cleared Auth and Remote Status Displays
When managing external custom tools across projects, inaccurate configuration paths and connection states increase debugging overhead. ⟦Visitor access control in an office tower operates under the same reality: previously, registering equipment in a branch caused the system to mistake a sub-cubicle for an independent enterprise, and meeting rooms requiring no badges were erroneously flagged with red lights after keycard resets; now, configuration paths trace back accurately to their parent projects, and pass issuance statuses are faithfully displayed.⟧
When running claude mcp add, claude mcp remove, or /mcp in a repository subdirectory, settings map to the project entry in ~/.claude.json rather than incorrectly pointing to the current subdirectory.
claude mcp list and claude mcp get no longer print duplicate error codes when connections fail. In /mcp, a remote MCP (Model Context Protocol, an open standard connecting AI to external tools) server that requires no sign-in no longer reports failure after "Clear authentication". A remote server to which no credentials were sent also no longer falsely shows "authenticated".
Original changelog
Fixed claude mcp add, claude mcp remove and /mcp naming the current folder instead of the project entry in ~/.claude.json that holds a local-scope server when run below a repository root
Fixed claude mcp list and claude mcp get showing the error code twice on failed-connection lines (for example ENOENT: ENOENT: …)
Fixed /mcp showing a remote server as failed after "Clear authentication" when the server works without sign-in
Fixed /mcp showing "authenticated" for a remote server that Claude Code sends no credentials to
Interrupting Claude Takes Effect Immediately During Downloads, Plugin Directory Recognition and Skill Caching Optimized
When asking the model to fetch external data or load extension plugins, unresponsive pauses or misidentified directories disrupt development rhythm. ⟦Like borrowing multiple reference books from a library, pressing cancel used to force you to wait at the counter until delivery timed out if just one book was in transit, and returning a box of books was even logged as a single volume; now canceling stops the wait immediately, and book lists checked within ten minutes can be retrieved directly.⟧
When an external tool server has not answered a resource read or a skill is still downloading, pressing interrupt now takes effect immediately instead of waiting for a connection timeout.
When using --plugin-dir to specify a folder containing multiple plugins, an empty .mcp.json at the top level is no longer mistakenly loaded as a single plugin. In addition, sessions that set CLAUDE_CODE_SYNC_SKILLS with feature-flag fetching off now directly reuse a claude.ai skills list fetched by another session on the machine within 10 minutes, saving the time of frequent re-queries.
Original changelog
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
Fixed a --plugin-dir folder of plugins loading as one plugin when an empty .mcp.json was at its top
Changed sessions that set CLAUDE_CODE_SYNC_SKILLS with feature-flag fetching off to reuse a claude.ai skills list up to 10 minutes old that another session on the machine fetched
Massive File Changes No Longer Stall or Underreport, Ultra-Long Lists and Diff Preview Fixed
When project configuration specifications are complex or a single edit touches thousands of lines, the rendering efficiency of file editing tools directly impacts workflow fluidity. ⟦Picture a text editor proofreading an ultra-long scroll: encountering continuous, lengthy entries used to freeze the entire machine for seconds, and statistics would even absurdly show zero after replacing thousands of lines of text at once; now flipping through a wide scroll does not miscount lines, nor does a comparison window suddenly pop up when there are no text changes.⟧
When modifying thousands of lines in a single file, the Write and Edit tools no longer stall for up to 5 seconds or falsely report that 0 lines changed. Long freezes at startup and after reading or writing files when CLAUDE.md holds an extremely long list item have been fixed.
When previewing lines wider than the terminal, the Write tool no longer skips rows or miscounts hidden lines. In fullscreen-width terminals, the diff pane no longer pops up automatically after an edit if there is nothing to compare.
Original changelog
Fixed long freezes at startup and after reading or editing files when a CLAUDE.md file holds a very long list item
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
Fixed the Write tool's file preview skipping rows and miscounting hidden lines when a line is wider than the terminal
Fixed the diff pane opening by itself after an edit in wide fullscreen terminals when it had nothing to show
Shell Command Timeouts Retain Partial Output, Sandbox Conflicts and Environment Descriptions Corrected
When running time-consuming build tasks or background scripts on the command line, command execution status and permission boundaries serve as the basis for judging progress. ⟦Operating long-running machinery inside a security containment room used to mean that once the timer rang, unfinished parts on the workbench were cleared away without a trace, and the alarm at the door repeated the exact same rules to veteran workers every single morning; now parts already machined are kept when time is up, and overlapping containment room paths no longer cause deadlocks.⟧
When a shell command reaches its timeout limit, the result now retains and displays the output so far, and states that the command is still running in the background.
On Linux, the error where the sandbox tool bwrap failed to create files when --plugin-dir was also an added directory and blocking reads outside working directories was enabled has been resolved. The Bash tool description no longer claims that the working directory permanently persists between calls, and the environment block no longer names an unexecuted shell (such as labeling fish when using zsh). Warnings for settings file permission rules are now shown once per user until the rule changes.
Original changelog
Fixed the Bash tool description claiming the working directory always persists between calls
Fixed the environment block naming a shell commands don't run in, such as fish when the Bash tool uses zsh
Linux: Fixed sandboxed Bash commands failing with bwrap: Can't create file when a --plugin-dir folder was also an added directory and permissions.blockReadsOutsideWorkingDirectories was on
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
Changed startup warnings about permission rules in settings files to show once per user until the rule changes
False Editor Plugin Installation Notices Fixed, Screen Reader Feedback and Question Lists Simplified
When using assistive tools or the command line to configure a development environment, accurate feedback on operation status is essential to prevent misjudgment. ⟦Think of applying for equipment and an accessible audio guide at a service counter: the system used to flash green and announce a successful installation while setup was still spinning or had already failed, and audio broadcasts were even cluttered with visual arrow symbols; now failed installations are reported truthfully, and forms dismissed under voice mode are no longer mistakenly collected by the counter.⟧
When installing extensions in /ide, it no longer reports that the VS Code extension was installed before the installation finishes or when it fails, nor does it falsely report success when JetBrains is not installed.
In screen reader mode, pressing Esc to dismiss feedback while reviewing a plan no longer mistakenly sends the cancelled text. When deleting a rule in /permissions, speech immediately announces that the allow rule was deleted. When asking the user questions, the question list is now presented in concise text, removing arrows and symbols.
Original changelog
Fixed /ide saying the VS Code extension was installed before the install finished or when it failed
Fixed /ide saying it had installed the JetBrains plugin when nothing was installed
Fixed plan approval in screen reader mode sending feedback you had dismissed with Escape
Improved screen reader mode: deleting a rule in /permissions says "Deleted allow rule …" right away
Improved screen reader mode: Claude's questions are listed as "Questions: Color (answered), Pages", without arrows or symbols
Lost Backslashes and Pasted Image Paths Fixed, File Picker Supports Negation Rules
When typing commands, pasting text, or selecting files in the terminal, having characters swallowed by the interface interrupts your train of thought. ⟦Organizing a manual on a typewriter used to mean that pasting an image path caused the typewriter to impulsively clip the text and paste a photograph, print brackets while omitting backslashes, or even fail to locate files noted as exceptions in the index; now original text is preserved intact, and misclicks on a scrollbar can be cancelled simply by moving away.⟧
A lone backslash inside quotes or brackets, like "\" or (\), no longer disappears from replies. When pasting text containing an image path, such as ! open /tmp/shot.png, it no longer mistakenly attaches the image and drops the path text.
When typing @ to select files, negation rules in .ignore and .rgignore are now supported, correctly selecting re-included files. While the prompt contains text, the feedback draft card no longer displays shortcut keys to prevent key conflicts. Clicks on scrollbars in fullscreen lists now trigger only upon releasing the mouse button, allowing you to cancel by moving away.
Original changelog
Fixed the @ file picker ignoring .ignore/.rgignore negation rules that re-include git-ignored files
Fixed pasting text that mentions an image file, such as ! open /tmp/shot.png or /review look at /tmp/shot.png, attaching the image and dropping its path from the prompt
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
Fixed a lone backslash in quotes or brackets, like "\" or (\), disappearing from Claude's responses
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
[VSCode] Custom skills include current file context, fixing login freezes and image click misbehavior
When invoking commands directly from an IDE sidebar, the editor's cursor position and selected range serve as the user's most natural context. ⟦Standing with an assistant over a shared draft, clicking a custom delegation button previously caused the assistant to ignore the paragraph under your finger, and pressing the send key during dictation left the recorder running; now custom delegations read the active view accurately, and clicking image attachments no longer opens the underlying document unexpectedly.⟧
When sending custom skills and custom slash commands from the VS Code or JetBrains panel, a bug where open files or selected lines were left out has been fixed, and they are now included just like ordinary messages.
An issue where the login shell reading start-up files for PATH on macOS and Linux caused the extension host to freeze has been resolved. Clicking an image in a tool result or closing its preview no longer mistakenly opens the result's text in an editor tab. Sending a message with the Send button now stops voice dictation first to prevent ongoing recording.
Original changelog
[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)
[VSCode] Fixed the extension host freezing while the login shell ran its start-up files to read PATH on macOS and Linux
[VSCode] Fixed clicking an image in a tool result, or closing its preview, also opening the result's text in an editor tab
[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