Skip to content

Claude Code v2.1.336

Released · Anthropic

Changes hooks, MCP server config

What the release notes say

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/callback address

  • Added rows to /status for organizations managed in Anthropic's Enterprise Admin Console: the AWS profile they chose, and how their sign-in relates to your own ANTHROPIC_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.open to hold a long-lived child process, and view.isScrolledBack to tell when the fullscreen transcript is scrolled away from the bottom

  • Added a claude plugin validate warning for a plugin with files in its bin/ folder, which claude.ai refuses; --strict now 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_MS so unattended retry mode can end a subagent's wait at some usage limits instead of sleeping until they reset

  • Added BASH_DEFAULT_BACKGROUND_TIMEOUT_MS to lengthen the default time limit of background shell commands in Agent SDK and cloud sessions, leaving foreground timeouts alone

  • Added the allowedAdminConsoleOrgUUIDs managed setting: it applies an Enterprise Admin Console organization's settings after sign-in and, unlike forceLoginOrgUUID, 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 /clear each waiting 30 seconds before their first request in folders where git status is 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 /goal at 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 /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

  • Fixed claude plugin update failing 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 SessionStart hook titles not showing on claude.ai and mobile for new claude remote-control sessions

  • Fixed errors, /voice, the notice by the prompt and claude agents wrongly suggesting /login in organizations managed in Anthropic's Enterprise Admin Console

  • Fixed /setup-bedrock failing to verify a profile or key pair when AWS_BEARER_TOKEN_BEDROCK is 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 login to 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\claude is a junction or symlink (anthropics/claude-code#95489)

  • Remote Control: Fixed /btw side questions from a connected app getting no answer until a turn had finished, such as after --resume or /clear

  • Fixed a certificate error during sign-in through your organization's identity provider being reported as a network problem

  • Fixed claude plugin eval scoring 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-api skill

  • Fixed Team and Enterprise members not being warned in the terminal when they get close to their monthly spend limit