Claude Code v2.1.334 is a Anthropic release published 2026-12-01 with 283 listed changes, flagged for breaking changes. Summary and full notes below, extracted from the official notes.
One free email: every breaking change, retirement and price change across 23 coding agents. No spam, unsubscribe anytime.
Subscribe free← All Claude Code releases and breaking changes
## What's changed
- Added a search box to `/model` when the list has more than 25 models, matching names and model IDs; press ↓ for `s` and number keys (anthropics/claude-code#99239) (anthropics/claude-code#107237)
- Windows: Added `/desktop` and `claude --desktop` on Arm computers
- Added an Auto-compact window row to `/config` to see and change the size that `/autocompact` sets
- Self-hosted runner: Added `--health-host 127.0.0.1` to the orchestrator, for its health and metrics pages
- Added `placement: "full"` and `Client` `autoFocus` so a mod's pane can fill the terminal in fullscreen mode until you press Esc, with its `Client` taking keys from the start
- Added `cacheWrite5m`, `cacheWrite1h` and, for Haiku 5.5, `longPrompt` to `modelPricing`, and `cache_write_5m`, `cache_write_1h`, `long_prompt` to gateway `pricing.overrides`; old keys still work
- Added folder-level REVIEW.md support to `/code-review`: local reviews also follow REVIEW.md files in folders above a committed change
- Gateway: Added `claude gateway --config <file> --check config` to check a config file without starting, and a start now reports a bad managed policy before it connects to Postgres
- Fixed requests failing with thinking turned off on models that don't accept turning it off: Claude Code now resends without that setting, so the model may think on those requests
- Fixed sessions with an mTLS client certificate switching to expired or unusable certificate files on disk after a single temporary HTTP 400 certificate error
- Fixed worktrees starting from the wrong branch or local HEAD after Claude moved into another repository, and with `--worktree` in some bare repositories whose default branch isn't `main`
- Fixed resuming an unchanged worktree dropping an unpushed commit that only its branch still had
- Fixed a plugin's SessionStart hook being skipped in terminal and background sessions when the plugin finished loading after the session started; a mod on that event can now hear it twice
- Fixed plugins enabled through `--settings` or user settings not loading on the second start of a new machine, including resumed and background sessions
- Fixed sessions stuck behind a gateway that rewrites API errors: an unknown 400 or 422 is silently resent, then without earlier thinking; `CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE=1` turns it off
- Fixed needless auto-compaction, or a false "Prompt is too long" error, after a response hit the output token limit before it wrote any text
- Fixed a session failing on every request after Claude called a tool with an input that is not an object
- Fixed most cases of Claude Code exiting when a session holds a message it can't display: that message now shows a placeholder
- Fixed `/context` drawing the compact buffer as used space when auto-compact is off
- Fixed `/ide` and auto-connect not finding the editor on Linux hosts with no `ps` installed
- Fixed the computer use permissions panel: it now updates as you grant each permission, names your terminal, and opens one window for Accessibility
- Fixed Claude asking which design system to use for every deck or design after you turned your organization's default design system off for yourself
- macOS: Fixed `git` failing certificate checks in sandboxed commands when a corporate CA is trusted through the keychain or `NODE_EXTRA_CA_CERTS`
- Fixed /compact and auto-compact sometimes keeping the model's draft notes in front of the conversation summary
- Self-hosted runner: Fixed a runner or orchestrator hanging forever on a call that never finishes, and a stopped runner staying alive: each call now ends after 60 seconds by default
- Fixed `prompt.attachment` hooks not being asked again on resume after their plugin was updated
- Fixed a failing telemetry collector or signal on the Claude apps gateway dropping exports to other collectors and signals and repeatedly delaying model requests
- Fixed `claude plugin update` not saying that a plugin's npm or bun packages could not be installed when the plugin is a folder of its marketplace's repository
- Fixed OTLP/HTTP exports in Claude Desktop sessions still sending an expired sign-in token after the token was renewed
- Fixed `/design-sync` showing no component previews for Storybooks that use CSF factories (`preview.meta`, `meta.story`)
- Remote Control: Fixed it turning back on by itself after you switched it off in `/config` while it showed a sign-in failure
- Fixed the PowerShell permission prompt showing thousands of characters of encoded text when PowerShell couldn't be started
- Fixed `/design-sync` refusing to run in a signed-in session after a Claude Code process of this version or later ran on the same machine with an API key
- Fixed Remote Control and self-hosted runner sessions exiting when a message from their host arrived in two parts
- Fixed @-mentions picked from the menu finding no agent when the agent's name contains "agent-"
- Fixed `/cd` not loading the new folder's CLAUDE.md after entering and leaving a worktree
- Fixed `claude -p --resume` failing with no message for a session title that contains a colon
- Fixed `claude purge` reporting success when the history file is a symlink: it now reports that item as not deleted and says where to remove the prompts
- Fixed `/export` never finishing after a subagent ran when a mod draws assistant messages
- Fixed Stop being ignored for up to a minute in cloud sessions waiting for refreshed credentials
- Fixed a running workflow's progress not being saved after the session moved to another folder or worktree
- Fixed `--continue` not restoring the permission mode and worktree of a session that held only slash commands
- Fixed a branch made with `/branch` under `--agent` losing the agent when resumed
- Fixed `/model` not naming the effort level in screen reader mode
- Fixed saving a plugin's options turning an untouched list option into one string
- Fixed plugin install records: a failed read of the list during an install no longer drops other plugins' records, and project or local installs are recorded for the launch folder after a shell `cd`
- Fixed hold-to-talk voice dictation losing the last words when Space was pressed or held again while "Transcribing…" was showing
- Fixed `/design-sync` stopping with "still connecting" when run as the first prompt (`claude /design-sync`): it now waits up to 10 seconds for the connection
- Fixed `/design-sync` refusing to publish large design systems to Claude: it now takes up to 4,080 files, up from 1,024
- Fixed `.worktreeinclude` skipping files whose names are not ASCII
- Fixed Code Mode drawing tool calls as empty rows, hiding a script's error, and calling a finished script lost after a resume, when a mod adds to or rewrites tool results
- Fixed Code Mode counting a script's tool calls toward the context size, which caused early compaction, and sending an image or PDF again after the API rejected it
- Fixed Code Mode freezing the terminal while checking a script's `rm` of many files, refusing a hook-allowed MCP skill, and showing an MCP call as called after you pressed Esc at its permission prompt
- Fixed subagents in Code Mode failing again in 2.1.333 with "Agent stalled" and losing their command when a script ran for more than 10 minutes
- Fixed some cases of Code Mode scripts overwriting an outside edit of a file after `/compact`
- Fixed settings changes going unnoticed when the file was replaced just as Claude Code began watching it
- Fixed MCP servers causing high CPU use when they ask for a zero retry delay and keep closing their event stream, and memory growing each time a connection drops and reconnects
- Windows: Fixed official plugin marketplace updates failing when another program briefly held one of its files
- Fixed one-line JSON tool output not expanding on click in fullscreen mode
- Fixed several Skill calls in one reply each re-sending the agent list and MCP server instructions
- Fixed Vim mode's `p`, `x`, `s`, `r`, `~`, text objects and Visual-mode edits breaking an image or pasted-text placeholder, which dropped its content from the prompt
- Fixed Vim mode keys acting unlike Vim: `b` skipping empty lines, `db` joining lines, `dF` taking an extra character, `ci"` at escaped quotes, `;` after `t`, and arrow keys after `r` or `f`
- Fixed Markdown table borders out of line when a cell holds a tab, an ideographic space or a no-break space, and MCP tool results out of line when their keys have wide characters
- Fixed the cursor landing one character off on wrapped prompt lines that start with a full-width space
- Fixed MCP forms blocking Accept after a valid pick, a pasted date such as “tomorrow” staying marked invalid, and a typed date being replaced by an older answer
- Fixed the reason being left out when an Agent SDK `PreCompact` callback hook blocks a compaction
- Fixed the git commands printed by `claude plugin tag` failing when the repository path has a space
- Fixed `claude plugin details` not listing agents that `plugin.json` names by file (anthropics/claude-code#99999)
- Fixed `/memory` naming `~/.claude/CLAUDE.md` when `CLAUDE_CONFIG_DIR` points elsewhere (anthropics/claude-code#113013)
- Fixed missing checkboxes on task list items that start with a heading, quote, list or code block
- Fixed the Grep tool's description naming an `include` parameter that doesn't exist (anthropics/claude-code#112938)
- Fixed the LSP tool showing results from git-ignored files with non-ASCII names, and wrong paths on Windows for servers that encode the drive colon as `%3A`; ignored files are now left out there too
- Fixed `/stats` leaving out today where daylight saving time skips midnight, and showing no models after switching date range while scrolled
- Fixed files that start with a UTF-8 byte-order mark being misread: `.mcp.json` in `/team-onboarding`, custom themes, a plugin's `.lsp.json` and `claude gateway`'s managed settings
- Fixed colors being lost in command output (some 256-color and true colors, or any sent with underline) and, for colors written with colons, on the later lines of a multi-line status line
- Fixed `/plugin list` marking a working plugin as "couldn't load" when a namesake from another marketplace failed, and a disabled favorite being listed twice in the Installed tab
- Fixed `/hooks` showing no hooks for an event whose plugin hooks have a matcher it does not take
- Fixed a stray icon and misaligned row in the `/` menu for commands named `agent-*`, `file-*`, `mcp-resource-*` or `mcp-template*` (anthropics/claude-code#73911)
- Fixed `/remote-env` reporting success when the setting couldn't be saved
- Fixed path suggestions, in the prompt and the `/add-dir` dialog, showing results for older text over what you typed since
- Fixed stream-json input: a user message whose `uuid` is null is handled as one without a uuid
- Fixed scheduled tasks with a cron step over 59 minutes or 23 hours being listed with an interval they do not run at
- Fixed sign-in waiting forever when its sign-in page could not be shown
- Fixed voice dictation falling back to English when the language is Norwegian Bokmål or Nynorsk
- Fixed full-width digits not choosing an option in questions with previews
- Fixed importing MCP servers from Claude Desktop giving two servers the same name
- Fixed WebFetch not converting pages whose content type is written in capitals, and reporting "Command failed with no output" when it could not connect to a host with several addresses
- Fixed `claude auth status` reversing Hebrew and Arabic folder names, which left the VS Code session history empty (anthropics/claude-code#99816)
- Fixed `claude -p --continue` exiting with no message when the previous conversation could not be loaded
- Fixed Bash reporting a failure when a grep, rg, diff or git diff with a variable set before it, such as `LC_ALL=C grep`, finds no match, except after `&&`
- Fixed `CwdChanged` and `FileChanged` hooks: `watchPaths` from HTTP hooks being ignored, and a slower hook from an earlier `cd` replacing the paths of a later one
- Fixed agent team messages showing "[invalid id]" as the pane ID under cmux (anthropics/claude-code#112605)
- Fixed `/insights` failing when a saved session contains a tool call with no name (anthropics/claude-code#101933)
- Fixed Read numbering a file's lines from 0 when it is called with offset 0
- Fixed the Agent SDK blaming a libc mismatch when `cwd` does not exist (anthropics/claude-code#97275)
- Fixed Glob and Grep finding nothing for a pattern that starts with `./`, and Grep for a list with a brace pattern, such as `*.{ts,tsx},*.js`
- Fixed wrong line numbers after the first change in the snippet Claude is given when a file it read changes on disk
- Fixed a user's shell alias named `hash` or `typeset` running in every Bash command (anthropics/claude-code#101498)
- Fixed a plugin from a claude.ai-hosted marketplace refusing to update or download again in another project where it was enabled
- Fixed the Bedrock setup's profile picker listing `[services …]` and other sections of `~/.aws/config` that are not profiles
- Fixed nested braces in a rule's or skill's `paths` (such as `src/{a,b/{c,d}}/*.ts`) expanding wrongly, so some of the files they name never matched
- Fixed NotebookEdit reporting a markdown cell as a code cell to hooks and SDK hosts
- Fixed Read sending a notebook's output image with the wrong format when its bytes don't match its saved type
- Fixed `${user_config.KEY}` in plugin skills and agents not using the option's declared default
- Fixed an agents view row going back to "needs input" when a suggested reply was saved while its question was being answered
- Fixed Claude Code hanging after the worktree exit question when a later step failed
- Fixed the LSP tool giving the line of an annotation or comment instead of the symbol's name
- Fixed /resume renaming or previewing the wrong session after collapsing and reopening its group
- Fixed `--tmux` and `--worktree` after `--`, or as another flag's value, being read as flags (anthropics/claude-code#111498)
- Fixed a background session's status being undone by a `/clear` or `/cd` saved at the same moment
- Fixed teammates and TaskCompleted hooks getting a task's old subject or description when the same update changes it
- Fixed pasted text being swallowed when a key chord such as Ctrl+X was waiting for its second key
- Fixed a false "matches no known tool" warning for `Cd(...)` deny rules (anthropics/claude-code#104546)
- Fixed IDE diagnostics being lost for a whole turn when the IDE's reply contained a malformed entry
- Fixed an agent team teammate no longer showing that it waits for its lead's approval when an earlier tool call of the same turn was answered first
- Fixed LSP tool calls wrongly reporting no server for a file during a plugin reload, and plugin language servers that list an upper-case extension such as `.R` getting documents as plain text
- Fixed Edit writing curly quotes into code when the text it replaced was given with a `\u2019`-style escape
- Fixed a freeze when opening the transcript after tool output with very deeply nested JSON
- Fixed skills not reloading when their folder is located under a `.git` directory
- Fixed /teleport, /autofix-pr and cloud agents asking you to log in right after your login was refreshed
- Fixed a cloud session's worker skipping SessionEnd hooks when its session was archived
- Fixed files attached to the message Claude was working on, other than images, going missing when a cloud session moved to a new container mid-turn
- Fixed sessions with more than 4,096 skills resending the skill list and losing prompt cache on every resume
- Fixed some plugin installs using far more disk space than the plugin needs: past a limit, the plugin is now refused with an error
- Fixed macOS's dialog for installing the developer tools opening when a mod runs git on a Mac that doesn't have them
- Improved Claude apps gateway logs: fewer warnings when Postgres or an upstream is down, none when a client disconnects before the reply starts, and the model in some refused requests' audit rows
- Improved the account email check: it now also refuses your git email as a client's identity, and runs with an API key, Bedrock or Google Cloud's Agent Platform; disable the Privacy plugin to stop it
- Improved the Claude apps gateway to warn at startup when a managed MCP server holds a `${...}` placeholder that Claude Code would send as written
- Improved adding a GitHub event to a cloud scheduled task: Claude now knows the request's fields and events, so fewer attempts fail
- Changed auto-compact's per-model auto setting to near 400K on most current 1M models, `-p` and SDK runs too (rolling out; on now with third-party providers or telemetry off); see `/autocompact`
- Changed Grep to apply fewer ignore files in some sessions, so it can show files that they used to hide
- Changed managed `PostToolUse` hooks so that when a tool can't use a rewrite, Claude gets an error that says so; return the tool's own output shape to keep the rewrite
- Changed `--system-prompt` with a `__SYSTEM_PROMPT_DYNAMIC_BOUNDARY__` line on Bedrock, Agent Platform, Foundry, gateways or with experimental betas off: the text above it gets its own cache breakpoint
- Changed the survey's question on sharing the session transcript: Yes is now y then Tab
- Changed `/design-sync` to say why when a session can't publish your design system to Claude, and to publish with telemetry off too
- [VSCode] Added an "Open diff" link to edit and write permission cards in chats opened from the session list, except in the new look
- [VSCode] Added Remove, Edit and Send now for queued messages in the new look
- [VSCode] Added a Try again button under replies that failed on a server error, overload or lost connection, in the new look
- [VSCode] Added Quote and Side question for text selected in a reply, as buttons, in the right-click menu and in the Command Palette, in the new look
- [VSCode] Added a button in the new look that jumps back to the bottom of the conversation after scrolling up
- [VSCode] Added a count of changed lines in the chat header and a "Review Session Changes" command that open the files Claude edited in a session in one diff tab
- [VSCode] Added Mermaid diagrams in Claude's replies in the new look, with Show source to read their text and a button that opens them in an editor tab
- [VSCode] Added a box at the start of each scheduled task round in the new look, with its time and prompt
- [VSCode] Added "Turn off new look…" to the command menu of the new look
- [VSCode] Added Ctrl+Shift+Enter (Cmd+Shift+Enter on macOS) for the "allow more" answer of a permission prompt where it asked for a click, and made its ignored-key notices reach VoiceOver sooner
- [VSCode] Added a row in the new look that shows when Claude is still writing a file, an edit or a command
- [VSCode] Added a dot on the Session history button and a "Needs input" label in the history, in the new look, for a session you switched away from that is waiting for you
- [VSCode] Fixed the sign-in screen briefly appearing over a working sign-in after a settings change
- [VSCode] Fixed display in the new look: plugin bars and pictures cut off in short panels and wide tabs, the chat jumping under plugin rows, and long chats looking empty while they open
- [VSCode] Fixed the diff tab for a proposed edit opening over a chat in an editor tab
- [VSCode] Fixed a session's automatic title replacing the name being typed while renaming it in the session list
- [VSCode] Fixed an agent's transcript showing text meant for Claude around its subagent's report in auto mode
- [VSCode] Fixed plugin drawings: links lost keyboard focus and clicks at each redraw, and drawings did not show on `/compact` output or a canceled compaction in the new look
- [VSCode] Fixed messages looking sent while they waited behind a plugin's question in the new look; they now show as queued and can be edited or removed
- [VSCo