Release notes
Claude Code v2.1.330
What's changed
- Added sign-in to organizations managed in Anthropic's Enterprise Admin Console: after
claude auth login, Claude Code applies the organization's settings and uses its cloud provider or gateway - Added easel, a built-in mod that 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 - Added
CLAUDE_CODE_FULL_SIGN_IN_LINK=1to print the full sign-in link, if the short one shows an error or a script reads values from it - Self-hosted runner: Added
--start-dir/SELF_HOSTED_RUNNER_START_DIRto have Claude start its work in a folder of a repository, while settings and hooks load as without it - Added a notice in cloud and self-hosted runner sessions when a plugin marketplace can't be fetched because its repository isn't one of the session's
- Self-hosted runner: Added a notice when Anthropic-managed git refuses a plugin's own repository, naming the plugin and what to do
- Added
commandPrintedtoclaude plugin install --jsonresults, true when the plugin's install command wrote to stderr, andcommandFailedwhen it exited with an error, was killed or timed out - Added
claude_code_self_hosted_runner_order_to_registered_secondsto the self-hosted runner's/metrics: seconds from work order issued to registration accepted, on orchestrator-spawned runners - Added
claude_code_self_hosted_runner_order_to_first_session_secondsto the self-hosted runner's/metrics: seconds from work order to first session handed over, on runners started for a session - Fixed Claude Code freezing for up to several minutes right after compacting a very long conversation
- Fixed WebFetch freezing the session for minutes on some pages, and returning an empty result for some others
- Fixed
ExitWorktreeand the worktree exit dialog deleting a worktree that another running Claude Code session was working in - Fixed changes to user settings being lost when several Claude Code processes saved them at the same time
- Fixed
--continueand--resumeopening an empty session or failing when the last saved message had a missing or invalid timestamp - Fixed the first prompt after a sleep of two minutes or more waiting three minutes on a connection that had died, on Linux and WSL
- Fixed 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
- Linux: Fixed 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: Fixed 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
- Fixed
/rewindsometimes restoring an older version of a file when two queued prompts, or stacked skills, ran together right after a turn that changed it - Fixed text and images added when approving a permission prompt being dropped when the approved command or tool then failed
- Fixed MCP resources from claude.ai connectors and plugin servers not being attached when @-mentioned in the terminal's prompt box
- Fixed an MCP server that subagents declare being shut down when one of them finished, while other subagents or the session were still using it
- Fixed Claude in Chrome staying "not connected" after a brief connection problem, even though Chrome was open and signed in
- Fixed 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
- Fixed the rest of what you were typing being lost when a plan arrived in fullscreen mode
- Fixed claude.ai connectors with different names being dropped when they share a server URL (anthropics/claude-code#101856)
- Fixed plugins going missing from the installed list when several
claude plugincommands ran at the same time - Fixed task dependencies and metadata being lost when several task updates ran at the same time
- Fixed incomplete backups of
~/.claude.jsonbeing kept, and displacing good ones, when the disk was full - Fixed a long pause in Code Mode after code that read hundreds of files in projects with path-scoped rules or Read deny rules
- Fixed the built-in chart tool failing when Claude called it in Code Mode
- Fixed Code Mode ignoring an MCP tool's request to end the turn from a script in auto and bypass permissions modes
- Fixed Code Mode in auto mode dropping earlier thinking and rewriting the prompt cache when a mod added a note after a script loaded a skill
- Fixed Code Mode not restoring a file that a script had read after Esc and
/compact - Fixed
/contextundercounting system tools in Code Mode before Claude's first reply - Fixed a stopped background subagent sometimes not staying stopped
- Fixed Claude still waiting for a background agent that was stopped just as it finished, in sessions run by an app or the SDK
- Fixed background sessions sometimes waking in their previous permission mode after approving a plan
- Remote Control: Fixed 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
- Remote Control: Fixed the mobile apps hiding the Diff and pull request buttons, or showing a stopped session as working, after turning it on mid-conversation
- Fixed environment variables written by a SessionStart hook being lost with
claude -p --continue - Fixed
claude -pexiting 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 - Fixed the system prompt keeping the earlier model's instructions when the model was changed after
/contextbut before the first message - Fixed 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
- Fixed Esc not ending an LSP tool call that was waiting for a slow or stuck language server
- Fixed LSP tool calls and diagnostics failing when several calls or edits arrived while a language server was still starting
- Fixed
/mcplisting plugin servers as built-in: they now stand under "Plugin MCPs",--mcp-configand built-in servers under "Other MCPs", and a server's page names its plugin - Fixed 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
- Fixed
/statscounting new activity in UTC days instead of your local time zone - Fixed
/ultrareviewfailing or reviewing the wrong code after the shell moved into another repository: it now stops and names both folders - Fixed Grep reporting no matches when the pattern held a line break without multiline mode; it now reports the rejected pattern
- Fixed Jupyter notebooks saved with a byte order mark being reported as invalid JSON by the Read and NotebookEdit tools
- Fixed link reference definitions being dropped from CLAUDE.md and memory files that contain an HTML comment
- Fixed running Monitors keeping the earlier conversation in memory until they end
- Fixed 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
- Fixed the choice between two user or project agent files declaring the same name depending on the order the file search listed them
- Fixed
claude daemon logsnever exiting inside a git repository when there is no log file - Fixed markdown hiding a character or two after bold or italic text when a backslash came before an emoji later in the paragraph
- Fixed Edit refusing some valid hook commands in Claude settings files
- Fixed
Readwith a page range showing both halves of a scanned two-page spread on each of its pages - Fixed line breaks and class stereotypes missing from Mermaid diagrams in HTML artifacts
- Fixed the Project instructions picker in
/config
…