Release · Claude Code · Anthropic

Claude Code v2.1.326

What's new in Claude Code v2.1.326, released Nov 16, 2026 (). Newer: v2.1.332 (Nov 25, 2026)

Release notes

Claude Code v2.1.326

What's changed

  • Added support for turning on Code Mode while agent teams are enabled; if you already turned it on, sessions with teams on now start in Code Mode
  • Added a startup warning when an --allowedTools, --disallowedTools or --tools value has an entry that doesn't look like a complete rule
  • Added a message explaining why MCP servers stop loading when an administrator adds managed-mcp.json during a session
  • Added a row to /status that says when your provider or an environment variable such as DISABLE_TELEMETRY turns features off
  • Added a note in /plugin and claude plugin list when a malformed plugin.json field such as author or homepage is ignored
  • Added Ctrl+O to show hidden startup notices
  • Added a hint in the empty prompt that says what to do after a request fails
  • Added an esc to stop footer hint in a subagent's view where Esc would stop it
  • Added OTEL_RESOURCE_INCLUDE_HOST to include host.name and host.id in OpenTelemetry resource attributes (off by default)
  • Added overflowX="scroll" on a mod's Box, and maxLines and wrap="clip" on its Text
  • Fixed cp of a file being refused when only its source was covered by an Edit deny rule
  • Fixed Bash commands that delete or overwrite files (find -delete, cat a > b, sort -o) being summed up in the transcript as a search or a read
  • Fixed a misleading "Dangerous rm operation" warning in the Bash permission prompt on some commands with no rm that Claude Code can't read reliably
  • Fixed background sessions losing the LLM gateway your shell exported after a crash, after a reopen from another folder, or when the background service lacks it: they now stop before any model request
  • Fixed the background service ending your own processes, such as an SSH login, when a process number on its list had been reused by another user's process
  • Fixed rules added in /permissions or at a main-conversation tool prompt, and /add-dir folders, looking saved when the settings file couldn't be written; the terminal now warns and names it
  • Fixed a failed MCP headersHelper, or one not run in an untrusted folder, making other sessions start without that server, for most servers with no stored OAuth refresh token
  • Fixed managed settings with certain key names stopping Claude Code from starting or affecting other managed files
  • Fixed settings files with values nested thousands of levels deep crashing Claude Code or applying only some of the time; values past 64 levels are now dropped with a warning
  • Fixed a settings file saved with an error mid-session being skipped silently; a warning now names the file
  • Fixed the subagent model set in managed settings not applying in Claude Desktop's Code tab; it now overrides your own, as in a terminal, unless those settings also pick a provider or gateway
  • Fixed sandboxed commands failing to start on Linux when the home or config directory is reached through a symlink into /net and sandbox settings deny reads of it
  • Fixed empty placeholder files, including .git/config.lock, sometimes being left in the project on Linux when Claude Code was stopped during a sandboxed command
  • Fixed Up then Enter answering Yes at the folder trust prompt shown under an already trusted parent folder
  • Fixed an extra Enter at the end of setup accepting the offer to make auto mode the default
  • Fixed a message typed over the startup auto mode offer being lost, and its Enter accepting the offer
  • Fixed a note typed on a permission prompt being sent to Claude after Tab had hidden it
  • Fixed PreToolUse hooks in managed settings leaving no OpenTelemetry tool_decision event or permission_denials entry when they refused a direct tool call
  • Fixed letters typed over /sandbox or a delete question in /permissions moving the selection
  • Fixed resumed sessions losing recent turns after a crash when the previous turn ended with an empty reply
  • Fixed resumed sessions losing earlier conversation history when Claude Code ran low on memory
  • Fixed a re-sent file overwriting Claude's changed copy in Remote Control and cloud sessions on Linux with no feature flags loaded: the copy moves to a .kept- folder, or the new file isn't saved
  • Fixed a background session being killed and its request lost when you opened, stopped or removed the older session whose conversation it had resumed
  • Fixed claude purge hiding its prompts when stdout is redirected, where one unseen Enter could delete a project's data; they now show on the terminal
  • Fixed the spend limit menu removing the monthly limit without asking when Backspace and Enter were pressed as it opened
  • Fixed /rewind restoring only some files after running /branch twice while a slow backup copy was still running
  • Fixed /rewind saying "No code changes" when a shell command changed files it can't restore; a turn whose changes weren't tracked now reads "Code changes unknown"
  • Fixed /rewind: Esc now cancels its summary, its list shows more than one past prompt in fullscreen, and a long prompt no longer hides its warning about losing later file changes
  • Fixed Ctrl+C or Ctrl+D twice in /skills quitting Claude Code and dropping changes; it now saves and closes the panel
  • Fixed the usage limit menu erasing your draft and opening while you were typing
  • Fixed pasted text and images being dropped when ↑ recalls a draft cleared with Esc Esc
  • Fixed an edited typed answer to Claude's question sending the old text when you moved on without pressing Enter
  • Fixed going back to a question you answered from its list putting the cursor on the first option, where Enter replaced your answer
  • Fixed /feedback and /bug sending the report when you typed a space on the confirmation screen, and losing the typed report after Ctrl+O or Ctrl+Z
  • Fixed a prompt typed after --add-dir, --allowedTools or another list option being dropped without a message
  • Fixed /plan <description> ignoring the description when plan mode was already on
  • Fixed valid PDFs being dropped from the conversation after the API rejected a different PDF read in the same batch
  • Fixed a session ending after a single failed memory allocation while drawing the screen
  • Fixed compaction on Bedrock, Vertex and Foundry, and with telemetry turned off, sometimes replying to one of your messages instead of summarizing, or leaving Claude's last reply out of the summary
  • Fixed image-heavy sessions on Vertex AI getting stuck on a 400 error about the request size exceeding a 30 MB limit, instead of compacting and retrying
  • Fixed an error when max_tokens exceeded the model's limit: Claude Code now retries the request with the maximum the Anthropic API reports
  • Fixed grep in the Bash tool silently skipping some text files
  • Fixed a crashed Node or Python hook showing only the first line of its stack trace; the error is now shown, and Ctrl+O shows up to 10,000 characters of the output
  • Fixed /goal clear or a new /goal not sticking when typed while Stop hooks were running and background work was still in progress
  • Fixed the automatic session recap being sent after a reply billed to usage credits; /recap still works
  • Fixed auto mode staying on its local classifier, which counts toward usage, because of a stale saved value, such as one from an older Claude Code
  • Fixed "Sign in with your Console account" in /login replacing your Claude subscription login when the browser sign-in used your Claude plan instead of a Console organization
  • Fixed /login ending on "Login successful" while an approved ANTHROPIC_API_KEY was still used; it now says requests still use the key
  • Fixed "Not logged in" staying after turning on the API key in /config; "Not logged in", /login and /status now name an unused ANTHROPIC_API_KEY
  • Fixed claude auth logout

…