Claude Code 2.1.302
63changes- Add an Idle compaction row to /config to turn idle compaction off or back on.
- Add CLAUDE_CODE_AUTO_MODE_MODEL to choose the model the client-side auto mode classifier uses.
- Speed up startup with many plugins enabled, especially on Windows.
- Make the desktop app and VS Code always run subagents in the background, like the terminal.
- Make auto mode's server-side classifier compact an overly long conversation instead of denying every checked tool call.
New features
4Toggle idle compaction from /config
Added an Idle compaction row to /config for turning idle compaction off or back on; the notices shown after an idle compaction now say how to turn it off
▤ In the docsChoose the auto mode classifier model
Added CLAUDE_CODE_AUTO_MODE_MODEL to choose the model the client-side auto mode classifier uses; it does not change the model for server-side auto mode
More changes (2) Fewer changes
Notice standalone Claude Design closing
Added a notice to /design-sync and /design-login that standalone Claude Design (claude.ai/design) closes by December 14, 2026
[Cloud sessions] Explain why a routine didn't start
Added a banner on a routine's page that says why its last run didn't start, such as your organization reaching its limit on concurrent cloud sessions
Improvements
16Speed up startup with many plugins
Improved startup time with many plugins enabled: plugin command and agent files now take far fewer file system calls to load, most of all on Windows
Run subagents in background by default
Changed the desktop app and VS Code to always run the main conversation's subagents in the background, as the terminal does, rather than let Claude choose; a subagent's own Agent calls in claude -p, the Agent SDK, the desktop app and VS Code now run in the foreground by default
Turn on fork subagents by default
Changed fork subagents (subagent_type: "fork") to be on by default in claude -p, the Agent SDK, the desktop app and VS Code, as they already are in the terminal; CLAUDE_CODE_FORK_SUBAGENT=0 turns them off, and claude mcp serve never offers them
Start third-party sessions in default mode
Changed claude -p and Agent SDK sessions with no permission mode to start in default mode on third-party providers, with telemetry off or on a fresh install; --permission-mode auto keeps auto
Compact long conversations in auto mode
Improved auto mode with the server-side classifier: a conversation too long for the safety check is now compacted, instead of every checked tool call being denied
More changes (11) Fewer changes
Explain missing gateway on background reopen
Improved the message when a background session reopened from another folder has no LLM gateway: it now says why, instead of "Not logged in"
Hide the agents footer hint after 10s
Changed the ← for agents footer hint to hide 10 seconds after a session opens; the count of agents waiting on you still shows
Move Claude in Chrome instructions for caching
Changed where the Claude in Chrome instructions sit in the system prompt so that new conversations can read them from the shared prompt cache
Cap concurrent hooks per event at 12
Changed prompt and agent hooks so that at most 12 of one event run at a time; the rest wait their turn
Point disabled /feedback message to GitHub
Changed the message shown when your organization's policy turns off /feedback: it now points to GitHub issues instead of an organization admin
[Cloud sessions] Clarify session start error messages
Improved the error shown when a cloud session fails to start: it now says "Connection lost" or "Server error" instead of "Something went wrong"
[Claude Tag] Expand repository search coverage
Improved repository search in Claude Tag admin settings to cover up to 100 connected GitHub accounts and find private repositories past the first 5,000 of a GitHub App install
[Claude Tag] Show typed channels before full load
Improved Add place in Claude Tag admin settings to list a channel you type or paste right away, instead of only after your organization's full channel list has loaded
[Claude Tag] Speed up Add Domain availability
Improved Add > Domain on a workspace's or channel's page in Claude Tag admin settings to be available once that page loads, not only after every channel has loaded
[Claude Tag] Reorganize admin settings into four tabs
Changed Claude Tag admin settings to organize Claude's access into four tabs: Bundles, Connectors, Skills and plugins, and Channels
[Claude Tag] Collapse channel manager roles by default
Changed the Roles page in organization settings to group the roles created for Claude Tag channel managers in a collapsed section below your organization's own roles
Bug fixes
43More changes (42) Fewer changes
Fix stop error during compaction
Fixed a "Prompt is too long" error when stopping a turn while the conversation was being compacted
Fix errors after mid-session provider switch
Fixed requests failing with "diagnostics: Extra inputs are not permitted" after switching to Vertex or Bedrock mid-session
Fix /autocompact and /effort model saving
Fixed /autocompact and /effort saving to the wrong model when a gateway names Opus 4 or 4.1 with a prefix, such as anthropic/claude-opus-4-1
Fix cache miss on reloaded mid-session tools
Fixed a prompt cache miss when a tool added mid-session was loaded again through ToolSearch or after compaction
Fix early exit losing settings writes
Fixed claude plugin and other subcommands sometimes exiting before a queued settings or config write finished, which could lose the change or leave a .tmp file behind
Fix reftable git format plugin bugs
Fixed plugin marketplaces re-cloning on every refresh, and newly installed git plugins showing version "unknown", when git defaults to the reftable ref format
Fix PowerShell tool bin and pipe errors
Fixed the PowerShell tool not finding commands in a plugin's bin/ folder, and reporting an error when a search that finds nothing (rg, grep, findstr, git grep) is piped into Select-Object or another formatting cmdlet
Fix wrong MCP reconnect guidance in desktop
Fixed Claude in the desktop app pointing you to claude.ai settings or /mcp to authorize or reconnect an MCP server where that option isn't available
Fix artifact publish and retry failures
Fixed artifact publishes sometimes failing when Claude sent an empty list of edits, and Claude retrying an artifact update the wrong way after a newer version of the artifact turned it away
Fix missing OpenTelemetry classifier attributes
Fixed classifier_category missing from OpenTelemetry tool_decision events for most auto mode classifier blocks, and new tool_decision attributes pushing out tool_use_id, tool_source and tool_parameters when OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT is low
Fix blank rows in the agents view
Fixed rows in the agents view staying blank after moving down a long list or folding a section
Fix claude remote-control --help when signed out
Fixed claude remote-control --help not printing its usage and exiting when not signed in
Fix /design consent error guidance in cloud
Fixed /design consent and /design revoke suggesting /design-login when they fail in a cloud session, where it isn't available; the message now points to claude.ai/design/settings
Fix MCP tool failures on protocol 2026-07-28
Fixed MCP servers showing no tools, or every tool call failing, when the server negotiates protocol version 2026-07-28 but omits resultType, ttlMs or cacheScope
Stop prompt suggestions spending usage credits
Fixed prompt suggestions spending usage credits on models your plan pays for only with credits: they are now skipped after a reply billed to credits
Fix wrapped backtick URLs losing clickability
Fixed URLs written in backticks being clickable only on their first row when they wrap; the whole URL is now one link in terminals that support hyperlinks
Fix wrong guidance for missing builtin plugins
Fixed claude plugin details <name>@builtin suggesting claude plugin list, which never shows built-in plugins, when the plugin isn't found; it now points to /plugin
Fix emoji width breaking links and tables
Fixed an emoji that a link starts inside wrapping one column too wide, which hid it in question previews and turned tables into lists
Fix worktree creation on stray .git files
Fixed worktree isolation refusing to create or resume worktrees under git 2.56 or later when a stray .git file points at a directory that doesn't exist
Preserve cost totals after cloud resume
Fixed a cloud session's cost and usage restarting from zero after the session resumed in a new process
Fix self-hosted runner reftable fetch errors
Self-hosted runner: Fixed git fetches failing with "bad object refs/heads" in sessions that reuse a checkout stored in git's reftable format
Fix write prompts on exFAT/FAT32 drives
Windows: Fixed every file write being refused or asked about for projects on exFAT or FAT32 drives, including in sessions started with --plugin-dir
[VSCode] Fix streaming display after code blocks
Fixed text after an unclosed code block in a list showing as plain text while a reply streams, then turning into code
[VSCode] Fix MCP sign-in with query strings
Fixed MCP server sign-in from the panel opening a broken authorization page when the server URL contains a query string
[VSCode] Fix false browser connected banner
Fixed the @browser banner saying "Browser connected" when no browser with the Claude extension can be reached
[Cloud sessions] Fix Rewind to here failures
Fixed "Rewind to here" failing on every message except the newest in cloud sessions; self-hosted runners need Claude Code v2.1.246 or later
[Cloud sessions] Fix PR status bar during recheck
Fixed the pull request status bar in cloud sessions flipping a pull request with merge conflicts back to ready while GitHub rechecked it
[Cloud sessions] Fix wrong routine run statuses
Fixed routine runs showing as Completed after their cloud session stopped unexpectedly, and as Cancelled when archived before they started, instead of failed
[Cloud sessions] Fix diff view after repo rename
Fixed the diff view in cloud sessions missing changes or failing to load after the session's GitHub repository was renamed or moved
[Cloud sessions] Fix duplicate reruns of failed routines
Fixed a scheduled routine run that failed partway being run again from the start an hour or more later, which could repeat work such as posting the same report twice
[Cloud sessions] Fix delayed cross-device messages
Fixed an open cloud session sometimes not showing messages sent from another device until you reloaded the page or clicked away and back
[Remote Control] Fix spinning pane when offline
Fixed a subagent's pane spinning forever in a Remote Control session after your computer goes offline; it now says Remote Control is disconnected
[Claude Tag] Fix stuck thinking indicator
Fixed "is thinking…" staying up under a mention in a Slack channel or DM after Claude answered it by editing one of its earlier messages
[Claude Tag] Fix broken URLs in code blocks
Fixed URLs in code blocks under a numbered or bulleted step of Claude's Slack replies being wrapped in angle brackets, which broke copied commands
[Claude Tag] Support more Slack image formats
Fixed HEIC, SVG, TIFF and BMP images attached in Slack never reaching Claude; they now arrive as files in its working files, like other file types
[Claude Tag] Restore access for new channel managers
Fixed new channel managers losing access to Claude in Slack in organizations that restrict Claude Tag by role; the manager role now also grants Claude Tag in Slack
[Claude Tag] Split shared-host connectors correctly
Fixed custom connectors whose MCP servers share one host showing as a single connector in Claude Tag admin settings; each server is now its own connector
[Claude Tag] Retry stalled lookups before refusing DMs
Fixed Claude in Slack sometimes answering a direct message with "DMs are temporarily unavailable" and dropping it when a single Slack lookup stalled; it now retries first
[Claude Tag] Fix DM workspace selection on Enterprise Grid
Fixed direct messages with Claude on a Slack Enterprise Grid ignoring Slack's workspace dropdown; they now run under the connected workspace you last opened Claude in
[Claude Tag] Fix spend limit notice guidance
Fixed Claude in Slack's notice for a channel's monthly spend limit saying a channel manager can raise it; it now names an organization owner and links the usage page
[Claude Tag] Fix links absorbing trailing marks
Fixed links in Claude's Slack replies absorbing the closing bold or italic marks, or full-width punctuation, right after them, which broke the link and the formatting
[Code Review] Resume setup after connecting GitHub
Fixed Code Review setup not resuming after you leave to connect GitHub; back in admin settings, it now reopens at the repository picker