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

Claude Code 2.1.334

/model gets a search box, /code-review also follows REVIEW.md files in folders above a change, and /desktop works on Windows Arm computers. Fixes requests failing with thinking turned off, worktrees starting from the wrong branch and many Code Mode issues, while auto-compact on most 1M models moves to near 400K. 283 changes.

Official announcement →

This article is a summary based on official documentation.

What changed

Claude Code 2.1.334 shipped on December 1, 2026, with 283 changes, 201 of them fixes. The CLI has the most entries (135), followed by the VS Code extension (64), Claude Code on the web (55), Claude Tag (22), Remote Control (5) and Code Review (2). For everyday use, the visible additions are a search box in /model, folder-level REVIEW.md support in /code-review, and an Auto-compact window row in /config. Many cases of failing requests and stuck sessions are fixed, along with worktree, resume and Code Mode issues. Auto-compact on most current 1M models is moving to near 400K and Grep applies fewer ignore files in some sessions, so read the Notes below first.

New features

  • Search box in /model

    Long model lists were hard to scan. /model now shows a search box 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).

  • Folder-level REVIEW.md in /code-review

    2.1.333 made local /code-review follow the root REVIEW.md, but there was no way to keep different guidance per folder. Local reviews now also follow REVIEW.md files in folders above a committed change.

  • Auto-compact window row in /config

    /config gets an Auto-compact window row to see and change the size that /autocompact sets.

  • /desktop on Windows Arm

    /desktop and claude --desktop now work on Arm computers running Windows.

  • Gateway config check

    Checking a Claude apps gateway config used to mean starting the gateway. claude gateway --config <file> --check config now checks a config file without starting, and a start reports a bad managed policy before it connects to Postgres.

  • New pricing keys

    modelPricing gains cacheWrite5m, cacheWrite1h and, for Haiku 5.5, longPrompt. Gateway pricing.overrides gains cache_write_5m, cache_write_1h and long_prompt. Old keys still work.

  • Self-hosted runner: --health-host

    The orchestrator accepts --health-host 127.0.0.1 for its health and metrics pages.

  • Full-terminal mod panes

    Mods (plugins written as JavaScript or TypeScript functions) get 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.

  • VS Code: additions to the new look

    The new look you can try with claudeCode.newLook gains:

    • Remove, Edit and Send now for queued messages
    • A Try again button under replies that failed on a server error, overload or lost connection
    • Quote and Side question for text selected in a reply, as buttons, in the right-click menu and in the Command Palette
    • A button that jumps back to the bottom of the conversation after scrolling up
    • Mermaid diagrams in Claude’s replies, with Show source and a button that opens them in an editor tab
    • A box at the start of each scheduled task round, with its time and prompt
    • A row that shows when Claude is still writing a file, an edit or a command
    • A dot on the Session history button and a “Needs input” label for a session you switched away from that is waiting for you
    • “Turn off new look…” in the command menu
  • VS Code: session changes and shortcuts

    There was no single view of what Claude changed in a session. The chat header now shows a count of changed lines, and a “Review Session Changes” command opens the files Claude edited in one diff tab. Edit and write permission cards in chats opened from the session list get an “Open diff” link (except in the new look). Ctrl+Shift+Enter (Cmd+Shift+Enter on macOS) picks the “allow more” answer of a permission prompt that used to need a click.

  • Claude Code on the web: scheduled tasks and admin

    • One-time and Custom in the frequency menu of the New scheduled task dialog, so a cloud Claude Code task can run once or on a cron schedule.
    • A Git providers setting, off by default, that lets Team and Enterprise Owners limit which GitHub organizations and personal accounts can be linked to their organization.
    • A confirmation before Rewind in a cloud session, where there’s no Undo, with a “Don’t show again” option.
    • A confirmation before regenerating or deleting a scheduled task’s API token.
    • Environment and machine names and IDs in /status in sessions on self-hosted environments, with a copy button for each ID.
    • A warning in a self-hosted environment’s admin details when some runners are too old for a model, naming the model and the minimum Claude Code version.
  • Claude Tag: Slack admin

    Claude Tag admin settings get a Connected apps section at the top that shows your Slack connection, and “Copy settings to…” on Slack workspace and channel pages to share access bundles with other workspaces and channels. People who can’t edit a channel’s GitHub repository list now see it read-only on the Configure page.

Key improvements

  • Auto-compact near 400K on 1M models

    Auto-compact’s per-model auto setting changes to near 400K on most current 1M models, -p and SDK runs too. It is rolling out, and is on now with third-party providers or with telemetry off. See /autocompact.

  • Grep and ignore files

    Grep applies fewer ignore files in some sessions, so it can show files that they used to hide.

  • Managed PostToolUse hooks and --system-prompt

    • When a managed PostToolUse hook rewrites a result the tool can’t use, Claude now gets an error that says so. Return the tool’s own output shape to keep the rewrite.
    • With --system-prompt holding 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.
  • Account email check

    The account email check 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.

  • Claude apps gateway

    • Fewer log 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.
    • A startup warning when a managed MCP server holds a ${...} placeholder that Claude Code would send as written.
  • Other CLI improvements

    • Adding a GitHub event to a cloud scheduled task fails less often, since Claude now knows the request’s fields and events.
    • /design-sync says why when a session can’t publish your design system to Claude, and publishes with telemetry off too.
    • In the survey’s question on sharing the session transcript, Yes is now y then Tab.
  • VS Code: the new look reads better

    • Failed slash commands, edits, reads and MCP calls, blocked tool calls and crashes say plainly what went wrong, and steps that never ran say so.
    • The working line shows the elapsed time and says when Claude is thinking, Claude Code is starting, a slow Stop hook runs or the server is overloaded or silent.
    • Agent rows name the agent and its task, the agent map shows each working agent’s latest step and folds earlier ones, and a finished agent’s card shows its report.
    • Permission cards for commands often say why a command can’t be checked or needs care, and the row above the card takes less room, so more of Claude’s reason shows.
    • JSON lists of records show as tables, plans show their titles, and git diff wraps changed lines. /code-review findings get a row each with a file link.
    • One or two pictures in MCP results show first instead of behind a long text.
    • On Bedrock, application inference profile ARNs show as a model family or a short ID, with the full ARN in the tooltip.
    • Older models fold under “More models”, and claude.ai connectors you never connected fold behind one row.
    • Background work gets a Show output link that opens live output and Stop.
    • Faster opening of chats with very long turns and of replies with many code blocks, tables or formulas, and faster loading of long conversations in remote windows (SSH, WSL, containers) on Pro and Max plans with no mods installed.
  • VS Code: behavior changes

    • The limit on grouped sessions goes from 1,000 to 10,000 per project, with a notice when adding to a group would exceed it.
    • Diffs open beside the conversation when Claude is alone in a local window of its own that is 800 px or wider, so they no longer hide the request.
    • Usage reset times follow VS Code’s display language when the time format setting is left at its default.
    • The MCP servers dialog offers Reconnect before Authenticate for a server that failed to connect.
    • Menus, dialogs and notices say “session” instead of “conversation” or “chat”, and the “New Conversation” command is now “New Session”.
    • The open file’s path goes with your next message right after VS Code starts or reloads, not only after a click in it; claudeCode.attachOpenFile turns it off.
  • Claude Code on the web

    • The scheduled task list can say a cloud task’s last run failed, didn’t run or needs input, and History can say why a run failed.
    • In cloud sessions with several repositories, the Changes pane names the repository and can switch it.
    • File links in the chat and Open file in the Changes pane can start a cloud session that isn’t running, then open the file.
    • The repositories you can add can include GitHub Enterprise Server ones once you’ve connected your account there.
    • New cloud sessions on a repository start without waiting for a descriptive branch name; if none is ready, the branch gets a random-word name.
    • Unlinking a GitHub account no longer turns off members’ own scheduled tasks on its repositories; those run under Claude’s agent identity are still turned off.
    • Renaming a cloud run of a scheduled task renames only that run, and most new cloud scheduled tasks set up manually on claude.ai/code without a repository are now Claude Code tasks, not Chat tasks.
  • Remote Control, Claude Tag and Code Review

    • Remote Control: archiving a working, connected session from its menu now asks first, and says the session may keep running on your computer.
    • Claude Tag: Owners and some admins can search the rest of the organization’s library when adding plugins and skills to a Slack channel or workspace, and Personal connectors move to a tab of their own under Claude’s access.
    • Code Review: the Repositories table shows the review level for repositories reviewed through their GitHub organization.

Bug fixes

Failing requests and hangs

  • 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.
  • 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.
  • A session failing on every request after Claude called a tool with an input that is not an object.
  • Most cases of Claude Code exiting when a session holds a message it can’t display — that message now shows a placeholder.
  • Sessions with an mTLS client certificate switching to expired or unusable certificate files on disk after a single temporary HTTP 400 certificate error.
  • Self-hosted runner: 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.
  • Sign-in waiting forever when its sign-in page could not be shown, Claude Code hanging after the worktree exit question when a later step failed, and a freeze when opening the transcript after tool output with very deeply nested JSON.
  • claude -p --resume failing with no message for a session title that contains a colon, and claude -p --continue exiting with no message when the previous conversation could not be loaded.
  • Remote Control and self-hosted runner sessions exiting when a message from their host arrived in two parts.

Compaction and context

  • Needless auto-compaction, or a false “Prompt is too long” error, after a response hit the output token limit before it wrote any text.
  • /compact and auto-compact sometimes keeping the model’s draft notes in front of the conversation summary.
  • /context drawing the compact buffer as used space when auto-compact is off.
  • Several Skill calls in one reply each re-sending the agent list and MCP server instructions, and sessions with more than 4,096 skills resending the skill list and losing prompt cache on every resume.

Worktrees and resume

  • 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.
  • Resuming an unchanged worktree dropping an unpushed commit that only its branch still had.
  • --continue not restoring the permission mode and worktree of a session that held only slash commands, and a branch made with /branch under --agent losing the agent when resumed.
  • /cd not loading the new folder’s CLAUDE.md after entering and leaving a worktree, and a running workflow’s progress not being saved after the session moved to another folder or worktree.
  • /resume renaming or previewing the wrong session after collapsing and reopening its group, and a background session’s status being undone by a /clear or /cd saved at the same moment.
  • .worktreeinclude skipping files whose names are not ASCII.

Code Mode

  • 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.
  • 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.
  • 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.
  • 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, and some cases of Code Mode scripts overwriting an outside edit of a file after /compact.

Plugins, hooks and MCP

  • A plugin’s SessionStart hook being skipped in terminal and background sessions when the plugin finished loading after the session started.
  • Plugins enabled through --settings or user settings not loading on the second start of a new machine, including resumed and background sessions.
  • Some plugin installs using far more disk space than the plugin needs — past a limit, the plugin is now refused with an error.
  • A failed read of the list during an install dropping other plugins’ install records, saving a plugin’s options turning an untouched list option into one string, and ${user_config.KEY} in plugin skills and agents not using the option’s declared default.
  • /plugin list marking a working plugin as “couldn’t load” when a namesake from another marketplace failed, and /hooks showing no hooks for an event whose plugin hooks have a matcher it does not take.
  • 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.
  • MCP forms blocking Accept after a valid pick and a pasted date such as “tomorrow” staying marked invalid, and importing MCP servers from Claude Desktop giving two servers the same name.
  • CwdChanged and FileChanged hooks ignoring watchPaths from HTTP hooks, and a slower hook from an earlier cd replacing the paths of a later one; skills not reloading when their folder is located under a .git directory.
  • Windows: official plugin marketplace updates failing when another program briefly held one of its files, and a plugin from a claude.ai-hosted marketplace refusing to update or download again in another project where it was enabled.

Tools and files

  • 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.
  • 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.
  • Read numbering a file’s lines from 0 when it is called with offset 0, and wrong line numbers after the first change in the snippet Claude is given when a file it read changes on disk.
  • Edit writing curly quotes into code when the text it replaced was given with a ’-style escape.
  • 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 &&), and a user’s shell alias named hash or typeset running in every Bash command (anthropics/claude-code#101498).
  • 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.
  • Several LSP tool issues, including results from git-ignored files with non-ASCII names, and the line of an annotation or comment given instead of the symbol’s name.
  • 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), and NotebookEdit reporting a markdown cell as a code cell to hooks and SDK hosts.

Agents and teams

  • @-mentions picked from the menu finding no agent when the agent’s name contains “agent-”.
  • Teammates and TaskCompleted hooks getting a task’s old subject or description when the same update changes it, and a teammate no longer showing that it waits for its lead’s approval when an earlier tool call of the same turn was answered first.
  • Agent team messages showing [invalid id] as the pane ID under cmux (anthropics/claude-code#112605).
  • An agents view row going back to “needs input” when a suggested reply was saved while its question was being answered.

Input and display

  • 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.
  • Vim mode keys acting unlike Vim: b skipping empty lines, db joining lines, dF taking an extra character, and more.
  • Markdown table borders out of line when a cell holds a tab, an ideographic space or a no-break space, MCP tool results out of line when their keys have wide characters, and the cursor landing one character off on wrapped prompt lines that start with a full-width space.
  • Full-width digits not choosing an option in questions with previews.
  • Hold-to-talk voice dictation losing the last words when Space was pressed or held again while “Transcribing…” was showing, and voice dictation falling back to English when the language is Norwegian Bokmål or Nynorsk.
  • Colors being lost in command output (some 256-color and true colors, or any sent with underline), and pasted text being swallowed when a key chord such as Ctrl+X was waiting for its second key.
  • /stats leaving out today where daylight saving time skips midnight, and /model not naming the effort level in screen reader mode.

Platform, auth and settings

  • macOS: git failing certificate checks in sandboxed commands when a corporate CA is trusted through the keychain or NODE_EXTRA_CA_CERTS.
  • claude auth status reversing Hebrew and Arabic folder names, which left the VS Code session history empty (anthropics/claude-code#99816).
  • /memory naming ~/.claude/CLAUDE.md when CLAUDE_CONFIG_DIR points elsewhere (anthropics/claude-code#113013).
  • 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.
  • Settings changes going unnoticed when the file was replaced just as Claude Code began watching it, and /remote-env reporting success when the setting couldn’t be saved.
  • The Bedrock setup’s profile picker listing [services …] and other sections of ~/.aws/config that are not profiles.
  • /ide and auto-connect not finding the editor on Linux hosts with no ps installed, and the computer use permissions panel, which now updates as you grant each permission, names your terminal, and opens one window for Accessibility.
  • A failing telemetry collector or signal on the Claude apps gateway dropping exports to other collectors and signals and repeatedly delaying model requests, and OTLP/HTTP exports in Claude Desktop sessions still sending an expired sign-in token after the token was renewed.
  • Claude asking which design system to use for every deck or design after you turned your organization’s default design system off for yourself.
  • /design-sync issues: no component previews for Storybooks that use CSF factories, refusing to run in a signed-in session after an API-key run on the same machine, and stopping with “still connecting” as the first prompt (it now waits up to 10 seconds). It now takes up to 4,080 files, up from 1,024.

Remote Control and cloud sessions

  • Remote Control turning back on by itself after you switched it off in /config while it showed a sign-in failure.
  • Send now on a waiting message ending background subagents in sessions started with claude remote-control (v2.1.321 or later) — they now keep running.
  • The Stop button coming back in some sessions, with nothing running, after you press Stop at claude.ai/code while Claude is replying, and some sessions on a default branch other than main being compared with main, which could list changes the session never made and offer Create PR.
  • Stop being ignored for up to a minute in cloud sessions waiting for refreshed credentials, and /teleport, /autofix-pr and cloud agents asking you to log in right after your login was refreshed.
  • 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, and a cloud session’s worker skipping SessionEnd hooks when its session was archived.

VS Code

  • Diffs in the new look being blank at first and closed by a second click, with removed lines faint in some themes, among other display fixes.
  • Failed tests, builds, type checks and linters piped through commands such as head or tail showing as passed in the new look.
  • Yes on a file edit in the new look dropping changes made in a read-only diff tab by Replace All or by another extension, and Yes on a permission request ignoring clicks until the mouse moved in the new look.
  • Raw <pasted_content> tags showing in prompts after forking or rewinding a session, and Windows paths in replies and plans losing the backslash before folders such as .claude or __tests__ in the new look.
  • The extension’s background helper process counting as a session in the claude_code.session.count metric and admins’ usage analytics.
  • The limit-reached banner calling the weekly limit “weekly Sonnet limit” on Pro and Enterprise plans, and the new look’s usage limit banner still saying the limit was hit after it had reset.
  • Unanswered Consumer Terms showing as a crash — the panel now says what to do and how to answer them.

Claude Code on the web

  • A new cloud session sometimes starting without environment variables or a setup script you saved after you began typing your first message.
  • Cloud environment variable values that run into an unquoted #, such as COLOR=#fff, being silently cut on save — Save now stops and tells you which line to fix.
  • API calls that use a network secret failing with a 502 error when the API took over 30 seconds to start responding — it now has up to 5 minutes.
  • Scheduled tasks sometimes skipping a run when a saved GitHub token expired just as the run was due — the token is now renewed and checked again.
  • gh api --paginate failing after the first page of a github.com repository’s list in cloud sessions.
  • A message to a cloud session being sent without an attached file when its upload failed — the message and file now stay in the box so you can try again.
  • A false HTTP 403 error when git rejected a push because the remote branch had newer commits, and new cloud sessions failing to start because the branch you last picked had been deleted on GitHub — they now start from the repository’s default branch.
  • Archiving a cloud session sometimes stopping its background tasks without asking — Archive now usually asks first when one is still running.

Claude Tag

  • MCP_TOOL_TIMEOUT set in a cloud environment’s variables being ignored in nearly all sessions Anthropic hosts.
  • A Slack thread staying silent when Claude starts a task there from the channel and fails right at the start — Claude now posts a failure notice.
  • Limit boxes on the spend limits page dropping a typed comma, so 62,50 became 6250 — 62,50 now shows an error and can’t be saved.
  • OAuth client-credentials and JWT-bearer connections failing when the provider’s token response gives the token’s lifetime as text instead of a number.

Notes

  • If you use 1M models, auto-compact is moving to near 400K (-p and SDK runs too). It is already on with third-party providers or with telemetry off. Check or change it in /autocompact or the Auto-compact window row of /config.
  • If Grep now shows files it used to hide, that’s because it applies fewer ignore files in some sessions.
  • If you turn thinking off, on models that don’t accept turning it off Claude Code resends without that setting, so the model may think on those requests.
  • If you run behind a gateway that rewrites API errors, unknown 400 and 422 errors are now resent; CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE=1 turns that off.
  • If a managed PostToolUse hook rewrites tool results, return the tool’s own output shape to keep the rewrite; otherwise Claude gets an error.
  • If the account email check now refuses your git email, that’s new in this release; disable the Privacy plugin to stop the check.
  • If you install very large plugins, a plugin past the disk space limit is now refused with an error.
  • If you write mods, a mod on SessionStart can now hear it twice when its plugin finishes loading after the session started.
  • If you set pricing, the new cacheWrite5m, cacheWrite1h and longPrompt (Haiku 5.5) keys are available, and old keys still work.
  • If you use the VS Code extension, “New Conversation” is now “New Session”, and the open file’s path goes with your next message right after start-up; claudeCode.attachOpenFile turns it off.
  • If you used the earlier Claude in Slack app in a workspace not connected to Claude Tag, its remaining answers are removed, Pro and Max accounts included; most people now get a notice instead.
  • When you answer the survey’s transcript-sharing question, Yes is now y then Tab.
  • This post covers the main items only. See the GitHub release notes for the full list.