What changed
Claude Code 2.1.329 shipped on November 19, 2026, with about 130 changes, most of them fixes. Several stop you from losing data or your sign-in: ~/.claude.json being reset to defaults, repeated sign-outs on macOS, and /terminal-setup corrupting VS Code settings files. New features include a trust dialog warning that says where hooks are declared and a /tasks list that covers more kinds of background work, and Code Mode gets more than 15 fixes and changes. Some existing behavior changes too, such as saved scheduled tasks needing scheduling again and the default scope of /code-review, so check the Notes below.
New features
-
Hook locations in the trust dialog
The trust dialog didn’t say where a folder’s hooks came from. It now shows a warning that says where they are declared, so you can check them before trusting the folder.
-
A warning when managed-settings hooks fail to load
In Claude Desktop and other non-interactive hosts, hooks in managed settings could fail to load with no sign of it. A warning now appears in the conversation.
-
More in
/tasksThis session’s scheduled tasks,
/loopwakeups, the goal and this conversation’s forks now show in/tasks; x stops one after asking. The/tasksheader and the footer’s background count are now one number covering shells, monitors, MCP calls, agents, workflows and scheduled tasks. -
A “Server message” row in
/mcpWhen a remote HTTP MCP server refused the connection, it was hard to tell why. A server’s page in
/mcpnow has a “Server message” row with the server’s JSON-RPC error message. -
A “Marketplace auto-update” row in
/statusIt was hard to tell which managed marketplaces weren’t updating.
/statusnow has a “Marketplace auto-update” row that names managed marketplaces that get no automatic updates, and why. -
Code Mode with OpenTelemetry
Code Mode couldn’t be turned on while OpenTelemetry events and metrics were enabled. It can now, and each tool call the code makes sends its events. Tracing still keeps Code Mode off.
-
VS Code: Review trust
After you declined the trust prompt in VS Code, bringing it back meant reloading the window. A line above the message box now offers Review trust to bring the prompt back without reloading.
Key improvements
-
/code-reviewscope and pull requests- On most models,
/code-reviewwith no target now reviews the whole branch against the default branch, and no longer loses the diff on multi-commit branches. /code-review <pr number>sometimes reviewed the checked-out branch instead of the pull request without saying so. It now reads the pull request withgh pr diff, or says when it can’t./code-review <pr number> --fix, and/code-reviewgiven a pull request URL, stop without reviewing whengh pr diffis refused or fails.
- On most models,
-
Scheduled tasks and exiting
- ‘Exit and stop tasks’ now ends this session’s scheduled tasks so they don’t run again on resume, unless you exit while Claude is responding.
- In new signed-in sessions, most scheduled tasks saved by earlier versions need scheduling again, though
--resumeof their own session still runs them.
-
Memory use
Memory use is lower in long sessions that edit many files, in long Claude Desktop sessions on macOS and Linux with many large MCP tool results, in idle Claude Desktop and SDK sessions after a long turn, and after
--resumeor--continueof a session that holds screenshots or large tool results. -
Auto mode
- Auto mode runs
git statusless often, so most requests wait less in large repositories. A git command that discards changes may be blocked until the working tree is checked. - Better handling of a short reply such as “yes” to Claude’s question when telemetry is off, behind a gateway to the Anthropic API, or on Microsoft Foundry.
- Auto mode runs
-
Code Mode
- The terminal freezes for far less time after a script makes thousands of tool calls.
- After starting a subagent, Claude gets the same guidance on waiting as outside Code Mode.
- Code Mode also starts when telemetry, nonessential traffic or feature flags are turned off; an administrator can keep it off in managed settings.
- A script that declares its own
log,previeworsleepnow runs instead of being refused. - A script’s read of a line range over 256 MiB, which could use gigabytes of memory, is refused, and reads of very long lines no longer time out.
-
Staying signed in
/tuiand other in-place restarts wait briefly for a login refresh, so they are less likely to sign you out.- macOS login renewal tests the Keychain with a
Claude Code-write-checkitem.
-
Start-up and connections
- Windows: faster start-up and first search on PCs where Claude Code’s search program starts slowly.
- A Claude Desktop Code session with Remote Control on is ready for the next message sooner after an answer.
- Cloud sessions retry plugins that failed to download at startup.
- Better automatic clean-up of old sessions on computers with managed settings.
-
Computer use on macOS
Computer use on macOS follows newer safety rules, so some actions are refused and some apps have less access. It also gives up on an app launch that has not finished after 30 seconds.
Bug fixes
Settings files and sign-in
~/.claude.jsonsometimes being reset to defaults when a network stall or file lock made it unreadable and it was cleared during a save.- 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.
/terminal-setupcorrupting 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./terminal-setupturning on “Use Option as Meta key” in Terminal.app on macOS 27, and tips there suggesting Option+Enter instead of Shift+Enter.- A false “Couldn’t save this change” warning after adding a permission rule or directory in a subfolder or worktree whose own
.claude/settings.local.jsonis unreadable or malformed. - Choosing Default in
/modelreplacing your saved model with your organization’s default when the Default row already showed your saved model.
Usage credits and spend
/usage-creditsasking 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./usagesaying usage credits are off when they had run out or reached the monthly limit, and/modelnot telling Pro and Max users when that limit blocks a model that runs on usage credits.- The spend limit menu showing your spend as your monthly limit, and its rows wrapping under the pointer in narrow windows.
/passesshowing the wrong number of passes after a server error, and offering usage credits for sharing when no guest passes are left.
MCP and plugins
- 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.
- PDFs, images and
.docx,.xlsxor.pptxfiles sent asapplication/octet-streambeing saved as .bin, which kept Claude from reading the PDFs and images. - 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.
- An MCP server being signed in again after you cleared its authentication while a token refresh was running.
claude mcp loginand/mcpsaying a service doesn’t accept sign-ins from Claude Code when the service’s client registration had been retired (HTTP 410 Gone).- A removed plugin’s MCP server staying connected in headless sessions after
reload_pluginsor when the account’s plugin list drops it. - 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. - Another case of claude.ai-synced plugin hooks failing with “Plugin directory does not exist” while a session was still running on macOS.
/code-review
/code-reviewstopping at a permission prompt, on most models, to look for a~/.claude/CLAUDE.mdthat doesn’t exist.- The
/code-reviewfindings card often showing “high” for a review that ran at medium, on most models.
Code Mode
- Hiding a script’s finished edits and the stopped command after Esc, and losing them on exit.
- A runaway loop filling the machine’s memory — it is now stopped at a limit.
- Keeping in memory every large text file that code read, and memory growing each time a background subagent was woken.
- Stopping a script at its ten-minute limit while an MCP form, an MCP link prompt or a prompt that always asks was waiting for an answer.
- Scripts receiving a “moved to the background” message as data from most MCP calls over two minutes — the script now waits up to ten minutes, then gets an error.
- Mods that list only some tools silently turning Code Mode off — such a mod no longer keeps it off, so use managed settings for that.
- Ignoring an MCP tool’s request to end the turn when the tool was called from a script that Claude waits for.
- A script’s
let x;keeping the value that an earlier script gavex, and a call with no argument failing with a missing-parameter error on tools that need none. - Scripts losing access to tools through
toolsin sessions with more than 4,096 tools.
Background work and agents
- A background agent running on when it was stopped while it was being resumed.
- Background shell commands using memory for the earlier conversation until they exit.
- The Agent tool’s
effortparameter being ignored for named teammates in agent teams. - Claude not being told when a background task was stopped while a cloud session was restarting.
- Claude sometimes failing to send you a file on its first try on Opus 4.8 and Opus 5.
Auto mode and permissions
- Auto mode asking for manual approval to
rma symlink that points outside the working directory or at itself. /auto-mode-setupignoring recent auto mode denials when it scans a project for rules to suggest — it may now offer allow rules from them, and you review each before it’s saved.- Cloud sessions telling Claude to run a network proxy check after a failed request, which auto mode then blocked.
/sandboxon Linux listingallowUnixSocketsentries as allowed — they don’t open those sockets there, and/sandboxnow says so.
Settings and skill loading
- A new skills, commands or agents folder being missed when
--add-dirnames the working directory or Claude Code starts in the home folder. - Sessions started from a pre-warmed process ignoring the
autoCompactWindowsetting in the project’s.claude/settings.json. CLAUDE_AUTOCOMPACT_PCT_OVERRIDEstaying in effect in a running session after it is removed from settings.json.- Auto-scroll, the PR status badge, the auto-compact warning and the ultracode tag not following the
/configswitches that control them in a running session.
Remote Control and cloud
- Picking a cloud session in
/teleportreplacing your open conversation — the pick now starts a new session, as/cleardoes, and/resumebrings the old one back. - Remote Control using memory for the earlier conversation after a compaction or
/clearin sessions run by Claude Desktop, IDEs or the SDK. - Remote Control 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).
/renameandUserPromptSubmithook titles inclaude remote-controlsessions not showing on claude.ai and mobile.- The Remote Control diff listing a file twice when the branch renamed it and it was then edited.
- Stop not ending a request in Claude Desktop sessions on Bedrock while it waits on a hung AWS
credential_processor sign-in call. - Headless rewind and fork going ahead while a message sent right after a model change still waited on it.
Self-hosted runner
--push-outcome-on-releasesometimes deleting a session’s branch on the git host.- Setup failing on Git LFS repositories cloned through Anthropic-managed git — sessions now start on pointer files, and
git lfs pullfetches the content. - Sessions not starting from a git remote with an SSH host alias, GitHub SSH certificates or a GHE.com SSH user — an unresolved alias’s error gives two git commands.
- Remote MCP servers staying without tools, or (over https) disconnected, after a timeout or network error.
- Sessions being shown as having stopped responding while Claude Code was still starting.
Display and input
- A status line script that prints without end freezing the prompt and using gigabytes of memory.
- An empty, frozen screen after approving managed settings while the
--resumepicker, the trust dialog or another set-up screen was waiting. - Panels and questions being cut off at the prompt in fullscreen,
/help, history search and the background tasks list losing rows or titles in short windows, and tables wrapping in dialogs. - Key hints in permission prompts, questions,
/modeland/rewindignoringkeybindings.json, and a custom cancel key not working in/add-dir,/tuifeedback and the save-workflow form. - The “Jump to bottom” pill staying hidden after copying text and scrolling away, and quick PageUp presses scrolling too far in fullscreen.
- Long code blocks losing a blank line and repeating another in scrollback, and characters disappearing from the prompt when its text held a color code that sets several styles and a keyword or command was highlighted.
- Resumed sessions showing “Rejected” or “Declined” for edits, questions and plans that were cut off when the session ended, and the line about earlier messages on resume blaming a damaged file when the file was intact.
- Read and @-mentions showing one line too many for files that end in a newline, and prompt suggestions sometimes showing placeholder text such as
_(no suggestion)_.
Other
- 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.
- Pressing Esc twice to clear a mistyped code ending the sign-in in
/install-github-app. /team-onboardingreporting a guide as shared on Team and Enterprise plans when the server refused the upload.claude --helpoutput being cut short when piped to another program, and/configsaying nothing, or “dismissed”, after changing many settings./statusnot naming the model that opusplan and haiku use in plan mode, andclaude doctoradvising a Keychain unlock inside a macOS sandbox, where unlocking can’t help.
VS Code
- Being signed out of Claude Code in every window and terminal when the sign-in server took 10 to 30 seconds to answer the extension’s token refresh.
- Keys pressed while an input method (IME) is composing moving focus on or declining a permission prompt, running menu rows and closing dialogs, and the Up key putting an earlier message over text that an IME is composing.
- The permission prompt for Bash, Edit, Write and other built-in tools not showing why a safety check asks, and a permission prompt moving keyboard focus away from the details you were scrolling as its buttons switched on.
- A half-written plan comment being lost or moved to another passage, and an input method’s Enter sending the comment, ending a session rename or picking an @-mentioned file.
- The limit banner not saying when usage credits are in use, and screen readers not announcing a permission request that arrived while the Account & Usage dialog was open until that dialog was closed.
- A proposed-edit diff tab staying open, with an Accept button that did nothing, after its terminal Claude Code session disconnected.
- Short tool inputs and outputs cut off at the panel’s edge with no way to read the rest — they now open in an editor tab.
- Dropping an Explorer folder onto the chat inserting nothing on VS Code 1.103 to 1.139 or in a floating chat window.
- File links in a Claude tab opening in another editor group when
claudeCode.lockEditorGroupsis off. - Ranges written with a single tilde losing their tildes and showing struck-through text between them — only text wrapped in double tildes is struck through now.
Notes
- If you have saved scheduled tasks, in new signed-in sessions most saved by earlier versions need scheduling again, though
--resumeof their own session still runs them. - If you exit with ‘Exit and stop tasks’, this session’s scheduled tasks now end and don’t run again on resume, unless you exit while Claude is responding.
- If you run
/code-reviewwith no target, on most models it now reviews the whole branch against the default branch. With a PR number and--fix, or a pull request URL, it stops without reviewing whengh pr diffis refused or fails. - If a Code Mode PreToolUse hook guards tool calls, a hook that errors no longer refuses a script’s tool call, as outside Code Mode. Set
"onFailure": "block"on a command, HTTP or MCP tool hook that must refuse. - If you want Code Mode kept off, a mod that lists only some tools, or turning off telemetry, nonessential traffic or feature flags, no longer does it. Use managed settings.
- If you’re behind a gateway whose model takes fewer output tokens, 2.1.326’s automatic retry at the limit named in a
max_tokenserror is removed. SetCLAUDE_CODE_MAX_OUTPUT_TOKENSto that limit. - If you run git commands that discard changes in auto mode, they may be blocked until the working tree is checked.
- If you use agent teams, some teammate panes now start through
/bin/sh, so they may not read shell start-up files. - If
access_control.allow_cidrsis empty on your gateway, the start-up warning is now a notice at every start, boxed in text logs: never expose the gateway to the public internet. - If you run a self-hosted runner, clone paths change. A second host name’s clone of the same owner/name goes under
_repos/clones/<host>/in the base folder, and repositories with unusual characters in their address path clone anew in a new folder; no clone moves, but rules and volumes naming the old folder stop applying.--repository-foldertakes most folders in the base folder at--capacity 1(above 1, one there stops start-up), and another repository’s session overlapping one is refused. - If you use computer use on macOS, newer safety rules mean some actions are refused and some apps have less access.
- If your Stop or SubagentStop hooks read
background_tasks, a Monitor’s script is now listed asmonitor, notshell. - If you read Persian, Khmer, Lao, Sinhala or Malayalam output in VS Code, command output now shows hidden characters and control sequences other than plain colors as symbols, so that text can look broken or out of order.
- This post covers the main items only. See the GitHub release notes for the full list.