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

Claude Code 2.1.336

Organizations managed in Anthropic's Enterprise Admin Console get hooks and a status line in their settings, /help command lists get search, and Remote Control can answer an in-process agent teammate's permission prompt. Fixes a freeze when an edit changed thousands of lines and a 2.1.335 regression where a session stopped answering prompts, while the status line's context percentages and WebFetch's wait limit change. 182 changes.

Official announcement →

This article is a summary based on official documentation.

What changed

Claude Code 2.1.336 shipped on December 3, 2026, with 182 changes, 114 of them fixes. 83 entries are for the VS Code extension, 5 for Claude Code on the web, and 94 cover the CLI, Desktop, cloud sessions and other surfaces. Much of the release extends settings and sign-in for organizations managed in Anthropic’s Enterprise Admin Console, and for everyday use the visible change is a long list of freeze and delay fixes. It also fixes a rare case where a session stopped answering prompts without showing an error, a regression in 2.1.335, so anyone on 2.1.335 has a reason to update. The status line’s context percentages and the base URL passed to managed hooks have changed, so read the Notes below first.

New features

  • Enterprise Admin Console organizations

    • Hooks and a status line are added to the settings that Claude Code applies from an organization managed in Anthropic’s Enterprise Admin Console, including hooks already saved in the console.
    • Amazon Bedrock, Mantle, Google Cloud’s Agent Platform and Microsoft Foundry connections support a base URL.
    • Identity provider sign-in for an Amazon Bedrock proxy: run /login, once an admin has registered the /gateway-sign-in/callback address.
    • /status gets rows for the AWS profile the organization chose, and how its sign-in relates to your own ANTHROPIC_BASE_URL.
    • The allowedAdminConsoleOrgUUIDs managed setting applies an Enterprise Admin Console organization’s settings after sign-in and, unlike forceLoginOrgUUID, still allows API keys and tokens.
  • Answer a teammate’s permission prompt from Remote Control

    You can answer an in-process agent teammate’s permission prompt from Remote Control.

  • Search in /help

    The command lists in /help get search, and search fields are now one line instead of a box.

  • Clickable file names in Claude Code Desktop’s terminal

    File names and labelled links are clickable in Claude Code Desktop’s terminal on macOS and Linux.

  • Environment variables for unattended and background work

    • Unattended retry mode used to leave a subagent sleeping until a usage limit reset. CLAUDE_CODE_RETRY_WATCHDOG_MAX_SUBAGENT_MODEL_LIMIT_WAIT_MS lets it end that wait at some usage limits.
    • BASH_DEFAULT_BACKGROUND_TIMEOUT_MS lengthens the default time limit of background shell commands in Agent SDK and cloud sessions, leaving foreground timeouts alone.
  • For mods

    $.process.open holds a long-lived child process, and view.isScrolledBack tells when the fullscreen transcript is scrolled away from the bottom.

  • claude plugin validate warns about bin/

    claude.ai refuses a plugin with files in its bin/ folder. claude plugin validate now warns about it, and --strict fails on such a plugin.

  • Compaction and artifacts

    • A line says when automatic compaction gives up.
    • The Artifact tool’s list shows the time you last opened each artifact, so Claude can find what you opened recently.
  • VS Code additions

    • A “Try again” button in the sign-in screen’s error box, which checks again whether Claude Code starts and who is signed in.
    • A “Request” control on MCP tool rows in the new look that shows what Claude asked the server.
    • An “Open in editor” button on the image preview in the new look, to see a screenshot at full size in an editor tab.
    • A “Sign in again” link on the error shown after your organization’s sign-in has ended.

Key improvements

  • Memory and speed

    • Lower memory use in resumed terminal sessions, sessions with many MCP servers or Remote Control on, longer claude -p and Agent SDK sessions, compacted conversations and /usage.
    • Glob is faster in large repositories: a pattern that names a folder, such as src/**/*.ts, now searches only that folder.
    • WebFetch used to wait a minute or more on a silent site. It now gives up after 30 seconds with no data. Set CLAUDE_CODE_WEBFETCH_SILENCE_MS to change the limit (0 turns it off).
  • Enterprise Admin Console and Amazon Bedrock

    • In Enterprise Admin Console organizations, Amazon Bedrock connections in AWS GovCloud with no base URL use the FIPS endpoints.
    • Managed hooks, managed MCP servers and credential helpers no longer get an ANTHROPIC_BASE_URL that an Enterprise Admin Console organization sets.
  • Permissions and safety rules

    • Auto mode reviews more Bash and PowerShell commands.
    • Computer use on macOS follows newer safety rules, so more clicks are refused and some apps are view only.
    • Answering No at the startup --add-dir trust prompt used to exit. It now starts the session without that directory in most cases; Esc still exits.
  • Commands and skills

    • /model leaves out retired models, except the one in use.
    • /plugin stops offering Configure options for plugin options whose one choice is already the default, unless the plugin has command hooks.
    • The bundled dataviz skill marks charts drawn from made-up values as simulated on the chart itself, and keeps a bar’s end label to one number.
    • Claude-drafted feedback is offered less often for mistakes that cost you nothing.
  • Windows Bash fixes on more plans

    2.1.335’s long-command, path-hint and working-folder Bash fixes now also apply on Team, Enterprise and API keys. disableWindowsBashCommandSplit turns off the command split.

  • VS Code improvements and behavior changes

    • Tool rows in the new look: Chrome and GitHub calls say what they act on, review findings show as a list, and many long failed runs show their first failure. Found files in Grep and Glob rows open as links.
    • In the new look, permission cards ask in plain words, dialogs lead with what matters, and notices and error banners lead with the cause.
    • Chats start and answer first faster on busy Windows machines and on slow or network folders, start-up on slower machines starts a second Claude process less often, and the panel uses less CPU in long sessions.
    • Permission prompts warn before a worktree removal discards work.
    • The “allow all edits” answer on permission prompts says that it also allows deletes.
    • The Claude button and status bar item go back to your last session tab instead of opening another empty tab; the button on a Claude tab starts a new session.
    • Ctrl/Cmd+W in the chat closes the chat.
    • With CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC set, voice dictation is unavailable, and cloud sessions can be refused once a chat has started; open them on claude.ai/code.
    • Archived local sessions return to the session list when you send a message in them.
  • Claude Code on the web

    • Outputs: a Show earlier files button looks for older files in long cloud and Remote Control sessions, and published artifacts appear above files.
    • When a cloud or Remote Control session shows “Some messages may be missing”, the page now usually keeps trying to load them without a click.
    • Editing a scheduled task’s GitHub trigger: the repository menu lists the task’s own repositories first, replacing a second menu that could appear below it.

Bug fixes

Freezes and delays

  • A freeze when an edit or overwrite changed thousands of lines. Very long diffs now show their line counts, and ctrl+o shows the whole diff.
  • Exiting a worktree session hanging on a blank prompt for up to 10 minutes when git was slow or stuck.
  • Subagents and /clear each waiting 30 seconds before their first request in folders where git status is very slow.
  • A delay of up to 25 seconds before tools appear from HTTP MCP servers whose change-notification stream is never acknowledged (#91414).
  • A freeze of several seconds when Claude saved hundreds of artifact database documents to files.
  • Claude Code freezing while it removes a large worktree on Windows, or one with a very large folder on macOS.
  • Messages waiting several seconds to start when a file that Claude had edited was on a slow or network drive, or was large and changed outside Claude Code.
  • claude -p waiting up to 30 seconds at exit when a plugin’s npm registry refuses connections or can’t be resolved, and one-shot claude -p runs started inside a Desktop, cloud or Remote Control session waiting on a background status request before finishing.

Sessions, resume and stopping

  • A rare case where a session stopped answering prompts without showing an error (regression in 2.1.335).
  • A background session repeating work after a restart: a turn you stopped with Esc, a prompt you took back with Esc, or a turn that ended on purpose, such as a /goal at its Stop-hook limit.
  • A resumed conversation sometimes missing its last messages after a crash or kill in Anthropic API sessions with no feature flags loaded, such as with telemetry off.
  • A finished tool call running again when its permission answer was repeated in a session whose transcript is over 5 MB.
  • claude -p --resume and --continue failing when the session’s saved name in its file isn’t text, and a resumed session on macOS finding its scratchpad files gone.
  • A message stopped right after sending sometimes being lost from cloud and SDK sessions, and cloud sessions with very long histories being restarted repeatedly while they resumed.
  • Stop not ending a turn while Claude was still loading some built-in skills, and a command continuing to run in the background after being reported as stopped when Stop or Esc came right after Send now.
  • Old tool results staying in memory after /clear, and after compaction outside fullscreen.
  • CLAUDE.md edits being missed by the next message after a /btw asked right after resuming in VS Code or Desktop.

Remote Control and cloud sessions

  • Remote Control on a slow connection never receiving a large message, such as one with pictures, or anything sent after it.
  • Messages and tool results missing on claude.ai and mobile in Remote Control and cloud sessions when an upload was rejected — it is now sent again in smaller parts, leaving out oversized content.
  • A file that is attached again in Remote Control or a cloud session overwriting a copy that Claude had edited.
  • Remote Control: /btw side questions from a connected app getting no answer until a turn had finished, such as after --resume or /clear, and SessionStart hook titles not showing on claude.ai and mobile for new claude remote-control sessions.
  • Idle Remote Control sessions moving to the top of session lists as just used when Claude Code exited.
  • Most cases of cloud sessions being stopped mid-turn while a mod’s tool made many short tool calls in a row.
  • New cloud scheduled tasks made with /schedule moving an hour when daylight saving starts or ends.
  • A permission prompt from an in-process teammate staying open after the teammate was stopped.

Enterprise Admin Console, sign-in and usage

  • Errors, /voice, the notice by the prompt and claude agents wrongly suggesting /login in organizations managed in Anthropic’s Enterprise Admin Console.
  • First-run setup asking for a sign-in again after claude auth login to an organization managed in Anthropic’s Enterprise Admin Console.
  • Managed settings’ OpenTelemetry metric temporality being ignored when Anthropic’s Enterprise Admin Console sets the telemetry collector, and managed OTEL_RESOURCE_INCLUDE_HOST=0 being ignored in some sessions started by the Claude desktop app.
  • /status listing a computer’s managed settings as skipped when they partly apply beside an organization’s settings from Anthropic’s Enterprise Admin Console.
  • claude -p from the sandboxed Bash tool being refused or delayed for an organization managed in Anthropic’s Enterprise Admin Console whose settings run commands.
  • A certificate error during sign-in through your organization’s identity provider being reported as a network problem.
  • /setup-bedrock failing to verify a profile or key pair when AWS_BEARER_TOKEN_BEDROCK is set but empty.
  • Team and Enterprise members not being warned in the terminal when they get close to their monthly spend limit, and the usage limit message repeating each time a background agent or workflow finished while the session was at its limit.
  • /passes and the guest pass notice showing the wrong number of used and remaining passes, and the notice appearing with none left.

Plugins, skills and MCP

  • claude plugin update failing for GitHub plugins where SSH isn’t set up — it now falls back to HTTPS (#103638).
  • claude plugin update saying a plugin was at the latest version when its marketplace couldn’t be refreshed.
  • /plugin showing no error when a plugin’s MCP servers file can’t be loaded (for example, one saved with a byte-order mark) or one of its server entries is invalid, and /plugin install, /plugin list and claude plugin list saying that a plugin couldn’t load when only part of it didn’t load.
  • A plugin’s hooks sometimes being dropped after /reload-plugins.
  • claude plugin eval scoring a plugin that managed settings require without loading it — the plugin now loads, or the case fails with an error.
  • Your own mods from a marketplace URL with a query not loading in untrusted VS Code folders.
  • Skills with disable-model-invocation: true being refused in the terminal when you ask for them in a message sent while Claude is working.
  • A forked subagent being unable to read web pages after it loaded the claude-api skill.
  • The /claude-api skill tying a request that fails the history-editing check to the account’s creation date — it now says such a request might or might not return a 400.
  • Typed /mcp__server__prompt commands going out as plain text in headless sessions while the server was still connecting.

Tools, display and input

  • WebFetch reporting a domain as blocked when a proxy answered the domain safety check with its own page.
  • Claude often asking you to approve commands such as npm install that could not work because managed settings give the sandbox no network access.
  • Shortened command output sometimes ending in part of a color code, such as [38;2;105;120, shown as text.
  • Vim mode’s ciw and ciW doing nothing on an empty prompt, so the text typed next ran as vim commands.
  • Opening a session from the agents view changing the terminal title when CLAUDE_CODE_DISABLE_TERMINAL_TITLE is set.
  • The one-time auto-compact prompt coming back at each launch when ~/.claude.json is read-only or reset between runs, and needing an answer in every terminal when several start together.
  • Fullscreen mode sometimes needing a second click on buttons and on links that mods draw.
  • /install-github-app putting quotation marks around its commit messages.
  • Computer use in the desktop app often taking an extra step before Claude could ask to use an app, and computer use asking people to install Claude in Chrome for websites when Claude has another browser.

Windows and macOS

  • Windows: a script and the programs it ran, such as a running rm, going on after a Bash command was stopped.
  • Windows: an endless loop in Claude Desktop’s Code sessions that filled up memory within hours when %LOCALAPPDATA%\Temp\claude is a junction or symlink (#95489).
  • Windows: shell commands being refused in a folder that is a junction onto a volume with no drive letter.
  • One cause of background sessions on macOS losing folder access after updates.

VS Code

  • Many commands on Windows continuing to run, and sometimes running twice, after a reload, extension restart, quit or closed tab in the middle of a response.
  • A running command’s output disappearing in most cases when you stop it in the new look.
  • Most cases of being signed out on macOS and Linux after reloading or closing a window or tab while the login was being renewed.
  • Rewind saying the code had not changed after commands or agents changed it — its warning now says that files can be deleted.
  • The panel crashing in the new look when returning to a session that waits for a permission or an answer, and when reopening a session that ends on a question without options.
  • Claude tabs staying unresponsive after adding a folder to the workspace or saving the workspace — a tab with unsent text, a queued message or side questions still needs a reload.
  • The diff tab taking the keyboard when the chat is in a tab: keys went into a proposed edit after Quick Open or a terminal toggle.
  • The Sandbox dialog saying that every command runs in the sandbox while it is off, and the command permission card asking “Run outside sandbox?” when no sandbox is turned on.
  • The result of /code-review and other skills that run in a sub-agent disappearing after a reload.
  • /btw using usage credits before you agreed to it after a resume.
  • The panel staying on its sign-in screen for members of an Enterprise Admin Console organization that connects through its own gateway, and the sign-in screen opening for most missing or refused credentials in organizations with your own ANTHROPIC_BASE_URL.
  • Other fixes cover lost dictated messages, a word typed with an input method changing the mode or model, and many faults when VS Code runs in a browser such as Safari.

Claude Code on the web

  • A cloud session’s Changes pane showing only Claude’s edits, or an error, when the branch name contains # — it now shows the changes pushed to the branch.
  • Most cases of messages you rewound coming back after you reload a cloud session, when you had sent them while Claude was working.

Notes

  • If you are on 2.1.335, update: this release fixes a rare case where a session stopped answering prompts without showing an error.
  • If your status line script reads used_percentage or remaining_percentage, they now count against the auto-compact window, like /context. For the full window, use total_input_tokens / context_window_size.
  • If managed hooks, managed MCP servers or credential helpers in an Enterprise Admin Console organization relied on ANTHROPIC_BASE_URL, they no longer get the value the organization sets.
  • If your Enterprise Admin Console organization uses Amazon Bedrock in AWS GovCloud with no base URL, connections now use the FIPS endpoints.
  • If you run claude plugin validate --strict, it now fails on a plugin with files in its bin/ folder.
  • If WebFetch reads slow sites, it now gives up after 30 seconds with no data. Set CLAUDE_CODE_WEBFETCH_SILENCE_MS to change the limit, or 0 to turn it off.
  • If you answer No at the startup --add-dir trust prompt, the session now starts without that directory in most cases; press Esc to exit.
  • If you use auto mode or computer use on macOS, more commands are reviewed and more clicks are refused.
  • If you use Claude Code on Windows with Team, Enterprise or an API key, 2.1.335’s long-command, path-hint and working-folder Bash fixes now apply. disableWindowsBashCommandSplit turns off the command split.
  • In VS Code, “allow all edits” also allows deletes. With CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC set, voice dictation is unavailable and cloud sessions may need to be opened on claude.ai/code.
  • This post covers the main items only. See the GitHub release notes for the full list.