claudekit / updates / claude-code-2-1-333
[ PATCH · ]

Claude Code 2.1.333

Local /code-review reviews now follow your repository's REVIEW.md, Claude can stop one running agent of a workflow while the others continue, and /plugin gains a Built-in tab. Fixes waits of up to 10 minutes on a slow git status, hangs of 10 minutes or more on an unanswered token count request, and memory growing by gigabytes on Linux. The mod API grows a lot. 268 changes.

Official announcement →

This article is a summary based on official documentation.

What changed

Claude Code 2.1.333 shipped on November 30, 2026, with 268 changes. 163 of them are fixes, and 78 are for the VS Code extension. Much of what was added extends the API for mods (plugins written as JavaScript or TypeScript functions). For everyday use, the visible additions are REVIEW.md support in local /code-review, stopping one agent of a workflow, and a Built-in tab in /plugin. Several multi-minute hangs on a slow git status or an unanswered request are fixed, along with many cases of runaway memory and CPU use. The terminal progress bar, /radio, spinner tips and more are now built-in plugins you can turn off, and --allowedTools and compaction behave differently, so read the Notes below first.

New features

  • REVIEW.md support in local /code-review

    Local /code-review runs didn’t follow a review guide kept in the repository. Local reviews now follow the root REVIEW.md on your repository’s default branch.

  • Stop one agent of a workflow

    There was no way to stop a single agent while a workflow ran several. Claude can now stop one running agent of a workflow while the others continue.

  • Built-in tab in /plugin

    There was no single place to see which features are built-in plugins, or which ones your organization locks. The new Built-in tab lists built-in plugins by group with plain names, and shows the ones your organization’s settings lock on or off. /plugin also gets an “Example prompts” switch to turn the “Try …” examples off.

  • More detail from claude plugin validate

    It was hard to see which commands and servers a plugin would actually run. claude plugin validate now shows a Runs list for the commands and servers that a plugin’s or marketplace’s own files name. It also lists the names a mod registers, including in --json, with a mark on calls that may register other names, and lists mods whose ui.key hook may take Enter in the prompt box.

  • Held messages from other sessions

    A held message from another session could expire without a word. You now get a notice when one expires unanswered. In VS Code, held messages get Deny, Deliver and Always deliver buttons.

  • Gateway spend limit error code

    A 429 for a user’s reached spend limit looked like any other 429. It now carries error.details.error_code: spend_limit_reached.

  • CLAUDE_CODE_DISABLE_POWERSHELL_PARSER_OVERLAP=1

    A slow PowerShell parser could keep running while its retry started. This setting stops the slow parser before its retry starts, so the two don’t run together.

  • Self-hosted runner: notice on resumed subagents

    A subagent resumed by a new Claude Code process now gets a one-time notice, on any runner, that earlier unpushed file changes may be gone.

  • A larger mod API

    Mods are plugins that hook into Claude Code’s prompts, tools and screen. This release adds a lot to their API.

    • Prompts and turns: $.prompt.submit gains consent and wait: false. A prompt sent in answer to your press, typed command or answer counts as a turn you started (next.origin.isByPerson), and with wait: false the prompt enters the running turn at its next step instead of waiting for the turn to end.
    • Sessions: $.session.load resumes, clears, branches or rewinds the conversation between turns, and a mod can veto the new session.load event for /resume, /clear, /branch and /rewind. A session.state event (busy, waiting, idle) is added, and session.end now fires when Claude Code restarts itself and, with the reason unload, when the mod’s plugin is turned off or uninstalled.
    • Session rows: $.session.messages reads another saved session of the project (in terminal sessions), or the running session’s rows since its last compaction, each with a handle. Rows appended with $.session.append can carry name and data, and with lasts: "transcript" on $.state.set, a mod’s value comes back on resume and fork, follows a rewind and survives compaction.
    • Drawing: $.ui.render draws a component that other mods can wrap, restyle or replace. CommandRow draws a command’s slash menu label, an Ask render site explains a tool’s permission prompt from above it, and a Placeholder render site sets the empty prompt’s dim example line. $.ui.toast gains place, key and priority, $.ui.open gains wait, and the ui.key event lets a hook pass on, take or swap a key pressed at the prompt, in a pane or above the prompt.
    • Tools and models: tools registered with $.tool.register can declare traits such as read-only, concurrency-safe, destructive and runs code. A tool.run answer can return content (text and image blocks) and isEnd to end the turn. $.model.stream reads a completion piece by piece, and $.model.complete accepts schema for JSON replies and thinking for extended thinking.
    • Files, storage and network: $.fs.remove, $.fs.rename, $.fs.copy and byte writes are added, and both files and $.store get compare-and-set through ifVersion. $.http.stream reads a response body as it arrives, and $.http.fetch accepts base64 request bodies, timeoutMs (up to ten minutes) and redirect: "manual".
    • Observability: any mod can send its own records to your OpenTelemetry collector as claude_code.plugin_event, and promptCache on $.session.usage() tells whether the prompt cache is warm, when it expires and why it last missed.
  • VS Code: new settings and notices

    • The claudeCode.newLook setting tries a new look for the panel; it applies after a reload.
    • A note in the conversation when a fallback model answers.
    • A note on the diff tab and the permission prompt when Claude writes over a file that the editor can’t show.
    • A notice when an MCP server asks for input that the panel can’t show, which used to be declined silently.
    • A Sign in link on the error shown when the Claude apps gateway no longer accepts your session.

Key improvements

  • Features moved into built-in plugins

    The terminal progress bar (now following the tab’s busy status), /radio, spinner tips and the tab title’s busy mark are now built-in plugins you can turn off in /plugin. The spinner and turn-end words are a built-in mod you can turn off, and that verbs mod now also runs in -p, the SDK, Desktop and IDE extensions. As a result, /stickers, /radio, shipped spinner tips and words, example prompts and the tab title’s mark need their built-in plugins running. spinnerTipsOverride tips and spinnerVerbs still show. A command whose built-in plugin is off or not running now names that plugin as /plugin lists it.

  • Bash in large git repositories

    • Bash commands wait less for the Bash edit diff in very large git repositories; after 8 failed tries with no quick success, it stops trying there for the session.
    • Keys, Esc and Ctrl+C respond faster on slow disks while a Bash command that writes many files is checked for permission, in auto mode too.
    • Computing file diffs is faster, most of all for large rewrites.
  • Memory and speed

    • Lower memory use in terminal sessions, in sessions that load a mod, and in /usage on machines with many recent sessions.
    • Very long diffs in screen reader mode or with syntax highlighting off no longer freeze for seconds or use as much memory.
    • Better input responsiveness during tool calls in long sessions with many hooks configured.
    • With mods loaded, a hook whose matcher doesn’t match no longer slows down the calls, rows, requests or keys it doesn’t apply to. Mods also load faster at start-up and in claude plugin validate.
  • Errors and recovery

    • When macOS refuses to start Claude Code’s sandbox with sandbox_apply: Operation not permitted, the error now names the likely cause: another sandbox.
    • On background session start-up failures, daemon.log shows the start of the error on macOS and Linux, and a macOS folder refusal points to Privacy & Security.
    • When the API refuses images for their size and lists them, only those images are removed, and they stay removed on later turns.
    • When Claude Code can’t confirm a region prefix such as eu., the Amazon Bedrock “model identifier is invalid” error says so and how to fix it.
    • /diff says when its ask button doesn’t attach a file.
  • Windows

    • A shorter wait before a PowerShell command runs on slow machines, and faster start for most command hooks under Git Bash.
    • Faster image paste.
    • Adding and updating git plugin marketplaces retries when another program is using the freshly downloaded files.
  • Larger Artifact uploads

    Artifact tool asset uploads accept files of up to 32 MiB, up from 20 MiB.

  • SDK and CLI behavior changes

    • SDK sessions end background commands, monitors and wakeups once the host is gone and no subagent runs. CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0 opts out, and stream-json adds keep_alive lines.
    • --allowedTools and --tools stop the launch on some lists given as several values. Put the list in one value, such as --allowedTools "Read,Edit,Write".
    • Compaction no longer re-attaches uploaded files, downloads and saved tool results afterwards; Claude can read them again when it needs them.
    • Code Mode is available in sessions that have OpenTelemetry tracing on, and each tool call its code makes gets its own spans.
    • /team-onboarding on Team and Enterprise plans offers team sharing only in a session on your claude.ai login.
  • Search scope and imports

    • On macOS, Claude’s find and grep, and Grep and Glob in the desktop app’s Code tab, skip ~/Library/Containers and ~/Library/Group Containers when searching from above them.
    • On WSL, claude mcp add-from-claude-desktop skips and names servers with values that look like Windows paths or use unset variables, and says which config file it imports from.
  • Mod behavior changes

    • What /compact prints now reaches session.append by door compaction instead of command.
    • A resume reuses a prompt.attachment hook’s rewrite or leave-out of an attachment without asking again, unless a new mod hooks it or $.ui.invalidate('prompt.attachment') is called.
    • A $.session.authorize() handle for a saved claude.ai sign-in keeps working after the sign-in refreshes.
  • Self-hosted runner SessionEnd hooks

    On some Linux hosts, a SessionEnd hook that passes its time limit now also ends background programs it started. Finish in time, or use the post-session hook.

  • VS Code: speed and accessibility

    • Faster typing in the Slash commands filter with many skills and commands, faster opening and searching of Manage plugins with many plugins, and faster copying of long conversations that contain math.
    • A session reopened in a git repository answers sooner, typing and selecting stay smooth with several chats open, and closed diffs are freed. Restoring very long sessions with many compactions no longer risks running the extension host out of memory.
    • Permission cards, session lists, attachments, plugins, the agent map, dialogs and menus now have names, headings and announcements for screen readers.
    • In the Cloud tab, Remote Control sessions are labelled, a refused open says why, and a failed open links to claude.ai.
    • A slow shell profile no longer holds up the first chat: the profile now runs at window start, even if you don’t open Claude.
    • vscode://anthropic.claude-code/open links refuse prompts over 5,000 characters.

Bug fixes

Freezes and long waits

  • The first prompt, subagents and -p waiting up to 10 minutes when git status is very slow or stalls — Claude now continues after 30 seconds.
  • Reading a larger file, large MCP results, @ mentions and /context hanging for 10 minutes or more when the token count request got no answer.
  • Tool calls to HTTP MCP servers that offer no GET stream hanging for up to 5 minutes after the server or a proxy closed the response stream without an answer.
  • A turn hanging on a plugin’s language server that exits or stays silent while starting — an exit now fails the call at once, and a silent server’s call gives up after 60 seconds by default.
  • ! commands in cloud and headless sessions hanging for ten minutes when the command reads standard input.
  • /model and SDK model switches failing at the first “overloaded” answer from the API — the model check now retries for up to 2.5 seconds.
  • The prompt staying on “Pasting…” and ignoring Enter on WSL and Windows when the clipboard never answered.
  • Requests on Google Cloud’s Agent Platform hanging when a Google Cloud credential’s executable is missing or is killed.
  • A freeze when Grep matched many files while Read deny rules were set, and a freeze when a gateway’s 400 error about an image or PDF quoted the whole request back.
  • The terminal freezing on Linux when a command removed, moved or created many folders in a large git repository, and a doubled pause after sandboxed commands on Linux in large git repositories.
  • A freeze and high memory use when opening the transcript with Ctrl+O after edits to a file with thousands of IDE diagnostics.

Memory and CPU

  • Memory growing by gigabytes and CPU staying at 100% on Linux while a build or other command creates and removes many files in the repository.
  • Memory growing without bound while a hook in claude -p, an MCP server or a language server keeps printing large output or notifications without pause.
  • Memory growing by gigabytes in long sessions with OpenTelemetry content logging on, most of all while the collector is slow or down.
  • Memory growth and a freeze at the next turn when a language server republishes diagnostics while the session is idle or running a long command.
  • High memory use when several very large images were read at the same time, in Code Mode when its code made many calls with large MCP results or command output, and from a workflow script that logs in a tight loop.
  • High CPU use from file watching (an idle session when files could not be looked at, and FileChanged hooks on a folder created after startup or a missing path in a busy folder), in idle sessions when a settings file links into a very large, busy folder such as /nix/store, and when a --plugin-dir mod’s folder held many build files that aren’t code or JSON.
  • Windows: an idle session using a full CPU core after a folder it watched was deleted.
  • A shell stuck in your start-up files staying behind on macOS and Linux after Claude Code exited, and idle background sessions woken by a finished task never being retired, which left their processes running for days.

Runs and session stability

  • claude -p on macOS and Linux losing the end of a successful run’s piped output when the reader lagged — it now waits up to 30 seconds and warns if any is unread.
  • Background sessions failing with a model error after /background or a wake, when --model default or a blocked --model sonnet had resolved to a model the account lacks.
  • An asyncRewake hook that keeps exiting quickly with code 2 waking Claude in an endless loop — wakes now stop after 8 in a row (CLAUDE_CODE_STOP_HOOK_BLOCK_CAP changes it).
  • Claude Code exiting with no message in fullscreen mode, and background sessions showing no reason, when sandbox.failIfUnavailable is set and the sandbox can’t start.
  • A queued message being sent without the interrupted tool’s result when pressing Esc while a tool was running.
  • Most prompts typed while Claude was working being lost from history when Claude Code exited before sending them.
  • Streamed responses ending in a decompression error behind some proxies, a crash on Windows on machines running some security software, and a crash in fullscreen mode when many long tool results collapsed at once.
  • CLAUDE_CODE_RESUME_INTERRUPTED_TURN sending Claude a request that nobody asked for in a session with no stored prompt or reply.

Agents, teams and workflows

  • Subagents reporting the main conversation’s effort level to hooks and shell commands after a model fallback.
  • A subagent’s own MCP server getting the tool descriptions of another MCP server with the same name.
  • Agent team inboxes that can’t be read or written: messages being lost during a write, and a teammate repeating turns without end.
  • Messaging a running workflow agent starting a second copy of it outside the workflow.
  • SendMessage misleading Claude about agent teams — a busy teammate or lead reads a message when its turn ends, and a lead with no teammate needs it sent to main.
  • Deleted tasks coming back when many linked tasks were deleted at once.
  • Background requests such as prompt suggestions, /btw and /recap sometimes consulting the advisor on Opus 4.8, Sonnet 5.5 and later models.
  • Tool descriptions sent to the model (like Bash’s auto mode wording) staying stale after a mode or settings change — they now refresh when the main conversation compacts and on /clear.

MCP and plugins

  • Plugin marketplace adds and updates failing, removing the marketplace or leaving it incomplete when two sessions download it at once.
  • /reload-plugins, plugin marketplace add and most background updates installing only one of a plugin’s optional dependencies in the first session on a new machine.
  • A plugin skill name running a different skill from one session to the next when two skill folders get the same name — /plugin now warns and names the folders.
  • SessionEnd hooks of plugins loaded from a zip file failing at exit with “Plugin directory does not exist”.
  • A remote MCP tool running twice when you move a session to the background while a background subagent waits for its task, on servers without custom headers.
  • claude mcp add-from-claude-desktop on WSL finding no servers, or outdated ones, with the packaged Claude Desktop for Windows.
  • Cloud sessions warning that a plugin marketplace couldn’t be fetched when no plugin you have enabled from it is missing.

Authentication and connections

  • A renewed or newly added mTLS client certificate not reaching model requests when a server answers with an HTTP 400 certificate page — certificate errors now say what to check.
  • An awsAuthRefresh or gcpAuthRefresh login that was stopped at its time limit, on cancel or at exit sometimes being treated as a completed sign-in.
  • Bedrock sessions signed in with aws login running awsAuthRefresh again or reporting an expired session after a token refresh.
  • macOS asking to find devices on local networks when a Claude Desktop session on Google Cloud’s Agent Platform has no credentials — a server named in GCE_METADATA_HOST is still used.
  • Self-hosted runner: git fetch and git push in a long-running process failing after a session token refresh — a wrapper must expose the token file’s folder, not a copy or single-file mount.

Remote Control, cloud and Desktop sessions

  • Remote Control: high CPU use when the event stream kept rejecting fresh credentials, and a Stop from another device applying a second time after a running session reconnected.
  • claude remote-control crashing and leaving the computer shown as online when its terminal or output pipe went away while it ran in the background, and writing its whole status block every second to a log file or the systemd journal when nothing had changed.
  • Some messages sent to a cloud or Remote Control session failing during a short service pause — Claude Code now waits up to a minute and tries again.
  • A stopped reply sometimes running again when a remote session restarted with a background notice queued after the Stop.
  • Cloud sessions losing their last status and one-line summary after /compact.
  • Desktop app Code tab issues: a session going back to a worktree it had been moved out of after a restart, @-mentions attaching the wrong file after Claude changed folder in a command, the plan going missing after Rewind in plan mode, looking idle after /goal, and subagents being offered tools that the app refuses.
  • Claude Desktop’s read-only side chats (for example in WSL sessions) ignoring the language setting.
  • Windows: /desktop and claude --desktop sometimes starting Claude Desktop without showing its window.

Tools and files

  • Rules, skills, commands, agents and output styles with Windows line endings ignoring their header (paths, name) when it held an unquoted colon or glob (anthropics/claude-code#80890).
  • Edit silently dropping the last byte of a UTF-16LE file with an odd byte count — Edit and NotebookEdit now refuse such a file (anthropics/claude-code#105747).
  • /rewind deleting a file that was missing when an edit of it failed and was later put back.
  • Pull requests opened with gh api being left out of the pull request count and session link when the command was multi-line, quoted its path, or used --input.
  • Git summaries naming a flag value or punctuation as the merged branch, and reporting a pull request as merged or closed when it already was.
  • FileChanged hooks firing for only one file when several watched files in the same folder did not exist at startup.
  • Windows: tool calls being refused at the root of some network and virtual drives.
  • Bash edit diffs on Linux missing changes in a folder that a command removed and re-created.
  • Cloud Cowork sessions reporting a saved file when Write, Edit or NotebookEdit named a connected folder by its mount path.
  • Claude asking more questions, like which design system to use, after you answered questions for a new artifact.

Input and display

  • Ctrl+R history search missing text with decomposed accents, kana or Hangul, such as macOS file names.
  • Lines going missing from terminal scrollback outside fullscreen mode in long sessions, and above a tall permission prompt on Windows or with reduced motion.
  • Dictation issues: not starting, sending the prompt or losing your words when the CLI paused briefly or Space was pressed during transcription; tap-mode and auto-submit dictation in ! mode running your words as a shell command as soon as they were transcribed; and dictation in the agents view redrawing the input line continuously in screen reader mode.
  • A bare @ hiding file suggestions after /code-review or another named subagent had run — type a first letter to complete a subagent’s name.
  • Ctrl+X tab switching to a hidden panel instead of focusing the one on screen when several panels are open.
  • Slow typing in the agents view when listed sessions were started with very long prompts.
  • The model retirement warning being cut off in narrow terminals, and the top of the fullscreen view staying blank after repeated Ctrl+O on tall terminals.
  • A $BROWSER that stays in the foreground being closed after ten minutes or when Claude Code exits.

Mods

  • The spinner staying on “Running SessionStart hooks…” until the turn ended after a mod’s session.compact hook replaced an auto-compaction (anthropics/claude-code#106462).
  • A crash or freeze when a mod drew a Code block in a row beside long text or another Code block.
  • Flashes when a mod draws and answers in time (100 ms; 16 ms for prompt text), such as blank rows or a finished tool row shown as running.
  • cwd on a mod’s $.agent.spawn being ignored — the subagent now runs in that folder, or the spawn is refused with a reason.

VS Code: edits, sessions and account

  • Yes on an edit’s permission prompt dropping changes made in the diff tab when the editor took between 10 and 30 seconds to respond.
  • The chat panel freezing for about 5 seconds on each large edit, in most chats — a very large diff can now show whole lines as changed.
  • Bookmarks being lost when you rewind or fork a session.
  • “Sign in again” opening the sign-in screen while the logout was still running, which could remove a new sign-in, and one cause of being signed out after opening a window on a slow connection (login renewal now gets up to 25 seconds).
  • A /loop with no interval ending silently when its session stopped or restarted with the window open — the chat now says so, and how to start it again.
  • The session list missing sessions started in Claude Desktop or a terminal until the window was reloaded.
  • Part of a reply missing after moving the panel, moving its tab to a new window, or running Reload Webviews while Claude was still replying.
  • A cloud session opened in VS Code repeating earlier API errors to Claude as its own replies.
  • /plugin running the /plugin-authoring skill instead of opening Manage plugins.
  • “rule not found” when removing a hand-written permission rule such as Bash(*).
  • A repeat click replacing or removing something: a second plugin uninstalled, an MCP server disabled, a code rewind or removal confirmed, or a style file replaced.

VS Code: input, display and accessibility

  • Option+Enter (Alt+Enter) sending your message instead of adding a new line.
  • Select All and Copy in the chat copying nothing, and typing being lost, or stopping the running turn, after a click on the Send or Stop button.
  • A prompt disappearing from the chat when it was sent while the chat was still loading.
  • The conversation moving or stopping short of its end, behind the message box or a permission prompt, after zooming, opening a menu, answering No or opening folded tool calls.
  • Copying an svn or diff -u patch from a code block with no language dropping its last newline, which made git apply refuse it.
  • Shell output and tool errors spelling out the invisible characters that Persian, Urdu, Hindi, Bengali, Sinhala, Khmer, Lao and other languages need to shape or separate words.
  • “Resolve in Terminal”: for screen reader users it now opens Claude Code in screen reader mode with the keyboard in the terminal, and open notifications no longer cover its choices.
  • The Orca screen reader on Linux staying silent for replies and errors longer than 1,000 characters.
  • The model button showing the old model again after switching models during a reply, and /model closing the model picker without a word while Claude is working.
  • Replies that finish while the VS Code window is in the background getting no unread mark.

Notes

  • If a script passes --allowedTools or --tools as several values, some lists now stop the launch. Put the list in one value, such as --allowedTools "Read,Edit,Write".
  • If you counted on uploaded files or saved tool results staying in context after compaction, they are no longer re-attached; Claude reads them again when it needs them.
  • If an SDK host should leave background commands running after it goes away, set CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0. If you parse stream-json, handle the new keep_alive lines.
  • If /stickers, /radio, spinner tips or example prompts have gone missing, check whether their built-in plugin is off in the Built-in tab of /plugin.
  • If you write mods, a mod that matches /compact’s output on door command breaks and should match compaction. next.origin gains pluginId and isOfficial, so mod tests that compare that origin exactly need the new fields, and existing * and session.* hooks now hear session.load and session.state.
  • If you run self-hosted runners, a SessionEnd hook that passes its time limit may also end background programs it started, and a wrapper must expose the token file’s folder.
  • If you search on macOS from a folder above them, ~/Library/Containers and ~/Library/Group Containers are now skipped.
  • If you work with UTF-16LE files, Edit and NotebookEdit refuse a file with an odd byte count.
  • If you pass prompts through vscode://anthropic.claude-code/open links, prompts over 5,000 characters are refused.
  • Claude tabs in VS Code that share a chat title not reopening after Restart Extensions is fixed from the next update on.
  • This post covers the main items only. See the GitHub release notes for the full list.