Claude Code v2.1.335
Claude Code v2.1.335 was released on .
Summary
Claude Code 2.1.335 is here: add remote MCP servers from your terminal, tab-complete /model and /effort, click file paths to open them beside the chat, and catch interrupts with a new hook. Plus a long list of fixes.
Release Context
- This was the 273rd Claude Code release of 2026 tracked by Havoptic.
- It shipped 1 day after Claude Code v2.1.334 (December 1, 2026).
- Claude Code: ships every 2 days — 16 releases in the last month.
Why it matters: Tab completion now works for /model, /effort, and /mcp.
Shipped around the same time
Within 3 days of this release, other AI coding tools also shipped:
- Antigravity CLI v1.5.23 (December 3, 2026)
- OpenCode v2.4.4 (December 3, 2026)
- Factory Droid v1.26.0 (December 3, 2026)
- GitHub Copilot in VS Code v1.149 (December 2, 2026)
- Zed v1.31.0 (December 2, 2026)
Compare Claude Code
- Claude Code vs OpenAI Codex CLI
- Claude Code vs Cursor
- Claude Code vs Gemini CLI
- Claude Code vs Kiro CLI
- Claude Code vs GitHub Copilot CLI
- Claude Code vs Devin Desktop
- Claude Code vs Antigravity CLI
- Claude Code vs Grok Build
- Claude Code vs Cline
- Claude Code vs OpenCode
- Claude Code vs Zed
- Claude Code vs Factory Droid
- Claude Code vs Devin
- Claude Code vs Lovable
- Claude Code vs Amp
- Claude Code vs GitHub Copilot in VS Code
- Claude Code vs Replit Agent
- Claude Code vs Bolt
- Claude Code vs v0
Release Notes
- Added claude mcp add --web to add a remote MCP server as a claude.ai connector from your terminal, on paid plans
- Added Tab completion for /model, /effort, /mcp, /advisor, /tui and /color arguments; in these and the /plugin and /config menus, Enter runs what you typed unless you arrow to a row
- Added click to view: in fullscreen outside VS Code, in a git repository and a window 110 columns or wider, click a file path in a reply or tool row to see the file beside the chat, at the line named
- Added support for cloud sessions loading the plugins and mods in a repository's .claude/skills; a hook that reaches out of its plugin's folder with ../ fails there and can block shell commands
- Added a way to finish signing in to your organization's gateway through its identity provider from /login, over SSH or on Linux with no display
- Linux: Added /desktop and claude --desktop on Linux desktops
- Added /claude-api harness-audit to find agent harness code written for older models (loop limits, sub-agents, context management, injected reminders, session-start code) and propose fixes as a diff
- Added support for mods calling on() inside their session.start hook, so hooks can be registered based on a fetch or MCP call
- Added source and via to the session.stop mod event, saying who sent the Stop and how it arrived
- Added requiredByOrganization to claude plugin list --json for plugins your organization requires
- Added an Interrupt hook event that fires when a turn is interrupted and says whether a person, another session or the system stopped it
- Added /access to view the verification programs your claude.ai account is in, such as the Cyber Verification Program
- Windows: Added the disableWindowsBashCommandSplit managed setting: on Pro and Max, true keeps Bash commands in one argument for tools matching command lines; long ones may fail (v2.1.319 or later)
- Fixed 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 completed or interrupted there
- Fixed /schedule not listing your organization's self-hosted environments, and creating a cloud environment where one of those could be used
- Fixed charts misreading some cells: (7 drawn as a negative number, $1.2bn without its multiple, 1e-400 and malformed durations as zero, and a first row lost from a table with no header
- Fixed the result of a running command missing from the session transcript when claude -p is stopped with SIGTERM
- Fixed TaskUpdate reporting a dependency as added when the other task does not exist
- Fixed starting several worktree-isolated agents at once sometimes failing with "failed to read commondir"
- Fixed forceLoginOrgUUID in managed settings refusing its own organization when the ID is written in capital letters
- Fixed the Artifact tool blaming the owner's organization when Claude can't reach the stored data of an artifact shared from another organization
- Fixed 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
- Fixed 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
- Fixed "nice(5) failed: operation not permitted" printed for each background job of a zsh command in the macOS sandbox
- Fixed a reply stopped at a permission prompt running again after a cloud, self-hosted runner or Remote Control session restarted
- Fixed claude stop and claude rm sometimes exiting with no output and no effect right after the background service died
- Fixed Claude in Chrome not connecting on Windows when the path to Claude Code contains non-ASCII characters
- Fixed the report URL from /insights not opening on Windows or when the path contains spaces
- Fixed the /setup-vertex wizard on Windows not finding a service account key given as ~\keys\key.json
- Fixed /terminal-setup refusing to update a VS Code settings.json that has trailing commas
- Fixed /import destroying an existing CLAUDE.md that isn't saved as UTF-8
- Fixed dropping an image whose file name has an apostrophe pasting its path instead of attaching it, in terminals that quote dropped paths
- Fixed /keybindings and /plan open reporting a file as opened, and Ctrl+G doing nothing, when no editor is installed
- Fixed ~/.claude.json being replaced with default settings at startup when the drive returned an I/O error or timed out
- Fixed /model listing no gateway models when the gateway returned "displayname": null for one of them
- Fixed 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
- Fixed MCP forms that couldn't be accepted after an optional text field was filled in and emptied again
- Fixed /config not saying so when "Show tips" or "Reduce motion" could not be saved
- Fixed claude plugin list and VS Code's Manage plugins showing the wrong on or off state for a plugin that managed settings decide
- Fixed 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
- Fixed a retried or edited message coming back into a cloud session's context after a failed request and a restart
- Fixed /diff leaving out blank lines and showing wrong line numbers when git's diff.suppressBlankEmpty is on
- Fixed terminal color codes in the git status Claude sees at the start of a conversation when git's color.ui is set to always
- Fixed added and removed line counts in cloud and Remote Control sessions leaving out changed lines that begin with ++ or --
- Fixed /context listing MCP tools as deferred after the API endpoint had refused tool search
- Fixed /code-review with no target printing "REVIEW.md wasn't followed" in repos where only folders untouched by the committed changes have a REVIEW.md
- Fixed /rewind leaving out the row of a stopped context: fork skill when a message was queued as you pressed Esc, so its edits counted under the prompt before
- Fixed a Haiku, Sonnet or Opus subagent model set in a project's settings not applying in Claude Desktop's Code tab
- Fixed Remote Control showing a session as waiting for input after Stop left an MCP form open, or after an MCP link was accepted
- Fixed /design-sync and artifact updates overwriting a teammate's newer edit after a compacted session was resumed
- Fixed claude plugin marketplace add --claudeai refusing right after a first sign-in, until two sessions had been started
- Fixed cloud and Remote Control sessions forgetting the focus view when they wake or restart
- Fixed resumed sessions, also in VS Code, showing "Background shell command didn't finish" for a Monitor that had expired or ended by itself
- Fixed 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
- Fixed sandboxed git on macOS failing on every HTTPS host when a certificate in NODEEXTRACACERTS has blank lines in it
- Fixed Remove at the worktree exit question deleting files or commits made while it was open, when it had shown none
- Fixed computer use on macOS refusing "Try again" after you grant Accessibility, until Claude Code restarted
- Fixed pull requests opened or merged with gh api not being recognized as such in the transcript
- Fixed /background leaving its own command in the conversation that the background session continues
- Fixed a background agent losing its task when it was woken in a session that saves no transcript
- Mods: Fixed 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
- Fixed /design-sync stopping with "no design system" on a large design system that someone outside your organization can edit
- Fixed the one-time auto-compact prompt opening over a history search or menu
- Fixed computer use on macOS leaving your terminal behind the app Claude was using after a turn, if your terminal was in front when Claude started
- Fixed /exit in an idle terminal hiding turns made in another terminal when the session was resumed
- Fixed /exit in a new session leaving an empty conversation for --continue to open
- Windows: Fixed long Bash commands reaching Git Bash cut short: they now arrive whole, or are refused with a message (on Pro and Max plans)
- Improved /claude-api prompt-audit: it now flags broad ask-first rules, always-delegate instructions and "treat earlier answers as done" lines, and keeps stop-early guidance the model needs
- Improved the "Autocompact is thrashing" error to name instruction files such as CLAUDE.md when they take up more of the context than anything else
- Improved /usage for screen readers: each limit's percentage is now read once, not twice
- Improved sessions whose host app is disconnected: Claude is told that the app's tools can't run, so it moves on instead of retrying each one
- Windows: Improved what Claude is told about Git Bash paths and failed commands, and working-folder tracking (on Pro and Max plans)
- Updated computer use on macOS to newer safety rules, so more actions are refused and more apps have less access
- Updated the /claude-api managed-agents-onboard Bug hunter template to run at most 20 agents at once, matching the Claude Console
- Updated the /claude-api skill with the SDKs' error codes and stream errors, simplified its retry guidance, and fixed its rate limit header names and C exception classes
- Changed Claude Code in an organization managed in Anthropic's Enterprise Admin Console to stop local MCP servers when "Allow local MCP servers" is off, unless an admin's allowlist names them
- Changed the managed settings approval dialog to stop showing when an organization only enables a plugin
- Changed computer use approvals to end after 2 hours without computer use (30 minutes for the clipboard and system shortcuts), and always 24 hours after you approve
- Changed turning on computer use in /mcp on macOS to ask first in a dialog with its warnings; people who already have it on aren't asked
- Changed Claude Code to treat ssh.bitbucket.org as Bitbucket Cloud: sessions name bitbucket.org as their source, --teleport matches them, and OpenTelemetry repository attributes report bitbucket.org
- Self-hosted runner: Changed --git-ssh-rewrite ssh.bitbucket.org to also cover bitbucket.org sources, so its key needs access to those repositories; update runners before users' CLIs update
- Changed subagent progress summaries in terminal sessions on Amazon Bedrock (Mantle) and Claude Platform on AWS to use far fewer tokens by writing them from short notes
- Changed Read's PDF page images: hooks and scripts should read them while the call and the PostToolUse hooks it waits for run, not later
- Changed the Telemetry row of /status to say what the session is set to send to your organization's collector, since it can't tell whether the data arrived
- Changed how ssh.bitbucket.org and altssh.bitbucket.org sources are sent: update self-hosted runners whose --git-ssh-rewrite lists only those hosts before users' CLIs do, or they clone over https
- Changed /mcp enable and /mcp disable with no server name in the terminal to open the MCP screen; type all to change every server
- Changed Bedrock and Mantle requests for a main model that is the small fast model under another spelling to use your main AWS region, not ANTHROPICSMALLFASTMODELAWSREGION
- Changed plugins fetched during a headless first start (-p, Agent SDK): they may not load until a later start or an SDK reload
- [VSCode] Added the claudeCode.openSessionsInActiveGroup setting to open sessions from the session list in the active editor group instead of a new one
- [VSCode] Fixed ~/.claude/settings.json being left empty on macOS and Windows when a save was interrupted in a folder that refuses renames
- [VSCode] Fixed 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
- [VSCode] Fixed rejecting a single proposed change leaving a broken character when the change swaps one emoji for another
- [VSCode] Fixed the chat showing only "Loading…" for about 7 seconds on Windows after moving the panel or running Reload Webviews while Claude was working
- [VSCode] Fixed plugins that redraw often: clicks on their buttons being ignored, and long conversations getting slower by the minute
- [VSCode] Fixed clicks on a permission prompt's Yes being ignored in some cases in the new look
- [VSCode] Fixed typing being lost after closing an agent's transcript or a background command's output in the new look, and the plan card's hint saying "Esc to cancel" when Escape sends your comments
- [VSCode] Fixed the panel crashing on a reply with very deeply nested quotes or lists
- [VSCode] Fixed the chat sometimes no longer following new output after a command finished
- [VSCode] Fixed 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
- [VSCode] Fixed the context usage indicator showing full after a session went back from the 400K auto-compact window to 1M
- [VSCode] Fixed 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
- [VSCode] Fixed voice dictation dropping the last words spoken just before you stopped it or pressed Send
- [VSCode] Fixed most background tasks, such as dev servers, running on in Windows after their chat was closed or the window reloaded between turns
- [VSCode] Fixed browser tabs being listed above files when typing @t or @te in the message box
- [VSCode] Fixed the warning about a broken settings file being replaced by usage and error banners, and added an Open file link to it
- [VSCode] Fixed /memory not leading to CLAUDE.md files: the Memory dialog now has an Instructions row, and Context usage no longer points to the removed /agents
- [VSCode] Fixed 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
- [VSCode] Fixed the Effort label breaking inside words in a narrow panel in the new look
- [VSCode] Fixed Manage plugins showing a running MCP server as not loaded when a plugin's own name differs from the name its marketplace lists
- [VSCode] Fixed the Account & usage dialog vanishing when a permission request arrived
- [VSCode] Improved 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
- [VSCode] Improved 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
- [VSCode] Changed the "Remote Control is active" message to stop showing each time a session connects at startup, and the "Browser connected" banner in every session with Claude in Chrome on by default
- [VSCode] Changed sessions you put in plan mode to reopen in plan mode after a reload, a restart or from session history
- [VSCode] Changed edits to .env and similar files in the new look to show only the text Claude wrote, as in the old look
- [VSCode] Changed permission prompts that wait for an unfinished Japanese or Chinese word to take keys again once the wait of up to 20 seconds is over
- [VSCode] Changed the claudeCode.newLook setting to a checkbox
- [VSCode] Changed the prompt cache clock in the new look to show only once the cache has likely expired or after a compaction, without a countdown
- [VSCode] Changed sign-out: with no Claude view open, a failed sign-out now shows an error and you may stay signed in; behind a process wrapper, the notice says where the sign-out ran
- [VSCode] Changed the Windows shortcuts to Alt+Y (focus Claude) and Shift+Alt+Y (new tab), since Windows takes Ctrl+Esc and Ctrl+Shift+Esc
- [VSCode] Changed the working indicator and the in-progress to-do mark from a star to three dots
Other Recent Claude Code Releases
- v2.1.333 (November 30, 2026)
- v2.1.332 (November 24, 2026)
- v2.1.331 (November 23, 2026)
- v2.1.330 (November 20, 2026)
- v2.1.329 (November 19, 2026)
All Claude Code releases · All AI coding tool releases on Havoptic