usage

Claude Code 2.1.331

Tools and page contents
On this page

New 27

01

Code Mode in Terminal Supports Four Cloud Platforms

Enterprises and developers running terminal sessions through cloud services previously could not enable Code Mode. Amazon Bedrock and Google Cloud's Agent Platform are now supported. Microsoft Foundry and Claude Platform on AWS can use this mode as well. ⟦Think of switching your home to a different electric utility: once you plug in, your existing appliances keep running without buying a whole new set of equipment.⟧

Original changelog

Added Code Mode support in terminal sessions on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and Claude Platform on AWS

02

Gateway Adds oidc.groups_jsonpath

When authentication returns group data wrapped inside a list of objects, you can now read it directly from matching entries. Administrators can add the oidc.groups_jsonpath key to the Claude apps gateway to read groups with a compact version of JSONPath (a query syntax for picking fields from a data structure). This query syntax supports a small subset of the RFC 9535 standard. ⟦Picture receiving a long itemized bill where you used to scan the whole page, and now placing a stencil over it so only the matching group names show through.⟧

Original changelog

Added oidc.groups_jsonpath to the Claude apps gateway, to read groups from the matching entries of a list of objects with a small subset of JSONPath (RFC 9535)

03

claude doctor Adds API Connectivity Check

If you cannot reach the API and want to check the connection, you can run claude doctor. This diagnostic command adds an API connectivity check section that tells you directly whether the API is reachable. When it succeeds or fails, the screen includes the HTTP status code or error message; if the test did not run, it also explains why it was skipped. ⟦Like a diagnostic scanner at an auto repair shop, plugging it in not only tells you if the engine runs smoothly, it also prints the fault code or notes which item was not tested this time.⟧

Original changelog

Added an API connectivity section to claude doctor that reports whether the API can be reached, with the HTTP status or the error, or says why it wasn't tested

04

Tap-Mode Dictation Shows Notice on Auto-Stop

Realizing mid-sentence that the microphone stopped long ago can happen with voice input too. Now when using tap-to-start voice dictation, a reminder notice pops up on screen whenever it ends automatically after 15 seconds without recognized speech or upon hitting the 2-minute per-session limit. ⟦A coin-operated karaoke booth cuts off the mic and rings a bell when time is up, and dictation now displays a notice when it stops on its own.⟧

Original changelog

Added a notice when tap-mode voice dictation stops by itself, after 15 seconds without recognized speech or at its 2-minute limit

05

New Environment Variable Avoids Proxy Truncating Compressed Responses

If a company or team network proxy cuts off compressed model responses mid-stream, conversations often fail halfway through. You can now set the environment variable CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION to request uncompressed response content and avoid truncation. However, enabling this option is not yet recommended on self-hosted runners (machines set up by a company or individual to run automated tasks) or Remote Control. ⟦Just as with ocean freight, when you worry a vacuum-sealed bag might get slashed, you ship in the original box instead, though certain routes are off-limits for now.⟧

Original changelog

Added CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION to ask for uncompressed model responses behind a proxy that cuts compressed ones off; not advised yet for self-hosted runners or Remote Control

06

Gateway Supports Sending IdP Hostname via Proxy

When managing a Claude apps gateway with oidc.use_proxy: true enabled, write the configuration file as follows:

{"oidc": {"use_proxy": true}}

The new environment variable (a setting read when starting a program) can be set to CLAUDE_GATEWAY_IDP_CONNECT_BY_HOSTNAME=1.

Even with NO_PROXY (the list of addresses that bypass the proxy) set, sign-in requests still pass the HTTPS identity provider's hostname to the proxy. ⟦Imagine a freight service with a "direct delivery, skip the transfer hub" list: once this special label is attached, encrypted packages still hand their destination address to the transfer hub.⟧

Original changelog

Added CLAUDE_GATEWAY_IDP_CONNECT_BY_HOSTNAME=1 for Claude apps gateways: with oidc.use_proxy: true, sign-in requests hand the proxy an https IdP's hostname even with NO_PROXY set

07

Model Request Traces Add Usage and Model Details

For administrators and developers using telemetry tracing: when checking logs in the past, you often could not see the actual operation, which version responded, or how many resources were spent. Now these trace records include the operation name, the model that actually responded, and usage metrics.

When counting input usage, prompt caching (temporarily storing repeated content for direct reading) is included as well.

The input token (text unit processed and billed by AI) count in these model request trace records does include this usage.

Analogy

Comparing this to checking a maintenance work order, the form used to say only that a job was dispatched, whereas now it lists the task performed, which machine was used, and the consumption including spare materials.

Original changelog

Added gen_ai.usage.*, gen_ai.response.model and gen_ai.operation.name to claude_code.llm_request trace spans; gen_ai.usage.input_tokens includes prompt cache tokens

08

Plugin Manifests Add Independently Removable Optional Packages

Installing a plugin only to be forced into a bundle of unused extras is frustrating for both developers and users. Plugin authors can now add optionalDependencies to a plugin manifest to list optional dependent plugins. Those optional items install alongside the main plugin, and afterward you can disable or uninstall any of them on their own at any time without affecting the main plugin. ⟦It feels like buying a sofa that comes with throw pillows: they arrive together at your door, yet you can put away any pillow you do not want whenever you like.⟧

Original changelog

Added optionalDependencies to plugin manifests: plugins that install with the plugin listing them and can be disabled or uninstalled on their own

09

Confirmation Options Put "Yes" First While Defaulting to "No"

When running /ide to stop auto-connect, or calling /clear, /compact, or /rewind in a subagent view, the option order in the confirmation dialog has changed. The option list now puts "Yes" on the first line and "No" below it, while the default cursor still starts on "No". If you press "Down" and then Enter out of old habit, you will now select "No". ⟦Suppose a remote control swaps the confirm and cancel buttons vertically: even though the cursor still starts on cancel, pressing down the old way picks the wrong one.⟧

Original changelog

Changed the questions for stopping auto-connect in /ide and for /clear, /compact or /rewind in a subagent's view to list Yes first; they still start on No, so Down then Enter now answers No

10

Adjust Retry Rules for PermissionDenied Hook

When the PermissionDenied hook (a small program triggered automatically when a specific event occurs) returns retry: true, retrying now has an extra safeguard. Claude only resends the refused call if you actually asked for that call. ⟦Resending registered mail at a post office counter works the same way: the clerk first verifies that you were the one who sent the letter before mailing it again.⟧

Original changelog

Changed what a PermissionDenied hook's retry: true tells Claude: make the refused call again only if you asked for that call

11

Managed plugin marketplaces will auto-update by default

For administrators managing enterprise or team-controlled environments: if your team uses managed settings to centrally list plugin sources, take note of an upcoming rule change. In a future release on or after November 30, 2026, plugin marketplaces listed in extraKnownMarketplaces will auto-update by default. If you do not want a specific marketplace to upgrade automatically, remember to add "autoUpdate": false to its entry to turn it off manually. ⟦Consider a newspaper subscription: after the set date, delivery happens automatically every day by default, and you have to post a stop-delivery notice first for any paper you do not want to receive.⟧

Original changelog

Changed in a future release, on or after November 30, 2026: plugin marketplaces in managed extraKnownMarketplaces will auto-update by default. To opt one out, set "autoUpdate": false on its entry

12

Check Windows registry managed settings before upgrading

If your environment pushes settings centrally through system policies, make sure there are no mistakes in them before updating. Administrators on Windows who rely on the registry for managed settings should inspect those entries before upgrading. Because policy settings in HKLM take precedence over the local managed-settings.json, a broken value in the registry can prevent the program from starting. ⟦When headquarters issues a bulletin, it overrides local branch rules, so a misprint on that main notice can keep the entire branch from opening that day.⟧

Original changelog

Windows: Changed start-up with managed settings in the registry: check them before upgrading, as an HKLM policy outranks managed-settings.json and a broken value can stop the start

13

Speed up startup wait for new sessions

When you start a new session soon after opening another, it no longer waits to reload the model list. If the working directory is not inside a Git repository and has no .claude/settings.local.json config file under it, startup also stops wasting time waiting on git.

Original changelog

Improved start-up time: a session started soon after another no longer waits for the model list, and one outside a git repository without .claude/settings.local.json no longer waits on git

14

Shorten /login and Console sign-in links

When verifying your account in the terminal and pasting the URL into a browser, an overly long sign-in link is awkward to read. Now, the Console sign-in link generated by /login or claude auth login --console is much shorter.

Original changelog

Improved the Console sign-in link shown by /login and claude auth login --console: it is now much shorter

15

Label web pages in artifact list to prevent connector misuse

When Claude checks your list of artifacts, the list now specifically marks web page items. That makes Claude less likely to mistakenly try opening one with the Claude Docs connector.

Original changelog

Improved Claude's list of your artifacts: it now marks web pages, so Claude is less likely to try opening one with the Claude Docs connector

16

Show warning in VS Code when logout revocation is unconfirmed

If you clicked log out in VS Code and rushed to close the window, and the request to revoke your claude.ai login wasn't confirmed, you previously might have assumed you were cleanly signed out. Now, when this happens, a warning appears on screen with a link to the revoke page. ⟦Canceling a phone plan without getting the carrier's cancellation text prompts the store clerk to warn you that confirmation hasn't arrived yet and hand you a card printed with the cancellation URL.⟧

Original changelog

[VSCode] Added a warning and a link to the revoke page when you log out and the request to revoke your claude.ai login isn't confirmed

17

Show Notice and Advice Before Sending Oversized Content in VS Code

When you accidentally select and send an entire massive log file, you often only discover the overload after an error appears on screen. Now, before sending a very large selection or attached text file in VS Code, a notice pops up first. If you do trigger a "Prompt is too long" error, advice underneath will clearly name the oversized part and tell you what to do next. ⟦An elevator weight sensor sounds a warning first, and if it stalls from an overload, the display points out which crate is too heavy to unload first.⟧

Original changelog

[VSCode] Added a notice before sending a very large selection or attached text file, and advice under "Prompt is too long" that names the large part and what to do next

18

Add VS Code Notebook Cells to Chat in One Click

Looking at a failing cell in a VS Code notebook, having to copy both the code and the error output underneath to ask Claude for debugging help is a hassle. Now, opening the notebook cell menu reveals a new "Add Cell to Chat" option. Clicking it attaches the cell along with its execution outputs or error directly to the chat box. ⟦Visiting a doctor, you hand over the lab report with its flagged numbers instead of reading everything aloud yourself.⟧

Original changelog

[VSCode] Added "Add Cell to Chat" to the notebook cell menu, which attaches a cell with its outputs or error

19

Add Quick-Fix Chat Option for Errors and Failed Tests in VS Code

When code shows red squiggles or a test turns red, you used to have to copy and paste the error message to ask Claude. Now VS Code includes "Fix with Claude Code" in the quick fix menu for errors and warnings, as well as next to failed tests in the test peek and the Test Results view. Selecting it puts the problem straight into the chat input box. ⟦During a sports match, a missed catch has a "Replay for Coach" button right beside it that sends the clip straight for review.⟧

Original changelog

[VSCode] Added "Fix with Claude Code" as a quick fix for errors and warnings and to failed tests in the test peek and the Test Results view, which puts the problem into the chat box

20

Add Changed Files to Chat from VS Code Source Control Menu

Before committing code, asking Claude to review your changes used to mean switching windows to pick out files yourself. Now, right-clicking a file in the changed files list of the VS Code Source Control view shows "Add to Chat". Clicking it attaches that file directly to the chat box. ⟦Online shoppers toss items straight into a cart without opening a separate search page, and here a right-click sends any changed file straight to chat.⟧

Original changelog

[VSCode] Added "Add to Chat" to the right-click menu of changed files in the Source Control view

21

Require Interaction on Proposed Diff Side Before Accepting Save in VS Code

When previewing a proposed edit from Claude, hitting save directly used to risk applying the entire suggestion by accident. Now, saving a proposed diff only counts as accepting it after you have clicked or typed in the proposed panel on the right. If a save is refused, or if closing with Save applies nothing, a notification appears to explain. ⟦Trying on clothes only counts as a purchase once you nod and button them up, whereas hanging the garment back on the rack never triggers checkout.⟧

Original changelog

[VSCode] Changed saving a proposed diff to accept it only after you click or type in its proposed (right) side; a notification says when a save is refused or a close with Save applies nothing

22

Open Terminal Diffs Without Stealing Focus in VS Code

While you are focused on typing commands or text, a sudden diff window used to pull your cursor away and interrupt your typing. Now, diffs opened in VS Code from a terminal session no longer move keyboard focus, and if the original file has unsaved changes, the diff opens beside it instead. To respond to the edit, click "Accept" yourself or switch back to the terminal. ⟦While you write a letter, a friend quietly sets suggested edits beside your desk without snatching the pen from your hand.⟧

Original changelog

[VSCode] Changed diffs from a terminal session to open without moving keyboard focus, and beside a file with unsaved changes; to answer, click Accept or use the terminal

23

Simplify VS Code Permission Card Options Under Managed Rules

In enterprise environments with allowManagedPermissionRulesOnly enabled, VS Code permission cards used to include an option to create an allow rule. Now those cards only show "Yes" and "No". Because there are fewer options, pressing 2 on those cards now answers "No" directly, so watch out before hitting keys out of habit. ⟦Crossing out the middle "don't ask again" box on a survey leaves only "yes" and "no", turning choice 2 straight into "no".⟧

Original changelog

[VSCode] Changed permission cards to show only Yes and No when allowManagedPermissionRulesOnly is set and the card would offer an allow rule; key 2 on those cards now answers No

24

Ignore Enter When VS Code Find Box Loses Focus

You have the Find box open in a Claude tab, but accidentally click somewhere else on screen and lose input focus. Now, whenever the Find box has lost focus, the tab ignores Enter and shows a notice to alert you.

Original changelog

[VSCode] Changed a Claude tab to ignore Enter and show a notice when its Find box has lost the keyboard

25

Faster VS Code Panel Startup and Chat Opening

When opening the editor to start work, you used to stare at a spinner for a while before you could type. This update cuts wait times for starting the Claude panel and opening chats in VS Code across a range of hardware and dev environments.

Startup speed and memory use are both improved, with the panel and new tabs opening faster and the first message in a new tab getting a reply sooner; on Pro and Max plans, the folder trust dialog also appears earlier.

When opening a new folder with no Python files while the Python extension is installed, the time to the first reply is shorter.

In remote windows (SSH, WSL, or containers), panel startup, reply display, and session reopening are all smoother.

On slower drives or systems with antivirus scanning, starting chats, opening them from history, and recovering after a restart are also noticeably faster.

Original changelog

[VSCode] Improved the time to the first reply in a new folder when the Python extension is installed and the folder has no Python

[VSCode] Improved startup and memory use: the panel and new chat tabs open faster, a first message in a new tab is answered sooner, and on Pro and Max plans the folder trust dialog comes up sooner

[VSCode] Improved speed in remote windows (SSH, WSL, containers): the panel starts, replies appear and sessions reopen faster

[VSCode] Improved how fast chats start, open from history and come back after a restart on slow or antivirus-scanned disks

26

Faster VS Code Interactions in Long and Idle Chats

When conversations grow long, many files have been edited, or your computer sits idle before you return to ask a question, the VS Code interface is now more responsive.

Opening, restoring, and switching back to long conversations is faster, especially when many files were edited or in environments where git is slow.

During streaming replies in long chats, typing and large file writes are smoother, permission prompts appear faster, and sending a message with accessibility support enabled no longer causes severe freezing.

On low-memory machines, the wait for a response to the first message sent after a chat has been idle for a while is now shorter.

When reopening old conversations, diff views render faster, and diff menu entries that did not work have been removed.

Original changelog

[VSCode] Improved the speed of opening, restoring and switching back to long conversations, most of all with many file edits or where git is slow

[VSCode] Improved responsiveness in long chats: smooth typing and large file writes while a reply streams, faster permission prompts, and far less freezing on send with accessibility support on

[VSCode] Improved the time to a response for the first message after a chat has been idle for a few minutes on a machine that is low on memory

[VSCode] Improved how fast diffs appear in reopened conversations, and removed diff menu entries that did not work

27

VS Code Connection, Voice, and Sign-In Prompt Improvements

When voice dictation drops or authentication is refused, VS Code now gives more accurate on-screen prompts.

If the voice dictation connection drops or never opens, it no longer falsely reports "no speech was recognized" and now clearly states that the connection was lost or could not connect.

The conversation panel no longer shows "Something went wrong" when a gateway sends a tool call with no name.

When the sign-in screen opens because a request was refused, it now explains why it opened.

Original changelog

[VSCode] Fixed voice dictation saying no speech was recognized when its connection closed or never opened; it now says the connection was lost or couldn't connect

[VSCode] Fixed the panel showing "Something went wrong" for a conversation in which a gateway sent a tool call with no name

[VSCode] Improved the sign-in screen to say when it opened because a request was refused

Performance 1

28

Speed up typing in long screen reader sessions

After relying on voice assistive software for a long conversation, typing on the keyboard used to feel laggy and delayed. Now, when entering text with screen reader mode enabled, typing responds much faster than before, especially in long sessions.

Original changelog

Improved typing speed in screen reader mode, most of all in long sessions

Fixed 40

29

Code Mode session resume and long output fixes

Code Mode in the terminal fixes several issues affecting execution and output.

Resuming a session in a different permission mode with --resume or --continue no longer loses thinking or the prompt cache; a session started in a mode that asks still keeps that mode's limits on scripts.

Typing ! or a slash command while a script is still running no longer fires off a request every second.

Long script outputs no longer lose their middle section, and Claude now receives a file path to the full uncut text.

When running with --bare, Claude is now properly informed of what its scripts can call.

Tool search also displays more of an MCP (a protocol that lets AI connect to external tools) tool's description, including its limits, formats, and defaults.

Original changelog

Fixed Code Mode sessions resumed with --resume or --continue in another permission mode losing thinking and the prompt cache; one begun in a mode that asks keeps that mode's limits on scripts

Fixed Code Mode sending a request about every second when a ! or slash command was typed while a script was running

Fixed Code Mode losing the middle of a long script output; Claude now gets a path to the uncut text (anthropics/claude-code#111373)

Fixed Code Mode with --bare not telling Claude what its scripts can call

Improved Code Mode tool search to show more of an MCP tool's description, with its limits, formats and defaults

30

Fixes for narrow and short terminal layouts and lists

When screen space is pulled narrow or squashed short, key hints, choices, and text can easily get cut off or cramped.

Single-line tool results in narrow windows now include an ellipsis when truncated. The Auto mode tab in /permissions no longer leaves stray Markdown stars, and a hook's reason for stopping a forked skill no longer prints twice.

/diff no longer hides key hints or fails to select files in windows of 24 to 26 rows. Files added with git add -N are also listed in Git repositories with no commits yet.

Short windows now show enough themes during first-run setup, and tall screens like /usage no longer come out garbled.

When running /bug in fullscreen, a long report no longer covers the "Yes" and "No" buttons, and "Yes" stays visible even in very short windows.

Fullscreen /cd and /add-dir trust prompts now display their choices in fewer rows, and the launch prompt keeps the folder path visible when it has many warnings.

Original changelog

Fixed one-line tool results cut with no ellipsis in narrow windows, Markdown stars in the Auto mode tab of /permissions, and a hook's reason to stop a forked skill showing twice

Fixed /diff hiding its key hints and not selecting files in windows of 24 to 26 rows, and leaving out files added with git add -N in a repository with no commits

Fixed the first-run theme list showing too few themes in short windows, and /usage and other tall screens coming out garbled there

Fixed /bug in fullscreen hiding its Yes and No answers behind a long report, and Yes staying out of view in very short windows

Improved the folder trust prompts in short terminals: fullscreen /cd and /add-dir show their choices in fewer rows, and the prompt at launch keeps the folder path in view when it has many warnings

31

Fixes for hanging plugin installs and partial updates

Several issues that caused hangs or missing components when installing or auto-updating plugins have been resolved.

An interrupted or failed plugin update no longer leaves behind a partial folder that later loads with missing skills or other components.

Commands such as claude plugin install and marketplace add no longer hang with no output when managed settings require an approval that cannot be prompted.

The plugin auto-update notice now lists newly installed dependency plugins separately from the updated plugins.

Original changelog

Fixed an interrupted or failed plugin update leaving a partial plugin folder that later loaded with skills or other components missing (anthropics/claude-code#102186)

Fixed claude plugin install, marketplace add and similar commands hanging with no output when managed settings needed an approval that could not be asked for

Improved the plugin auto-update notice to name plugins it newly installs as dependencies, separately from updated plugins

32

Fixes for subagent messaging and Workflow agent cleanup

When splitting complex work across multiple background helpers in parallel, messages could occasionally disappear or resources could stay open after the work finished.

Claude now receives a clear notification when permission rules on the Agent tool block and drop a queued message sent to a subagent that has already ended.

Permission rules restricting a subagent's model, such as Agent(model:*), no longer mistakenly block follow-up messages to a subagent started on this version with no model specified.

After a Workflow agent hands back its report, its background shells (programs that interpret and run commands) and MCP servers now exit properly instead of staying running.

Original changelog

Fixed Claude not being told when permission rules on the Agent tool dropped its queued message to a subagent that had already ended

Fixed a Workflow agent's background shells and MCP servers sometimes being left running after it handed back its report

Fixed a permission rule on a subagent's model, such as Agent(model:*), blocking Claude's follow-up message to a subagent started on this version with no model named

33

Fixes for hung tools, long reply timeouts, and freezes

When a connection stalls or waits for a response, the terminal no longer waits indefinitely or freezes up.

MCP tool calls no longer hang for up to 30 minutes when a local or WebSocket server returns a malformed reply.

When a reply goes silent while Claude is still thinking, turns and subagents in cloud sessions no longer fail immediately, and long replies elsewhere no longer time out right away. Claude Code automatically retries the request once.

Pressing Esc or clicking Stop when reading a cloud or network file stalls no longer waits about a minute or more.

The CLI no longer freezes on certain replies, and quoted text no longer disappears or shows up twice.

Original changelog

Fixed MCP tool calls hanging for up to 30 minutes on some malformed replies from a local or WebSocket server

Fixed turns and subagents failing in cloud sessions, or timing out on long replies elsewhere, when a reply went silent while Claude was still thinking; Claude Code now tries the request once more

Fixed Esc and Stop waiting about a minute or more when the contents of a cloud or network file that Claude is reading stall

Fixed the CLI freezing on some replies, and quoted text sometimes going missing or showing twice

34

Windows startup, install, and memory stability fixes

Installation flow, startup stability, and command responsiveness have all been improved on Windows.

Running /desktop no longer downloads the older Claude Desktop installer, and it no longer triggers a false update prompt even if an older installation folder is left behind.

Startup now works properly even when managed settings in the registry contain non-ASCII characters such as Japanese.

A possible crash when the machine is nearly out of memory has been fixed.

The first Bash command in a session also runs faster on machines without custom shell start-up files.

Original changelog

Windows: Fixed /desktop downloading the older Claude Desktop installer, and asking for an update when an older install's folder was left behind

Windows: Fixed a possible crash when the machine is almost out of memory

Windows: Fixed Claude Code refusing to start when managed settings in the registry contain non-ASCII characters such as Japanese (anthropics/claude-code#93280)

Windows: Improved the speed of the first Bash command in a session on machines with no custom shell start-up files

35

Fixed repeated permission prompts on FAT32 drives

When writing files to FAT32 or exFAT drives during certain plugin sessions on Windows, you previously had to click Allow every single time. This issue is fixed, and permission prompts no longer pop up repeatedly.

Original changelog

Windows: Fixed file writes on FAT32 and exFAT drives asking for permission every time in some plugin sessions

36

Fixed Windows Remote Control missing new subagent steps

When tracking task progress in a Windows Remote Control client, a newly started subagent could already be working without the screen listing what it did. This issue is fixed, and those steps now display properly.

Original changelog

Windows: Fixed Remote Control clients showing no steps for a new subagent

37

Fix PushNotification status misreporting in headless runs

When running automated tasks such as scheduled runs in headless mode (running without a terminal window), PushNotification previously reported that the terminal was active during its first minute. This has been fixed, and it now accurately reports whether a mobile push was requested.

Original changelog

Fixed PushNotification telling a headless run, such as a scheduled one, that the terminal was active in its first minute, instead of saying whether a mobile push was requested

38

Fix /install-github-app skipping steps

After running /install-github-app found no repositories and showed setup warnings, it previously skipped the repository selection step. Pressing Esc to go back from the workflow list or sign-in steps also failed to work. Both issues have been fixed.

Original changelog

Fixed /install-github-app skipping the repository step after setup warnings when no repository was found, and Esc not going back from its workflow list and sign-in steps

39

Fix conversation compaction losing summary on certain XML tags

When trimming down a long conversation midway through, the condensed summary could previously lose a section if the discussion happened to quote certain markup syntax. Now, when running /compact or auto-compact, the summary content stays intact even when specific XML tags appear in it.

Original changelog

Fixed /compact and auto-compact sometimes losing part of the conversation summary when the summary quoted certain XML tags

40

Fix Remote Control messages appearing above replies

When sending the next message just as the text on screen was finishing, the conversation order could previously get mixed up. In Remote Control, a newly sent message will no longer appear out of place above that reply.

Original changelog

Fixed a Remote Control message sometimes showing above the reply that was finishing when it was sent

41

Fix Stop hooks missing the last reply

In Claude Desktop, Stop hooks configured to read the conversation transcript previously missed the last reply. This has been fixed, and SubagentStop hooks now wait for that reply to appear before running.

Original changelog

Fixed Stop hooks that read the transcript missing the last reply in Claude Desktop; SubagentStop hooks now wait for it too

42

Fix failures reading notebooks with certain outputs

When asking Claude to inspect a notebook containing execution results, it previously failed to read the following outputs.

Outputs that are null (no value) can now be read normally.

Error outputs without a traceback (call trace information from when an error occurred) will also no longer cause notebook reads to fail.

Original changelog

Fixed Claude failing to read a notebook that has a null output or an error output with no traceback

43

Fix rewind deleting files after a failed restore

When using rewind to roll files back to a previous state, if the restore step failed midway, it would previously delete the files. This has been fixed, so files are no longer deleted after a failed restore.

Original changelog

Fixed a rewind deleting files after a restore had failed

44

Fix auto mode refusing to stop /loop

In auto mode, when asking Claude to stop a scheduled /loop, its stop call was previously sometimes refused, causing the next scheduled wake-up to keep running. This has been fixed.

Original changelog

Fixed auto mode sometimes refusing Claude's call to stop a /loop, which left the next wake-up to fire

45

Fix hooks not saving skill allow rules across settings files

When using a PermissionRequest hook, trying to save allow rules like Skill(name:*) to a settings file outside local settings previously failed. This has been fixed, and they can now be written to settings files in other scopes.

Original changelog

Fixed PermissionRequest hooks not saving Skill(name:*) allow rules outside local settings

46

Fix team pooled budget block and approval prompt text

When blocked by your team's pooled group budget, the "Ask your admin" screen previously asked you to request raising your own limit. If an admin had just approved your request, it also continued to display "Request sent". Both incorrect prompts have been fixed.

Original changelog

Fixed "Ask your admin" asking to raise your own limit when your team's pooled group budget blocked you, and saying "Request sent" when an admin had approved your request in the last few minutes

47

Fix hold-to-talk dictation cutting off when busy

When Claude Code was busy handling other work, hold-to-talk voice dictation used to disconnect early and drop several words. This issue is now fixed, so hold-to-talk dictation no longer cuts off early or drops words while busy.

Original changelog

Fixed hold-to-talk dictation stopping early and losing words when Claude Code was busy

48

Fix crash from unnamed tool calls on custom endpoints

When connected to a self-hosted external interface, if it returned a command request missing a name, the entire conversation used to crash and stop. Now such an unnamed tool call fails with an error instead, and the existing session continues.

Original changelog

Fixed a crash when a custom API endpoint returned a tool call with no tool name; the call now fails with an error and the session continues

49

Fix @file#10-12 mentions attaching the whole file

When asking a question and only wanting to pull a few lines of code to discuss, the system used to cram the whole document into the conversation. Now, when specifying line numbers with a mention like @file#10-12, only lines 10 to 12 are attached.

Original changelog

Fixed @-mentions written as @file#10-12 attaching the whole file instead of those lines

50

Fix misreading pasted artifact invitation links

When someone shared a link and you pasted it straight into the conversation for Claude to check, it used to misread the contents. Now, when given an artifact invitation link, it asks you to accept the invitation first and then paste the link to the artifact itself.

Original changelog

Fixed Claude misreading a pasted artifact invitation link; it now asks you to accept the invitation and paste the artifact's own link

51

Fix Bash startup when temp access is blocked and disk is full

If you set file rules that keep programs out of the space where your computer stores temporary data, and that drive happens to have no free space left, Bash commands protected by a sandbox (an isolated environment that restricts what programs can access) previously still sometimes failed to start. Now, Bash commands start normally in this situation.

Original changelog

Fixed sandboxed Bash commands sometimes failing to start on a full temp disk, for sandboxes whose file rules keep commands out of the temp directory

52

Add Merge Conflict Resolution Option in VS Code

When a Git branch merge fills a page with conflict markers, comparing the top and bottom changes yourself easily makes your eyes blur. VS Code now adds a "Resolve Merge Conflicts" option in two places. You can find this button in the editor title bar of any file with merge conflicts and inside the "Merge Changes" group under Source Control. Clicking it when you spot a conflict asks Claude to step in and help. ⟦Two writers scribble over the same sheet until their pens collide, and a button pops up right beside them to summon a mediator with one press.⟧

Original changelog

[VSCode] Added "Resolve Merge Conflicts" to the editor title of a file with merge conflicts and to the Merge Changes group in Source Control

53

VS Code @ File Menu Sorting and Line-Range Fixes

Typing @ in the VS Code chat box to pick files or specify line ranges now works better, with improved menu display and file attachment behavior.

The @ file menu now lists files from currently open editor tabs first, with the most recently used on top.

Before search results arrive, the menu no longer mistakenly shows "No files found". When a workspace is too large to search all files, it now clearly states this limitation.

After Claude changes folders with cd, @-mentions no longer fail to attach anything or pick the wrong file with the same name.

Using Alt+K to create a line-range mention such as @app.ts#5-10 no longer sends the entire file or its first 2,000 lines.

Pressing Tab or Enter quickly no longer inserts the wrong file, and pressing Enter on a prompt ending in an @word with no matching file now sends properly.

Original changelog

[VSCode] Fixed the @ menu showing "No files found" before its first search results arrived, or when it couldn't search all files of a very large workspace, which it now says

[VSCode] Fixed @-mentions attaching nothing, or another file of the same name, after Claude changed folders with cd

[VSCode] Fixed Alt+K line ranges such as @app.ts#5-10 sending the whole file, or its first 2,000 lines, instead of the selected lines

[VSCode] Fixed the @ menu inserting the wrong file on a quick Tab or Enter, and Enter not sending a prompt that ends in an @word with no matching file

[VSCode] Improved the @ file menu to list the files of open editor tabs first, the most recently used on top

54

VS Code Escape and Shortcut Misfire Fixes

Pressing Escape after renaming a session no longer stops Claude, and closing session history with it no longer loses typing focus.

Pressing Escape at a Remove or Delete confirmation in MCP, Hooks, and Memory dialogs, or on a button or link in the side question panel, no longer stops Claude by mistake.

This fix also applies when the bookmarks panel is open and focus is on the Bookmarks button.

Pressing Escape on a permission prompt now cancels instead of sending a half-typed instruction.

Ctrl+1, Alt+1, or Ctrl+Space no longer accidentally triggers an open dialog, which could restore files during a rewind confirmation or switch the git branch.

Pressing Ctrl+J or Ctrl+O in the chat on Windows and Linux no longer also opens the terminal or the Open File dialog.

Original changelog

[VSCode] Fixed Escape stopping Claude after renaming a session, and typing going nowhere after closing the session history with Escape

[VSCode] Fixed Escape stopping Claude at a Remove or Delete confirmation in MCP, Hooks and Memory dialogs, on a side question panel's button or link, and on the Bookmarks button with its panel open

[VSCode] Fixed shortcuts such as Ctrl+1, Alt+1 or Ctrl+Space answering an open dialog, which could restore files in the rewind confirmation or switch the git branch

[VSCode] Fixed Escape on a permission prompt sending a half-typed instruction to Claude instead of cancelling

[VSCode] Fixed Ctrl+J and Ctrl+O in the chat also opening VS Code's terminal or Open File dialog on Windows and Linux

55

VS Code Command Menu and Draft Preservation Fixes

Input mishaps where typed prompts were suddenly wiped by picking the wrong command or switching modes are now resolved.

While typing to filter in the command menu, the highlight no longer stays on an earlier item, so pressing Enter no longer runs the wrong row.

Pressing Tab on a command in the "/" button's menu or clicking an onboarding suggestion no longer clears a message you already wrote.

Your draft is now preserved after running /tasks, /copy, /export, or skipping /feedback. The same applies when entering /plan while already in plan mode.

Using the arrow keys to browse message history no longer overwrites your currently typed text, and edits to a recalled prompt are kept.

When a path like /api appears alongside other text, pressing Enter no longer rewrites the message or triggers a menu action. Typed slash commands with arguments no longer drop their arguments when run.

Original changelog

[VSCode] Fixed the command menu keeping an earlier match highlighted while you type more in its filter, so Enter could run the wrong row

[VSCode] Fixed a written message being wiped by Tab on a command in the "/" button's menu or by a click on an onboarding suggestion

[VSCode] Fixed typed text being lost after /tasks, /copy, /export, a skipped /feedback, or /plan while already in plan mode

[VSCode] Fixed the arrow keys replacing typed text with an old prompt while selecting, and dropping edits to a recalled prompt

[VSCode] Fixed Enter rewriting a message or running a menu action when a /word such as the path /api stands beside other text, and running a typed slash command without its arguments

56

VS Code Focus and Unsent Question Fixes

Opening a new tab to type, closing the sidebar, or answering multiple-choice questions no longer causes your text or cursor focus to disappear.

Unsent side questions are no longer lost when the panel is closed.

Submitting a custom "Other" answer on a question card with Ctrl+Enter or Cmd+Enter no longer drops what you typed, and if nothing was typed, it no longer sends the word "Other" by itself.

An @ file mention added while a permission prompt is open now stays put.

A newly opened Claude tab now focuses its input box properly, and no longer steals keyboard focus late from the terminal or command palette and sends half-typed text as a prompt.

Original changelog

[VSCode] Fixed an unsent side question being lost when its panel closes

[VSCode] Fixed the question card dropping a typed "Other" answer on Ctrl/Cmd+Enter, and sending the word "Other" when nothing was typed

[VSCode] Fixed an @-mention added while a permission prompt was open being lost

[VSCode] Fixed a newly opened Claude tab not focusing its message box, or taking the keyboard late from the terminal or command palette and sending the typed text as a prompt

57

VS Code File Links and Selected Code Fixes

When discussing code with Claude alongside the editor, selected snippets could fail to attach or clicking a file link could jump back to line 1. File paths, link navigation, and selected-code tracking in chat now behave properly.

Prompts that start with a file path or code comment now attach selected code properly and include the fork and rewind menu.

Closing a file tab no longer leaves previously selected lines attached to your next message.

Except for notebooks, clicking workspace file links in chat now opens them according to your configured editor associations.

Clicking a file link without a line number no longer moves the cursor of an already open file back to line 1.

Original changelog

[VSCode] Fixed prompts that start with a file path or code comment being sent without the selected code and having no fork or rewind menu

[VSCode] Fixed file links in the chat ignoring your editor associations for files in the workspace, except notebooks (anthropics/claude-code#81482)

[VSCode] Fixed selected lines staying attached to your next message after their file's tab was closed

[VSCode] Fixed file links without a line number moving the cursor of an open file to line 1

58

VS Code Diff Preview and Edit Approval Fixes

In diff tabs for reviewing Claude's code edits, symbol rendering, tab ordering, and rejection notifications are now fixed.

The + and − signs in diff views now display properly instead of turning into empty boxes.

Proposed changes to notebooks and files using custom editors no longer open tabs that lack Accept or Reject buttons and stay open after you respond.

When multiple subagents wait for approval at the same time, diff tabs now open in order, and a later edit to the same file no longer cancels an earlier one.

Claude is no longer left uninformed when you reject part of a proposed edit or modify it in the diff view before accepting.

Original changelog

[VSCode] Fixed empty boxes showing instead of the + and − signs in diffs (anthropics/claude-code#73069)

[VSCode] Fixed proposed changes to notebooks and files with a custom editor opening in a tab with no Accept or Reject that stayed open after the answer

[VSCode] Fixed diff tabs opening out of order when several subagents wait for approval, and a later edit to the same file cancelling an earlier one

[VSCode] Fixed Claude not being told when you reject part of a proposed edit or change it in the diff view before accepting

59

VS Code Symlink Saving and Encoding Fixes

Data protection for saving and displaying files is now more thorough when opening folders via special paths or working with non-UTF-8 and right-to-left text.

When opening a folder through a symlink (a shortcut file pointing to another location), unsaved changes are no longer missed, and Claude's edits are no longer overwritten by your next save.

When files.encoding is not UTF-8, non-ASCII text shown and saved in proposed diffs no longer turns garbled.

When handling content with Hebrew, Arabic, or Persian text, approved edits and writes no longer save right-to-left marks as literal \u200F escapes.

Original changelog

[VSCode] Fixed unsaved changes being missed, and Claude's edit being overwritten by the next save, in a folder opened through a symlink

[VSCode] Fixed proposed diffs showing and saving garbled non-ASCII text when files.encoding is not UTF-8

[VSCode] Fixed approved edits and writes saving right-to-left marks as literal \u200F escapes on lines with Hebrew, Arabic or Persian text

60

VS Code Permission Mode and Spend Limit Fixes

Adjusting permission settings, editing commands in confirmation prompts, or hitting usage limits could previously trigger the wrong mode or misleading messages. Permission mode switching, command preservation, and spend limit alerts are now fixed.

When settings disable bypass permissions mode, a chat left in that mode now reopens in your initial permission mode instead of switching to Auto mode.

When Team and Enterprise members hit the spend limit, they are no longer misdirected to run /usage-credits, which cannot send a request to their admin from the panel.

Pressing Shift+Tab through Edit mode to reach Plan mode no longer causes new sessions to start in Edit mode automatically.

Commands edited or pasted directly on the permission prompt now keep their line breaks when executed.

When a conversation running in the background of the same panel needs permission or an answer, a notification now appears properly.

Original changelog

[VSCode] Fixed a chat left in bypass permissions mode reopening in Auto mode instead of your initial permission mode when settings disable bypass

[VSCode] Fixed the spend limit message telling Team and Enterprise members to run /usage-credits, which can't send a request to their admin from the panel

[VSCode] Fixed new sessions starting in Edit automatically after pressing Shift+Tab through it to reach Plan mode

[VSCode] Fixed an edited command on the permission prompt running without the line breaks that were typed or pasted into it

[VSCode] Fixed a missing notification when a conversation running behind another one in the same panel needs a permission or an answer

61

VS Code Panel Layout, Scroll, and Freeze Fixes

A batch of UI issues in the VS Code chat panel that blocked buttons, caused flickering, or froze the view have been resolved.

Fixed raw tags appearing for selected code under a reworded prompt, the mode button flashing "Manual", the slash menu hiding its highlighted row, a broken sign-in image, and a flickering Accept/Reject bar.

Wide tables and long paths are no longer cut off, and long error messages no longer cover their close button. Errors in the Add MCP server form and Chrome dialog no longer go out of view, and plugin images now follow the editor theme.

When resizing the panel or hiding and showing it again, the chat now keeps scrolling to follow Claude's latest reply.

Certain CSS code blocks and diffs no longer freeze the entire chat panel.

Plan comments now display properly on the plan approval card in Focus view.

Original changelog

[VSCode] Fixed raw tags for selected code under a reworded prompt, the mode button flashing Manual, the slash menu hiding its highlighted row, a broken sign-in image, and a blinking Accept/Reject bar

[VSCode] Fixed wide tables and long paths cut off, long errors hiding their close button, errors out of view in the Add MCP server form and Chrome dialog, and plugin pictures ignoring the editor theme

[VSCode] Fixed the chat no longer following Claude's reply after the panel was resized, or hidden and shown again

[VSCode] Fixed the chat panel freezing on some CSS code blocks and diffs

[VSCode] Fixed plan comments not showing on the plan approval card in Focus view

62

VS Code Fork and Code Rewind Safety Fixes

When branching off an older conversation to try a different approach or rolling back broken code, it used to be easy to accidentally overwrite a plan file or freeze the interface. Forking conversations and rewinding code in VS Code are now safer.

A forked conversation will no longer overwrite the original conversation's plan file, and a warning now appears if a fork or rewind cannot copy the plan file.

Later prompts and the message box no longer cover the Rewind code dialog, and focus no longer jumps from "Never mind" to "Rewind" after it finishes checking files.

Claude no longer continues editing files after you rewind code while it is working.

Memory no longer grows with each fork or rewind of a long conversation until the window is reloaded.

Rewind no longer shows "No active session" even after Claude's session process has ended.

Original changelog

[VSCode] Fixed a forked conversation overwriting the original conversation's plan file; a fork or rewind that can't copy the plan now shows a warning

[VSCode] Fixed later prompts and the message box covering the Rewind code dialog, and focus jumping from "Never mind" to "Rewind" when it finishes checking files

[VSCode] Fixed Claude continuing to edit files after you rewind code while it is working

[VSCode] Fixed memory growing with each fork or rewind of a long conversation until the window was reloaded

[VSCode] Fixed Rewind showing "No active session" after Claude's process had ended

63

VS Code Session List, Resume, and Queue Status Fixes

When resuming an older conversation from history, queuing messages, or switching tabs, session state no longer gets stuck or lost.

Tabs that resumed a session from history no longer falsely report "still connecting" when you use Rename, Mark as Unread, or Add to Group.

The context usage indicator no longer disappears after an API error, "Prompt is too long", or a slash command.

Messages queued behind a pending /clear command are no longer lost.

When you switch models just as Claude's process has ended or while it is still starting, the next message now applies the model you picked.

The session list no longer opens every transcript at once, preventing it from slowing down extensions or leaving out sessions in projects with many records.

Original changelog

[VSCode] Fixed Rename, Mark as Unread and Add to Group saying "still connecting" on a tab that resumed a session from its history

[VSCode] Fixed the context usage indicator disappearing after an API error, "Prompt is too long", or a slash command

[VSCode] Fixed a message queued behind a queued /clear being lost

[VSCode] Fixed a model pick being ignored for the next message when Claude's process had ended or was still starting

[VSCode] Fixed the session list opening every transcript at once, which stalled the editor's extensions and could leave sessions out in projects with many sessions

64

VS Code Plugin Manager and Settings Loading Fixes

Several issues that blocked troubleshooting and configuration when managing plugins or reading settings.json to switch models have been fixed.

Manage Plugins no longer loses its search box or shows no message when a search has no match, and it now clearly reports when the list of available plugins fails to load.

Switching models no longer fails with "Settings file is not valid JSON" when settings.json is empty or starts with a byte order mark.

Manage Plugins now loads normally even when Claude Code is slow to start or fails to start, so you can turn off a plugin that blocks startup.

Original changelog

[VSCode] Fixed Manage Plugins losing its search box or showing no message when a search has no match, and not saying that the list of available plugins failed to load

[VSCode] Fixed switching models failing with "Settings file is not valid JSON" when settings.json is empty or starts with a byte order mark

[VSCode] Fixed Manage Plugins not loading when Claude Code is slow to start or fails to start, so a plugin that blocks startup can be turned off

65

Fix Electron Apps and Extension Tests Failing to Start

Starting Electron apps or extension tests from Claude, a hook, or an MCP server previously failed. This issue is fixed, though any wrapper script, hook, or server that runs VS Code as Node must now explicitly set ELECTRON_RUN_AS_NODE=1.

Original changelog

[VSCode] Fixed Electron apps and extension tests failing to start from Claude, a hook or an MCP server; a wrapper, hook or server that runs VS Code as Node must now set ELECTRON_RUN_AS_NODE=1

66

VS Code Fix for Blank Tabs After Closing During Startup

In VS Code, closing a tab while Claude was still starting previously caused new Claude tabs opened afterward to stay blank and the side bar to fail to load. This issue is fixed, so reopened tabs and the side bar now display normally.

Original changelog

[VSCode] Fixed new Claude tabs staying blank and the side bar failing to load after closing a tab while Claude was still starting

67

Fix Accidental Triggers from Quick Double Clicks in VS Code Panel

When double-clicking quickly, the second click previously could press a newly appeared button or row, or accidentally start a second compaction on the context usage circle. This accidental trigger issue in the VS Code panel is now fixed.

Original changelog

[VSCode] Fixed a quick double click in the panel pressing a button or row that appeared after the first click, or starting a second compaction from the context usage circle

68

Fix Leftover Tab Helper Processes When Typing @

Typing @ in VS Code without a browser connected previously left a helper process running in the background per tab. This issue is fixed, and processes are no longer left behind unless Claude in Chrome's service cannot be reached.

Original changelog

[VSCode] Fixed typing @ leaving a helper process running per tab when no browser is connected, except when Claude in Chrome's service can't be reached