Release notes
Claude Code v2.1.336
What's changed
- Added hooks and a status line to the settings that Claude Code applies from an organization managed in Anthropic's Enterprise Admin Console, including hooks already saved in the console
- Added support for a base URL on Amazon Bedrock, Mantle, Google Cloud's Agent Platform and Microsoft Foundry connections in organizations managed in Anthropic's Enterprise Admin Console
- Added identity provider sign-in for an Amazon Bedrock proxy in Enterprise Admin Console organizations: run
/login, once an admin has registered the/gateway-sign-in/callbackaddress - Added rows to
/statusfor organizations managed in Anthropic's Enterprise Admin Console: the AWS profile they chose, and how their sign-in relates to your ownANTHROPIC_BASE_URL - Added answering an in-process agent teammate's permission prompt from Remote Control
- Added search to the command lists in
/help, and changed search fields to one line instead of a box - Added clickable file names and labelled links in Claude Code Desktop's terminal (macOS and Linux)
- Added for mods:
$.process.opento hold a long-lived child process, andview.isScrolledBackto tell when the fullscreen transcript is scrolled away from the bottom - Added a
claude plugin validatewarning for a plugin with files in itsbin/folder, which claude.ai refuses;--strictnow fails on such a plugin - Added a line that says when automatic compaction gives up
- Added the time you last opened each artifact to the Artifact tool's list, so Claude can find what you opened recently
- Added
CLAUDE_CODE_RETRY_WATCHDOG_MAX_SUBAGENT_MODEL_LIMIT_WAIT_MSso unattended retry mode can end a subagent's wait at some usage limits instead of sleeping until they reset - Added
BASH_DEFAULT_BACKGROUND_TIMEOUT_MSto lengthen the default time limit of background shell commands in Agent SDK and cloud sessions, leaving foreground timeouts alone - Added the
allowedAdminConsoleOrgUUIDsmanaged setting: it applies an Enterprise Admin Console organization's settings after sign-in and, unlikeforceLoginOrgUUID, still allows API keys and tokens - Fixed 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
- Fixed exiting a worktree session hanging on a blank prompt for up to 10 minutes when git was slow or stuck
- Fixed subagents and
/cleareach waiting 30 seconds before their first request in folders wheregit statusis very slow - Fixed a delay of up to 25 seconds before tools appear from HTTP MCP servers whose change-notification stream is never acknowledged (anthropics/claude-code#91414)
- Fixed 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
/goalat its Stop-hook limit - Windows: Fixed a script and the programs it ran, such as a running
rm, going on after a Bash command was stopped - Fixed Remote Control on a slow connection never receiving a large message, such as one with pictures, or anything sent after it
- Fixed WebFetch reporting a domain as blocked when a proxy answered the domain safety check with its own page
- Fixed a freeze of several seconds when Claude saved hundreds of artifact database documents to files
- Fixed
/pluginshowing 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 - Fixed
claude plugin updatefailing for GitHub plugins where SSH isn't set up: it now falls back to HTTPS (anthropics/claude-code#103638) - Fixed idle Remote Control sessions moving to the top of session lists as just used when Claude Code exited
- Fixed a message stopped right after sending sometimes being lost from cloud and SDK sessions
- Remote Control: Fixed
SessionStarthook titles not showing on claude.ai and mobile for newclaude remote-controlsessions - Fixed errors,
/voice, the notice by the prompt andclaude agentswrongly suggesting/loginin organizations managed in Anthropic's Enterprise Admin Console - Fixed
/setup-bedrockfailing to verify a profile or key pair whenAWS_BEARER_TOKEN_BEDROCKis set but empty - Fixed old tool results staying in memory after
/clear, and after compaction outside fullscreen - Fixed first-run setup asking for a sign-in again after
claude auth loginto an organization managed in Anthropic's Enterprise Admin Console - Fixed managed settings' OpenTelemetry metric temporality being ignored when Anthropic's Enterprise Admin Console sets the telemetry collector
- Fixed a permission prompt from an in-process teammate staying open after the teammate was stopped
- Fixed a file that is attached again in Remote Control or a cloud session overwriting a copy that Claude had edited
- Fixed 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
- Windows: Fixed an endless loop in Claude Desktop's Code sessions that filled up memory within hours when
%LOCALAPPDATA%\Temp\claudeis a junction or symlink (anthropics/claude-code#95489) - Remote Control: Fixed
/btwside questions from a connected app getting no answer until a turn had finished, such as after--resumeor/clear - Fixed a certificate error during sign-in through your organization's identity provider being reported as a network problem
- Fixed
claude plugin evalscoring a plugin that managed settings require without loading it; the plugin now loads, or the case fails with an error - Fixed one cause of background sessions on macOS losing folder access after updates
- Fixed a forked subagent being unable to read web pages after it loaded the
claude-apiskill - Fixed Team and Enterprise members not being warned in the terminal when they get close to their monthly spend limit
- Fixed the usage limit message repeating each time a background agent or workflow finished while the session was at its limit
- Fixed new cloud scheduled tasks made with
/schedulemoving an hour when daylight saving starts or ends - Fixed cloud sessions with very long histories being restarted repeatedly while they resumed
- Fixed a case where a resumed session on macOS found its scratchpad files gone
- Fixed shortened command output sometimes ending in part of a color code, such as
[38;2;105;120, shown as text - Fixed vim mode's ciw and ciW doing nothing on an empty prompt, so the text typed next ran as vim commands
- Fixed opening a session from the agents view changing the terminal title when
CLAUDE_CODE_DISABLE_TERMINAL_TITLEis set - Fixed a rare case where a session stopped answering prompts without showing an error (regression in 2.1.335)
- Fixed the status line's
used_percentageandremaining_percentageto count against the auto-compact window, like/context; for the full window, usetotal_input_tokens / context_window_size - Fixed
/install-github-appputting quotation marks around its commit messages - Windows: Fixed shell commands being refused in a folder that is a junction onto a volume with no drive letter
- Fixed Stop not ending a turn while Claude was still loading some built-in skills
- Fixed Claude Code freezing while it removes a large worktree on Windows, or one with a very large folder on macOS
- Fixed most cases of cloud sessions being stopped mid-turn while a mod's tool made many short tool calls in a row
- Fixed
/passesand the guest pass notice showing the wrong number of used and remaining passes, and the notice appearing with none left - Fixed
claude plugin updatesaying a plugin was at the latest version when its marketplace couldn't be refreshed - Fixed one-shot
claude -pruns started inside a Desktop, cloud or Remote Control session waiting on a background status request before finishing - Fixed your own mods from a marketplace URL with a query not loading in untrusted VS Code folders
- Fixed
claude -p
…