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

Claude Code 2.1.330

Adds sign-in to organizations managed in Anthropic's Enterprise Admin Console and easel, a built-in mod that draws charts when asked. Fixes freezes of up to several minutes after compacting a very long conversation and in WebFetch, and worktrees being deleted while another session worked in them. Recurring scheduled tasks and `/loop` now run up to 30 days. About 140 changes.

Official announcement →

This article is a summary based on official documentation.

What changed

Claude Code 2.1.330 shipped on November 20, 2026, with about 140 changes, most of them fixes. Several stop sessions from freezing for minutes, after compacting a very long conversation or on some WebFetch pages, and several stop work from being lost: a worktree deleted while another Claude Code session was working in it, and user settings, installed plugins or task dependencies lost when several processes saved at the same time. New features include sign-in to Enterprise Admin Console organizations and easel, a built-in mod that draws charts, and Code Mode and the self-hosted runner get many fixes and changes. Some existing behavior changes too, such as the automatic max_tokens retry removed in 2.1.329 coming back and more rm commands asking for approval, so check the Notes below.

New features

  • Sign-in to Enterprise Admin Console organizations

    Organizations managed in Anthropic’s Enterprise Admin Console couldn’t be signed in to from Claude Code. Now, after claude auth login, Claude Code applies the organization’s settings and uses its cloud provider or gateway.

  • easel, a built-in mod that draws charts

    Claude Code had no built-in way to draw charts in the conversation. easel, a built-in mod, now draws charts when asked and under MCP metrics results, on Pro, Max and, where available, Team and Enterprise on macOS and Linux. Turn automatic charts off in /config.

  • The full sign-in link

    With the sign-in link now much shorter (see Key improvements), CLAUDE_CODE_FULL_SIGN_IN_LINK=1 prints the full link, for when the short one shows an error or a script reads values from it.

  • Self-hosted runner: start in a folder of a repository

    There was no way to have Claude start its work in a folder inside a repository on a self-hosted runner. --start-dir / SELF_HOSTED_RUNNER_START_DIR now does that, while settings and hooks load as without it.

  • Notices when a plugin marketplace or plugin repository can’t be fetched

    Cloud and self-hosted runner sessions gave little sign of why a marketplace or plugin was missing. A notice now shows when a plugin marketplace can’t be fetched because its repository isn’t one of the session’s, and on self-hosted runners when Anthropic-managed git refuses a plugin’s own repository, naming the plugin and what to do.

  • New fields in claude plugin install --json

    Scripts couldn’t easily tell whether a plugin’s install command had trouble. Results now include commandPrinted, true when the plugin’s install command wrote to stderr, and commandFailed when it exited with an error, was killed or timed out.

  • Start-up timing metrics in the self-hosted runner’s /metrics

    There was no metric for how long a runner took to get going after a work order. /metrics now has claude_code_self_hosted_runner_order_to_registered_seconds, seconds from work order issued to registration accepted on orchestrator-spawned runners, and claude_code_self_hosted_runner_order_to_first_session_seconds, seconds from work order to first session handed over on runners started for a session.

  • VS Code: /fork, /workflows and new settings

    • /fork forks a conversation after its last reply, and /workflows opens the agent map with running workflows.
    • New settings: claudeCode.escapeStopsClaude (turn it off so Escape does not stop Claude), claudeCode.pinPrompt (let your message scroll away instead of staying pinned) and claudeCode.contextUsageThreshold (when the context indicator shows).
    • The “Open in Side Bar” command takes a prompt argument for keybindings and extensions, and a session group’s menu has Move up and Move down.

Key improvements

  • A shorter sign-in link

    The claude.ai sign-in link shown by /login, claude auth login and claude setup-token was long. It is now much shorter.

  • Faster search and diffs

    • Windows: Grep and Glob are faster because a console host is no longer started for each built-in ripgrep search on a local path.
    • File diffs are faster.
  • /config search

    Finding a setting meant knowing its name. Now most settings whose name starts with what you type come first, “effort” finds Model, and “dark” or “light” finds Theme.

  • A cleaner /resume list

    Sessions where you only opened a screen such as /model and left showed up in /resume. They are no longer listed.

  • Reconnect and errors in /mcp and /plugin

    • After Reconnect, a server that still failed or needed sign-in left you without the cause. A server’s page now stays open, with the cause in view.
    • In fullscreen mode, the /plugin page of a plugin with errors now starts with those errors.
  • Errors that say why

    • On macOS, the error when sandbox deny lists are too long now names the long lists and how to shorten them.
    • Windows: when a session’s folder is on a drive Claude Code can’t verify, the error says why, and whether retrying can help.
    • Self-hosted runner sessions on Amazon Bedrock or Google Cloud’s Agent Platform now say so when they start on another default model because your account refused the first.
  • /ultrareview cost confirmation

    On Team and Enterprise plans, the cost confirmation didn’t show whether your spend limit could cover a review. It now says how much of your monthly spend limit is left when that is less than a review usually costs.

  • Code Mode

    • Claude is now told how to look at images and PDFs.
    • After Esc, “Interrupted” now shows under the stopped command in place of a red error.
    • The terminal freezes for far less time after a subagent’s script makes thousands of tool calls.
  • Scheduled tasks and /loop run up to 30 days

    Recurring scheduled tasks and /loop ended after 7 days even while their session kept running. They now run up to 30 days and say when they end; tasks made before this release still end at 7 days.

  • More rm commands ask for approval

    More rm commands aimed at the root, home, a top-level folder or the working folder now ask for approval; where nobody can answer, they’re refused.

  • Model selection

    • Unrecognized model names containing “sonnet” or “haiku” now use the shorter system prompt, like other unrecognized names. CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 gives every model the full one.
    • Skills that Claude runs with a model setting, other than context: fork skills, now leave subagents, forks, compaction and /recap on the session’s model.
    • A subagent’s model fallback now carries over: agents with no model and forks it then starts run on the fallback, and the agents they start use its Bedrock region.
    • Prompt hooks accept model aliases such as haiku or sonnet in their model field.
  • Fewer tokens for subagent progress summaries

    In terminal sessions signed in to a Claude apps gateway, subagent progress summaries were written from the whole conversation. They are now written from short notes, using far fewer tokens.

  • Self-hosted runner changes

    • spawn-runner hooks now start while earlier ones still run, up to --hook-concurrency per orchestrator (4 by default).
    • Bash commands skip the file diff when nothing needs it, so transcripts can lack it.
    • A session’s start stops at once, without trying other runners, when a checkout hook exits with status 108.

Bug fixes

Freezes and speed

  • Claude Code freezing for up to several minutes right after compacting a very long conversation.
  • WebFetch freezing the session for minutes on some pages, and returning an empty result for some others.
  • The first prompt after a sleep of two minutes or more waiting three minutes on a connection that had died, on Linux and WSL.
  • Linux: Bash commands waiting seconds and showing no file diff for the rest of a session in slow repositories with large ignored folders such as node_modules.
  • Windows: Bash commands running slower for the rest of a session after Git Bash took 10 to 60 seconds to start, on machines with no custom start-up files.

Sessions and saved data

  • ExitWorktree and the worktree exit dialog deleting a worktree that another running Claude Code session was working in.
  • Changes to user settings being lost when several Claude Code processes saved them at the same time.
  • Plugins going missing from the installed list when several claude plugin commands ran at the same time, and task dependencies and metadata being lost when several task updates ran at the same time.
  • Incomplete backups of ~/.claude.json being kept, and displacing good ones, when the disk was full.
  • --continue and --resume opening an empty session or failing when the last saved message had a missing or invalid timestamp.
  • /rewind sometimes restoring an older version of a file when two queued prompts, or stacked skills, ran together right after a turn that changed it.
  • Text and images added when approving a permission prompt being dropped when the approved command or tool then failed.
  • The rest of what you were typing being lost when a plan arrived in fullscreen mode.

MCP and connectors

  • Turns failing with “JSON schema is invalid”, and session files growing by many megabytes, when many MCP tools have an input schema that the API refuses.
  • MCP resources from claude.ai connectors and plugin servers not being attached when @-mentioned in the terminal’s prompt box.
  • An MCP server that subagents declare being shut down when one of them finished, while other subagents or the session were still using it.
  • claude.ai connectors with different names being dropped when they share a server URL.
  • /mcp listing plugin servers as built-in — they now stand under “Plugin MCPs”, --mcp-config and built-in servers under “Other MCPs”, and a server’s page names its plugin.
  • An “MCP server blocked by enterprise policy: easel” warning showing at every start when an MCP allowlist or denylist excludes the built-in chart tool, which stays blocked.
  • claude mcp remove giving no way forward for a claude.ai connector — it now says to turn it off in /mcp or remove it on claude.ai.
  • The /mcp “Connect on claude.ai” check saying “not connected” when claude.ai has a connector at the server’s URL without its query.
  • A running MCP task being reported as stopped when you move a session to the background — the background session can now follow the task, but not if its server uses stdio or sets headers.
  • Claude in Chrome staying “not connected” after a brief connection problem, even though Chrome was open and signed in.

Code Mode

  • A long pause after code that read hundreds of files in projects with path-scoped rules or Read deny rules.
  • The built-in chart tool failing when Claude called it in Code Mode.
  • Ignoring an MCP tool’s request to end the turn from a script in auto and bypass permissions modes.
  • Dropping earlier thinking and rewriting the prompt cache in auto mode when a mod added a note after a script loaded a skill.
  • Not restoring a file that a script had read after Esc and /compact.
  • /context undercounting system tools before Claude’s first reply.

Background work and agents

  • A stopped background subagent sometimes not staying stopped.
  • Claude still waiting for a background agent that was stopped just as it finished, in sessions run by an app or the SDK.
  • Background sessions sometimes waking in their previous permission mode after approving a plan.
  • A subagent’s own subagents and forks running on the plan-mode model in plan mode under opusplan or haiku.
  • The choice between two user or project agent files declaring the same name depending on the order the file search listed them.
  • Running Monitors keeping the earlier conversation in memory until they end.

Models and the system prompt

  • Terminal sessions on Amazon Bedrock (Mantle) started with no model selected ignoring a pinned Opus model, and still calling an unavailable default model after announcing a fallback.
  • The system prompt keeping the earlier model’s instructions when the model was changed after /context but before the first message.
  • Claude sometimes replying to its commit attribution reminder and ending the turn early after the model changed mid-turn — it can still happen where managed settings set the PR attribution line.
  • WebFetch page summaries ignoring the /effort level when a gateway refuses the small fast model.

Headless runs (claude -p) and the CLI

  • Environment variables written by a SessionStart hook being lost with claude -p --continue.
  • claude -p exiting 0 with no message when its output went to a file on a full disk — it now prints an error and exits 1, though a full NFS export may go unnoticed.
  • claude -p on Google Cloud’s Agent Platform ignoring --settings '{"fastMode":true}' when the model comes from ANTHROPIC_MODEL or a settings file; such runs now bill at the fast mode price.
  • Startup under forceLoginOrgUUID being refused after one temporary server error or dropped connection.
  • /ultrareview failing or reviewing the wrong code after the shell moved into another repository — it now stops and names both folders.
  • /stats counting new activity in UTC days instead of your local time zone, and claude daemon logs never exiting inside a git repository when there is no log file.

Tools

  • Esc not ending an LSP tool call that was waiting for a slow or stuck language server, and LSP tool calls and diagnostics failing when several calls or edits arrived while a language server was still starting.
  • Grep reporting no matches when the pattern held a line break without multiline mode — it now reports the rejected pattern.
  • Jupyter notebooks saved with a byte order mark being reported as invalid JSON by the Read and NotebookEdit tools.
  • Read with a page range showing both halves of a scanned two-page spread on each of its pages.
  • Link reference definitions being dropped from CLAUDE.md and memory files that contain an HTML comment.
  • Edit refusing some valid hook commands in Claude settings files.

Display and input

  • Markdown hiding a character or two after bold or italic text when a backslash came before an emoji later in the paragraph.
  • Line breaks and class stereotypes missing from Mermaid diagrams in HTML artifacts.
  • The Project instructions picker in /config showing only one of its four choices in a 24-row fullscreen window.
  • The notice about a skipped scheduled task that names no organization — it now says to start Claude Code with --resume, because /resume inside a running session doesn’t run the task.

Remote Control

  • The note about background agents ended by a Stop from a phone or the web showing in the terminal as if you had typed it.
  • The mobile apps hiding the Diff and pull request buttons, or showing a stopped session as working, after turning Remote Control on mid-conversation.

Self-hosted runner

  • Runners ignoring a session until they exited, after its failure report was lost or the session was given back to the same runner.
  • Sessions losing the prompt cache and earlier thinking when the list of repositories a restart couldn’t prepare changed.
  • Tool calls behind a permission prompt vanishing with no result when a new runner took over the prompt, in sessions with telemetry off.
  • Resumed sessions starting without their pushed work in large repositories when --push-outcome-on-release is set.
  • Sessions being shown as working when Claude Code hangs at every start and --startup-timeout-min is from 2 to about 6.
  • pkill -f in sessions on Linux ending its own shell with exit code 144, or the runner (needs a pkill with --ignore-ancestors).
  • Scheduled tasks having no tool to notify their owner when telemetry is off or a third-party provider is used.
  • One slow spawn-runner hook keeping the orchestrator from claiming sessions for its free slots — it now polls every 4 to 6 seconds while a slot is free.
  • A 403, such as an IP allowlist’s, logged as a bad secret or token — most such lines now lead with the server’s reason.
  • Warn mode for repository settings stopping at the first finding of most kinds — it now goes on, up to 50 for a session, and says if it stops early.
  • Runners that start on a full disk taking sessions and failing them — they now wait for room and exit 1 after a minute with no session, unless started from a work order.
  • A failed start suggesting a retry when the runner’s machine had no git credentials — the error now says whom to ask and what to do if the repository is wrong.
  • last_poll_age_seconds reading 0 while the runner had never polled successfully.

Other

  • Some Claude Desktop sessions on third-party providers, other than scheduled tasks, ending a turn with “Prompt is too long” when a PDF larger than the context window followed a long conversation.
  • /install-github-app and /design-login showing a generic failure for an account on hold instead of the on-hold notice and appeal link.
  • claude plugin validate wrongly warning that a mod’s AbovePrompt or AbovePromptList hook never runs in VS Code.
  • /design-sync deleting a file it had just uploaded when Claude Design stored that file under a changed name.

VS Code

  • VS Code opening and focusing its terminal on every prompt of a connected terminal session.
  • Copying a code block adding a trailing newline that ran the command on paste.
  • Holding Enter on /rewind restoring files, and a double click on Remove or Delete removing a memory, MCP server or plugin marketplace, without confirmation.
  • A held-down Enter key sending a half-written message or running a typed slash command.
  • Enter on a question card sending your earlier answer instead of picking the focused one, and arrow keys not working after an “Other” answer.
  • Cmd+A, C, V, X and Z not working in the rename box and dialogs on macOS, and Ctrl+F and Ctrl+P not moving the caret in the message box on macOS.
  • The Accept and Reject buttons doing nothing on a proposed diff moved to a new window, and showing over the chat, the terminal tab and other files — they now show only on the proposed diff.
  • Unsaved changes and new problems being missed on macOS and Linux for files whose path contains #, ? or %20, such as a C# folder.
  • Whole-line selections counting one line too many in the selection chip, in @-mentions and in what Claude is told, and file links leaving out the last line of a range.
  • A conversation forked in the panel re-running an old, unanswered prompt by itself after a window reload, and a forked conversation running the original conversation’s /loop schedules a second time.
  • Advisor calls showing as “Unsupported content type”, and the session list showing no status for the sidebar chat’s session.
  • Signing in to an account on hold showing a generic failure instead of the on-hold notice and appeal link.

Notes

  • If you’re behind a gateway or use a model with a lower output limit, 2.1.329’s removal of the automatic retry when max_tokens exceeds a model’s or gateway’s limit is reverted, so the retry is back.
  • If you run recurring scheduled tasks or /loop, they now run up to 30 days while their session keeps running; tasks made before this release still end at 7 days.
  • If automation runs rm on the root, home, a top-level folder or the working folder, more of those commands now ask for approval, and where nobody can answer, they’re refused.
  • If deniedMcpServers blocks a claude.ai connector by name, it now hides only the named connector, not others at its URL. To block them all, deny its exact URL.
  • If you use claude --teleport, in some setups it now prints the git commands for switching branch instead of running them; with -p it exits 1 until you switch.
  • If you use custom model names containing “sonnet” or “haiku”, they now get the shorter system prompt. Set CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 to give every model the full one.
  • If you don’t want easel’s charts, turn automatic charts off in /config. Where an MCP allowlist or denylist excludes the built-in chart tool, it stays blocked; only the warning at every start is gone.
  • If you run claude -p with fast mode on Google Cloud’s Agent Platform, the setting is now applied, and such runs bill at the fast mode price.
  • If you run a self-hosted runner:
    • Most 403 log lines now lead with the server’s reason, so update log alerts that match the old words.
    • Set --hook-concurrency to 1 if your spawn-runner hook can’t run beside another.
    • Set bashEditDiffEnabled to true in managed settings to get every Bash diff in transcripts.
    • The pkill -f fix needs a pkill with --ignore-ancestors.
  • This post covers the main items only. See the GitHub release notes for the full list.