Claude Code 2.1.329 repairs MCP task recovery and Code Mode waits Anthropic released Claude Code v2.1.329, a maintenance update that fixes background MCP tasks stalling after a slow reconnect by having Claude Code automatically reconnect most HTTP MCP servers left on an older protocol version, and repairs Code Mode so it no longer hides a script's finished edits and stopped command after Esc or loses them on exit. The release also fixes a runaway loop in Code Mode that filled the machine's memory, a status line script that printed without end and consumed gigabytes of memory, and ~/.claude.json sometimes being reset to defaults when a network stall or file lock made it unreadable during a save. The version adds support for enabling Code Mode while OpenTelemetry events and metrics are on, with each tool call the code makes sending its events, and adds a "Server message" row in /mcp showing the JSON-RPC error of a remote HTTP MCP server that refuses the connection. Repository navigation v2.1.329 claude-code-publisher https://github.com/apps/claude-code-publisher released this · 25 commits https://github.com/anthropics/claude-code/compare/v2.1.329...main to main since this release Immutable release. Only release title and notes can be modified. 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