What changed
Claude Code 2.1.335 shipped on December 3, 2026, with 125 changes, 76 of them fixes. 36 entries are for the VS Code extension and 89 cover the CLI, cloud sessions, self-hosted runners and other surfaces. For everyday use, the visible additions are claude mcp add --web, Tab completion for slash command arguments, and click to view for file paths. Several fixes stop settings files or work from being lost. Computer use approvals now expire, and organizations with self-hosted runners need to update runners before users’ CLIs because of a Bitbucket SSH change, so read the Notes below first.
New features
-
claude mcp add --webclaude mcp add --webadds a remote MCP server as a claude.ai connector from your terminal, on paid plans. -
Tab completion for slash command arguments
/model,/effort,/mcp,/advisor,/tuiand/colorarguments get Tab completion. In these and the/pluginand/configmenus, Enter runs what you typed unless you arrow to a row. -
Click to view
In fullscreen outside VS Code, in a git repository and a window 110 columns or wider, you can click a file path in a reply or tool row to see the file beside the chat, at the line named.
-
Repository plugins and mods in cloud sessions
Cloud sessions now load the plugins and mods (plugins written as JavaScript or TypeScript functions) in a repository’s
.claude/skills. A hook that reaches out of its plugin’s folder with../fails there and can block shell commands. -
Gateway sign-in over SSH or with no display
You can now finish signing in to your organization’s gateway through its identity provider from
/login, over SSH or on Linux with no display. -
/desktopon Linux/desktopandclaude --desktopnow work on Linux desktops. -
/claude-api harness-auditAgent harness code written for older models can get in the way of newer ones.
/claude-api harness-auditfinds such code (loop limits, sub-agents, context management, injected reminders, session-start code) and proposes fixes as a diff. -
Mod and hook events
- Mods can call
on()inside theirsession.starthook, so hooks can be registered based on a fetch or MCP call. - The
session.stopmod event getssourceandvia, saying who sent the Stop and how it arrived. - A new
Interrupthook event fires when a turn is interrupted and says whether a person, another session or the system stopped it.
- Mods can call
-
Organization and account
claude plugin list --jsongetsrequiredByOrganizationfor plugins your organization requires./accessshows the verification programs your claude.ai account is in, such as the Cyber Verification Program.- Windows: the
disableWindowsBashCommandSplitmanaged setting. On Pro and Max,truekeeps Bash commands in one argument for tools matching command lines; long ones may fail (v2.1.319 or later).
-
VS Code additions
- A Switch model button in the new look under a reply that failed because the model is unavailable.
- The
claudeCode.openSessionsInActiveGroupsetting, to open sessions from the session list in the active editor group instead of a new one. - A Reload window button on the “Something went wrong” page.
Key improvements
-
Computer use approvals and safety rules
- Computer use approvals now end after 2 hours without computer use (30 minutes for the clipboard and system shortcuts), and always 24 hours after you approve.
- Computer use on macOS follows newer safety rules, so more actions are refused and more apps have less access.
- Turning on computer use in
/mcpon macOS asks first in a dialog with its warnings; people who already have it on aren’t asked.
-
Bitbucket SSH sources
- Claude Code treats ssh.bitbucket.org as Bitbucket Cloud: sessions name bitbucket.org as their source,
--teleportmatches them, and OpenTelemetry repository attributes report bitbucket.org. - Self-hosted runner:
--git-ssh-rewrite ssh.bitbucket.orgalso covers bitbucket.org sources, so its key needs access to those repositories. ssh.bitbucket.organdaltssh.bitbucket.orgsources are sent differently. Self-hosted runners whose--git-ssh-rewritelists only those hosts must be updated before users’ CLIs, or they clone over https.
- Claude Code treats ssh.bitbucket.org as Bitbucket Cloud: sessions name bitbucket.org as their source,
-
Managed settings and MCP
- In an organization managed in Anthropic’s Enterprise Admin Console, local MCP servers stop when “Allow local MCP servers” is off, unless an admin’s allowlist names them.
- The managed settings approval dialog no longer shows when an organization only enables a plugin.
/mcp enableand/mcp disablewith no server name in the terminal open the MCP screen; typeallto change every server.
-
/claude-apiskill/claude-api prompt-auditnow flags broad ask-first rules, always-delegate instructions and “treat earlier answers as done” lines, and keeps stop-early guidance the model needs.- The
/claude-api managed-agents-onboardBug hunter template runs at most 20 agents at once, matching the Claude Console. - The
/claude-apiskill gets the SDKs’ error codes and stream errors and simpler retry guidance, with its rate limit header names and C# exception classes fixed.
-
Messages and accessibility
- The “Autocompact is thrashing” error names instruction files such as CLAUDE.md when they take up more of the context than anything else.
/usagefor screen readers: each limit’s percentage is now read once, not twice.- When a session’s host app is disconnected, Claude is told that the app’s tools can’t run, so it moves on instead of retrying each one.
- The Telemetry row of
/statussays what the session is set to send to your organization’s collector, since it can’t tell whether the data arrived.
-
Windows Git Bash
On Pro and Max plans, Claude is told more about Git Bash paths and failed commands, and working-folder tracking is better.
-
Amazon Bedrock and AWS
- Subagent progress summaries in terminal sessions on Amazon Bedrock (Mantle) and Claude Platform on AWS use far fewer tokens by writing them from short notes.
- Bedrock and Mantle requests for a main model that is the small fast model under another spelling use your main AWS region, not
ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION.
-
Plugins and Read
- Plugins fetched during a headless first start (
-p, Agent SDK) may not load until a later start or an SDK reload. - Read’s PDF page images: hooks and scripts should read them while the call and the
PostToolUsehooks it waits for run, not later.
- Plugins fetched during a headless first start (
-
VS Code improvements and behavior changes
- In the session list you can drop a session anywhere on a group, not only on its header, and View details opens Account & usage there instead of in a chat.
- In the new look, the sessions view puts sessions first with usage limits at the bottom, and the
/menu, right-click menu, session history and Account and usage are easier to read. - The mode menu’s “Edit automatically” is now “Accept edits”, as in Desktop and the terminal; the new look lists only modes, with Effort and Ultracode in the model and
/menus. - Sessions you put in plan mode reopen in plan mode after a reload, a restart or from session history.
- The Windows shortcuts are now Alt+Y (focus Claude) and Shift+Alt+Y (new tab), since Windows takes Ctrl+Esc and Ctrl+Shift+Esc.
- Edits to
.envand similar files in the new look show only the text Claude wrote, as in the old look. - Permission prompts that wait for an unfinished Japanese or Chinese word take keys again once the wait of up to 20 seconds is over.
- The “Remote Control is active” message no longer shows each time a session connects at startup, and the “Browser connected” banner no longer shows in every session with Claude in Chrome on by default.
- The prompt cache clock in the new look shows only once the cache has likely expired or after a compaction, without a countdown.
- With no Claude view open, a failed sign-out now shows an error and you may stay signed in.
- The
claudeCode.newLooksetting is now a checkbox, and the working indicator and in-progress to-do mark change from a star to three dots.
Bug fixes
Lost settings and work
/importdestroying an existingCLAUDE.mdthat isn’t saved as UTF-8.~/.claude.jsonbeing replaced with default settings at startup when the drive returned an I/O error or timed out.- Remove at the worktree exit question deleting files or commits made while it was open, when it had shown none.
- VS Code:
~/.claude/settings.jsonbeing left empty on macOS and Windows when a save was interrupted in a folder that refuses renames. /terminal-setuprefusing to update a VS Codesettings.jsonthat has trailing commas, and/confignot saying so when “Show tips” or “Reduce motion” could not be saved.
Sessions, resume and exit
- The result of a running command missing from the session transcript when
claude -pis stopped with SIGTERM. - A reply stopped at a permission prompt running again after a cloud, self-hosted runner or Remote Control session restarted.
claude stopandclaude rmsometimes exiting with no output and no effect right after the background service died.claude --resume <name>and/resume <name>not finding a session whose name has zero-width characters, as in Persian and Hindi words and some emoji./exitin an idle terminal hiding turns made in another terminal when the session was resumed, and/exitin a new session leaving an empty conversation for--continueto open./backgroundleaving its own command in the conversation that the background session continues, and a background agent losing its task when it was woken in a session that saves no transcript.- Resumed sessions, also in VS Code, showing “Background shell command didn’t finish” for a Monitor that had expired or ended by itself.
/rewindleaving out the row of a stoppedcontext: forkskill when a message was queued as you pressed Esc, so its edits counted under the prompt before.- Starting several worktree-isolated agents at once sometimes failing with “failed to read commondir”, and the one-time auto-compact prompt opening over a history search or menu.
Plugins, mods and MCP
claude plugin listand VS Code’s Manage plugins showing the wrong on or off state for a plugin that managed settings decide.claude plugin marketplace add --claudeairefusing right after a first sign-in, until two sessions had been started.- MCP forms that couldn’t be accepted after an optional text field was filled in and emptied again.
- MCP servers with five-minute OAuth access tokens getting a token refresh before every request — short-lived tokens are now used for half their lifetime.
/contextlisting MCP tools as deferred after the API endpoint had refused tool search./modellisting no gateway models when the gateway returned"display_name": nullfor one of them.- Messages in IDE extensions and the Desktop app waiting up to a minute behind a plugin’s unanswered question or a pane waiting for an answer.
- Mods: a toast pushing a warning off the notification line outside fullscreen, a
placement: "full"pane docking after a long wait, and ctrl+x ctrl+a saying “plugin panel hidden” with no panel.
Tools and display
- Charts misreading some cells:
(7drawn as a negative number,$1.2bnwithout its multiple,1e-400and malformed durations as zero, and a first row lost from a table with no header. - Code display: syntax highlighting breaking a line before
${in some CSS template literals, and inline code losing its formatting or turning into a link after a~right before a backtick. /diffleaving out blank lines and showing wrong line numbers when git’sdiff.suppressBlankEmptyis on, and terminal color codes in the git status Claude sees at the start of a conversation when git’scolor.uiis set toalways.- Added and removed line counts in cloud and Remote Control sessions leaving out changed lines that begin with
++or--. - TaskUpdate reporting a dependency as added when the other task does not exist, and pull requests opened or merged with
gh apinot being recognized as such in the transcript. /code-reviewwith no target printing “REVIEW.md wasn’t followed” in repos where only folders untouched by the committed changes have a REVIEW.md.
Platform and environment
- “nice(5) failed: operation not permitted” printed for each background job of a zsh command in the macOS sandbox.
- Sandboxed
giton macOS failing on every HTTPS host when a certificate inNODE_EXTRA_CA_CERTShas blank lines in it. - Computer use on macOS refusing “Try again” after you grant Accessibility, until Claude Code restarted, and leaving your terminal behind the app Claude was using after a turn, if your terminal was in front when Claude started.
- Windows: long Bash commands reaching Git Bash cut short — they now arrive whole, or are refused with a message (on Pro and Max plans).
- Claude in Chrome not connecting on Windows when the path to Claude Code contains non-ASCII characters, the report URL from
/insightsnot opening on Windows or when the path contains spaces, and the/setup-vertexwizard on Windows not finding a service account key given as~\keys\key.json. - Dropping an image whose file name has an apostrophe pasting its path instead of attaching it, in terminals that quote dropped paths.
/keybindingsand/plan openreporting a file as opened, and Ctrl+G doing nothing, when no editor is installed.forceLoginOrgUUIDin managed settings refusing its own organization when the ID is written in capital letters.
Cloud, Remote Control and self-hosted runners
- The model button in the Claude mobile apps keeping the old model after
/modelin a cloud session. - Self-hosted runners reporting a session as failed after the service had archived it or taken it from them — post-session hooks now usually get
completedorinterruptedthere. /schedulenot listing your organization’s self-hosted environments, and creating a cloud environment where one of those could be used.- A retried or edited message coming back into a cloud session’s context after a failed request and a restart.
- Cloud and Remote Control sessions forgetting the focus view when they wake or restart, and Remote Control showing a session as waiting for input after Stop left an MCP form open, or after an MCP link was accepted.
- A Haiku, Sonnet or Opus subagent model set in a project’s settings not applying in Claude Desktop’s Code tab.
Artifacts and /design-sync
- The Artifact tool blaming the owner’s organization when Claude can’t reach the stored data of an artifact shared from another organization.
- The Artifact tool dropping your edits to most pages’ built-in styles or body tag on the next publish, after it restored the page’s missing source file.
/design-syncand artifact updates overwriting a teammate’s newer edit after a compacted session was resumed, and/design-syncstopping with “no design system” on a large design system that someone outside your organization can edit.
VS Code
- A garbled first Korean, Japanese or Chinese word after picking a model or mode in the new look, in each new tab or after a reload; click the message box to type there.
- Voice dictation dropping the last words spoken just before you stopped it or pressed Send.
- Clicks on a permission prompt’s Yes being ignored in some cases in the new look, and typing being lost after closing an agent’s transcript or a background command’s output in the new look.
- The panel crashing on a reply with very deeply nested quotes or lists, the chat sometimes no longer following new output after a command finished, and plugins that redraw often having clicks on their buttons ignored and long conversations getting slower by the minute.
- The chat showing only “Loading…” for about 7 seconds on Windows after moving the panel or running Reload Webviews while Claude was working, and most background tasks, such as dev servers, running on in Windows after their chat was closed or the window reloaded between turns.
- The context usage indicator showing full after a session went back from the 400K auto-compact window to 1M, and a new session starting in an earlier permission mode after the mode was picked in another tab or window, or while Claude was not running.
- The Cloud tab: sessions with several repositories missing when the open folder isn’t their first repository, and archived sessions looking live — they now appear under Archived sessions.
/memorynot leading to CLAUDE.md files — the Memory dialog now has an Instructions row, and Context usage no longer points to the removed/agents.- Plugin installs and updates saying the source couldn’t be reached for a name with “network” or a package npm says doesn’t exist, and showing a general error when git lost its connection, and Manage plugins showing a running MCP server as not loaded when a plugin’s own name differs from the name its marketplace lists.
- Other fixes include a broken character left after rejecting a change that swaps one emoji for another, browser tabs listed above files when typing
@tor@te, and the Account & usage dialog vanishing when a permission request arrived.
Notes
- If you run self-hosted runners with
--git-ssh-rewritefor Bitbucket, update runners before users’ CLIs update. Runners whose--git-ssh-rewritelists onlyssh.bitbucket.organdaltssh.bitbucket.orgotherwise clone over https, and--git-ssh-rewrite ssh.bitbucket.orgnow also covers bitbucket.org sources, so its key needs access to those repositories. - If you use computer use, approvals now end after 2 hours without computer use (30 minutes for the clipboard and system shortcuts), and always 24 hours after you approve. On macOS, newer safety rules refuse more actions.
- If your organization is managed in the Enterprise Admin Console, local MCP servers stop when “Allow local MCP servers” is off, unless an admin’s allowlist names them.
- If you ran
/mcp enableor/mcp disablewith no server name, it now opens the MCP screen; typeallto change every server. - If cloud sessions load your repository’s plugins, a hook that reaches out of its plugin’s folder with
../fails there and can block shell commands. - If plugins are fetched on a headless first start (
-p, Agent SDK), they may not load until a later start or an SDK reload. - If hooks or scripts read Read’s PDF page images, they should do so while the call and the
PostToolUsehooks it waits for run, not later. - If you set
ANTHROPIC_SMALL_FAST_MODEL_AWS_REGIONon Bedrock or Mantle, a main model that is the small fast model under another spelling now uses your main AWS region. - If you use VS Code on Windows, the shortcuts are now Alt+Y (focus Claude) and Shift+Alt+Y (new tab).
- In VS Code’s mode menu, “Edit automatically” is now “Accept edits”.
- When you press Enter in slash command menus (
/model,/effort,/mcp,/advisor,/tui,/color,/plugin,/config), what you typed runs unless you arrow to a row. - This post covers the main items only. See the GitHub release notes for the full list.