Skip to content

Claude Code v2.1.329

Released · Anthropic

Security fixChanges MCP server config, permission rules, background and headless runs, skills and plugins, settings files, hooks

What the release notes say

What's changed

  • Added a trust dialog warning that says where a folder's hooks are declared
  • Added a warning in the conversation, in Claude Desktop and other non-interactive hosts, when hooks in managed settings fail to load
  • Added this session's scheduled tasks, /loop wakeups, the goal and this conversation's forks to /tasks; x stops one after asking
  • Added a "Server message" row to a server's page in /mcp that shows the JSON-RPC error message of a remote HTTP MCP server that refuses the connection
  • Added a "Marketplace auto-update" row to /status that names managed marketplaces that get no automatic updates, and why
  • Added support for turning on Code Mode while OpenTelemetry events and metrics are enabled; each tool call the code makes sends its events; tracing still keeps it off
  • Fixed ~/.claude.json sometimes being reset to defaults when a network stall or file lock made it unreadable and cleared during a save
  • Fixed repeated sign-outs on macOS when Claude Code could read the Keychain but not save to it. That session now stops at expiry and says why, and other sessions stay signed in
  • Fixed /terminal-setup corrupting VS Code settings or keybindings files around block comments, and reporting success while losing the Shift+Enter binding where keybindings.json has an unclosed string
  • Fixed files accepted through the IDE diff being saved without their last newline, and losing their byte order mark (BOM) when an edit was accepted by saving the diff in VS Code
  • Fixed picking a cloud session in /teleport replacing your open conversation: the pick now starts a new session, as /clear does, and /resume brings the old one back
  • Fixed /usage-credits asking Pro and Max users to log in again after opening the browser, and the link disappearing after 8 seconds if the browser doesn't open and a task stops for usage credits
  • Fixed /usage saying usage credits are off when they had run out or reached the monthly limit, and /model not telling Pro and Max users when that limit blocks a model that runs on usage credits
  • Fixed the spend limit menu showing your spend as your monthly limit and wrapping its rows under the pointer in narrow windows
  • Fixed a status line script that prints without end freezing the prompt and using gigabytes of memory
  • Fixed an empty, frozen screen after approving managed settings while the --resume picker, the trust dialog or another set-up screen was waiting
  • Fixed choosing Default in /model replacing your saved model with your organization's default when the Default row already showed your saved model
  • Fixed an MCP server being signed in again after you cleared its authentication while a token refresh was running
  • Fixed background MCP tasks that stalled after a slow reconnect: Claude Code now reconnects most HTTP MCP servers by itself when one is left on an older protocol version
  • Fixed PDFs, images and .docx, .xlsx or .pptx files that MCP servers or websites send as application/octet-stream being saved as .bin, which kept Claude from reading the PDFs and images
  • Fixed /code-review <pr number> sometimes reviewing the checked-out branch instead of the pull request without saying so: it now reads the pull request with gh pr diff, or says when it can't
  • Fixed /code-review stopping at a permission prompt, on most models, to look for a ~/.claude/CLAUDE.md that doesn't exist
  • Self-hosted runner: Fixed --push-outcome-on-release sometimes deleting a session's branch on the git host
  • Fixed Code Mode hiding a script's finished edits and the stopped command after Esc, and losing them on exit
  • Fixed a runaway loop in Code Mode filling the machine's memory; it is now stopped at a limit
  • Fixed a background agent running on when it was stopped while it was being resumed
  • Fixed background shell commands using memory for the earlier conversation until they exit
  • Fixed Remote Control using memory for the earlier conversation after a compaction or /clear in sessions run by Claude Desktop, IDEs or the SDK
  • Fixed Stop not ending a request in Claude Desktop sessions on Bedrock while it waits on a hung AWS credential_process or sign-in call
  • Fixed Claude sometimes failing to send you a file on its first try on Opus 4.8 and Opus 5
  • Fixed Claude not being told that a connected MCP server's tools could not be loaded, and taking it for a server with no tools, in sessions with tool search
  • Fixed claude mcp login and /mcp saying a service doesn't accept sign-ins from Claude Code when the service's client registration had been retired (HTTP 410 Gone)
  • Fixed another case of claude.ai-synced plugin hooks failing with "Plugin directory does not exist" while a session was still running on macOS
  • Fixed auto mode asking for manual approval to rm a symlink that points outside the working directory or at itself
  • Fixed /sandbox on Linux listing allowUnixSockets entries as allowed: they don't open those sockets there, and /sandbox now says so
  • Fixed pressing Esc twice to clear a mistyped code ending the sign-in in /install-github-app
  • Remote Control: Fixed sessions going back to their first effort level after a restart while the app still showed the level you picked (not yet for sessions that start in Ultracode)
  • Fixed a removed plugin's MCP server staying connected in headless sessions after reload_plugins or when the account's plugin list drops it
  • Fixed the Claude Docs connector's tools going missing when a plugin or MCP server at the same address failed to connect, and its error wrongly suggesting /login
  • Fixed a new skills, commands or agents folder being missed when --add-dir names the working directory or Claude Code starts in the home folder
  • Fixed sessions started from a pre-warmed process ignoring the autoCompactWindow setting in the project's .claude/settings.json
  • Fixed CLAUDE_AUTOCOMPACT_PCT_OVERRIDE staying in effect in a running session after it is removed from settings.json