{"slug": "claude-code-2-1-234-continues-your-session-automatically-once-usage-limit-resets", "title": "Claude Code 2.1.234 continues your session automatically once usage limit resets", "summary": "Anthropic released Claude Code version 2.1.234 on August 17, 2026, adding an optional CLAUDE_CODE_PROJECT_DIR_NAME environment variable, a selection:clear keybinding action, a GitLab merge request badge, and automatic session continuation when a claude.ai usage limit resets. The update also hardens security by rejecting Windows NT-namespace paths in remote file reads and other operations, and fixes numerous bugs including a crash on non-streaming API responses and slow markdown rendering for unusual Unicode sequences.", "body_md": "[CHANGELOG.md on GitHub](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md). Run\n\n`claude --version`\n\nto check your installed version.\nAugust 17, 2026\n\n- Added the optional\n`CLAUDE_CODE_PROJECT_DIR_NAME`\n\nenvironment variable: hosts that give each session its own config directory can choose a short name for the per-project transcript directory - Added the\n`selection:clear`\n\nkeybinding action, so a key can be bound to clear an in-app text selection; also works in the agents view - Added a GitLab merge request badge to the footer and statusline: repos with a GitLab remote and an authenticated glab CLI show MR !N with draft/pending/green states\n- Claude Code now continues your session automatically when a claude.ai usage limit resets; turn it off in\n`/config`\n\n(“Continue automatically at usage limit”) - Claude is now told to use your account email only to identify you, and not to send it to unrelated services unless you ask\n- Security: remote file reads, session restore, CLAUDE.md includes, workflow scripts and file uploads now reject Windows NT-namespace (\n`\\??\\`\n\n) paths, hardening the remaining pre-approval file accesses against the NTLM credential-leak vector - Fixed auto mode in very long sessions repeatedly re-checking and denying sandboxed commands’ network access after the conversation had been compacted\n- Fixed session-scoped permission answers (including denies) being dropped when answering background subagent tool permission prompts\n- Fixed a crash when an API response on the non-streaming fallback path (typically via third-party gateways) contained a thinking block missing its thinking field or a text block missing its text field\n- Fixed markdown rendering becoming extremely slow for some messages containing unusual Unicode sequences\n- Fixed\n`SendMessage`\n\nrejecting a recipient copied from`ListAgents`\n\nwhen the session name is at the 200-character cap or emoji-heavy - Fixed repository detection mis-reading the host of git remotes with unusual userinfo, producing links and repo-specific behavior for the wrong host\n- Fixed MCP diagnostics printing resolved secrets: scope-conflict warnings now show the configured\n`${VAR}`\n\nform, and connection-failure details show only the server origin - Fixed\n`strictKnownMarketplaces`\n\nallowlists accepting SCP-style git marketplace sources whose host differs from the one git would actually connect to - Fixed modal text such as the\n`/login`\n\nOAuth URL losing characters when copied in fullscreen - Fixed a\n`---`\n\nhorizontal rule in rendered markdown running into the line after it - Fixed consecutive shell commands splitting into multiple “Ran 1 shell command” rows when todo/task updates were interleaved between them\n- Fixed dialogs like\n`/permissions`\n\nopened while a`!`\n\nshell command was running being dismissed when the command finished - Fixed a queued\n`!`\n\nshell command being sent to the model as plain text after pressing up-arrow to edit the queued input - Fixed queued messages reappearing in the prompt history while still queued, Esc while selecting a queued message no longer interrupts the turn, and\n`!`\n\nmode no longer sticks after a mid-turn submit - Fixed accepting the “Try the new fullscreen renderer?” prompt restarting the session without its permission mode (e.g.\n`--dangerously-skip-permissions`\n\n), tool allow/deny rules, model or effort flags - Fixed\n`/tui`\n\ndropping launch`--allowed-tools`\n\n/`--disallowed-tools`\n\nrules when it restarts; it now declines to switch, with the reason, when the session has restrictions a restart can’t carry over - Fixed trust prompts omitting the repository-wide scope warning when the directory was first seen before the repository existed there\n- Fixed a case where an IDE diff tab closing during a permission re-prompt could answer the new prompt with the previous input\n- Fixed: files sent to the user during Remote Control sessions hosted by Claude Code Desktop or VS Code now upload, so they open on phone and web instead of showing an empty card\n- Fixed: after\n`/login`\n\nwhile`CLAUDE_CODE_OAUTH_TOKEN`\n\nis set, the stale-token reminder no longer leaks into Claude’s automatically resumed turn — it now appears only to you - Fixed: permission previews now relay only to channel servers admitted by the inbound trust gate, and a server’s explicit permission-capability opt-out is honored\n- Fixed: credential masking on relayed permission previews can no longer hide commands, paths, or destinations from the approver; oversized private-key blocks now redact under full-strength redaction\n- Fixed: provider API tokens that mask on permission previews now mask even when directly followed by shell delimiters\n- Fixed Claude Desktop inter-session messages being silently dropped by the recipient session when cross-session messaging read as disabled, which left the sender’s query “thinking” for many minutes\n- Remote Control: signing this computer in to a different claude.ai account or organization now stops the running session within seconds and says why, instead of a misleading HTTP 404 hours later\n- Remote Control sessions started from Claude Code Desktop or VS Code now keep phones and claude.ai/code updated on the session’s permission mode (and claude.ai/code on the model) as they change\n- Remote Control: effort picks made on a phone or on claude.ai/code now apply to terminal- and Desktop/VS Code-hosted sessions, and the session publishes its effort level to connected clients\n`SendMessage`\n\nand`ListAgents`\n\nnow say when your account’s session list was too long to check completely, instead of treating unseen sessions as absent- Expired Anthropic profile credential now points you at\n`/login`\n\nwhen a claude.ai login would take precedence - Improved the transcript: your own prompts now render markdown (highlighted code blocks, inline code, lists) the same way replies do\n- Improved the “API returned an empty or malformed response” error to say what came back (content type, body kind, size, request ID) and why the original streaming request failed\n- Improved auto-generated session titles to read as short, specific names (e.g. “Login button bug”) rather than sentences restating your request (e.g. “Fix the login button on mobile”)\n- Reduced the context cost of loading the built-in\n`claude-api`\n\nskill from ~200k+ tokens to ~25k by loading reference docs on demand `/permissions`\n\ncan now be opened while Claude is working — rule changes apply to the rest of the current turn`/add-dir <path>`\n\ncan now be used while Claude is working;`/add-dir`\n\n,`/autocompact`\n\n,`/theme`\n\n,`/help`\n\n,`/config`\n\nand`/advisor`\n\ndialogs open mid-turn in the fullscreen TUI`/goal`\n\nnow clears itself with a notice when a turn dies on an unrecoverable error (e.g. revoked auth, an exhausted credit balance, or a context overflow) instead of staying armed`/goal`\n\n: when background tasks keep a goal waiting for 30+ minutes, Claude now checks in on them instead of waiting indefinitely (set`CLAUDE_CODE_GOAL_CHECKIN_MINUTES=0`\n\nto opt out)`claude setup-token`\n\nnow rejects unexpected extra arguments instead of silently ignoring them- Changed Esc in fullscreen mode to no longer clear a mouse text selection: it interrupts or dismisses as usual and the selection stays highlighted\n- Removed the redundant “Allowed by auto mode classifier” line that auto mode showed under every Agent tool call\n- Removed the “Default teammate model” setting from\n`/config`\n\n; agent-team teammates now use the leader’s model unless the spawn names one - Dimmed the elapsed-time counter on the running tool header so it no longer competes with the bold counts\n- Background task notifications delivered between turns are now sent to the model inside\n`<system-reminder>`\n\ntags, matching mid-turn delivery - Mantle: skip the admin-pin availability probe at startup when a main-loop model is already picked\n- Windows: startup no longer stalls on repeated rename retries when\n`~/.claude.json`\n\nis read-only\n\nAugust 14, 2026\n\n- Added GitLab merge request URL support to the\n`--worktree`\n\nflag and the`claude agents`\n\nview (where MRs display as`!N`\n\n) - Added an opt-in\n`forward_user_identity`\n\napps gateway setting on Anthropic upstreams that sends the signed-in user’s identity as headers, so a proxy behind the gateway can attribute spend per user - Added opt-in memory cgroup support for Bash tool commands on Linux (\n`CLAUDE_CODE_TOOL_MEMORY_LIMIT`\n\n) so a runaway build can’t stall the session - Added\n`CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS`\n\nenvironment variable to configure the WebFetch session URL cache TTL (default unchanged: 15 minutes) - Fixed cloud sessions occasionally being marked as lost when the environment shut down while Claude was waiting on a permission prompt\n- Fixed MCP v2 connections endlessly reopening the subscriptions/listen stream against servers that terminate long-held streams on a fixed timeout (e.g. serverless hosts)\n- Fixed Notification hooks not firing for permission prompts when running under Claude Desktop or VS Code\n- Fixed idle sessions on Linux sometimes keeping one CPU core at 100% when sandboxing is enabled\n- Fixed bundled skill aliases like\n`/checkup`\n\nand`/review`\n\nreporting “Unknown command” in`-p`\n\nmode or with plugins/MCP loaded when a user or project skill shadows the bundled skill - Fixed skill/command argument substitution to prevent argument values from being re-expanded as template markers\n- Fixed Windows paths spelled with the NT\n`\\??\\`\n\ndevice prefix bypassing UNC path validation, closing an NTLM credential-leak vector - Improved\n`claude self-hosted-runner`\n\nsession start time: the session branch is now created without rewriting the working tree, and two server round trips no longer block the agent’s launch - Improved apps gateway error forwarding: 400/413 errors from Vertex, Foundry, and Claude Platform on AWS upstreams now carry the upstream’s own message; fixes a bug with auto-compact on apps gateway\n- Improved\n`claude plugin validate`\n\nto check a bare`.claude/skills`\n\ndirectory, reporting SKILL.md files whose frontmatter fails to parse - Improved screen reader mode: the\n`/effort`\n\nselector renders as a numbered list with a typed-number prompt, and hint and dialog text is no longer clipped - Improved print mode diagnostics: a\n`[claude-code:unrecognized_model]`\n\nline is written to stderr when a request goes out for a model ID Claude Code doesn’t recognize; map it with`modelOverrides`\n\nto silence - Changed the GitHub app setup tip to no longer appear in repositories whose origin remote is on gitlab.com or bitbucket.org; the enterprise marketplace tip now covers non-GitHub internal git hosts\n- Todo/task-tracking tools (TaskCreate/Get/Update/List, TodoWrite) are no longer available on Opus 4.8, Sonnet 5, Fable 5, Mythos 5, and newer models; set\n`CLAUDE_CODE_ENABLE_TODO_TOOLS=1`\n\nto bring them back - Windows: fixed auto mode repeatedly stopping for manual approval on ordinary\n`cd <dir> && <command> > file`\n\nBash commands (a 2.1.232 regression) - Reverted the 2.1.232 Bash permission changes for Cygwin-style symlinks on Windows and for input redirections (\n`< file`\n\n); a narrower version will return in a later release\n\nAugust 13, 2026\n\n- Subagent forking is now on by default: a\n`subagent_type: \"fork\"`\n\nsubagent inherits the full conversation and prompt cache, and non-teammate agent spawns in interactive sessions now run in the background by default - Type\n`@`\n\nin the prompt to mention another Claude session by name; Claude then uses`SendMessage`\n\nto reach that session directly `SendMessage`\n\nnow delivers to a bare name that exactly matches one live session, instead of asking to confirm with a ref first- Interactive sessions on one machine now keep unique names: starting or renaming a session to a name another live session already uses gives it a\n`name-word-word`\n\nvariant and tells you - Added\n`/config`\n\nrows for “Dialog expiry” and “Messages from your other sessions” (cross-session inbound accept/hold/refuse) - Added secret redaction for GitLab token families (\n`glrt-`\n\n,`gloas-`\n\n,`glptt-`\n\n,`glagent-`\n\n,`glimt-`\n\n,`glsoat-`\n\n,`glcbt-`\n\n,`glft-`\n\n,`glffct-`\n\n) and full redaction of routable`glpat-`\n\n/`gldt-`\n\ntokens; the`glab`\n\nCLI config store gets the same sandbox and credential-path protection as`gh`\n\n- Added GitLab support to plugin marketplaces: bare\n`gitlab.com`\n\nrepo URLs (including nested subgroups) now clone like`github.com`\n\nURLs, and clone auth-failure hints name your actual git host - Settings:\n`additionalMarketplaces`\n\nand`allowedMarketplaces`\n\nare now accepted as friendlier aliases for`extraKnownMarketplaces`\n\nand`strictKnownMarketplaces`\n\n- Enterprise policy: a url-typed\n`blockedMarketplaces`\n\nentry for a bare repo URL keeps blocking that URL when the CLI classifies it as a git clone - Gateway: the\n`desktop:`\n\noverlay now accepts every released Desktop setting (was 11 hand-listed keys), validated at boot against Desktop’s own schema; unknown or invalid keys fail boot - Gateway: empty\n`managed.policies[].match.groups`\n\n/`admin.admin_groups`\n\nentries and malformed`email_domain`\n\nvalues (empty, or containing`@`\n\n, whitespace, or commas) now fail at boot instead of silently matching no one or granting admin access - Fable 5 is offered as an advisor in\n`/advisor`\n\nagain for organizations with Fable access, with usage-credits consent set up through`/model fable`\n\n- Fixed a PowerShell permission bypass where variable-writing parameters could silently overwrite\n`$PSDefaultParameterValues`\n\nand redirect later commands’ file access - Fixed a Windows permission bypass where Git Bash followed Cygwin-style symlinks that path validation saw as regular files; writes through them now require permission approval\n- Fixed nested git repositories inheriting trust from a parent directory; each repository now requires its own trust confirmation\n- Fixed MCP connections hanging for the full 30-second connect timeout when a server fails to answer or sends a malformed reply to the protocol-version probe\n- Fixed Remote Control sessions hosted by a bridge inside a cloud session inheriting that session’s transcript or credentials\n- Fixed Remote Control sessions started from Claude Desktop or an IDE appearing as a new claude.ai session each time the local session was resumed; they now reattach to the existing one\n- Fixed Remote Control sessions appearing unreachable to newly attached clients while idle\n- Fixed Remote Control bridge sessions not restoring conversation history when the session worker restarts\n- Remote Control: resuming a conversation whose session was deleted from claude.ai or the app now starts a replacement instead of failing with a message about your login (regressed in v2.1.227)\n- Fixed Cloud gateway\n`/login`\n\nexiting silently or leaving an unresponsive terminal after “Press Enter to continue” when managed settings failed to load; the reason is now shown - Fixed voice mode on native builds getting stuck on “listening…” when the voice service rejected the connection; the rejection is now shown immediately\n- Fixed mTLS client certificate rotation requiring a restart; Claude Code now reloads the rotated cert and key automatically on connection errors\n- Fixed malformed AWS or Vertex region values being used to build request URLs; they now fall back to the default region\n- Fixed stream idle timeout errors failing the request instead of recovering on Bedrock, Vertex, and gateway deployments\n- Fixed content-sized overlays containing truncated text rendering one column too wide, and start-truncated text collapsing to an ellipsis\n- Fixed a stray garbled character where a long shell-command or agent-description preview was cut off mid-emoji\n- Fixed a startup race that could silently unregister a plugin marketplace due to concurrent writes to\n`known_marketplaces.json`\n\n- Fixed\n`/update`\n\nand`/tui`\n\nrefusing to restart while work that survives the relaunch was running - Fixed usage-limit guidance suggesting unavailable slash commands in SDK and remote sessions\n- Fixed the consent message for interactive\n`--advisor fable`\n\nlaunches, which told you to run`/model fable`\n\nin an interactive session that had just exited - Improved fullscreen streaming: long sessions stay responsive because the whole conversation is no longer re-normalized on every update\n- Improved the managed settings approval dialog: shows endpoint URLs, uses clearer wording for telemetry-only changes, skips routine OpenTelemetry options, and requires approval for server-managed sandbox binary overrides (\n`sandbox.bwrapPath`\n\n,`sandbox.socatPath`\n\n,`sandbox.ripgrep`\n\n) `/feedback`\n\nand`/bug`\n\nnow open immediately when invoked while Claude is responding, instead of waiting for the turn to finish`/plugin install plugin@marketplace`\n\nnow refreshes the marketplace first, so newly published plugins install without a manual marketplace update`/code-review`\n\nat high, xhigh, and max effort now runs in a background agent like the other levels- Pasted and clipboard images are read without blocking the event loop\n- Remote Control now keeps reconnecting for about 30 minutes after a network blip and no longer drops after a few blips spread across an hour\n- Remote Control: resuming a conversation no longer silently takes Remote Control away from another Claude Code on the same machine that still has it; run\n`/remote-control`\n\nthere to move it - Updated agent panel: completed subagents hide immediately with a\n`/tasks`\n\nfooter hint, and the ”↓ N more” overflow indicator moved left for visibility - Remote Control: the terminal now says whether a session was taken over by another device, ended from another app, or deleted, and stops suggesting a reconnect that would undo it\n- Bash input redirections (\n`< file`\n\n) are now permission-checked like their argument spellings on all platforms - Shortened the message shown when resuming a completed background agent\n- Cowork sessions no longer inline external @-imports from user-scope memory files\n- Hardened the auto-generated cross-session messaging socket directory on shared\n`/tmp`\n\n: a pre-planted symlink or another user’s directory is now refused instead of used - Hardened the Linux filesystem sandbox against a protected-path bypass\n- Changed\n`sandbox.ripgrep`\n\nto be honored only from user, managed, and`--settings`\n\nsettings; project settings can no longer override the sandbox’s ripgrep binary - Removed the startup tip suggesting you create custom subagents, and the matching nudge in the\n`/powerup`\n\ntour\n\nAugust 13, 2026\n\n- Fixed MCP OAuth sign-in failing with a redirect URI mismatch for servers that use a pre-registered OAuth client, such as Slack\n\nAugust 12, 2026\n\n- Documented\n`claude remote-control --continue`\n\nfor resuming the most recent Remote Control session - Added server-supplied Claude Code hook support for self-hosted runner sessions, matching managed-environment behavior\n- Added SSE keepalive pings to gateway streaming responses during long thinking pauses, preventing idle-timeout disconnects on Vertex and Bedrock upstreams\n- Added plugin marketplace\n`command`\n\nsources: a local command (e.g. an IDE) prints the plugin directory, which is re-resolved each session and applied without a restart;`mode: \"link\"`\n\nuses it in place `ListAgents`\n\nnow marks disconnected Remote Control sessions as`offline`\n\nand labels your cloud sessions as`cloud`\n\n- Fixed long responses partly disappearing while streaming and being printed twice in the terminal\n- Fixed a crash to the error screen (including on\n`--resume`\n\nof the affected session) when a tool call had a non-string`glob`\n\n,`file_path`\n\n, or`command`\n\nvalue - Fixed a RangeError crash when a progress bar or markdown table rendered in a very narrow terminal window (could also crash\n`claude --continue`\n\n/`--resume`\n\nat startup) - Fixed a crash on Windows when a tool call or message referenced a file by an extended-length (\n`\\\\?\\`\n\n) or UNC path - Fixed auto mode failing on every tool call for users who disable the attribution header via\n`CLAUDE_CODE_ATTRIBUTION_HEADER`\n\n(direct Anthropic API connections) - Fixed\n`/model`\n\nrejecting Sonnet/Opus 1M for claude.ai subscribers using a custom`ANTHROPIC_BASE_URL`\n\ngateway - Fixed MCP OAuth with strict authorization servers by using\n`127.0.0.1`\n\ninstead of`localhost`\n\nin the redirect URI - Fixed Remote Control clients showing a stuck working spinner after a slash command typed in the laptop terminal\n- Fixed the Claude Code Review workflow generated by\n`/install-github-app`\n\ncompleting without posting its review on the pull request - Fixed multi-second UI stalls after editing a file with thousands of IDE diagnostics while the IDE extension is connected\n- Fixed one-shot\n`claude plugin`\n\ncommands leaving a stray liveness file that could prevent cleanup of outdated plugin versions - Fixed dynamic workflows inside CPU-limited containers using the host machine’s core count instead of the container’s CPU limit\n- Fixed a file-watcher handle leak after atomic file replacements, and an uncaught error on Windows when the scheduled-tasks watcher failed on a network or virtual filesystem\n- Fixed SDK and\n`--input-format stream-json`\n\nsessions getting a 400 API error when a whitespace-only message was submitted - Fixed conversations whose messages alone exceed the API’s 32 MB request limit retrying compaction when no images or documents can be stripped; they now fail once with a clear message\n- Fixed OpenTelemetry export from Claude Desktop sessions being rejected by the Desktop-managed gateway when that gateway is also the telemetry endpoint\n- Fixed self-hosted runner and other remote sessions exiting at startup when\n`managed-mcp.json`\n\nis deployed and the server delivers MCP servers; those servers are now skipped with a warning - Fixed self-hosted runner repository preparation hanging on a Git Credential Manager prompt; git now fails fast when credentials are missing\n- Improved workflow fan-outs to stagger same-prefix sibling agents so subsequent agents read the cached prompt prefix instead of re-paying it (\n`CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS=0`\n\ndisables) - Improved “prompt is too long” errors to explain why automatic compaction could not recover instead of only suggesting\n`/compact`\n\n- Improved sandbox: IPv6 literals in network domain lists are now bracketed (\n`[::1]:443`\n\n), and ambiguous spellings are enforced fail-closed and flagged by`/doctor`\n\n- Updated\n`/login`\n\nto repeat the`CLAUDE_CODE_OAUTH_TOKEN`\n\noverride warning after a successful login - Changed\n`/commit-push-pr`\n\nso git/gh commands with dangerous flags (`--force`\n\n,`--amend`\n\n,`--no-verify`\n\n, etc.) are no longer auto-approved - Changed self-hosted runner Windows startup to require an explicit\n`--base-dir`\n\n; there is no default checkout directory on Windows - [VSCode] “Report a problem” and\n`/bug`\n\nnow open the built-in feedback dialog instead of a retired survey link - [VSCode] Made the\n`/btw`\n\nside-question panel resizable by dragging its boundary, in both side-docked and stacked layouts - [VSCode] Added session groups in the sidebar — right-click to create, rename, or delete; Cmd/Ctrl- or Shift-click to move several sessions at once\n\nAugust 11, 2026\n\n- Fixed interactive sessions that could stop redrawing entirely, while the process kept running, after a rare internal layout error\n- Fixed\n`git`\n\n/ Git Bash not being found on Windows when Claude Code is launched from a parent folder of the git installation - Fixed\n`/tui`\n\nreverting the session to an earlier model when`/model`\n\nhad been changed since the last response - Fixed cross-session messaging sometimes starting without an inbox in the first session after install or upgrade\n- Fixed Remote Control\n`/resume`\n\nwhile connected leaking the resumed conversation’s title or history into the connected session - Fixed\n`claude self-hosted-runner`\n\nsessions failing on every fresh runner when the`checkout`\n\nhook fails for a repository the session doesn’t push to; that repository is now skipped with a warning - Fixed self-hosted runners ending sessions in the gap between a background task finishing and the follow-up turn starting\n- Fixed session cleanup deleting contents inside a project’s memory folder\n- Fixed background plugin-cache cleanup deleting a plugin’s cache when its only version is a symlinked development checkout\n- Fixed a settings-merge issue where a marketplace entry redefined in a higher-precedence settings tier could inherit another tier’s custom headers; marketplace entries now merge as whole entries\n- Fixed the deferred-tools reminder occasionally being sent to the model twice after a skill invocation\n- Hardened skills synced from claude.ai: they no longer shadow local commands or MCP prompts, their descriptions are sanitized and labeled, and on your machine their bodies don’t run\n`!`\n\ncommands or expand`@`\n\nfiles - Improved cross-session messages: the sender and body now display inline instead of a collapsed line, and messages to Remote Control sessions on other machines show your Remote Control session name as the sender\n- Improved Vertex AI credential handling: expired or missing Google Cloud credentials now fail within seconds instead of retrying for minutes\n- Improved compaction progress: the retry countdown and stall hint now appear during compaction instead of only a progress bar\n- Updated terminal title busy-spinner glyphs to reduce tab-bar jitter on some terminals\n- Changed the Write tool so newer models can overwrite an existing file they haven’t read this session, matching the Edit tool’s rules; older models still require the read first\n- Removed the outdated note about auto mode sessions costing slightly more from the first-use notice for Pro, Max, and Team plans\n\nAugust 10, 2026\n\n- Fixed feature flags being evaluated without the user’s subscription tier when a session started with an expired login token, which could wrongly prompt Max plan users to enable usage credits for Fable\n- Fixed every Bash command failing under\n`claude-code-action`\n\nwith`allowed_non_write_users`\n\non GitHub-hosted runners - Fixed\n`/tui`\n\nbringing back a conversation that had been rewound to before its first message - Improved slash-command menu: blue now marks only the selected row, matched characters are bolded instead of recolored, and emoji or accented names keep their glyphs\n- Improved performance: fewer event-loop stalls on file-not-found suggestions and at-mention size checks\n\nAugust 8, 2026\n\n- Bug fixes and reliability improvements\n\nAugust 8, 2026\n\n- Added gateway spend-limit support to Claude Code’s usage warning; the limit-reached message now names the cap, its reset time, and the operator’s message (requires the gateway on 2.1.225)\n- Added a workspace trust prompt to\n`claude agents`\n\nfor untrusted directories, matching the behavior of`claude`\n\n- Fixed a transient 401 replacing a long-lived\n`CLAUDE_CODE_OAUTH_TOKEN`\n\nwith a stored login’s short-lived token, breaking headless sessions until restart - Fixed MCP OAuth servers on macOS intermittently failing with a burst of 401 errors, as if never authenticated, after a keychain read timed out\n- Fixed auto mode counting a safety-filter refusal of its own permission check toward the consecutive-block limit; the action is still denied, but the model is now told to move on rather than retry\n- Fixed cross-session messages staying parked without a notice or expiry in headless sessions and during startup\n- Fixed conversation history breaking on Remote Control session resume after very large conversations were compacted\n- Fixed hovering over a session in another project in the agents list changing the directory the next agent starts in\n- Fixed\n`claude self-hosted-runner`\n\nregistering and then failing every session when`--base-dir`\n\ncannot be created or written; it now exits at startup with a clear error - Fixed Claude Code on the web sessions being misreported as stuck, re-sending a growing event backlog on every reconnect\n- Improved Remote Control: photos attached from the Claude app are now shown to Claude directly instead of being read from disk with a separate tool call\n- [VSCode] Fixed Focus view folding away the latest to-do list, a pending question’s context, and settled answers; thinking-only folds show “Thought for Ns” and re-collapse when their turn completes\n- SendMessage can now start a conversation with your Remote Control sessions on other machines by name (\n`ListAgents`\n\nshows them as`name [ref]`\n\n), instead of only replying after they message you first - SendMessage: a Remote Control recipient you already confirmed is never swapped for a same-named session on this machine when its own list couldn’t be checked\n\nAugust 7, 2026\n\n- Added self-hosted environments:\n`claude self-hosted-runner`\n\nturns your own machines or containers into a place Claude Code web, mobile, and desktop sessions can run, on Team and Enterprise plans - Added\n`archive`\n\nplugin source: install plugins from a zip over HTTPS without git or npm, with optional SHA-256 pinning - Added a cancel-and-confirm step when removing an unavailable paste changes a command’s text\n- Added\n`ANTHROPIC_BEDROCK_REGION_PREFIX`\n\nenv var for Bedrock to prefer a specific cross-region inference profile over the`AWS_REGION`\n\n-derived one - Added\n`crossSessionInbound`\n\nand`dialogExpiry`\n\nsettings: cross-session messages sent to a session running with bypassed permissions are held for your approval, and messages to other sessions auto-deliver - Added sandbox credential-masking options:\n`extract`\n\nand`onExtractNoMatch`\n\nfor structured env values,`decode: \"jwt\"`\n\nwith`maskClaims`\n\nfor JWT-aware masking, and`awsPairs`\n\n/`sigv4`\n\nfor AWS SigV4 re-signing; these need`network.tlsTerminate`\n\nand are honored only from user, managed, or`--settings`\n\nsettings - Added cross-session\n`SendMessage`\n\n: Claude Code sessions can now message each other, on any of your machines, with`ListAgents`\n\nto discover them (macOS and Linux) - Fixed long (>200 char) project paths resolving to another project’s session directory under a shared sanitized prefix; session list, rename, fork, delete and\n`/resume`\n\nno longer cross projects - Fixed\n`SendMessage`\n\nreporting “Message sent” when the write to a teammate’s inbox had actually failed; failed deliveries are now reported as errors - Fixed sandbox filesystem deny entries written with a trailing slash (e.g.\n`denyRead: \"~/.aws/\"`\n\n) being silently bypassable on Linux and macOS - Fixed sandbox violation details never appearing in Bash tool results; Claude now sees which file or network access was denied and why\n- Fixed MCP tools that connect mid-turn being deferred for tool search without their names announced to the model\n- Fixed plugin install records being silently corrupted when the same plugin is installed in multiple projects\n- Fixed recalled or restored paste content occasionally attaching wrong data or silently losing text when the paste had aged out or placeholder numbers collided\n- Fixed copy-on-select on Wayland sometimes not reaching the clipboard; the two selection writes no longer race\n- Fixed the feedback survey’s transcript share silently failing on long sessions; a failed share now shows an error instead of a success message\n- Fixed Remote Control auto-start intermittently failing with “Remote credentials fetch failed” on a cold start with a stale login token\n- Fixed Remote Control and SDK clients showing a blank “(no content)” message after\n`/clear`\n\nand other output-less commands - Fixed a Remote Control session recreated after its server session expired uploading prior local conversation history into the new session\n- Improved fullscreen mode to keep the full pre-compaction history in scrollback across repeated compactions, instead of only the most recent interval\n- Improved Remote Control: attached web and mobile clients now see compaction progress and the post-compaction boundary instead of a silent pause;\n`/clear`\n\nresets now propagate to attached clients - Improved Remote Control: connection failures now show a persistent failure indicator with details and a reconnect shortcut, instead of only an 8-second toast\n- Removed the 200-subagent-per-session spawn cap; long-running sessions no longer refuse new agents (concurrency and depth limits still apply)\n- Changed managed settings: the approval prompt no longer re-appears after re-login or org switching when the organization’s settings are unchanged\n- Changed the feedback-survey transcript share: with your consent it now also uploads the last request’s model settings — the system prompt (which includes your\n`CLAUDE.md`\n\ninstructions), tool definitions, and model parameters. Secrets are redacted as before, and these fields are dropped first if the share is too large - Changed the Bash tool description to always note that command output is displayed to the model, not reliably to the user\n- Changed recalled paste placeholder numbers to renumber when accepted into the input\n- Changed Remote Control to archive the stale server session instead of leaving a dead one listed when a fresh session is minted after compaction or\n`/resume`\n\n- [VSCode] Fixed the extension showing Remote Control as connected after the connection failed\n- Fixed a session resume silently reconnecting Remote Control after the user turned it off (\n`--resume`\n\n, SDK hosts, and the VS Code extension) - [VSCode] Fixed sessions not honoring\n`remoteControlAtStartup`\n\nwhen explicitly enabled\n\nAugust 6, 2026\n\n- Added owner wildcard entries (\n`\"owner/*\"`\n\n) to the`strictKnownMarketplaces`\n\nand`blockedMarketplaces`\n\nmanaged settings for allowing or blocking all marketplace repos under a GitHub org - Added a warning when workflow agents, forked skills, slash commands, or resumed background agents’ requested subagent model is restricted and the parent model runs instead\n- Added a\n`/teleport`\n\nhint in cloud sessions showing how to continue locally with`claude --teleport <session id>`\n\n- Fixed a Bash permission bypass where a crafted command could hide parts of itself from permission checks\n- Fixed permission prompts so commands padded with tabs or invisible Unicode can no longer hide part of the command from the approval dialog\n- Fixed workflow scripts being able to use dynamic\n`import()`\n\nto run code outside the workflow sandbox - Fixed a permission gap where an agent definition’s\n`bypassPermissions`\n\nmode ignored the org bypass-permissions disable policy - Fixed resuming a session after a mid-session\n`/cd`\n\ncoming back empty - Fixed gateway model discovery hiding Claude models registered under provider-prefixed IDs such as\n`vertex_ai/claude-*`\n\nor`bedrock/anthropic.claude-*`\n\n- Fixed\n`modelOverrides`\n\nkeys that aren’t Anthropic model IDs being treated as the session’s canonical model ID; unknown keys are now ignored as documented - Fixed managed settings: server-delivered settings no longer disable the env block of a machine-local\n`managed-settings.json`\n\nor MDM profile; admin env now merges per key - Fixed sandboxed commands failing to start on Linux when\n`sandbox.filesystem.denyWrite`\n\ncovers the working directory - Fixed forked background agents getting stuck “already resuming” for the rest of the session when rebuilding the fork’s parent prompt failed during resume\n- Fixed a resumed session failing every turn, or leaving the interactive app on an unresponsive error screen, when its history held a malformed diagnostics attachment\n- Fixed a rare hang when parsing unusual\n`git push`\n\noutput - Changed\n`CLAUDE_CODE_DISABLE_1M_CONTEXT`\n\nto hold every Claude model with a native 1M window to 200K via auto-compaction, not just a fixed list; a startup warning now appears when auto-compaction isn’t holding the session to 200K - Changed auto-compact to keep sessions on unrecognized model IDs within the assumed context window instead of letting them grow past it; set\n`CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT=1`\n\nto restore the previous behavior - Changed\n`/review`\n\nto be an alias of`/code-review`\n\n, which reviews the current diff or a PR (`/code-review <level> <pr#>`\n\n); use`/code-review ultra`\n\nfor a deep cloud review - Changed\n`/code-review`\n\nwith no effort level to reuse the level you typed last; type a level like`/code-review high`\n\nto change it\n\nAugust 4, 2026\n\n- Fixed worktree-isolated sessions and their subagents being able to run destructive git commands against the main checkout; isolation now applies to file edits and Bash in every session type\n- Fixed PreToolUse auto-allow hooks bypassing tool restrictions in background agent tasks (summaries, compaction, renames)\n- Fixed\n`/usage-credits`\n\non Team and Enterprise showing “you’ve already sent a usage credit request” for members whose earlier request was dismissed, blocking them from sending a new one - Fixed the startup connectivity check hanging and then failing behind an HTTPS proxy; it now uses the same proxy-aware transport as API requests and times out with a clear message\n- Fixed “Connection closed mid-response” errors being reported on responses that had actually completed\n- Fixed\n`/usage`\n\noverattributing usage to MCP servers: a server’s share now reflects only the requests that actually consumed its tool results, instead of every turn after any call to it - Fixed sessions not linking to pull requests created after the branch was pushed, including through the GitHub REST API\n- Fixed org-restricted\n`model: opus`\n\n-style subagent and teammate family aliases dropping to the parent model instead of stepping down to the newest org-allowed model in the family - Fixed stream idle timeout firing on custom\n`ANTHROPIC_BASE_URL`\n\ngateways despite server keep-alive pings arriving on the wire - Fixed claude.ai connectors being falsely marked as needing authorization when the session token is invalid — they now show a\n`/login`\n\nhint instead - Fixed tool errors not being displayed for tools no longer available locally, for example after an MCP server is removed\n- Fixed\n`SendMessage`\n\nrejecting a long summary — it now truncates instead, so sends no longer fail on a character limit - Fixed the spinner’s effort label in a subagent’s transcript view showing the session’s effort level instead of the subagent’s own\n`effort:`\n\nsetting - Fixed rare crashes when a file watcher hit a filesystem error or during file-watcher teardown\n- Fixed screen readers re-reading the whole input line on every backspace in\n`--ax-screen-reader`\n\nmode — end-of-line deletions now echo just the deleted characters - Fixed host model-selection keys not taking precedence over a stale on-disk\n`managed-settings.json`\n\nwhen`CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST`\n\nis set - Improved auto mode safety: messages sent to other agent sessions via\n`SendMessage`\n\nare now evaluated by the permission classifier before dispatch - Improved the refusal when Claude tries to invoke a skill with\n`disable-model-invocation`\n\n: Claude is now told to ask you to run the skill instead of replicating its workflow - Improved the\n`/diff`\n\nview, the Remote Control workspace diff, and file-edit diffs in Claude Code on the web sessions to use raw git blob content, ignoring workspace-configured diff drivers and textconv - Changed Remote Control auto-start so repo-local settings (\n`.claude/settings.json`\n\nor`.claude/settings.local.json`\n\n) can no longer turn it on (they can still turn it off); enable it at user scope via`/config`\n\n- Removed ultraplan feature\n\nAugust 4, 2026\n\n- [VSCode] Added Focus view: a chat-menu toggle that hides tool activity behind an expandable per-turn summary with a live running-tool indicator, toggled with\n`Ctrl+Alt+F`\n\nor the “Claude Code: Toggle Focus view” command - Added\n`mode: \"mask\"`\n\nfor sandbox credential files on Linux and WSL — sandboxed commands read a sentinel copy (the whole file, or just the spans captured by an`extract`\n\nregex) while the sandbox proxy substitutes the real value on egress; on macOS file masking falls back to`deny`\n\n- Added warnings to\n`claude plugin validate`\n\nwhen a marketplace or plugin name would be rejected by Claude Desktop’s managed marketplace sync - Added a\n`prompt-audit`\n\nsubcommand to the`claude-api`\n\nskill for auditing prompts and tool descriptions for patterns written for older models - Fixed a Bash tool permission-check bypass where zsh could execute hidden commands in\n`[[ ]]`\n\nregex conditionals; affected commands now prompt for permission - Fixed PowerShell permission checks mishandling paths containing quote characters on Windows; such paths now prompt for approval\n- Fixed the thinking toggle having no effect for the rest of a session that started with thinking off; disabling an MCP server mid-connect no longer silently reverts\n- Fixed MCP servers from\n`--mcp-config`\n\nnot being connected before the first turn in print mode (`-p`\n\n), which made the model emit tool calls as literal text - Fixed @-mentioned files being silently dropped when pressing Esc to retract a prompt and resubmitting it\n- Fixed a crash when preparing API requests for SDK MCP tools named after built-in object properties such as\n`constructor`\n\n- Fixed WebSearch failing with a 400 error at effort\n`xhigh`\n\n/`max`\n\nwhen thinking is disabled - Fixed sandboxed large uploads failing with TLS errors through the sandbox proxy\n- Fixed Team and Enterprise spend-limit message incorrectly blaming the org’s monthly limit instead of your individual spend limit\n- Fixed Bedrock authentication with AWS SSO named profiles failing in desktop-managed sessions on Windows machines that set a stray\n`HOME`\n\nenvironment variable - Fixed\n`CLAUDE_CODE_RESUME_INTERRUPTED_TURN=0`\n\nnot disabling interrupted-turn auto-resume; falsy values are now honored - Fixed a rare wake-from-sleep race where two Claude Code processes could both refresh the same MCP connector or WIF OAuth token at once, forcing re-authentication\n- Fixed renaming a session from Claude Code Desktop or claude.ai not updating the CLI’s session name; session names from every rename surface are now sanitized\n- Fixed plugin- and org-delivered skills named after terminal-only built-ins (e.g.\n`/help`\n\n,`/feedback`\n\n) being un-invocable in non-interactive sessions - Fixed the “Plugins changed” notification lingering after plugins were reloaded instead of clearing\n- Fixed Vim mode: the yank register now survives dialogs, history search, and the transcript view instead of being silently emptied\n- Fixed Vim mode: undoing back to an empty prompt now arms the “press ← again” confirm before returning to the agent view\n- Improved tool search on Google Vertex AI: re-enabled for Claude 4.5-generation and newer models\n- Improved auto mode: permission checks for parallel tool calls are now cache-efficient, and switching modes while a check is pending reliably prompts instead of applying the stale result\n- Reduced prompt-cache costs for auto-mode permission checks by reusing the cached conversation prefix across decisions\n- Improved Stats panel to count cache tokens in its token totals, with a breakdown by input, output, cache read, and cache write\n- Improved\n`/ultrareview`\n\nerror messages when a repo shares no history with its base: a checkout with no branches is now refused up front with advice to create one, and refusal hints no longer suggest`git fetch --unshallow`\n\non clones that are already complete - Improved Windows startup: process creation times are now read via a native kernel32 call instead of spawning PowerShell, so endpoint security tools that gate\n`powershell.exe`\n\nno longer prompt - Changed background sessions to commit and push to preserve work, open a draft PR only when the task calls for one, follow your CLAUDE.md git instructions, and always end by reporting where the work lives\n- Changed\n`/plugin install`\n\nto refresh a stale marketplace catalog and retry before reporting a plugin not found - Changed plugins installed from\n`/plugin`\n\nto activate immediately when safe, instead of always requiring`/reload-plugins`\n\n- Changed plugins to accept\n`\".\"`\n\nas a`skills`\n\npath, and the root-level`SKILL.md`\n\nvalidation error now suggests using the plugin root - Changed\n`/status`\n\nto show the session kind:`interactive`\n\n, or a background job that is`attached`\n\nor`unattended`\n\n- Changed emoji autocomplete to accept common alternate shortcodes like\n`:thumbsup:`\n\n,`:thumbsdown:`\n\n, and`:love:`\n\n- Changed sessions forked with\n`/fork`\n\nto create a new worktree of their own instead of working in the original session’s checkout - Changed Claude in Chrome to close the browser tabs it opens once it no longer needs them\n- Changed fast mode to report on the stream when usage credits run out mid-session, instead of failing silently\n- Changed Monitor: a watch that exits without producing any output now says so instead of reporting “stream ended”\n- Changed the Gateway\n`model`\n\nfield validation: non-string values are rejected with a 400 instead of being forwarded - Removed the repeated “Permission mode changed while the auto-mode classifier call was queued” notice from approval prompts\n\nJuly 25, 2026\n\n- Bug fixes and reliability improvements\n\nJuly 24, 2026\n\n- Added Claude Opus 5 (\n`claude-opus-5`\n\n), now the default Opus model — 1M context, fast mode at 50 per Mtok - Added\n`sandbox.network.strictAllowlist`\n\nsetting to deny non-allowlisted hosts for sandboxed commands without prompting - Added\n`DirectoryAdded`\n\nhook that fires after`/add-dir`\n\nor the SDK`register_repo_root`\n\ncontrol request registers a new working directory mid-session - Added\n`mcp_server_errors`\n\nto the headless stream-json init event, listing`--mcp-config`\n\nentries skipped by config validation; terminal runs print a startup warning - Added the\n`workflowSizeGuideline`\n\nsettings key so the advisory Dynamic workflow size guideline can be set from any settings file; the`/config`\n\nrow is hidden while one does - Added nested subagent forwarding in stream-json: subagents spawned at depth-2+ now appear when\n`--forward-subagent-text`\n\nis set, keyed by their spawning Agent`tool_use`\n\nid - Fixed\n`claude -p`\n\ntext output dropping the answer already produced when a turn dies on a mid-stream API error - Added HTTP status and error text to\n`claude mcp list`\n\nand`/mcp`\n\nwhen a server fails to connect, and a warning for MCP config values with hidden leading or trailing whitespace - Fixed the Fable model row showing “Requires usage credits” for plans that include it, when a stale cache had baked the label in\n- Fixed the\n`/model`\n\npicker showing the merged Opus row as plain “Opus” instead of “Opus (1M context)” - Fixed copy-on-select inside GNU screen printing base64 into the terminal instead of copying the selection\n- Fixed Remote Control clients keeping a stale fast-mode status after a model switch, reconnect, or failed org check\n- Fixed\n`CLAUDE_CODE_GIT_BASH_PATH`\n\non Windows exiting or being used as bash when the path isn’t a bash/sh binary; it’s now ignored with a warning - Fixed Vim mode: pressing ← on an empty prompt now returns to the agent view from NORMAL mode, not just INSERT\n- Fixed screen-reader mode rewriting the entire input line on every keystroke instead of echoing only the typed character\n- Improved the “Remote Control is only available via api.anthropic.com” error to name the specific setting that caused it\n- Improved\n`claude --teleport`\n\nto show which repo your current checkout points at when it doesn’t match the session’s repo - Changed dynamic workflows to default to a medium size guideline (aim for fewer than 15 agents); pick another size or unrestricted with Dynamic workflow size in\n`/config`\n\n- Changed managed MCP allowlist/denylist\n`${VAR}`\n\nentries to resolve from the startup environment and managed-settings env instead of settings-file env - Changed the\n`/model`\n\npicker to highlight only the newest model’s name, so the highlight marks the new release rather than an arbitrary subset of the list - Added the current default workflow size to the running-workflow status line, with a pointer to\n`/config`\n\nfor changing it - Removed Opus 4.7 from fast mode;\n`/fast`\n\nnow applies to Opus 5 and Opus 4.8 - Updated the claude-api skill to default to Claude Opus 5, with a migration path from Opus 4.8\n- Subagents can now spawn nested subagents up to depth 3 by default (was 1); set CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH=1 to disable nesting\n\nJuly 22, 2026\n\n- Changed\n`/code-review`\n\nto run as a background subagent, so review work no longer fills your conversation and keeps stacked slash commands as its review target - Added screen-reader announcements of deleted text for word and line deletions (\n`Option+Delete`\n\n,`Ctrl+W`\n\n,`Cmd+Backspace`\n\n,`Ctrl+U`\n\n,`Ctrl+K`\n\n) in`--ax-screen-reader`\n\nmode - Fixed Windows paths with\n`\\u`\n\n-prefixed segments (like`C:\\Users\\unicorn`\n\n) being corrupted into CJK characters in tool inputs, which made those files inaccessible - Fixed the left arrow key discarding the conversation with no undo: presses right after editing now ask to confirm, and Esc in the agent view returns to the conversation it backgrounded\n- Fixed multi-line paste collapsing into one line with\n`j`\n\nin place of newlines in terminals that encode pasted newlines as Ctrl+J - Fixed\n`/context`\n\nreporting stale pre-compact token usage after compacting from the message picker - Fixed\n`/ultrareview`\n\nfailing on descriptive arguments like “review my auth changes” — they now run a review of your current branch with the text applied as a note to the findings - Fixed\n`/code-review ultra`\n\nsilently running a local review in non-interactive sessions — it now launches the cloud review - Fixed gateway spend metering to price Bedrock application-inference-profile ARNs and other config-mapped upstream model IDs at the configured model’s rates\n- Fixed mojibake when a long IDE selection was truncated mid-emoji, and a case where a tool executor error could be silently dropped\n- Fixed an engine teardown race that could start and abandon a phantom turn, and made input pushed after close consistently rejected\n- Fixed spurious “[Request interrupted by user]” messages after interrupted tool calls, and an unpaired\n`tool_use`\n\nblock left in the transcript when a tool aborted mid-response - Fixed VoiceOver reading “new line” instead of echoing the typed space at the end of the input in\n`--ax-screen-reader`\n\nmode - Fixed plugin and settings panels not moving the terminal cursor to the focused row, so screen readers and magnifiers can follow arrow-key navigation\n- Fixed crashes (maximum call stack exceeded) when a deeply nested watched directory tree was deleted or moved, and when rendering deeply nested UI trees\n- Fixed pull request events occasionally being lost when a session exited immediately after creating or linking a PR\n- Fixed the Bedrock setup wizard failing profile verification for assume-role profiles in partitioned AWS regions and on proxy-only networks\n- Fixed rare negative or incorrect turn duration measurements after a system clock adjustment by timing turns with a monotonic clock\n- Fixed the “N MCP servers need authentication” startup notice over-counting claude.ai connectors that aren’t connected in claude.ai\n- Fixed prompt history entries being dropped or duplicated when history writes raced or failed\n- Fixed a retry loop that re-sent identical doomed requests after a context-overflow error with a large thinking budget;\n`Ctrl+B`\n\nbackgrounding now applies the same background-shell caps as other paths - Fixed agent frontmatter hooks running from untrusted folders: hooks now require the agent file’s own folder to have accepted workspace trust\n- Fixed fork-session lineage being lost after compaction in headless and SDK sessions\n- Fixed a resumed session failing every turn, or crashing on resume, when its history held a malformed delta attachment\n- Improved\n`/ultrareview`\n\nerror feedback so Claude can correct an invalid argument instead of retrying it unchanged - Improved auto mode: the dangerous-rm, background-\n`&`\n\n, and suspicious-Windows-path checks no longer open permission dialogs; the auto-mode classifier adjudicates them instead - Improved sandbox command restrictions for IDE interactions\n- Improved trust dialogs to name the repository root the grant covers\n- Changed\n`/deep-research`\n\nto start only when invoked manually; Claude no longer launches it on its own - Changed plan mode with auto to no longer prompt for Bash commands the static analyzer can’t prove read-only; the auto-mode classifier judges them instead\n- Added an announcement when fast mode changes as a result of switching models via\n`/config model=<x>`\n\nor Remote Control - Changed server-managed settings so benign feature and cost toggles no longer trigger the settings-approval prompt\n- Changed agent markdown files to reject agent names containing\n`:`\n\n, which is reserved for plugin namespacing - Changed skills with\n`context: fork`\n\nto run in the background by default; opt out per skill with`background: false`\n\n- Added\n`yes`\n\n/`no`\n\n/`on`\n\n/`off`\n\n/`1`\n\n/`0`\n\n(case-insensitive) as accepted values for skill and plugin frontmatter booleans, alongside`true`\n\n/`false`\n\n- Fixed remote sessions continuing to send heartbeats after their worker was replaced, which left long-lived desktop and IDE processes retrying a rejected request every few seconds forever\n\nJuly 21, 2026\n\n- Added emoji shortcode autocomplete in the prompt input: type\n`:heart:`\n\nto insert ❤️, or`:hea`\n\nfor suggestions — disable with the`emojiCompletionEnabled`\n\nsetting - Added warnings when transcript writes are failing (e.g. disk full) or when session saving is off due to an inherited environment variable, instead of losing transcripts silently\n- Fixed a memory leak where truncated MCP tool outputs kept the full untruncated result in memory for the rest of the session\n- Fixed Windows auto-update failures that could leave\n`claude.exe`\n\nmissing; failed updates now restore the preserved executable automatically - Fixed background session isolation not canonicalizing symlinked working directories, which could let sessions escape their workspace folder\n- Fixed auto-compact never triggering for Claude Opus 4.8 on Bedrock and\n`/compact`\n\nfailing once over the limit - Fixed corporate mTLS, TLS-verify, OAuth scope, and proxy settings being ignored in Claude Desktop sessions\n- Fixed screen reader mode’s startup announcement being cut off by the first prompt render, and the thinking status row re-rendering every few seconds to update elapsed time and token counts\n- Fixed managed settings that set\n`OTEL_EXPORTER_OTLP_ENDPOINT`\n\nnot governing all signals — lower-scope signal-specific overrides no longer redirect telemetry away from the managed endpoint - Fixed\n`--resume`\n\n/`--continue`\n\nand`/resume`\n\nfailing with a TypeError when a transcript has a malformed attachment entry - Fixed Remote Control sessions not showing a pending permission prompt or dialog to viewers that connected after it appeared\n- Fixed background shells sometimes becoming impossible to stop after a session is sent to the background (\n`/background`\n\nor`←`\n\n) or when the session exits on a heavily loaded machine, most visible on Windows - Fixed a\n`CLAUDE.md`\n\nor`SKILL.md`\n\npaths frontmatter value with many brace groups OOM-killing or stalling the CLI at startup — brace expansion is now budget-bounded - Fixed the transcript preview sitting flush against the input area when attaching to a starting background session; it now leaves the same one-line gap as the live layout, so the transcript no longer shifts when the session takes over\n- Improved footer PR badge links to be clickable hyperlinks even when terminal support can’t be detected (e.g. over ssh/tmux); set\n`FORCE_HYPERLINK=0`\n\nto opt out - Changed the login-expiry warning to appear 3 days before expiry instead of 5\n- Capped the frontend-design plugin suggestion tip at 3 lifetime impressions instead of repeating indefinitely\n- Added a cap on concurrently-running subagents (default 20, override with\n`CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS`\n\n) so one message can’t fan out unbounded background agents - Changed subagents to no longer spawn nested subagents by default; set\n`CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH`\n\nto allow deeper nesting - Fixed\n`--max-budget-usd`\n\nnot stopping background subagents: once the cap is reached, new spawns are denied and running background agents are halted\n\nJuly 20, 2026\n\n- Added\n`sandbox.filesystem.disabled`\n\nsetting to skip filesystem isolation while keeping network egress control - Fixed a slowdown in long sessions where message normalization cost grew quadratically with the number of turns, causing multi-second stalls and slow resumes\n- Fixed auto mode denying commands with “HTTP 401” classifier errors after the OAuth token expired or rotated mid-session\n- Fixed AskUserQuestion telling Claude to continue even when your answer asked it to wait or explain first — free-text answers now get neutral wording\n- Fixed Claude Code on the web re-asking the same question and dropping your answer after the session sat idle for a few minutes\n- Fixed @-mentions silently attaching nothing after file-modifying hooks, vim dot-repeat of\n`c`\n\n-operators and paste, statusline running twice on resume, and resume-picker hangs on failure - Fixed resumed background agent sessions reverting to the default agent: the agent’s prompt and tool restrictions are now restored\n- Fixed worktree-isolated subagents redirecting git into the shared checkout via\n`git -C`\n\n,`--git-dir`\n\n, or`GIT_DIR`\n\n/`GIT_WORK_TREE`\n\n- Fixed worktree sessions landing in another project’s leftover worktree when the working directory did not match the selected project\n- Fixed background sessions whose worktree has no git repository being undeletable\n- Fixed\n`claude daemon stop --any`\n\npotentially terminating an unrelated process via a stale legacy daemon lockfile - Fixed Esc-Esc at an idle prompt not opening the rewind picker in long-running sessions with background tasks\n- Fixed Bash command permission checking for compound statements with redirects inside\n`&&`\n\nlists or negations - Fixed pressing Ctrl+X twice in the agent list failing to delete a session, and deleted sessions reappearing when their background worker had died\n- Fixed background subagents getting cancelled when a high-priority message arrives during their startup window\n- Fixed mouse and focus garbage in the terminal while a GUI editor from\n`/memory`\n\n,`/plan`\n\n,`/keybindings`\n\n, or Ctrl+G is open;`/memory`\n\nno longer waits for the editor to close - Fixed Claude-in-Chrome 403-looping on reconnect when the session’s OAuth token lacks a required scope\n- Fixed workflow saves and scheduled-task writes following a symlink at\n`.claude`\n\n, which could redirect writes outside the project - Fixed MCP re-authenticate revoking working credentials before the new sign-in succeeds, and the reconnect needs-auth message in background sessions pointing at an unusable command\n- Fixed read-only commands on Windows accessing network paths without a permission prompt\n- Fixed Bash command parsing of non-ASCII characters to match real shell word boundaries\n- Fixed PowerShell tool permission validation of commands containing invisible Unicode characters\n- Fixed dialogs in fullscreen mode stretching past the right-hand edge of their panel\n- Fixed the\n`/config`\n\nsettings list in fullscreen mode clipping its keyboard-hint footer - Fixed the transcript-mode (Ctrl+O) footer hint wrapping on terminals narrower than 104 columns\n- Fixed the Prometheus metrics endpoint (\n`OTEL_METRICS_EXPORTER=prometheus`\n\n) emitting invalid`# UNIT`\n\nlines - Fixed skills and commands changed during a session not appearing in the slash menu until restart\n- Fixed plugin skills with a\n`name`\n\nfrontmatter field losing their plugin prefix in slash-command autocomplete - Fixed telemetry misreporting permission denials: failed permission-prompt requests no longer count as user rejections, and user interrupts are now reported as user aborts instead of rejections\n- Improved the\n`/fork`\n\nconfirmation to one line with the new session’s name,`claude attach`\n\nid, and a note when the copy shares your checkout - Improved validation of\n`git`\n\nand`gh`\n\ncommand arguments in the PowerShell tool - Improved the\n`/ultrareview`\n\ndiff-too-large error to show configured limits, measured diff size, and largest contributing files - Improved\n`/code-review ultra`\n\nempty-diff message to name the exact base ref and suggest passing an explicit base - Improved the spend limit adjustment prompt to show the server’s reason when a spend limit change is rejected\n`/context`\n\nnow shows an explicit warning when the conversation exceeds the context window, and a failed`/compact`\n\ndisplays as an error`/rewind`\n\nno longer restores or deletes files through symlinks or hard links at tracked paths and reports how many paths it skipped- Background sessions:\n`/mcp`\n\nand`/install-github-app`\n\nnow park a “needs input” request in the agent view when no client is attached - Updated the bundled dataviz skill: reordered the default chart palette and fixed guidance that suggested direct labels for four-series charts\n- [VSCode] Fixed right-to-left text (Arabic, Hebrew, Persian) rendering in the wrong order when mixed with English or code\n- Fixed cloud sessions dropping the in-flight message when the session’s container restarts mid-turn — the interrupted turn now re-runs on resume instead of leaving the session unresponsive\n\nJuly 19, 2026\n\n- Claude no longer runs the\n`/verify`\n\nand`/code-review`\n\nskills on its own; invoke them with`/verify`\n\nor`/code-review`\n\nwhen you want them\n\nJuly 18, 2026\n\n- Fixed single-segment\n`dir/**`\n\nallow rules like`Edit(src/**)`\n\nauto-approving writes to nested`dir/`\n\ndirectories anywhere in the tree instead of only`<cwd>/dir`\n\n- Fixed a permission-check bypass affecting commands run in Windows PowerShell 5.1 sessions\n- Fixed Bash permission checks to fail closed on file-descriptor redirect forms that bash parses differently than the permission analyzer\n- Fixed Bash permission checks misjudging very long commands — commands over 10,000 characters now always prompt instead of running automatically\n- Fixed Bash permission checks treating zsh variable subscripts and modifiers in\n`[[ ]]`\n\ncomparisons as inert text — these commands now prompt for approval - Fixed Bash permission checks to no longer auto-approve certain\n`help`\n\nand`man`\n\ncommands that could run unsafe options, command substitutions, or backslash paths - Fixed permission prompts on remote sessions that could proceed before the local confirmation dialog\n- Added the EndConversation tool: Claude can end sessions with highly abusive users or jailbreak attempts, as on claude.ai since 2025 — see\n[https://www.anthropic.com/research/end-subset-conversations](https://www.anthropic.com/research/end-subset-conversations) - Added a periodic progress heartbeat for long-running tool calls that previously went silent\n- Added an ISO\n`modified`\n\ntimestamp to memory file frontmatter - Added\n`message.uuid`\n\n,`client_request_id`\n\n, and`tool_source`\n\nattributes to OpenTelemetry log events for message-level correlation and tool provenance - Added\n`CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH`\n\nto configure the 60 KB truncation limit on OpenTelemetry content attributes - Added reasoning effort to the\n`subagentStatusLine`\n\npayload, so custom agent rows can render model and effort - Added permission prompts for\n`docker`\n\ncommands (including the Podman`docker`\n\nshim) carrying daemon-redirect flags (`--url`\n\n,`--connection`\n\n,`--identity`\n\n, and Podman’s remote mode) that previously ran without one - Fixed a crash when a GrowthBook feature evaluates to null, and a bug where a malformed flag payload could wipe the cached feature flags\n- Fixed Bash tool killing the Claude session when a\n`pkill -f`\n\npattern accidentally matched the CLI’s own process (Linux) - Fixed unbounded memory growth when\n`--settings`\n\npoints at a device file or multi-GB file; oversized (>2 MiB) settings files now fail at startup with a clear error - Fixed streaming turns failing with “Socket is closed” behind corporate proxies on Windows\n- Fixed stream-json output truncation at exit for slow-reading SDK/pipeline consumers; the exit drain now scales with queued bytes instead of a flat 2s cap\n- Fixed scheduled tasks refusing their own configured prompt as untrusted input — the fired prompt is now delivered as the session’s assigned task\n- Fixed PowerShell tool commands hanging until timeout when a child process waited on standard input (Windows)\n- Fixed Python scripts under the PowerShell tool crashing with UnicodeDecodeError when reading non-UTF-8 data from standard input (Windows)\n- Fixed Python scripts run via the PowerShell tool crashing with UnicodeEncodeError on non-ASCII output, and PowerShell 7 error messages containing raw ANSI escape sequences (Windows)\n- Fixed the PowerShell tool reporting\n`where.exe`\n\n,`fc.exe`\n\n, and`diff.exe`\n\nas errors when they return a valid negative answer (Windows) - Fixed\n`>`\n\nand`>>`\n\nunder the PowerShell tool on Windows PowerShell 5.1 writing UTF-16LE files that other tools couldn’t read as UTF-8 - Fixed a displaced background daemon deleting its successor’s control socket on shutdown, which made the next client kill the healthy replacement daemon\n- Fixed background sessions parked with\n`←`\n\nor`/background`\n\nand left idle keeping the background daemon and a worker process alive indefinitely - Fixed completed background sessions being impossible to remove via\n`claude rm`\n\nor the agent view once the background service had gone idle - Fixed background sessions dispatched from a non-git folder being impossible to delete from the agents view\n- Fixed reopening a stopped background session failing to restore its saved conversation when an unreadable folder exists in the session store\n- Fixed the Remote Control “session ready” push notification firing for sessions where Remote Control was not explicitly enabled\n- Fixed\n`/install-github-app`\n\nand the`/mcp`\n\nsettings menu being blocked in agent-view sessions — they’re now refused only in background sessions with no terminal attached - Fixed plugins enabled via the\n`--settings`\n\nCLI flag not loading (regression since v2.1.181) - Fixed feature flags going stale in long-running sessions after the OAuth token rotates\n- Fixed\n`/ultrareview`\n\nrefusing to run in repos with no merge base — it now offers to review all tracked files - Fixed\n`claude update`\n\nand`claude doctor`\n\nhanging silently, and the`/status`\n\nSystem diagnostics section going blank, when a shell-config path is a directory - Fixed memory frontmatter values being silently truncated at an inline\n`#`\n\nwhen memory files are saved - Fixed session cost and token telemetry double-counting on streams that emit multiple cumulative\n`message_delta`\n\nframes - Fixed a spurious “check your network” warning that appeared while the advisor was thinking\n- Fixed hooks with exit code 2 not blocking as documented when the hook’s stdout JSON fails schema validation\n- Fixed OTel log events emitted outside the turn’s async context missing the interaction span’s trace context\n- Fixed MCP transient errors during prompts/resources refresh clearing the server’s slash commands and resources\n- Improved the\n`claude rc`\n\nworkspace-trust error in the home directory to say trust there is never saved and to suggest running from a project directory - Changed single-segment\n`dir/**`\n\nhook`if:`\n\nconditions to match only`<cwd>/dir`\n\n; write`**/dir/**`\n\nfor any-depth matching.`deny`\n\n/`ask`\n\npermission rules keep their any-depth match. - Changed\n`file`\n\ncommands using`-m`\n\n/`--magic-file`\n\nor`-f`\n\n/`--files-from`\n\nto require permission instead of being auto-allowed as read-only - Changed keep-alive connection pooling to disable after a stale-connection error, so retries open a fresh socket\n- Changed SessionStart hooks to report source\n`\"fork\"`\n\nwhen a session begins as a fork instead of`\"resume\"`\n\nJuly 17, 2026\n\n`/fork`\n\nnow copies your conversation into a new background session (its own row in`claude agents`\n\n) while you keep working; the in-session subagent it used to launch is now`/subtask`\n\n- Added\n`claude auto-mode reset`\n\nto restore the default auto-mode configuration, with a confirmation prompt (pass`--yes`\n\nto skip) - Added a session-wide limit on WebSearch tool calls (default 200, tunable via\n`CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION`\n\n) to stop runaway search loops - Added a per-session cap on subagent spawns (default 200, override with\n`CLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION`\n\n) to stop runaway delegation loops;`/clear`\n\nresets the budget - MCP tool calls running longer than 2 minutes now move to the background automatically so the session stays usable; configure the threshold or disable with\n`CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS`\n\n- Typing\n`/resume`\n\nin the agent view now opens a picker of past sessions — including sessions deleted from the list — and resumes your pick as a background session - Fixed plan mode auto-running file-modifying Bash commands (e.g.\n`touch`\n\n,`rm`\n\n) without a permission prompt or SDK`canUseTool`\n\ncallback - Fixed worktree creation following a repository-committed symlink at\n`.claude/worktrees`\n\n, which could create files outside the repository - Fixed a\n`continue:false`\n\nhook’s halt being dropped when the tool fails or completes mid-stream, and hook infrastructure errors being misreported as user rejections - Fixed SIGTERM during a running Bash tool orphaning the command’s process tree in print/SDK mode; the CLI now aborts the turn, kills the tree, and exits 143\n- Fixed\n`/background`\n\nand`claude --bg`\n\nfailing with “EUNKNOWN: unknown error, uv_spawn” on Windows when Group Policy blocks PowerShell 5.1; the daemon now prefers PowerShell 7 - Fixed shell mode (\n`!`\n\n) not executing commands containing file paths while the path autocomplete popup was open - Fixed auto-mode denial notifications rendering broken characters when a long denial reason was truncated mid-emoji\n- Fixed Ctrl+J not inserting a newline in the agent view dispatch input on terminals with extended key reporting, and surfaced the newline shortcut in the\n`?`\n\nhelp overlay - Fixed\n`/ultrareview`\n\nrejecting PR references like`#123`\n\n,`PR 123`\n\n, and pasted PR URLs; error hints now name the command you actually typed - Fixed\n`/ultrareview <branch>`\n\nnot fetching the branch from origin when it exists remotely; it now suggests the closest branch name on typos - Fixed\n`/ultrareview`\n\nskipping the billing confirmation in a new conversation after`/clear`\n\n- Fixed\n`/ultrareview`\n\n’s “not a git repository” error on Claude Desktop now suggesting the project’s repository folder instead of terminal commands - Fixed hosted (host-managed) sessions failing at startup when repository settings configured mTLS certs, extra CA bundles, or OAuth scopes; these transport settings are now ignored with a warning\n- Fixed a spurious “File has not been read yet” error when editing a file that had been read with offset/limit before resuming a session\n- Fixed\n`ExitWorktree`\n\nfailing with “no active EnterWorktree session” after resuming a session with`--continue`\n\n/`--resume`\n\nin print/SDK mode - Fixed the workflow agent grid staying empty for Remote Control clients that join a session mid-run\n- Fixed streaming-mode control requests being marked complete before their handler finished, which could lose the request on session restart\n- Fixed background sessions created with\n`/fork`\n\nlosing their live-parent protection after a state write failure - Fixed reopening a stopped background session from the agent view failing silently — it now resumes the session, or shows why it can’t and lets you force a restart\n- Fixed agent teams: a stopping teammate could send the leader duplicate idle notifications when team initialization re-ran within a session\n- Fixed the plan-approval dialog footer splitting “ctrl+g to edit in\n`<editor>`\n\n” apart when the file path is long - Fixed the welcome banner keeping its old panel widths after a combined width+height terminal resize in fullscreen mode\n- Fixed diff previews losing their line numbers and +/- markers in narrow layouts\n- Fixed @-mentions attaching nothing after a partial file read, plugin uninstall targeting the wrong marketplace, and false “Command timed out” on exit code 143\n- Fixed OpenTelemetry HTTP exports being rejected with 411/400 by Azure Monitor and other endpoints that don’t accept chunked transfer encoding\n- Fixed OTLP event log records missing\n`trace_id`\n\n/`span_id`\n\nwhen`TRACEPARENT`\n\nis set in SDK/headless mode - Fixed conversations with many images incorrectly failing with “Request too large” errors, and improved the error message to explain the actual cause\n- Fixed web search and web fetch returning “API Error” text as search results or page content when the API was overloaded\n- Improved web search and web fetch reliability by retrying 529 errors and rate-limited requests with bounded backoff\n- Improved prompt caching: the mid-conversation system block now works behind LLM gateways and custom base URLs (Bedrock, Vertex, 1P)\n- Improved background agent attach: cold-attaching now instantly shows the formatted transcript while the session boots, instead of a blank wait\n- Reduced token usage in inter-agent messaging:\n`SendMessage`\n\nbodies are no longer duplicated into replayed history and tool results - Changed\n`/fork`\n\nto name the copy after your prompt when the session has no title, so the row is recognizable in the agent view - Changed bare\n`/btw`\n\nto reopen the side-question panel on your most recent exchange so you can browse earlier answers - Changed the\n`←`\n\nfooter hint to pulse`N done`\n\nfor a moment when a background agent finishes while nothing needs your input - Deprecated the Task tool’s\n`mode`\n\nparameter (now ignored); subagents inherit the parent session’s permission mode by default - Changed Enterprise\n`forceLoginMethod`\n\nto be enforced for VS Code extension, SDK,`setup-token`\n\n, and`install-github-app`\n\nlogins, not just the terminal - Changed session transcripts to record the reasoning effort level on each assistant message\n- Changed headless/SDK sessions to apply a\n`set_model`\n\ncontrol request mid-turn; the next model round-trip uses the new model instead of waiting for the next turn - Changed agent view /\n`claude agents --json`\n\n: sessions waiting on a sandbox, MCP-input, or managed-settings prompt now show as “Needs input” instead of “Working” - Updated the auth status panel title from “Cloud authentication” to “Authentication”\n- Corrected an earlier release note (2.1.200): tmux through the 3.6 series lacks synchronized output; newer tmux with support is detected automatically\n\nJuly 15, 2026\n\n- Added\n`--forward-subagent-text`\n\nflag and`CLAUDE_CODE_FORWARD_SUBAGENT_TEXT`\n\nenvironment variable to include subagent text and thinking in stream-json output - Fixed permission previews relayed to chat channels not neutralizing bidirectional-override, zero-width, and look-alike quote characters, so tool inputs cannot visually alter the approval message\n- Fixed auto mode overriding a PreToolUse hook’s\n`ask`\n\ndecision for unsandboxed Bash — a hook`ask`\n\nnow floors the decision at a prompt - Fixed parallel Claude Code sessions all logging out simultaneously after wake-from-sleep when many sessions share one credential store\n- Fixed plugin MCP servers not reconnecting after an idle web session woke, leaving MCP calls failing until the next message\n- Fixed Claude Code on Vertex and Bedrock attempting the default Opus model at startup and printing a spurious fallback notice when a model is explicitly configured\n- Fixed subagents spawned with an explicit model override reverting to the parent’s model when resumed or sent a follow-up message\n- Fixed nested\n`.claude/rules/*.md`\n\nfiles loading even when setting sources exclude project settings - Fixed file upload validation: filenames ending in a DOS device suffix (\n`.prn`\n\n) or trailing dot are now accepted, and files with multiple hard links are refused - Fixed file uploads to Claude in Chrome from remote and CLI sessions\n- Fixed edits that leave the input as ”?” being silently swallowed and toggling the shortcuts panel\n- Fixed a startup hang when the Claude in Chrome extension is enabled but Chrome is not running\n- Fixed a 300ms delay revealing async content (Settings tabs, Stats, diff views, and other loading states)\n- Fixed reopening a just-stopped background session from the agents view starting a blank conversation under the same session id\n- Fixed\n`/loop`\n\nhiding the session from`/resume`\n\nafter a single use - Fixed screen reader users losing the audible terminal bell after\n`/terminal-setup`\n\nor onboarding terminal setup - Fixed background jobs on LLM gateway auth (\n`ANTHROPIC_AUTH_TOKEN`\n\n+`ANTHROPIC_BASE_URL`\n\n) coming back “Not logged in” after the daemon respawns them - Fixed\n`claude agents`\n\njobs becoming permanently undeletable when git no longer recognizes their worktree — the row now shows why the delete was refused instead of silently reappearing - Fixed\n`/clear`\n\nnot resetting the session cost counter — the statusline’s cost now starts at $0 after`/clear`\n\n- Fixed Claude in Chrome setup pages failing to open in the browser on Windows\n- Fixed headless print-mode sessions on Windows crashing or silently exiting when stdin is unreadable\n- Fixed background session titles in the agents view showing the naming model’s refusal text when the prompt contains a link\n- Fixed background agents killed by the user auto-respawning, and revived agents re-running stale prompts from old sessions\n- Fixed routines with no schedule reporting a next run time in the year 1\n- Hardened synced skill/plugin directory naming on Windows and kept CCR web fetch/search proxies working after\n`/clear`\n\n- Improved terminal layout and rendering performance\n- Improved background agent result reporting — Claude now reports the status of still-running agents and waits for the real completion instead of fabricating results\n- Improved the memory index over-limit warning to measure only loaded content, excluding frontmatter and HTML comments\n- Updated integer environment variables (timeouts, token budgets, retry counts) to accept scientific notation and digit-separator spellings like\n`1e6`\n\nand`64_000`\n\n- Updated documentation links to the current docs sites\n- Changed “always allow” permission rules to save at the repository root, so approvals granted in a git worktree persist across sessions and worktrees\n- Changed\n`/usage-credits`\n\nto ask for confirmation before sending a request to organization admins - Changed Vim mode\n`s`\n\nand`S`\n\n(substitute char/line) to work in NORMAL mode, matching vim behavior - [VSCode] Updated the Remote Control banner to describe what it does\n- Claude in Chrome: hardened file-upload path validation\n- Claude in Chrome:\n`save_to_disk`\n\non screenshot actions now writes the image to disk and returns the path; previously it did nothing - Fixed a prompt-caching regression on Bedrock, Vertex, Mantle, and Foundry that billed the trailing system context block as fresh input tokens on every request.\n\nJuly 14, 2026\n\n- Added a live elapsed-time counter to the collapsed tool summary line so long-running tool calls visibly tick instead of looking stuck\n- Added a startup warning for\n`Write(path)`\n\n,`NotebookEdit(path)`\n\n, and`Glob(path)`\n\npermission rules — use`Edit(path)`\n\nor`Read(path)`\n\ninstead - Fixed\n`isolation: 'worktree'`\n\nsubagents being able to run git-mutating commands against the main repo checkout instead of their own isolated worktree - Fixed the\n`ultracode`\n\nkeyword opt-in firing on non-human-originated input such as webhook payloads and relayed PR comments - Fixed a rendered text fragment leaking into crash telemetry when a UI component returned content outside a styled text element\n- Fixed paste markers leaking into external editors opened from Claude Code, which could appear as stray È/É characters around pasted text\n- Fixed\n`claude attach`\n\nsometimes failing with “job not found” or “agent is still starting” errors during session transitions — attach now waits for the daemon to settle, and terminal resizes during a slow attach are applied once it completes - Fixed a session crash when a tool’s result renderer returned a numeric bigint value or plain text instead of a UI element\n- Fixed a hook callback timeout being misreported to the model as a user rejection, which made unattended sessions stop and wait\n- Fixed Claude assuming a\n`cd`\n\ntook effect after its command was moved to the background; the tool result now states the working directory is unchanged - Fixed plugin-provided MCP servers being torn down when MCP servers are re-synced mid-session\n- Fixed plan approvals without edits being labeled “(edited by user)” and overwriting the plan file with a stale snapshot\n- Fixed\n`/doctor`\n\nskipping its auto-mode-default proposal on Bedrock, Vertex, and Foundry, where auto mode no longer needs an opt-in - Fixed Grep content mode claiming “No matches found” when paginating past the end of results\n- Fixed unmatched\n`$1`\n\n/`$2`\n\npositional placeholders in skills and commands being silently stripped; they are now preserved verbatim - Fixed plugin cache writes leaving temp files behind on failure and failing on locked-file renames on Windows and network filesystems\n- Fixed background workers crash-looping when a client resets its connection to the background service\n- Fixed\n`claude agents --effort ultracode`\n\nnot reaching dispatched sessions; the value was silently dropped - Fixed pressing ← to open the agents view dropping the task tracker when returning to the session\n- Fixed the agents dashboard retaining pasted images from abandoned reply drafts after their session was deleted\n- Fixed killed background sessions leaving a permanent\n`git worktree lock`\n\nbehind; the periodic sweep now releases locks whose owning process is gone - Fixed SDK MCP servers registered via an\n`initialize`\n\ncontrol request waiting until the next turn to start connecting - Fixed returning to the agents view from a session leaving overlapping ghost frames with\n`CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1`\n\n- Fixed late-appearing\n`.claude/*`\n\nsymlinks not being reconciled into the sandbox deny-write list - Hardened the Agent tool against indirect prompt injection via content a subagent read\n- Improved the Bash/PowerShell tool message when a command hits its timeout and is auto-backgrounded, so the model can distinguish a hang from an explicit background request\n- Improved auto mode: the permission classifier now defaults to Sonnet 5 for external sessions, validated on the session’s first request and pinned for the session\n- Improved the bundled dataviz skill’s chart color validation with perceptual OKLab color difference and recalibrated color-blindness thresholds\n- Memory writes that leave a MEMORY.md index over its read limit now produce an explicit error instead of silent truncation\n- Screen reader mode now announces permission mode changes aloud when cycling modes with Shift+Tab\n- The agents footer hint now shows how many background agents are waiting on your input, with a brief color emphasis when the count changes\n- Agent view: the session you pressed ← from stays visibly marked even after mouse hover or arrow keys move the selection\n- Fable temporarily shows as unavailable in the advisor picker while a server-side issue causing Fable advisor failures is fixed\n\nJuly 14, 2026\n\n- Fixed /model and other dialogs being blocked in\n`claude agents`\n\nbackground sessions (reverts an overly broad guard)\n\nJuly 14, 2026\n\n- Added screen reader mode: opt-in plain-text rendering for screen reader users. Run\n`claude --ax-screen-reader`\n\n, set CLAUDE_AX_SCREEN_READER=1, or add “axScreenReader”: true to settings. - Added\n`vimInsertModeRemaps`\n\nsetting: map two-key insert-mode sequences like`jj`\n\nto Escape in vim mode - Added\n`CLAUDE_CODE_PROCESS_WRAPPER`\n\n: agent view and the background service now honor a corporate launcher by running every Claude Code self-spawn through a required wrapper executable - Added mouse-click support for multi-select menus and “Other” input rows in fullscreen mode\n- Changed the Fable 5 usage-credits consent prompt to start with the decline option focused\n- Fixed fast mode staying off after switching back to a model that supports it — it now restores automatically when enabled in settings\n- Fixed replies typed to a background agent being lost when delivery fails — the text is now saved and delivered when the session restarts\n- Fixed background-session attach failing permanently (“Couldn’t start the background daemon”) after an update replaced the binary a running\n`claude agents`\n\nprocess was launched from - Fixed the context window (and auto-compact indicator) briefly resetting to 200k after the CLI auto-updates, causing a false “100% context used” when resuming long-context sessions\n- Fixed supervised and background sessions crashing when a server closed an HTTP/2 connection with a GOAWAY while requests were in flight\n- Fixed truncated stream-json/JSON output and missing result message when piping large responses from\n`claude -p`\n\n- Fixed\n`CLAUDE_CODE_MAX_OUTPUT_TOKENS`\n\nand similar env vars silently using the mantissa of scientific-notation values (`1e6`\n\nbecame`1`\n\n) - Fixed very large markdown tables stalling rendering or using excessive memory; tables over 200 rows show the first 200 with a ”… N more rows” notice\n- Fixed the Edit tool failing on files modified after reading when the target text still matches uniquely\n- Fixed Read reporting empty files as “shorter than offset”, Grep silently returning “No files found” for invalid regex patterns, Grep count mode under-reporting totals when paginated, and Glob crashing with an unclear error when the pattern, path, or working directory contained a null byte\n- Fixed\n`apiKeyHelper`\n\nscript failures being hidden behind a generic 401 after ~10 silent retries; the script’s own error is now shown within 3 attempts - Fixed Bedrock streaming requests failing with a misleading “Truncated event message received” when a gateway transforms the response — the error now names the content-type and points at the proxy\n- Fixed\n`/upgrade`\n\nshowing a login flow instead of the upgrade URL when the browser fails to open - Fixed stream-json input killing the session on blank CRLF or whitespace-only lines from Windows-style SDK hosts\n- Fixed headless stream-json sessions hanging permanently when a\n`control_request`\n\ncarried a non-string`set_model`\n\npayload; the CLI now answers with an error response - Fixed repeated “No completion record was found” notices on session resume — orphaned background tasks now collapse into a single summary\n- Fixed Remote Control clients attaching to a terminal-hosted session not seeing background agents and workflow progress until a task started or stopped\n- Fixed the Agent tool launching with no tools when a subagent’s\n`tools`\n\nlist resolves to nothing — it now returns a clear error naming the unrecognized entries - Fixed\n`/usage`\n\nshowing stale cached bars over fresher data, and`/mcp`\n\nnot reclassifying placeholder servers after config edits - Fixed “Change directory” in SDK hosts (e.g. Claude Desktop) failing with “A turn is in progress” on idle sessions that have a running background task\n- Fixed the workflow save dialog showing\n`~/.claude/workflows/`\n\ninstead of the`CLAUDE_CONFIG_DIR`\n\nlocation for user-scope saves - Fixed\n`/release-notes`\n\nadding the viewed notes to the model’s context — “Show all” previously injected the entire changelog into every subsequent request - Fixed a memory leak in the agent view where pasted images were retained for the screen’s lifetime after sending peek replies\n- Fixed SDK sessions losing agents defined via the initialize request when a plugin refresh ran before the client attached\n- Fixed several memory leaks in long sessions: MCP stdio server stderr accumulating up to 64 MB per server, LSP documents staying open indefinitely (now LRU with 50-doc cap), async hook output retained after backgrounding, and unbounded growth in headless/SDK sessions from large tool-result payloads\n- Fixed a memory blowup when reading files with extremely long single lines using offset/limit — the read now returns a clean error instead of loading the whole line\n- Fixed multi-second per-turn slowdowns in sessions with many permission deny/ask rules — rule matchers are now compiled once and cached\n- Improved input responsiveness while agent task lists update — task updates no longer re-render the entire UI\n- Reduced per-tool-call CPU overhead in print/SDK sessions with many MCP tools by caching tool-pool assembly (up to 7x faster tool rounds at high tool counts)\n- Reduced memory usage by bounding the file edit read cache to 16 MB instead of pinning up to 1,000 full files\n- Reduced session transcript size (up to 79x in edit-heavy sessions) and bounded checkpoint disk usage by pruning superseded file-history backups\n- Reduced memory usage when resuming sessions with background agents or forks spawned from large conversations\n- Completed background agents now stay listed in\n`/tasks`\n\nuntil cleanup instead of vanishing the moment they finish - Attaching to a stopped background agent now shows its transcript immediately while the session warms up, instead of a blank “Session is starting” screen\n- Background sessions: an older daemon no longer silently restarts workers spawned by a newer version onto the older binary\n- Agent view: Ctrl+X now deletes renamed-branch worktrees, never destroys unpushed commits, keeps the session row when a worktree is kept, and reused worktree names reset to the current base\n- Catastrophic removals (e.g.\n`rm -rf ~`\n\n) in commands containing`$(…)`\n\n/backticks/`<(…)`\n\nnow prompt in`--dangerously-skip-permissions`\n\nand auto mode, matching the plain form `/install-github-app`\n\nand the`/mcp`\n\nsettings menu no longer open in background sessions- MCP servers configured with an empty URL now show as “not configured” in\n`/mcp`\n\ninstead of a config error `/usage`\n\nnow shows your last-known usage bars with an “as of” note when the usage endpoint is rate-limited, instead of an error screen- Fixed Bedrock auth failing with “Session token not found or invalid” for AWS SSO profiles whose sso_region differs from the Bedrock region (2.1.207 regression)\n\nJuly 11, 2026\n\n- Auto mode is now available without\n`CLAUDE_CODE_ENABLE_AUTO_MODE`\n\nopt-in on Bedrock, Vertex AI, and Foundry; disable via`disableAutoMode`\n\nin settings - Fixed the terminal freezing and keystrokes lagging while streaming responses containing very long lists, tables, paragraphs, or code blocks\n- Fixed remote managed settings from a non-interactive run (\n`claude -p`\n\n, the SDK) being permanently recorded as consented without ever showing the security consent dialog - Fixed spurious prompt-injection warnings triggered by benign system-generated conversation updates\n- Fixed the auto-updater overwriting a custom launcher script or symlink at\n`~/.local/bin/claude`\n\non every release;`/doctor`\n\nnow reports an externally managed launcher - Fixed compound commands with\n`cd`\n\nprompting for permission when the only output redirect was to`/dev/null`\n\n- Fixed the transcript jumping above the start of the answer when a response finishes streaming\n- Fixed\n`extensions.worktreeConfig`\n\nbeing left in the repo’s`.git/config`\n\n(breaking go-git tools like`tea`\n\n) after the last`worktree.sparsePaths`\n\nworktree was removed - Fixed malformed bracket patterns in rules globs, skill paths,\n`.ignore`\n\n, and`.worktreeinclude`\n\nbreaking file reads, file suggestions, and worktree creation - Fixed a crash loop in agent teams where a malformed teammate mailbox message caused repeated errors every second until the mailbox file was manually deleted\n- Fixed background sessions auto-named by accepting a plan not showing that name on their agent-view row\n- Fixed background sessions that entered a git worktree resuming blank after a cold reopen from the agent list\n- Fixed Remote Control task status updates being lost when the connection recovered from a network interruption or credential refresh\n- Fixed Remote Control sessions hosted by the desktop app not showing background agent and workflow progress on mobile and web\n- Fixed Deep research runs labeling every Fetch-phase agent “unknown” — chips now show the source hostname\n- Fixed Bedrock repeatedly requesting fresh AWS SSO credentials from IAM Identity Center on every API request\n- Improved agent view: pasting the same text again now expands the collapsed\n`[Pasted text #N]`\n\nplaceholder instead of adding a second one - Improved agent view: blocked session peeks now lead with the question and show a worded staleness clock (\n`waiting 3m`\n\n) instead of the same timestamp twice - Changed Bedrock, Vertex, and Claude Platform on AWS to default to Claude Opus 4.8\n- Changed auto mode to no longer read\n`autoMode`\n\nfrom`.claude/settings.local.json`\n\n(repo-resident); use`~/.claude/settings.json`\n\ninstead - Fixed an indefinite hang on Windows when AWS credential resolution stalls (e.g. a stuck\n`credential_process`\n\n): the 60-second stall guard now fires instead of waiting forever. - Plugin hooks/monitors/MCP headersHelper:\n`${user_config.*}`\n\nin shell-form commands is now rejected (shell-injection fix). Hooks: use exec form (`args`\n\narray) or`$CLAUDE_PLUGIN_OPTION_<KEY>`\n\n; monitors and headersHelper: read the value inside the script (config file or the server’s`env`\n\nblock). - Plugin option values (\n`pluginConfigs`\n\n) are no longer read from project-level`.claude/settings.json`\n\n; only user,`--settings`\n\n, and managed settings are honored - Fixed\n`/usage-credits`\n\namount inputs silently stripping malformed values (e.g. a pasted timestamp) to digits; malformed amounts are now rejected with an error, and amounts over $1,000 require a typed confirmation\n\nJuly 9, 2026\n\n- Added directory path suggestions to\n`/cd`\n\n, matching`/add-dir`\n\nbehavior - Added a\n`/doctor`\n\ncheck that proposes trimming checked-in`CLAUDE.md`\n\nfiles by cutting content Claude could derive from the codebase `/commit-push-pr`\n\nnow auto-allows`git push`\n\nto the repo’s configured push remote (`remote.pushDefault`\n\n, or the sole remote when only one is configured) in addition to`origin`\n\n- Gateway:\n`/login`\n\nnow supports Anthropic-operated public gateway endpoints `EnterWorktree`\n\nnow asks for confirmation before entering a git worktree outside the project’s`.claude/worktrees/`\n\ndirectory- Background agents now upgrade to a new version in the background right after a Claude Code update, instead of paying a slow stale-session upgrade when you attach\n- Fixed an expired login failing every model with a misleading “There’s an issue with the selected model” error instead of prompting to run\n`/login`\n\n- Fixed\n`claude --resume`\n\nand`--continue`\n\nnot responding to keyboard input on startup - Fixed MCP servers configured via\n`--mcp-config`\n\nor`.mcp.json`\n\nignoring a per-server`request_timeout_ms`\n\n, which caused long-running MCP tool calls to time out at the 60s default in fresh sessions - Fixed\n`CLAUDE_CODE_EXTRA_BODY`\n\nbeing silently ignored by`claude agents`\n\n/`--bg`\n\nbackground workers; the shell-exported override now follows the dispatching session - Fixed OAuth MCP servers requiring manual re-authentication after a single failed token refresh\n- Fixed\n`--permission-prompt-tool`\n\npointing at an MCP server crashing with “MCP tool not found” on cold start before the server finishes connecting - Fixed\n`/model`\n\npicker rows printing a price for a different model than the row named, and stopped quoting first-party list prices on providers that don’t bill them - Fixed server-provided model rows being misplaced in the\n`/model`\n\npicker when an entitlement or allowlist restriction drops the row they were positioned against - Fixed desktop sessions getting stuck showing “running” after a slash command was sent mid-turn\n- Fixed keyboard input being ignored in the agents view when a setup prompt appeared before a bare\n`claude --resume`\n\non Windows - Fixed\n`claude rm`\n\nleaving the removed job in the daemon roster, causing the row to reappear in`claude agents`\n\n- Fixed\n`/remote-control`\n\nshowing “Unknown command” when logged out — it now explains how to sign in - Fixed left arrow not stepping back out of a phase or agent in the workflow detail view\n- Fixed\n`/status`\n\nlisting the same broken-install warning twice - Fixed false “disused plugin” tips and skewed disuse telemetry for LSP plugins\n- Fixed\n`/doctor`\n\n’s update check to compare Homebrew installs against their cask’s channel instead of the settings channel - Fixed the fullscreen jump-to-bottom pill suggesting Ctrl+End on macOS, not showing rebound chords, and wrapping over the transcript\n- Bedrock: fixed a multi-minute startup hang when using an\n`awsCredentialExport`\n\nhelper on networks with restricted egress - Improved\n`/code-review`\n\nfindings quality on claude-opus-4-8 across all effort levels - Improved agents view: status column now uses full terminal width instead of truncating at 64 characters\n- Changed agents view: Ctrl+X now permanently removes a completed session, and sessions no longer render twice; deleted background jobs stay deleted\n\nJuly 8, 2026\n\n- Added an auto mode rule that blocks tampering with session transcript files\n- Fixed\n`--json-schema`\n\nsilently producing unstructured output when the schema was invalid, and schemas using the`format`\n\nkeyword being rejected - Fixed a message sent while Claude was working being silently lost when the turn ended at the\n`--max-turns`\n\nlimit - Fixed Windows worktree removal deleting files outside the worktree when an NTFS junction or directory symlink existed inside it\n- Fixed background agents staying shown as “failed” or “completed” in the agent list after being resumed with\n`SendMessage`\n\n- Fixed background jobs flipping from “needs input” back to “working” in the agent list when the agent’s turn contained no readable text\n- Fixed\n`claude attach`\n\nerroring when a background agent was mid-upgrade restart instead of waiting for it to come back - Fixed session-to-PR linking missing a PR created in a Bash call whose output exceeded the 30K inline limit\n- Fixed\n`claude mcp add-from-claude-desktop`\n\ngetting stuck when a server name contains unsupported characters; invalid names are now reported and remaining servers still import - Fixed a plugin LSP server that fails to initialize preventing a valid LSP server from another plugin handling the same file extension\n- Fixed a Windows crash when the directory Claude was launched from is deleted, locked, or unmounted while a command is running\n- Fixed a crash when a file watcher was closed while a directory scan was still in flight\n- Fixed project verify skills being rewritten on every session instead of only when a documented command changed\n- Fixed the agent view rendering one line too high and clipping its header when the job list slightly overflowed the screen\n- Fixed background tasks in the web and mobile Remote Control panels showing stale “Running” status by forwarding full task state on every membership change\n- Improved auto mode to ask before running\n`rm -rf`\n\non a variable it can’t resolve from context - Auto-update binary downloads now stream to disk instead of buffering in memory, cutting the updater’s peak memory usage by roughly 400 MB\n- Background task notifications now explicitly state that no human input has occurred, preventing fabricated in-transcript approvals from being acted on\n- Improved agent view: sessions that edit, merge, comment on, or push to an existing PR now link it in\n`claude agents`\n\n- Improved agent view: rows now show a colored state word and a classifier-written headline instead of raw tool call text, and the peek opens with full status including the exact ask for blocked sessions\n`/doctor`\n\nis now a full setup checkup that can diagnose and fix issues;`/checkup`\n\nis its alias- Reserved the “Claude Browser” MCP server name (alongside “Claude Preview”) ahead of the Claude Desktop pane rename; user-configured MCP servers can no longer register under either name\n- Fixed Cowork VM-mode local-agent sessions failing to start with “Not logged in · Please run /login” on CLI 2.1.203+\n\nJuly 8, 2026\n\n- Fixed hook events not streaming during SessionStart hooks in headless sessions, which could cause remote workers to be idle-reaped mid-hook\n\nJuly 7, 2026\n\n- Added a warning when your login is about to expire, so you can re-authenticate before background sessions are interrupted\n- Added a grey ⏸ badge to the footer when in manual permission mode, making the active mode always visible\n- Added the session’s additional working directories to MCP\n`roots/list`\n\n, with`notifications/roots/list_changed`\n\nsent when the set changes - Fixed opening or switching background agent sessions on macOS stalling for 15–20 seconds due to a false low-memory detection (regression in 2.1.196)\n- Fixed background sessions becoming permanently unresponsive to attach, replies, and stop when the daemon’s session token went stale — the session now recovers automatically\n- Fixed returning to\n`claude agents`\n\nsilently stopping running subagents and re-running the prompt from scratch — their work now carries over - Fixed a memory and per-turn CPU regression in interactive sessions: the context-usage indicator no longer re-analyzes the entire transcript after every turn\n- Fixed background agents inheriting a stale\n`PATH`\n\nfrom the daemon instead of the dispatching shell, causing missing tools on Windows - Fixed background and agent-view sessions dropping a shell-exported\n`ANTHROPIC_BASE_URL`\n\n, which sent API keys to the default endpoint and failed with 401 - Fixed Bash failing with “argument list too long” in repos with many git worktrees\n- Fixed worktree-isolated subagents sometimes running shell commands in the parent checkout instead of their own worktree\n- Fixed worktree creation rejecting nested repositories in multi-repo workspaces, leaving background sessions unable to isolate and edit\n- Fixed background agents crash-looping when their working directory was deleted, replaced by a file, or became an invalid path — they now fail once with a clear error\n- Fixed a background daemon auto-upgrade failure silently killing all running background sessions\n- Fixed\n`TaskStop`\n\nand`TaskOutput`\n\nfailing to find background agents spawned by another agent — errors now list running agents by id and description - Fixed the\n`claude agents`\n\ncomposer discarding your typed message when a slash command isn’t available there - Fixed the agent list crashing when opening a stopped session whose conversation was already open in another session\n- Fixed background sessions showing “Needs input” in the agent list after the question was already answered\n- Fixed background agent startup failures showing only “exit_with_message” instead of the actual error\n- Fixed background sessions ignoring\n`effortLevel`\n\nchanges in settings.json when forked through the daemon - Fixed attached background sessions ignoring\n`CLAUDE_CODE_DISABLE_MOUSE`\n\nand`CLAUDE_CODE_DISABLE_MOUSE_CLICKS`\n\nopt-outs - Fixed\n`/exit`\n\nincorrectly warning about running background agents after all named agents had completed - Fixed background sessions started from a non-git directory unable to edit files when a\n`WorktreeCreate`\n\nhook was configured - Fixed the\n`@`\n\ndirectory picker in`claude agents`\n\nnot showing registered git worktrees - Fixed background task output on Windows being permanently replaced by an empty file after\n`/clear`\n\n- Fixed content jumping when scrolling up through long transcript history\n- Fixed the terminal flickering and jumping while typing in bash mode when a shell-history suggestion was shown\n- Fixed literal\n`^[[I`\n\n/`^[[O`\n\nescape codes being printed when reattaching to a background session - Fixed LSP-only plugins being incorrectly flagged for disuse when their language servers deliver diagnostics or answer navigation requests\n- Improved responsiveness while long responses stream: live-preview updates no longer re-render the whole screen\n- Improved subagent behavior: agents are now less likely to re-delegate their entire task to another subagent\n- Reduced binary size by ~7 MB and startup memory by ~7 MB by loading a large bundled dependency lazily instead of inlining it\n- Changed left arrow to no longer close the background tasks, diff, and workflow detail views — press Esc instead\n- Changed the empty\n`claude agents`\n\nview to always show the organized sections (Needs input / Working / Completed) with descriptions - Removed the startup “claude command missing or broken” warnings — they now appear in\n`/doctor`\n\nand`/status`\n\ninstead - Removed a redundant navigation hint from the\n`claude agents`\n\nfooter - [VSCode] Added a Settings toggle for “Enable Remote Control for all sessions”\n\nJuly 6, 2026\n\n- Added a “Dynamic workflow size” setting in\n`/config`\n\nfor controlling how large Claude generally makes dynamic workflows (small/medium/large agent counts) — an advisory guideline, not an enforced cap - Added\n`workflow.run_id`\n\nand`workflow.name`\n\nOpenTelemetry attributes to telemetry emitted by workflow-spawned agents, so a workflow run’s activity can be reconstructed from OTel data - Fixed a crash in the inline Ctrl+R history search when accepting or cancelling while the search was still scanning the history file\n- Fixed\n`/rename`\n\non background sessions being reverted when the job restarts, which broke addressing the session by its new name - Fixed transient mTLS handshake failures when settings were re-applied during an in-place client certificate rotation\n- Fixed commands sent from Remote Control (mobile/web) into an interactive session failing with “Unknown command”\n- Fixed images and files sent from the Remote Control mobile or web app without a caption being silently dropped\n- Fixed the sign-in URL printed by\n`claude auth login`\n\nand`claude mcp login --no-browser`\n\nnot being reliably clickable when it wraps over SSH — it is now emitted as a single hyperlink - Fixed opening a chat from\n`claude agents`\n\nsometimes failing with “currently running as a background agent” followed by a worker crash/respawn loop - Fixed workflow scripts with unicode quote escapes in strings being corrupted before parsing; workflow parse errors now show the offending line instead of always blaming TypeScript\n- Fixed voice dictation retrying in an unbounded loop when the microphone or audio recorder fails — repeated capture failures now pause voice input\n- Fixed\n`/remote-control`\n\nsessions showing the wrong permission mode in the mobile and web apps - Fixed resuming a session by name, or opening the resume picker, taking minutes and using a large amount of memory in repositories with many git worktrees\n- Fixed installer and updater downloads failing immediately with “aborted” when a proxy or network drops the connection mid-download — transient connection drops now retry\n- Fixed re-invoking an already-loaded skill appending a duplicate copy of its instructions to context\n- Improved\n`/workflows`\n\nagent list layout: wider titles, a dedicated time column, shorter model names, and no per-row tool-call counts - Improved MCP error messages: clearer error when a server config has\n`url`\n\nbut no`type`\n\n, suggesting`\"type\": \"http\"`\n\ninstead of the misleading “command: expected string” - Changed\n`/review <pr>`\n\nback to a fast single-pass review; use`/code-review <level> <pr#>`\n\nfor the multi-agent review at a chosen effort level\n\nJuly 3, 2026\n\n- Claude Sonnet 5 sessions no longer use the mid-conversation system role for harness reminders\n\nJuly 3, 2026\n\n- Changed\n`AskUserQuestion`\n\ndialogs to no longer auto-continue by default; opt into an idle timeout via`/config`\n\n- Changed the “default” permission mode to “Manual” across the CLI,\n`--help`\n\n, VS Code, and JetBrains;`--permission-mode manual`\n\nand`\"defaultMode\": \"manual\"`\n\nare accepted alongside`default`\n\n- Fixed a crash at startup when\n`disabledMcpServers`\n\nor`enabledMcpServers`\n\nin`.claude.json`\n\nis set to a non-array value - Fixed background sessions silently stopping mid-turn after sleep/wake or when reopening a stalled session\n- Fixed background sessions re-running a turn cancelled with Esc after a stall respawn\n- Fixed background agents never starting again after a crash left a stale\n`daemon.lock`\n\nwhose PID the OS reused - Fixed background-agent daemon handover so a reinstalled older build can no longer take over the daemon; build recency is now judged by the version’s embedded build timestamp\n- Fixed background-agent roster issues: transient corruption permanently disabling orphan cleanup, older binaries not preserving fields written by newer versions, and socket auth tokens being stripped during daemon restarts\n- Fixed subagents cut off by a rate limit before producing any text output returning an empty result instead of failing cleanly\n- Fixed control bytes from background-agent output reaching the terminal in the agent view\n- Fixed\n`claude agents --plugin-dir <dir>`\n\nnot showing the plugin’s agents and skills in the agent view when the flag is placed after`agents`\n\n- Fixed project-scoped plugins not loading correctly from git worktrees of the same repository\n- Fixed\n`/mcp`\n\nserver list not tracking focus for screen readers and magnifiers - Fixed voice dictation showing a misleading “Voice connection failed” message when a recording captures no audio\n- Fixed rendering flicker under tmux 3.4+ by enabling synchronized terminal output\n- Improved screen-reader output: decorative glyphs are now hidden, transcript symbols read as short labels, and nested tables read as\n`Header: value.`\n\nlines - Improved the install script to explain when installation is killed by the system running out of memory\n\nJuly 2, 2026\n\n- Stacked slash-skill invocations like\n`/skill-a /skill-b do XYZ`\n\nnow load all leading skills (up to 5), not just the first - Fixed SSL certificate errors (TLS-inspecting proxies, missing\n`NODE_EXTRA_CA_CERTS`\n\n, expired certs) burning retries before showing actionable guidance — they now fail immediately with the fix hint - Fixed streaming responses being discarded when the API emits a mid-stream overloaded/server error after partial output — the partial is now kept with an incomplete-response notice\n- Fixed subagents cut off by a rate limit or server error silently failing instead of returning their partial work to the parent\n- Fixed subagents reporting API errors (e.g. usage limit reached) as successful results — the error is now reported to the parent agent\n- Fixed the background-agent daemon on Linux killing itself and every running agent every ~50 seconds after an unclean shutdown left a corrupted worker record\n- Fixed background agents failing to cold-start over SSH on macOS with “Could not switch to audit session” (regression in 2.1.196)\n- Fixed\n`claude stop`\n\nbeing silently undone when it raced a background-agent respawn — the respawn now honors the stop - Fixed background job progress indicators stalling for minutes while the job ran long commands\n- Fixed background sessions on memory-starved machines showing a generic error — they now indicate low memory and suggest freeing resources\n- Fixed remote sessions briefly flapping between Working and Idle in the agent view when a background agent completes\n- Fixed idle subagents vanishing from the agent panel while other subagents were still working; surplus idle agents now collapse into an expandable summary row\n- Fixed typing\n`/model`\n\nor`/fast`\n\nwhile viewing a subagent silently opening the lead’s model picker — a notice now explains the command applies to the lead - Fixed\n`SessionStart`\n\n,`Setup`\n\n, and`SubagentStart`\n\nhooks silently hiding stderr when exiting with code 2 — the error is now shown in the transcript - Fixed\n`claude --dangerously-skip-permissions daemon <subcommand>`\n\nbeing treated as a chat prompt instead of running the subcommand - Fixed\n`SendMessage`\n\nsilently misrouting when a re-spawned agent reuses a previous agent’s name — the tool now detects the mismatch and asks the caller to retarget - Fixed opening or resuming a session with no new messages needlessly growing the transcript file\n- Fixed backgrounding a session with\n`←`\n\nor`/background`\n\ndropping its`/color`\n\nfrom the agent view row - Fixed resetting a corrupted config file from the startup recovery dialog destroying it unrecoverably — it now backs up the file first\n- Fixed Claude in Chrome repeatedly opening the reconnect page when sessions run from different builds or config directories\n- Fixed plan mode not prompting for state-changing browser tool calls; read-only\n`browser_batch`\n\ncalls are now correctly auto-allowed - Transient server rate-limit errors (429s unrelated to your usage limit) are now retried automatically with backoff for subscribers instead of failing the turn\n`CLAUDE_CODE_RETRY_WATCHDOG`\n\nnow raises the default retry count for non-capacity transient errors to 300 and lifts the cap of 15 on`CLAUDE_CODE_MAX_RETRIES`\n\n`claude agents`\n\nsession rows now show pull-request links as bare`#N`\n\nwithout the redundant “PR” label\n\nJuly 1, 2026\n\n- Subagents now run in the background by default, so Claude keeps working while they run and is notified when they finish (previously a gradual rollout)\n- Claude in Chrome is now generally available\n- Added background agent notifications in\n`claude agents`\n\n— sessions that need input or finish now fire the`Notification`\n\nhook (`agent_needs_input`\n\n/`agent_completed`\n\n) - Added\n`/dataviz`\n\nskill for chart and dashboard design guidance with a runnable color-palette validator - Gateway: added Claude Platform on AWS (anthropicAws) as an upstream provider; model-not-found responses now advance the failover chain\n- Background agents launched from\n`claude agents`\n\nnow commit, push, and open a draft PR when they finish code work in a worktree, instead of stopping to ask - The built-in Explore agent now inherits the main session’s model (capped at opus) instead of running on haiku\n- Subagents and context compaction now inherit the session’s extended thinking configuration, improving output quality on delegated tasks\n- Fixed brief network drops mid-response aborting the turn — transient errors like ECONNRESET now retry with backoff instead of failing\n- Fixed excessive background classifier requests when sandboxed processes repeatedly accessed the same network host\n- Fixed background tasks in web, desktop, and VS Code task panels getting stuck on “Running” after they finish or after resuming a session\n- Fixed agent teams: a teammate that dies on an API error now reports “failed” to the lead, and messaging a stuck teammate wakes it to retry immediately\n- Fixed the\n`/diff`\n\npanel not refreshing when you switch branches or commit outside the session - Fixed markdown tables overflowing and wrapping their right border when rendered in fullscreen mode\n- Fixed Claude Platform on AWS and Mantle sessions dead-ending with “Please run /login” when the STS token expires —\n`awsAuthRefresh`\n\nnow runs automatically - Fixed “no route to host” for local-network hosts in macOS background agent sessions by declaring Local Network entitlements\n- Fixed\n`/desktop`\n\nfailing with “Cannot determine working directory” after entering and exiting a worktree - Fixed background agents repeatedly showing “Reconnecting…” every ~52 seconds on macOS while the agents view was open\n- Fixed pressing\n`←`\n\ninside`claude attach <id>`\n\nexiting to the shell instead of opening the agent view - Fixed\n`claude --bg`\n\nsilently creating an unattachable session when combined with`--print`\n\n/`-p`\n\n; the conflicting flags are now rejected up front - Fixed the workflow progress view dropping the earliest agents from the list while the phase counter stayed correct in SDK and desktop-app sessions\n- Fixed\n`.claude/rules/`\n\nconditional rules not loading when the target file is reached via a symlinked path - Fixed Cmd+click not opening URLs in fullscreen mode in Warp on macOS\n- Fixed double-click word selection in fullscreen mode to select the entire URL including the scheme\n- Fixed plan mode not auto-allowing read-only tool calls when a session starts in plan mode\n- Fixed\n`/branch`\n\nderiving its default fork name from the compaction summary instead of the first real prompt - Improved focus mode: subagents launched in a turn now appear in its activity summary, and completed background notifications fold into a single count\n- Improved syntax highlighting accuracy in code blocks, diffs, and file previews by upgrading to highlight.js 11\n- Keyboard shortcut hints now show opt/cmd instead of alt/super when connected from a Mac over SSH\n- Improved API retry UX: the error reason is now shown after the second attempt, and a status page link replaces the spinner tip when the API is overloaded\n`/login`\n\nnow opens the sign-in dialog from the`claude agents`\n\nview instead of saying it isn’t available- Subagents now treat messages from the agent that launched them as normal task direction; an agent’s message is still never treated as the user’s approval\n- Removed the\n`/agents`\n\nwizard; ask Claude to create or manage subagents, or edit`.claude/agents/`\n\ndirectly\n\nJune 30, 2026\n\n- Introducing Claude Sonnet 5: now the default model in Claude Code, with a native 1M-token context window and promotional pricing of 10 per Mtok through August 31. Update to version 2.1.197 for access.\n[https://www.anthropic.com/news/claude-sonnet-5](https://www.anthropic.com/news/claude-sonnet-5)\n\nJune 29, 2026\n\n- Added support for organization default models — admins set it in the org console; it shows as “Org default” (or “Role default”) in\n`/model`\n\nwhen you haven’t picked one yourself - Added readable default names for sessions at start, making them easier to identify and message\n- Added clickable file attachments in chat — Cmd/Ctrl-click reveals the file in Finder/Explorer\n- Security:\n`claude mcp list`\n\n/`get`\n\nno longer spawn`.mcp.json`\n\nservers that a repo self-approved via a committed`.claude/settings.json`\n\n; untrusted workspaces show`⏸ Pending approval`\n\n- Fixed waking a background job permanently deleting its conversation and re-running the original prompt when the transcript probe misread a real transcript; the file is now set aside, never deleted\n- Fixed the rate-limit warning flickering off and rate-limit telemetry being over-counted when multiple parallel requests were in flight at the moment a usage limit was hit\n- Fixed duplicate recap lines after a background session’s turn: a schema-rejected StructuredOutput attempt no longer renders alongside its retry\n- Fixed PowerShell\n`git diff`\n\n/`git grep`\n\n,`egrep`\n\n/`fgrep`\n\n, and quoted search patterns containing`|`\n\nbeing reported as failures when they exit 1, matching Bash behavior - Fixed multiple\n`claude agents`\n\nside panel issues: keyboard focus getting stuck when opening an agent, background jobs losing their subagent types on every open, and sessions showing incorrect status while actively running - Fixed\n`claude agents --dangerously-skip-permissions`\n\nsilently falling back to auto mode instead of showing the bypass disclaimer and applying bypass mode to spawned agents - Fixed mid-turn crash recovery for Remote sessions — sessions interrupted by a server restart now auto-resume on the next worker\n- Fixed sessions moved with\n`/cd`\n\nreappearing in the old directory’s resume list after a non-graceful exit when the old path contained special characters - Fixed\n`claude plugin validate`\n\nskipping local plugins whose source is ”.” and stopping after the first error class - Fixed Esc Esc at an idle prompt not opening the rewind menu (regression); use Ctrl+C or Ctrl+X Ctrl+K to stop background agents\n- Fixed MCP OAuth requesting the authorization server’s full\n`scopes_supported`\n\ncatalog when no scope is specified, causing`invalid_scope`\n\nfailures on GitLab self-hosted and other enterprise IdPs - Fixed\n`/context`\n\nshowing 0 tokens for all tool groups on Bedrock - Fixed\n`/deep-research`\n\nmisreporting verifier failures as “all claims refuted” instead of`unverified`\n\n- Fixed plugin dependency version pins not being honored when the marketplace was added as a local folder path backed by a git repo\n- Fixed\n`claude agents`\n\nsession status: completed rows no longer flip between “Done” and “Needs your input”, stalled agents are now labeled “Needs attention”, and results that mention a PR show a clickable link - Fixed voice dictation swallowing spaces and spuriously starting a recording during very fast typing when voice mode is enabled\n- Improved background session reliability: long-running commands and workflows now survive the session’s process being stopped, restarted, or updated — including on Windows, where background shells are handed off instead of being killed\n- Improved background agents: workers killed by a daemon restart are now automatically resumed from where they left off the next time the agents view opens\n- Improved\n`/code-review`\n\nworkflow: merged five cleanup finders into one, cutting token usage by roughly 25% - Reduced per-frame rendering work in the terminal UI by skipping no-op subtree walks during streaming\n- The streaming idle watchdog is now on by default for all providers — it aborts and retries when a response stream produces no events for 5 minutes. Set\n`CLAUDE_ENABLE_STREAM_WATCHDOG=0`\n\nto disable. - Remote Control is now disabled when\n`ANTHROPIC_BASE_URL`\n\npoints at a non-Anthropic host, matching the existing behavior under`CLAUDE_CODE_USE_BEDROCK`\n\n/`_VERTEX`\n\n/`_FOUNDRY`\n\n- Changed opening the agents view from a foreground session to require a single\n`←`\n\npress instead of two, matching the behavior in background sessions\n\nJune 26, 2026\n\n- Added\n`CLAUDE_CODE_DISABLE_MOUSE_CLICKS`\n\nto disable mouse click/drag/hover in fullscreen mode while keeping wheel scroll - Fixed hook matchers with hyphenated identifiers (e.g.\n`code-reviewer`\n\n,`mcp__brave-search`\n\n) accidentally substring-matching — they now exact-match. Use`mcp__brave-search__.*`\n\nto match all tools from a hyphenated MCP server. - Fixed voice dictation on macOS capturing silence in long-running sessions after the default input device changes\n- Fixed voice dictation auto-submit never firing for languages written without spaces (Japanese, Chinese, Thai)\n- Fixed external plugins enabled only by project\n`.claude/settings.json`\n\nnot requiring explicit install consent on every loader path - Fixed\n`/plugin`\n\nEnable/Disable not working when a plugin’s`plugin.json`\n\n`name`\n\ndiffers from its marketplace entry name - Fixed background jobs disappearing from\n`claude agents`\n\nor losing data when written by a newer Claude Code version - Fixed reopening a crashed background task showing a blank screen for up to 5 seconds instead of its restart\n- Fixed background agent daemons running unreachable when the control socket fails to start, blocking restarts\n- Improved voice mode on Linux: now distinguishes “no microphone” from “SoX not installed” when SoX is present but no audio capture device exists\n- Improved\n`claude agents`\n\ncompleted list to fill available vertical space; on short terminals the header compacts so live sessions stay visible - Improved Remote session startup with a provisioning checklist while the container starts\n\nJune 25, 2026\n\n- Added\n`autoMode.classifyAllShell`\n\nsetting to route all Bash/PowerShell commands through the auto-mode classifier instead of only arbitrary-code-execution patterns - Added auto-mode denial reasons to the transcript, the denial toast, and\n`/permissions`\n\nrecent denials - Added\n`claude_code.assistant_response`\n\nOpenTelemetry log event containing the model’s response text. Redacted unless`OTEL_LOG_ASSISTANT_RESPONSES=1`\n\n; when that var is unset it follows`OTEL_LOG_USER_PROMPTS`\n\n, so deployments that already log prompt content will start receiving response content on upgrade — set`OTEL_LOG_ASSISTANT_RESPONSES=0`\n\nto keep prompts-only. - Added live file path autocomplete to bash mode (\n`!`\n\n) - Added a startup notice when MCP servers need authentication, pointing at\n`/mcp`\n\n- Added automatic memory-pressure reaping for idle background shell commands (disable with\n`CLAUDE_CODE_DISABLE_BG_SHELL_PRESSURE_REAP=1`\n\n) - Fixed\n`/model`\n\nand other client-data-gated UI showing stale/empty state immediately after`/login`\n\n- Fixed backgrounding (←←) spuriously cancelling with “N background tasks would be abandoned” when all running tasks carry over to the new session\n- Fixed pinned background agents being re-prompted to “Continue from where you left off” after every auto-update\n- Fixed backgrounding the main turn spawning a phantom “general-purpose (resumed)” subagent that re-ran the main conversation\n- Fixed agent panel hiding sibling agents when viewing a subagent\n- Improved background agents: the launch result no longer instructs Claude to “end your response” — it keeps working on other tasks while the agent runs\n- Improved MCP\n`headersHelper`\n\nauth: the helper now re-runs and reconnects automatically when a tool call returns 401/403 - Improved plugin auto-rename: marketplace\n`renames`\n\nmaps are now followed automatically, updating your settings to the new name - Improved\n`/add-dir`\n\nmessage when the directory is already a working directory\n\nJune 24, 2026\n\n- Added\n`/rewind`\n\nsupport for resuming a conversation from before`/clear`\n\nwas run - Fixed scroll position jumping to the bottom while reading earlier output during a streaming response\n- Fixed background agents resurrecting after being stopped — stopping an agent from the tasks panel is now permanent\n- Fixed\n`/voice`\n\nshowing a generic “not available” message when disabled by an organization’s policy — it now explains the restriction - Fixed\n`/login`\n\nURL opening truncated in Windows Terminal when it wraps across lines - Fixed Cmd+click on links in fullscreen mode for Ghostty over ssh/tmux\n- Fixed\n`claude agents`\n\nsending builtin slash commands like`/usage`\n\nto background sessions as prompt text instead of showing a hint - Fixed\n`claude agents`\n\njob rows showing full filesystem paths for pasted images instead of the`[Image #N]`\n\nplaceholder - Fixed hooks with comma-separated matchers (e.g.\n`\"Bash,PowerShell\"`\n\n) silently never firing - Fixed\n`/permissions`\n\nRecently-denied tab: approving a denial now persists on close instead of being silently discarded - Fixed the agent panel jumping by one row when scrolling the roster past the overflow cap\n- Fixed the welcome splash art overflowing the default 80×24 macOS Terminal window\n- Fixed managed settings:\n`forceRemoteSettingsRefresh`\n\nnow takes effect when set via MDM or file policy, and the fetch sends`Cache-Control: no-cache`\n\nto prevent proxies from serving stale responses - Improved sandbox network permission dialog: hosts you allow with “Yes” are now remembered for the rest of the session instead of re-prompting on every connection\n- Improved MCP server reliability: capability discovery (\n`tools/list`\n\n,`prompts/list`\n\n,`resources/list`\n\n) now retries transient network errors with short backoff - Improved MCP OAuth: discovery and token requests now retry once after transient network errors, and headless environments skip the browser popup and go straight to the paste-the-URL prompt\n- Improved MCP error messages: HTTP 404 errors now show the URL and point to your MCP config\n- Improved vim mode prompt-history search (NORMAL\n`/`\n\n) to hint how to reach slash commands - Reduced CPU usage during streaming responses by ~37% by coalescing text updates to 100ms\n- Reduced long-session memory growth from terminal output cache\n\nJune 24, 2026\n\n- Bug fixes and reliability improvements\n\nJune 23, 2026\n\n- Added\n`sandbox.credentials`\n\nsetting to block sandboxed commands from reading credential files and secret environment variables - Added org-configured model restrictions to the model picker,\n`--model`\n\n,`/model`\n\n, and`ANTHROPIC_MODEL`\n\n, with a “restricted by your organization’s settings” message when a restricted model is selected - Added mouse click support to select menus (permission prompts,\n`/model`\n\n,`/config`\n\n, etc.) in fullscreen mode - Fixed\n`--resume`\n\nfailing with “No conversation found” when the original`-p`\n\nrun produced no model turns - Fixed\n`--json-schema`\n\nand workflow`agent({schema})`\n\nstructured output: the model can no longer re-call`StructuredOutput`\n\nindefinitely after a successful call, and follow-up turns now reliably return structured output - Fixed remote MCP tool calls that hang with no response for 5 minutes — they now abort with an error instead of blocking indefinitely (override with\n`CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT`\n\n) - Fixed Claude Code Remote sessions taking ~2.7s longer to start after the agent proxy CA system-trust install was added\n- Fixed pasted Korean/CJK text turning into mojibake in terminals that deliver paste as per-byte extended-key events\n- Fixed\n`/update`\n\nover Remote Control hanging when a startup trust dialog would have shown - Fixed background jobs in the agents view getting stuck in “working” indefinitely when the agent ended a turn without producing structured output\n- Fixed channel connections dropping after navigating to the agents view and back, and after\n`/bg`\n\n,`/tui`\n\n, or`/update`\n\n- Fixed agent stop notifications not correctly attributing who stopped the agent, and improved wording (“finished”/“stopped” instead of “came to rest”)\n- Fixed subagent depth tracking: resumed subagents now restore their original spawn depth, and forked subagents now count toward the depth cap\n- Fixed leaked agent worktree registrations: locked\n`.git/worktrees/`\n\nentries from killed agents are now cleaned up automatically - Fixed Cmd+click not opening URLs in fullscreen mode in Ghostty on macOS\n- Fixed\n`claude --help`\n\nnot listing the`--bg`\n\n/`--background`\n\nflag - Fixed Esc, Ctrl-C, and Ctrl-D not working while\n`/share`\n\nis uploading - Improved\n`/install-github-app`\n\n: GitHub Actions workflow setup is now optional — you can install just the GitHub App and skip the workflow/secret steps - Improved\n`/btw`\n\nwith ←/→ arrow navigation to step through earlier answers - Improved\n`/plugin`\n\nto surface plugins you haven’t used recently so you can clean them up - [VSCode] Fixed extension becoming unresponsive when resuming a large session\n\nJune 22, 2026\n\n- Added\n`claude mcp login <name>`\n\nand`claude mcp logout <name>`\n\nto authenticate MCP servers from the CLI without opening the interactive`/mcp`\n\nmenu, with`--no-browser`\n\nstdin redirect support for completing over SSH - Added status filtering (press\n`f`\n\n) to the`/workflows`\n\nagent detail view - Added a “Skills” section to the\n`/plugin`\n\nInstalled tab - Added\n`teammateMode: \"iterm2\"`\n\nsetting with a warning when auto mode cannot find the`it2`\n\nCLI - Added “Claude Platform on AWS - refresh credentials” option to\n`/login`\n\nwhen`awsAuthRefresh`\n\nis configured `!`\n\nbash commands now trigger Claude to respond to the output automatically; set`\"respondToBashCommands\": false`\n\nin settings.json to keep the previous context-only behavior- Fixed streaming requests failing with “Content block not found” or JSON parse errors after the machine wakes from sleep\n- Fixed subagent transcript scroll position bleeding into the main transcript on exit\n- Fixed background task previews flashing raw tool names before the agent’s plan loaded\n- Fixed Chrome tab-group isolation not applying when the in-product permissions gate is off for concurrent CLI sessions\n- Fixed background session recaps being duplicated; the agent’s own end-of-turn summary now shows as the recap line\n- Fixed opening a background session from\n`claude agents`\n\nleaving the previous screen painted behind it - Fixed\n`Agent(type)`\n\ndeny rules and`Agent(x,y)`\n\nallowed-types restrictions not being enforced for named subagent spawns - Fixed Esc and Ctrl+C not responding while background agents are still running after the main turn ends\n- Fixed misaligned option numbers in permission prompts when the option text overflows\n- Fixed pressing\n`x`\n\non a finished subagent in the agent panel not dismissing it - Fixed a misleading “MCP server disconnected” notice for intentionally retired tools when resuming older sessions\n- Fixed\n`/plugin`\n\nInstalled showing a “more above” indicator when already scrolled to the top - Fixed\n`~~strikethrough~~`\n\nshowing literal tildes in assistant messages instead of rendering as strikethrough - Fixed\n`--tools`\n\nallowing feature-gated tools to slip through before flags loaded on a cold first launch - Fixed background job status in\n`claude agents`\n\nshowing a stale “needs input” message after replying - Fixed a dark-theme flash when opening a background session from\n`claude agents`\n\non a light terminal - Fixed mouse-selected text staying highlighted after deleting it in\n`claude agents`\n\n- Fixed session cost not showing for usage-based Enterprise and Team subscribers\n- Fixed agent teams: teammates spawned via tmux/pane backends now inherit the leader’s\n`--effort`\n\nlevel - Fixed Workflow\n`agent({schema})`\n\nsubagents looping forever on repeated schema validation failures instead of aborting after 5 attempts - Improved\n`claude mcp get`\n\nand`claude mcp remove`\n\nto suggest the closest configured server name on a typo and truncate long server lists - Improved memory: the agent is now reminded to compact its\n`MEMORY.md`\n\nindex when nearing the size limit - Improved skill frontmatter:\n`display-name`\n\n,`default-enabled`\n\n,`fallback`\n\n, and`metadata.*`\n\nkeys now accept kebab-case, snake_case, and camelCase - Improved malformed\n`SKILL.md`\n\nYAML frontmatter handling: loads the skill body with empty metadata instead of failing silently - Changed\n`CLAUDE_CODE_MAX_RETRIES`\n\nto cap at 15; for unattended sessions, use`CLAUDE_CODE_RETRY_WATCHDOG`\n\ninstead - Changed background subagents to surface permission prompts in the main session instead of auto-denying; the dialog shows which agent is asking, and Esc denies just that tool\n- Changed\n`/review <pr>`\n\nto use the same review engine as`/code-review medium`\n\nJune 20, 2026\n\n- The stream-stall hint now reads “Waiting for API response · will retry in …” instead of “No response from API · Retrying in …”, and triggers after 20s of silence instead of 10s\n\nJune 19, 2026\n\n- Improved auto mode safety: destructive git commands (\n`git reset --hard`\n\n,`git checkout -- .`\n\n,`git clean -fd`\n\n,`git stash drop`\n\n) are now blocked when you didn’t ask to discard local work,`git commit --amend`\n\nis blocked when the commit wasn’t made by the agent this session, and`terraform destroy`\n\n/`pulumi destroy`\n\n/`cdk destroy`\n\nare blocked unless you asked for the specific stack - Added a warning when the requested model is deprecated or automatically updated to a newer model, shown on stderr in print mode (\n`-p`\n\n) and now also covering models set in agent frontmatter - Added\n`attribution.sessionUrl`\n\nsetting to omit the claude.ai session link from commits and PRs in web and Remote Control sessions - Added\n`/config --help`\n\nto list all available shorthand keys for`/config key=value`\n\n- Changed\n`/config`\n\ntoggle behavior: Enter and Space both change the selected setting, and Esc now saves and closes instead of reverting - Removed the startup “setup issues” line under the logo — run\n`/doctor`\n\nto see configuration issues or use`--debug`\n\n- Fixed\n`thinking.disabled.display: Extra inputs are not permitted`\n\n400 errors on subagent spawns and session-title generation for affected configurations - Fixed WebSearch returning empty results in subagents\n- Fixed the terminal cursor being stranded above the prompt after navigating history in vim mode with the native cursor enabled\n- Fixed fullscreen TUI corruption (statusline mid-screen, duplicated spinner rows, merged text) in Windows Terminal under heavy nested-subagent load\n- Fixed turns silently completing with no visible output when the model returned only a thinking block; Claude now re-prompts once\n- Fixed user-level skills appearing multiple times in slash-command autocomplete when multiple plugins are enabled\n- Fixed MCP servers requiring authentication exposing auth-stub tools to the model in headless/SDK mode\n- Fixed tmux teammate panes failing to launch when the shell has slow rc-file initialization, and keystrokes typed during agent spawn leaking into the new tmux pane instead of the leader prompt\n- Fixed background tasks started by a teammate being killed when the teammate finishes a turn\n- Fixed scheduled task and webhook trigger deliveries being treated as keyboard input; they now classify as task notifications and can no longer approve a pending action or set the session title in auto mode\n- Fixed focus mode showing “Ran N PostToolUse hooks” timing lines under each response\n\nJune 17, 2026\n\n- Added\n`/config key=value`\n\nsyntax to set any setting from the prompt (e.g.`/config thinking=false`\n\n) — works in interactive,`-p`\n\n, and Remote Control - Added\n`sandbox.allowAppleEvents`\n\nopt-in setting that lets sandboxed commands send Apple Events on macOS - Added\n`CLAUDE_CLIENT_PRESENCE_FILE`\n\nenvironment variable: point it at a marker file to suppress mobile push notifications while you’re at the machine - Upgraded the bundled Bun runtime to 1.4\n- Improved streaming of long paragraphs: text now appears line-by-line instead of waiting for the first line break\n- Improved auto-retry: API connection drops mid-thinking now automatically retry instead of showing “Connection closed while thinking”\n- Improved the subagent panel: idle subagents auto-hide after 30s, the list caps at 5 rows with scroll hints, and keyboard hints now show in the footer\n- Improved the MCP OAuth browser page to match Claude Code’s visual style and auto-close on success\n- Changed fullscreen mode URL opening to require Cmd+click (macOS) / Ctrl+click, matching native terminal behavior\n- Changed the\n`Improved N memories`\n\nline to no longer list individual files outside verbose mode - Fixed prompt caching not reading on custom\n`ANTHROPIC_BASE_URL`\n\nand on Foundry due to a per-request attestation token changing every turn - Fixed Write/Edit producing 0-byte or truncated files on network drives and cloud-synced folders\n- Fixed\n`open`\n\n,`osascript`\n\n, and browser-based auth flows failing with error -600 on macOS by adding the Apple Events entitlement - Fixed a startup regression (~120ms per launch in fresh environments, introduced in 2.1.169): the first prompt no longer waits for the managed-settings fetch when no MCP servers are configured\n- Fixed startup blocking with a blank terminal for up to 15 seconds when the account settings fetch is slow on a degraded network\n- Fixed startup crash (\n`TypeError: Cannot read properties of null`\n\n) when`.claude.json`\n\ncontains corrupted null project entries - Fixed macOS TUI freezing at session start (Ctrl+C unresponsive) when Spotlight is busy reindexing\n- Fixed long-running idle sessions losing their history when another Claude Code process ran the 30-day transcript cleanup\n- Fixed foreground subagents spawning unbounded nested chains; they now respect the same 5-level depth limit as background subagents\n- Fixed\n`/recap`\n\nand conversation forks using the previous model immediately after a model switch - Fixed subagent “Thinking” duration showing the parent agent’s elapsed time instead of the subagent’s own\n- Fixed subagents blocked on a nested agent showing a ticking elapsed time instead of “waiting” in the agent panel\n- Fixed the API retry indicator (“Retrying in 0s · attempt N/10”) staying on screen after the retry succeeded\n- Fixed AWS\n`awsCredentialExport`\n\ncredentials with a short remaining lifetime causing credential refreshes every minute, and now accepts the JSON shape from`aws configure export-credentials`\n\n- Fixed\n`claude mcp get`\n\n/`list`\n\nshowing`✓ Connected`\n\nwhen tools/list fails; they now show`! Connected · tools fetch failed`\n\nwith the error detail - Fixed\n`/remote-control`\n\nleaving a stale “connecting…” line; it now confirms in the transcript once connected - Fixed ExitWorktree refusing to remove a clean worktree with “Could not verify worktree state” when bare\n`git`\n\ncannot be resolved on Windows - Fixed settings changes (such as\n`/effort`\n\nor`/model`\n\n) failing with ENOENT when`~/.claude/settings.json`\n\nis a relative symlink under a symlinked`~/.claude`\n\n- Fixed IDE selection line numbers in context reminders being off by one (IntelliJ and VS Code)\n- Fixed Ctrl+C in fullscreen after a native terminal selection (modifier+drag) overwriting the clipboard with the app’s prior selection\n- Fixed Ctrl+V showing “No image found in clipboard” instead of pasting when the clipboard contains text\n- Fixed agent creation failing with “EEXIST: file already exists” when the agents directory already exists (Windows/OneDrive)\n- Fixed AskUserQuestion preview content being cut off at the dialog edge instead of word-wrapping\n- Fixed AskUserQuestion multi-select questions silently dropping a typed “Other” free-text answer when submitting\n- Fixed\n`/stats`\n\n“Most active day” and daily token chart dates showing one day early in UTC-negative timezones - Fixed\n`/copy`\n\nand copy-on-select on Linux not detecting a clipboard utility installed after Claude Code started - Fixed tab-indented code rendering with incorrect indentation in the Write (create-file) preview\n- Fixed user prompts queued mid-turn not showing a full-width background highlight in the transcript\n- Fixed the activity spinner’s pulse dwelling on the wrong glyph size in Ghostty\n\nJune 16, 2026\n\n- Fixed mid-stream connection drops: partial responses are now preserved instead of showing a raw error, and the spinner no longer gets stuck at “running tool”\n- Fixed mouse-wheel scrolling in WSL2 under Windows Terminal and VS Code (regression in 2.1.172)\n- Fixed a sandbox\n`denyRead`\n\n/`allowRead`\n\nglob over a large directory tree making the Bash tool description enormous and the session unusable on Linux - Fixed the feedback survey capturing a single-digit reply as a session rating immediately after a turn completes\n- Fixed the welcome screen stacking multiple promotional banners — at most one promo now shows per session\n- Fixed Ctrl+O not showing the subagent’s transcript when viewing a subagent\n- Fixed clicking the prompt input not returning focus from the subagent/footer panel\n- Fixed remote session background tasks appearing stuck as “still running” between turns\n- Improved plugin loading performance in remote sessions\n\nJune 15, 2026\n\n- Agent teams: removed the\n`TeamCreate`\n\nand`TeamDelete`\n\ntools. With`CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`\n\nset, every session now has one implicit team — spawn teammates directly with the Agent tool’s`name`\n\nparameter, no setup step needed. The`team_name`\n\nparameter on the Agent tool is still accepted but ignored. - Added\n`Tool(param:value)`\n\nsyntax for permission rules to match a tool’s input parameters (with`*`\n\nwildcard), e.g.`Agent(model:opus)`\n\nto block Opus subagents - Skills in nested\n`.claude/skills`\n\ndirectories now load when working on files there; on a name clash, the nested skill appears as`<dir>:<name>`\n\nso both stay available - Nested\n`.claude/`\n\ndirectories: the agent, workflow, and output-style closest to the working directory now wins when names collide; project-scope workflow saves now target the closest existing`.claude/workflows/`\n\n- Improved auto mode: subagent spawns are now evaluated by the classifier before launch, closing a gap where a subagent could request a blocked action without review\n- Improved\n`/doctor`\n\nwith consistent flat tree layout across all sections, clearer section status icons, and highlighted command names - Improved the skill listing truncation warning to show how many skill descriptions are affected\n- Changed the workflow prompt keyword to use a purple shimmer highlight and trigger only on explicit phrases like “run a workflow” or “workflow:”, not on any mention of the word\n- Improved Remote Control error messages: connection failures now show a persistent red “/rc failed” indicator in the footer, and the “not yet enabled” error now explains whether it’s a gate, a check failure, stale entitlement, or org policy\n`/bug`\n\nnow requires a description before submitting, and no longer uses model-refusal text as the GitHub issue title- Fixed a crash (out-of-memory) when the CLI inherits a stale websocket/OAuth file-descriptor environment variable from a parent process\n- Fixed Claude in Chrome silently failing to connect when the OAuth token belongs to a different account than the Claude Code login\n- Fixed nested\n`.claude/skills`\n\nskills with directory-qualified names being blocked by permission prompts in non-interactive runs - Fixed several subagent issues: viewing a subagent’s transcript now shows tool results and live progress, messages sent while it finishes its turn are no longer dropped, and backgrounding a running subagent (ctrl+b) no longer restarts it from scratch\n- Fixed\n`claude agents`\n\nworkers failing with`401 Invalid bearer token`\n\nwhen the daemon was started from a shell with a custom API gateway via`ANTHROPIC_BASE_URL`\n\nand`ANTHROPIC_AUTH_TOKEN`\n\n- Fixed compaction not honoring\n`--fallback-model`\n\n: compaction now falls back to the configured fallback model chain on overload or model-availability errors - Fixed model requests continuing to fail with auth errors after credentials were refreshed outside the session, due to a stale cached request configuration\n- Fixed background sessions created with\n`/bg`\n\nor`←←`\n\nafter a turn finished showing “Working” forever in the agents list - Fixed Linux sandbox failing to start when\n`.claude/skills`\n\nor`.claude/hooks`\n\nis a symlink - Fixed\n`CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1`\n\npreventing fresh marketplace installs from cloning - Fixed MCP server-level specs (\n`mcp__server`\n\n,`mcp__server__*`\n\n,`mcp__*`\n\n) in subagent`disallowedTools`\n\nbeing silently ignored - Fixed vim mode undo:\n`u`\n\nnow steps through NORMAL/VISUAL-mode commands one at a time instead of merging commands in quick succession into a single undo step - Fixed statusline links with custom URI schemes (e.g.\n`vscode://`\n\n) not opening when clicked in`claude agents`\n\n- [VSCode] Fixed pressing Esc to dismiss a CJK IME candidate window canceling the running Claude task\n\nJune 12, 2026\n\n- Session titles are now generated in the language of your conversation (set the\n`language`\n\nsetting to pin a specific language) - Added\n`footerLinksRegexes`\n\nsetting for regex-matched link badges in the footer row, configurable via user or managed settings - Improved Bedrock credential caching: credentials from\n`awsCredentialExport`\n\nare now cached until their`Expiration`\n\ninstead of a fixed 1 hour - Fixed\n`availableModels`\n\nenforcement: alias model picks can no longer be redirected to a blocked model via`ANTHROPIC_DEFAULT_*_MODEL`\n\nenvironment variables, and`/fast`\n\nnow refuses to toggle when it would switch to a model outside the allowlist - Fixed auto mode failing on Fable 5 for organizations without Opus 4.8 enabled — the classifier now falls back to the best available Opus model\n- Fixed hook\n`if`\n\nconditions for Read/Edit/Write tool paths: documented patterns like`Edit(src/**)`\n\n,`Read(~/.ssh/**)`\n\n, and`Read(.env)`\n\nnow match correctly - Fixed Linux sandbox failing to start when\n`.claude/settings.json`\n\nis a symlink with an absolute target - Fixed\n`/copy`\n\nand mouse-selection copy not reaching the system clipboard inside tmux over SSH, and tmux paste buffer not loading on versions older than 3.2 - Fixed Remote Control connecting from web/mobile silently switching the session’s model\n- Fixed Remote Control disconnect notifications showing a bare numeric code instead of a human-readable reason, and connection failures adding a duplicate line to the conversation transcript\n- Fixed Remote Control sessions not disconnecting when you sign in to a different account\n- Fixed\n`/cd`\n\nand worktree moves leaving the session reporting the previous directory’s git branch - Fixed\n`claude agents`\n\n: pressing back in one window no longer detaches other windows attached to the same session - Fixed backgrounded sessions showing “Working” forever when\n`/bg`\n\nmid-turn had nothing left to continue - Fixed background agent search by PR URL: PRs opened during scheduled wakeups or while a job was blocked now appear in\n`claude agents`\n\nsearch - Fixed the agents view input showing no text cursor on Windows\n- Fixed\n`claude --bg -cn <name>`\n\nnot seeding the session name - Fixed background sessions to neutralize Windows network paths in persisted state before respawn\n- Fixed background-session respawn rejecting malformed resume IDs from corrupted state files\n- Fixed the Windows background-service daemon not starting when\n`~/.claude/daemon`\n\nhas the ReadOnly attribute set - Fixed cloud sessions failing with “Could not resolve authentication method” when idle for too long before being claimed\n- Background sessions now show clearer guidance when a window left open across an auto-update can’t submit a reply, and\n`claude daemon status`\n\nexplains version-skew behavior\n\nJune 12, 2026\n\n- Added\n`enforceAvailableModels`\n\nmanaged setting — when enabled, the`availableModels`\n\nallowlist also constrains the Default model (a Default that would resolve to a disallowed model now falls back to the first allowed model), and user or project settings can no longer widen a managed`availableModels`\n\nlist\n\nJune 12, 2026\n\n- Added\n`wheelScrollAccelerationEnabled`\n\nsetting to disable mouse-wheel scroll acceleration in fullscreen mode - Fixed the\n`/model`\n\npicker hiding the model family that Default resolves to — Opus now appears as its own row on Max/Team Premium/Enterprise plans, Sonnet on Pro/Team plans, and Opus on pay-as-you-go API accounts - Fixed\n`/model`\n\npicker showing a hardcoded Sonnet version label when`ANTHROPIC_DEFAULT_SONNET_MODEL`\n\npins a different Sonnet - Fixed the “Fable 5 is now consuming usage credits” banner incorrectly showing for enterprise accounts with usage-based billing\n- Fixed Bedrock GovCloud regions (\n`us-gov-*`\n\n) deriving the wrong inference profile prefix (`global`\n\ninstead of`us-gov`\n\n), causing 400 errors on derived model IDs - Fixed background sessions inheriting another session’s\n`ANTHROPIC_*`\n\nprovider env (gateway URL, custom headers,`/model`\n\naliases) from the shell that started the background daemon - Fixed a 1-2 second pause when exiting Claude Code shortly after a shell command was interrupted or killed on macOS and Linux\n- Fixed git commit co-author attribution showing an incorrect model name for some models\n- Fixed the\n`/advisor`\n\ndialog pre-selecting a saved advisor model that is blocked by the`availableModels`\n\nallowlist - Fixed skill hot-reload re-sending the entire skill listing when a single skill changed; only changed skills are now re-announced\n- Fixed Workflow tool\n`agent()`\n\nsubagents missing per-agent attribution headers - [VSCode] Added usage attribution to the Account & usage dialog (\n`/usage`\n\n) showing cache misses, long context, subagents, and per-skill/agent/plugin/MCP breakdowns over the last 24h or 7d - Fixed pre-warmed background workers failing with “Could not resolve authentication method” when claimed after sitting idle\n\nJune 11, 2026\n\n- Fixed Fable 5 model names with a\n`[1m]`\n\nsuffix not being normalized — Fable 5 includes 1M context by default, so the suffix is now stripped automatically - Fixed a spurious “sandbox dependencies missing” startup warning on Windows when sandbox was enabled in settings\n\nJune 10, 2026\n\n- Sub-agents can now spawn their own sub-agents (up to 5 levels deep)\n- Amazon Bedrock now reads the AWS region from\n`~/.aws`\n\nconfig files when`AWS_REGION`\n\nisn’t set, matching AWS SDK precedence;`/status`\n\nshows where the region came from - Added a search bar when browsing a marketplace’s plugins in\n`/plugin`\n\n- Added\n`model`\n\nattribute to the`claude_code.lines_of_code.count`\n\nOTEL metric - Fixed sessions using 1M context without usage credits getting permanently stuck — the session now automatically compacts back under the standard context limit\n- Fixed a repeating “an image in the conversation could not be processed and was removed” error when the conversation contained multiple images\n- Fixed the agents view keeping a session under Working with a busy spinner for up to 30 seconds after the worker replied\n- Fixed background agents potentially reading another directory’s project settings (\n`.mcp.json`\n\napprovals, trust) when dispatched onto a pre-warmed worker - Fixed background-session attach failing with EAUTH for sessions started on an older version after the daemon auto-updated\n- Fixed a background sub-agent staying stuck as “active” in the agent panel after a nested agent it spawned was stopped\n- Fixed\n`/model`\n\nsuggestions in the`claude agents`\n\ndispatch input rendering with a misleading slash prefix and showing models disabled for your org - Fixed\n`availableModels`\n\nrestrictions not being applied to subagent model overrides, the agent dispatch model picker, and the advisor model - Fixed\n`availableModels`\n\nallowlists hiding the`/model`\n\npicker’s Opus and Sonnet 1M rows when entries use version-specific IDs like`claude-opus-4-8`\n\n- Fixed the\n`/model`\n\npicker on Bedrock offering models the provider doesn’t serve — selecting one silently switched the session model and lit the selection marker on multiple rows - Fixed model IDs getting a doubled 1M-context suffix (e.g.\n`[1M][1m]`\n\n) when`ANTHROPIC_DEFAULT_OPUS_MODEL`\n\nalready includes one - Fixed\n`opusplan`\n\nmodel setting not shipping with 1M context in plan mode for entitled users; the`opusplan[1m]`\n\nworkaround now also correctly switches to Opus in plan mode - Fixed\n`WebFetch(domain:*.example.com)`\n\nwildcard domain rules never matching subdomains in allow, deny, and ask position, and file permission rules with mid-pattern wildcards (e.g.`Read(secrets-*/config.json)`\n\n) being rejected at startup - Fixed up-arrow prompt history showing the main agent’s prompts while a subagent’s chat tab is open\n- Fixed memory recall not finding mounted team memory stores (\n`CLAUDE_MEMORY_STORES`\n\n) in remote sessions - Fixed workflow validation rejecting scripts whose prompt strings or comments merely mention\n`Date.now()`\n\n/`Math.random()`\n\n- Disable mouse tracking on Windows consoles that don’t fully support it\n- Fixed the\n`/plugin`\n\nmarketplace list losing its cursor after backing out of a long plugin list, and Esc from the plugin browser returning to the wrong tab - Improved performance in long conversations by removing redundant message normalization and avoiding full message-history transforms when streaming tool-use state is unchanged\n- Reduced idle CPU usage:\n`/goal`\n\nstatus chip no longer re-renders the terminal at 5 Hz while idle, and fewer UI re-renders while subagents run in parallel - Improved Claude in Chrome tool loading: browser tools now load in a single batched call instead of one per tool\n- Improved the non-interactive Usage Policy refusal message to suggest starting a new session or changing your model\n`/code-review`\n\nnow keeps the`ultra`\n\noption visible when you’re not signed in to claude.ai, with an explanation that the cloud review requires a claude.ai account- Shortened the Remote Control footer indicator to “/rc active” and hid it on narrow terminals\n- Stopped promoting\n`/loop`\n\nin remote sessions, where pending loops don’t keep the container alive - [VSCode] Fixed PowerShell tool calls rendering as raw JSON instead of a proper command display and permission dialog, and stripped ANSI escape codes from displayed shell output\n\nJune 9, 2026\n\n- Introducing Claude Fable 5: a Mythos-class model that we’ve made safe for general use. Fable’s capabilities exceed those of any model we’ve ever made generally available. Update to version 2.1.170 for access.\n[https://www.anthropic.com/news/claude-fable-5-mythos-5](https://www.anthropic.com/news/claude-fable-5-mythos-5) - Fixed sessions not saving transcripts (and not appearing in —resume) when launched from the VS Code integrated terminal or any shell that inherited Claude Code environment variables.\n\nJune 8, 2026\n\n- Added\n`--safe-mode`\n\nflag (and`CLAUDE_CODE_SAFE_MODE`\n\n) to start Claude Code with all customizations (CLAUDE.md, plugins, skills, hooks, MCP servers) disabled for troubleshooting - Added\n`/cd`\n\ncommand to move a session to a new working directory without breaking the prompt cache mid-session - Added a\n`disableBundledSkills`\n\nsetting and`CLAUDE_CODE_DISABLE_BUNDLED_SKILLS`\n\nenvironment variable to hide bundled skills, workflows, and built-in slash commands from the model - Fixed Up/Down arrows jumping to command history past the wrapped rows of a long input line — they now move through each visual row first, and history recall enters at the near edge\n- Fixed enterprise managed MCP policies (\n`allowedMcpServers`\n\n/`deniedMcpServers`\n\n) not being enforced on reconnect, IDE-typed configs,`--mcp-config`\n\nservers during the first session after install, or before remote settings loaded; also fixed slow cold starts for orgs without remote settings - Fixed a ~30-50ms UI stall at the start of each turn for macOS users logged in with claude.ai credentials\n- Fixed\n`claude -p`\n\nbeing slow or appearing to hang on Windows while waiting for the slash-command/skill scan (regression in 2.1.161) - Fixed Remote Control getting stuck on “reconnecting” after resuming a session when an OAuth token refresh happened at the same time\n- Fixed Git Credential Manager’s “Connect to GitHub” popup appearing on Windows at startup when background git commands ran without cached credentials\n- Fixed footer hints (e.g. “esc to interrupt”) not showing for users with a custom statusline\n- Fixed stale permission and dialog prompts reappearing every time you reattached to a remote session whose worker had died while waiting on them\n- Fixed\n`claude agents --json`\n\nomitting blocked and just-dispatched background sessions; added`--all`\n\nto include completed sessions, plus new`id`\n\nand`state`\n\nfields - Fixed agents view leaving a stale/garbled frame after navigating back from an agent on WSL in Windows Terminal\n- Fixed background agents ignoring project-level settings\n`env`\n\nvalues (e.g.`ANTHROPIC_MODEL`\n\n) when dispatched onto a pre-warmed worker - Fixed MCPB plugin cache being spuriously invalidated on Windows, causing unnecessary re-extraction\n- Fixed plugin\n`.in_use`\n\nPID lock files accumulating without bound; stale markers from crashed sessions are now swept once per day - Fixed untrusted project settings being able to set OTEL client-certificate paths without trust confirmation\n`/workflows`\n\nnow opens immediately even while a turn is in progress- Improved\n`TaskCreate`\n\nreliability: malformed inputs are repaired automatically and validation errors for unloaded tools include the schema - Improved the error message shown when your organization has disabled API key authentication, with guidance based on where the active API key comes from\n- Reduced CPU usage while responses stream and during spinner animations\n- Restored a default 5-minute idle timeout on Vertex/Foundry so a stalled stream aborts instead of hanging indefinitely; set\n`API_FORCE_IDLE_TIMEOUT=0`\n\nto opt out - Remote-managed settings with an invalid entry now apply their remaining valid policies and surface the validation error, instead of silently dropping the whole payload\n- Background sessions now preserve\n`--ide`\n\n,`--chrome`\n\n,`--bare`\n\n,`--remote-control`\n\n, and other flags across retire→wake, and respawn state validation was hardened - Background sessions are now told that shared-checkout edits are blocked until they enter a worktree, avoiding a wasted rejected edit before\n`EnterWorktree`\n\n- The “CLAUDE.md is too long” warning threshold now scales with the model’s context window\n- Auto-updater on Windows now stops retrying within a session once\n`claude.exe`\n\nis held by another process - Improved color contrast for skill tags in the slash-command menu\n- Promo credit claims for Apple/Google-billed subscribers without a payment method now explain where to add one\n- Added a tip suggesting\n`claude agents`\n\nwhen running multiple concurrent sessions\n\nJune 6, 2026\n\n- Bug fixes and reliability improvements\n\nJune 6, 2026\n\n- Bug fixes and reliability improvements\n\nJune 6, 2026\n\n- Added\n`fallbackModel`\n\nsetting to configure up to three fallback models tried in order when the primary model is overloaded or unavailable;`--fallback-model`\n\nnow also applies to interactive sessions - Added glob pattern support in deny rule tool-name position (\n`\"*\"`\n\ndenies all tools); allow rules reject non-MCP globs, and unknown tool names in deny rules warn at startup - Hardened cross-session messaging: messages relayed via\n`SendMessage`\n\nfrom other Claude sessions no longer carry user authority — receivers refuse relayed permission requests, and auto mode blocks them `MAX_THINKING_TOKENS=0`\n\n,`--thinking disabled`\n\n, and the per-model thinking toggle now disable thinking on models that think by default via the Claude API (3P providers unchanged)- Claude Code now retries a turn once on the fallback model when the API rejects an unexpected non-retryable error; auth, rate-limit, request-size, and transport errors still surface immediately\n`claude update`\n\nnow announces the target version before downloading instead of going silent`claude agents`\n\n: typing a URL into the list now filters to the session whose first prompt contained it- Fixed a recurring “image could not be processed” error and extra token usage when an unprocessable image was sent in a session\n- Fixed remote sessions becoming permanently stuck when a brief backend disruption occurred during worker registration at startup\n- Fixed flickering in JetBrains IDE terminals (IntelliJ, PyCharm, WebStorm, etc.) on 2026.1+ by enabling synchronized output\n- Fixed Shift+non-ASCII characters (e.g. Shift+ä → Ä) being dropped in terminals using the Kitty keyboard protocol (WezTerm, Ghostty, kitty)\n- Fixed PowerShell command validation occasionally hanging far past its time budget on Windows when a killed process’s children held its output pipes\n- Fixed orphaned\n`claude --bg-pty-host`\n\nprocesses spinning at 100% CPU after the daemon dies while connected on macOS - Fixed voice mode requiring\n`/login`\n\nto clear a stale auth check after toggling`/voice`\n\n- Fixed managed settings with an invalid entry silently disabling enforcement of their remaining valid policies\n- Fixed managed-settings\n`allowedMcpServers`\n\n/`deniedMcpServers`\n\npredicates not matching when they use`${VAR}`\n\nreferences - Fixed background agent sessions that entered a git worktree crash-looping with “No conversation found” when reopened from\n`claude agents`\n\n- Fixed duplicated thinking text in the Ctrl+O transcript view while streaming\n- Fixed\n`/doctor`\n\nshowing a contradictory failed “Not inside a remote session” check when run inside a remote session - Fixed the cursor sticking at the end of the first line when typing a multiline prompt in the\n`claude agents`\n\ndispatch and reply inputs - Fixed blank lines appearing between background agent rows in the task list on terminals without Unicode support\n\nJune 5, 2026\n\n- Bug fixes and reliability improvements\n\nJune 4, 2026\n\n- Added\n`requiredMinimumVersion`\n\nand`requiredMaximumVersion`\n\nmanaged settings — Claude Code refuses to start if its version is outside the allowed range and directs the user to an approved version - Added\n`/plugin list`\n\ncommand to list installed plugins, with`--enabled`\n\n/`--disabled`\n\nfilters - Added a “c to copy” shortcut to\n`/btw`\n\nthat copies the raw markdown answer to the clipboard, preserving formatting when pasted elsewhere - Hooks: Stop and SubagentStop hooks can now return\n`hookSpecificOutput.additionalContext`\n\nto give Claude feedback and keep the turn going without being labeled a hook error - Skills: added\n`\\$`\n\nescape syntax to include a literal`$`\n\nbefore a digit in command bodies - stdio MCP servers now receive the same\n`CLAUDE_CODE_SESSION_ID`\n\nas hooks/Bash on`--resume`\n\n- Fixed\n`claude -p`\n\nhanging forever after its final result when a backgrounded command never exits — background shells are now stopped ~5s after the result once stdin closes - Fixed\n`claude -p`\n\nfailing with “ANTHROPIC_API_KEY required” on Bedrock/Vertex/Foundry when`CI=true`\n\nand no Anthropic API key is set - Fixed bash commands failing under bazel and EDR-protected Go workflows:\n`$TMPDIR`\n\nwas overridden to`/tmp/claude-{uid}`\n\nfor all commands instead of only sandboxed ones (regression in 2.1.154) - Fixed Bash commands failing on Windows with “EEXIST: file already exists” on the session-env directory when it has the read-only attribute or is inside OneDrive\n- Fixed org-managed permission rules not applying for the entire session when the managed settings fetch completed during startup on a fresh config directory\n- Fixed background sessions in\n`claude agents`\n\nlosing their running background tasks when reattached after a Claude Code update - Fixed terminal misalignment and a multi-second hang when exiting the agent view by pressing Esc\n- Fixed clicking Stop on a background-task chip in the desktop app not clearing the chip when the underlying process was already gone\n- Fixed keyboard input becoming permanently unresponsive after a paste operation whose end marker is dropped by the terminal\n- Fixed hook\n`if: \"Bash(...)\"`\n\nconditions firing on every Bash command containing`$()`\n\nor`$VAR`\n\n; the pattern now matches against commands inside subshells and backticks too - Fixed deny rules on home-directory paths (e.g.\n`Read(~/Desktop/**)`\n\n) not blocking Bash commands that reference the path via`$HOME`\n\n- Fixed a stray “(no content)” line left in the transcript after closing panel dialogs like /mcp and /plugins\n- Background agent sessions now update to a new Claude Code version in the background, so opening a session after an update no longer waits on a cold restart\n- Clearer descriptions for built-in commands and skills in the / menu\n- The subscription-switch suggestion now shows in the startup announcement slot instead of a toast\n`claude agents`\n\ndispatching from the state-grouped view now starts the session in the directory the agent view was opened from\n\nJune 3, 2026\n\n`claude agents --json`\n\nnow includes`waitingFor`\n\nshowing what a waiting session is blocked on (e.g. permission prompt)`--tools`\n\n: explicitly listing Grep/Glob now provides the dedicated search tools on native builds with embedded search (previously these names were silently ignored)`/effort`\n\nnow confirms when your chosen level will persist as the default for new sessions- Clicking a slash command in the autocomplete menu now fills it into your prompt instead of running it immediately; press Enter to run\n- Remote Control now shows as a persistent footer pill (with a link to the session) instead of a startup message\n- Renamed Windsurf to Devin Desktop in the\n`/ide`\n\nmenu,`/terminal-setup`\n\n, and`/scroll-speed`\n\n, following the editor’s rebrand - Fixed a silent startup hang when the config directory is read-only or unwritable — Claude Code now starts with in-memory config and surfaces startup errors instead of showing a blank screen\n- Fixed WebFetch permission rules not being applied to built-in preapproved domains; explicit\n`WebFetch(domain:...)`\n\ndeny/ask/allow rules now take precedence over the preapproved-host auto-allow - Fixed Windows permission rules never matching when spelled with backslashes (\n`~\\`\n\n,`\\\\server\\share`\n\n) or case-variant paths, and Read deny rules not hiding files from Glob/Grep results - Fixed an interrupt (Esc) sent at the very start of a turn being silently dropped in stream-json/SDK sessions, leaving the turn running with no “Interrupted” feedback\n- Fixed API 400\n`no low surrogate in string`\n\nerrors for classifier side-queries and MCP server descriptions containing emoji near a truncation boundary - Fixed MCP per-server\n`timeout`\n\nconfig values below 1000 ms being floored to a 1-second watchdog that aborted every tool call; sub-1000 ms values are now ignored (falling back to`MCP_TOOL_TIMEOUT`\n\nor default), and`claude mcp get`\n\nannotates them accordingly - Fixed the LSP tool’s\n`workspaceSymbol`\n\noperation returning no results; it now accepts a`query`\n\nparameter and passes it to the language server - Fixed\n`claude agents`\n\ncutting live status text (tool args, replies, prompts, exec output) at 60–120 columns on wide terminals; the status detail now uses the full terminal width - Fixed\n`claude agents`\n\ntruncating long session names at 40 columns; the name column now grows with terminal width - Fixed\n`claude agents`\n\nattach occasionally bouncing straight back to the session list on the first try after a background-service restart - Fixed\n`claude agents`\n\nCtrl+V image paste doing nothing in the dispatch input and the session reply box; pasting with no image now shows a hint - Fixed backgrounding a session with ← silently losing the conversation when the background service cannot start; the session stays in the list as a failed row you can wake with Enter\n- Fixed replies from the agents view that fail to send being lost; they are now queued for delivery on the next session start\n- Fixed cross-session messaging (\n`SendMessage`\n\n) silently breaking when`CLAUDE_CODE_TMPDIR`\n\nor`$TMPDIR`\n\npoints at a deep directory - Fixed opening a running background session from\n`claude agents`\n\nstalling for 5 seconds before attaching - Quieter startup: notices group by severity, and session info and announcements share a single line per launch\n- Startup warnings rewritten to be shorter and clearer, each with a concrete fix\n- Launch-prompt warnings (deep link/pre-filled prompt) now stay pinned below the input until you act instead of scrolling away\n- Failed turns now show a compact warning line instead of a multi-line red error block\n- Improved background service startup and\n`claude update`\n\nverification to wait out endpoint-security scanning of new binaries instead of failing after 5 seconds - Background dispatch spawn failures now report the error class name when no errno is available\n- Removed the “Claude in Chrome enabled” and “marketplace installed” startup messages; model auto-updates and the team-onboarding tip now show as quiet notices under the logo\n\nJune 2, 2026\n\n`OTEL_RESOURCE_ATTRIBUTES`\n\nvalues are now included as labels on metric datapoints, so you can slice usage metrics by custom dimensions like team or repo`claude agents`\n\nrows now show`done/total`\n\nbefore the detail when work is fanned out; peek shows the longest-running item`/mcp`\n\nnow collapses claude.ai connectors you’ve never signed in to behind a “Show unused connectors” row- Parallel tool calls: a failed Bash command no longer cancels other calls in the same batch — each tool returns its own result independently\n- Fullscreen mode: clipboard now uses\n`wl-copy`\n\n/`xclip`\n\n/`xsel`\n\non Linux when available, copies to both the clipboard and PRIMARY selection for middle-click paste, and the “hold`{key}`\n\nfor native selection” hint now shows the correct key per terminal - Fixed the\n`/effort`\n\ndialog, workflow animations, and prompt keyword shimmer not honoring the “Reduce motion” setting - Fixed\n`forceLoginOrgUUID`\n\n/`forceLoginMethod`\n\nmanaged-settings policies blocking third-party provider sessions (Bedrock, Vertex, Foundry, Mantle) alongside the org pin (regression in 2.1.146) - Fixed background subagent output corrupting\n`claude -p`\n\nstdout when using`--output-format text`\n\nor`json`\n\n- Fixed\n`/usage-credits`\n\nstarting a re-login for Team and Enterprise admins instead of pointing to the organization’s usage settings page - Fixed\n`/autofix-pr`\n\nreporting “cannot run on the default branch” when the session is inside a git worktree or another repository - Fixed\n`--resume`\n\npicker not showing sessions from the current directory when it isn’t a git worktree (e.g., jj workspaces) - Fixed Windows hooks that invoke bash explicitly (e.g.,\n`/usr/bin/bash script.sh`\n\n) failing with “command not found” or “cannot execute binary file” - Fixed OpenTelemetry log events (\n`user_prompt`\n\n,`api_request`\n\n,`tool_result`\n\n,`tool_decision`\n\n) being silently dropped when emitted before telemetry initialization completed - Fixed\n`claude mcp`\n\nlist/get/add printing secrets to the terminal:`${VAR}`\n\nreferences are no longer expanded, and credential headers and URL secrets are redacted - Fixed Workflow agents spawned with\n`isolation: \"worktree\"`\n\nin background sessions being blocked from editing files inside their own worktree - Fixed background sessions dispatched from\n`claude agents`\n\nbooting on a stale model from the daemon’s environment instead of the model in`settings.json`\n\n- Fixed a potential crash when rendering Write tool results after resuming a session\n- Fixed completed subagents getting stuck showing as running when an error occurs while finalizing their result\n- Fixed\n`EADDRINUSE`\n\nerrors from tools that bind Unix sockets under`$TMPDIR`\n\nwhen`CLAUDE_CODE_TMPDIR`\n\nis set to a deep path - Improved terminal rendering performance by stabilizing the layout engine’s JIT compilation profile\n- Improved rendering performance for large file writes\n- [VSCode] Added a tip suggesting disabling terminal GPU acceleration (or running\n`/terminal-setup`\n\n) to fix garbled glyphs\n\nJune 2, 2026\n\n- Added a prompt before writing to shell startup files (\n`.zshenv`\n\n,`.zlogin`\n\n,`.bash_login`\n\n) and`~/.config/git/`\n\n, which could otherwise lead to unintended command execution `acceptEdits`\n\nmode now prompts before writing build-tool config files that grant code execution (`.npmrc`\n\n,`.yarnrc*`\n\n,`bunfig.toml`\n\n,`.bazelrc`\n\n,`.pre-commit-config.yaml`\n\n,`.devcontainer/`\n\n, etc.)- Edit no longer requires a separate Read after viewing a file with\n`grep`\n\n: single-file`grep`\n\n/`egrep`\n\n/`fgrep`\n\ncommands now satisfy the read-before-edit check - Fixed copy-on-select not writing to the Windows clipboard on WSL — now uses PowerShell interop instead of OSC 52, which terminals like MobaXterm don’t support\n- Fixed restoring a completed session from\n`claude agents`\n\ndropping chat history and re-running the original prompt - Fixed background sessions re-attached after overnight retire losing their conversation and re-running the original prompt\n- Fixed\n`claude --bg`\n\noccasionally failing with “socket missing” when the background daemon was cold-starting on a loaded machine - Fixed an issue on Windows where the directory a background session was started in could not be deleted after\n`claude rm`\n\nuntil the background daemon exited - Fixed background agents that resumed work being shown under Completed in the agents list\n- Fixed\n`claude agents`\n\nfreezing for several seconds when returning to the session list due to the auto-updater re-checking on every exit - Fixed Esc, arrow keys, and typing becoming unresponsive on Windows when attached to a background session or in the agent view while the host is under heavy CPU load\n- Fixed background agents emitting terminal sync-output markers to terminals that don’t support them (Apple Terminal, tmux), causing render artifacts when entering a running agent\n- Fixed mouse wheel scrolling prompt history instead of the transcript right after opening a session from the agents list\n- Fixed CJK IME composition appearing at the bottom-left of the screen instead of at the input caret in the\n`claude agents`\n\nview - Fixed valid\n`file:///C:/...`\n\nlinks being rewritten to a broken path on Windows terminals with hyperlink support - Fixed voice mode failing to connect when the project directory or branch name contains non-ASCII or special characters\n- Fixed the auto mode unavailability message on third-party providers (Bedrock/Vertex/Foundry) to point to the\n`CLAUDE_CODE_ENABLE_AUTO_MODE`\n\nopt-in instead of incorrectly blaming the model - Fixed\n`/effort ultracode`\n\nincorrectly blaming the dynamic workflows setting when the model cannot run xhigh; ultracode is no longer offered on models that do not support it - Fixed model-not-found errors suggesting\n`--model`\n\nwhen running via the SDK or other hosts where the CLI flag doesn’t apply - Fixed Claude’s past replies disappearing from scrollback when resuming a brief mode session with brief mode turned off\n- Fixed vim mode\n`p`\n\npasting on the line below instead of at the cursor when the register was yanked with`v$`\n\n- Improved performance of opening recently-inactive background agent sessions in\n`claude agents`\n\n- Improved auto mode classifier latency by reducing reasoning on routine actions, lowering the chance of “could not evaluate this action” blocks\n- Improved background-session teardown (\n`claude rm`\n\n/`stop`\n\n, idle reap) to send SIGTERM to running shell subprocesses before SIGKILL, so cleanup handlers run - Removed\n`CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE`\n\n; the environment variable is now a no-op - Removed the JetBrains plugin install suggestion from startup\n- Renamed the dynamic-workflow trigger keyword from\n`workflow`\n\nto`ultracode`\n\n. The word “workflow” no longer triggers a run; asking for one in your own words still works. The trigger keyword is highlighted in violet in the prompt input\n\nMay 31, 2026\n\n- Internal infrastructure improvements (no user-facing changes)\n\nMay 30, 2026\n\n- Auto mode is now available on Bedrock, Vertex, and Foundry for Opus 4.7 and Opus 4.8. Opt in by setting\n`CLAUDE_CODE_ENABLE_AUTO_MODE=1`\n\nMay 29, 2026\n\n- Plugins in\n`.claude/skills`\n\ndirectories are now automatically loaded, no marketplace required - Added\n`claude plugin init <name>`\n\nto scaffold a new plugin in`.claude/skills`\n\n- Added autocomplete for\n`/plugin`\n\narguments: subcommands, installed plugin names, and plugins from known marketplaces `claude agents`\n\n: the`agent`\n\nfield in`settings.json`\n\nis now honored for dispatched sessions, with`--agent <name>`\n\nto override it`EnterWorktree`\n\ncan now switch between Claude-managed worktrees mid-session`tool_decision`\n\ntelemetry events now include`tool_parameters`\n\n(bash commands, MCP/skill names) when`OTEL_LOG_TOOL_DETAILS=1`\n\n- Worktrees managed by Claude are now left unlocked when the agent finishes, so\n`git worktree remove`\n\n/`prune`\n\ncan clean them up - Fixed unprocessable images (zero-byte, corrupt) attached via paste, MCP, or dialog crashing the request instead of becoming a text placeholder\n- Fixed sandbox network permission prompts appearing in auto and bypass-permissions mode when using the desktop app, IDE extensions, or SDK\n- Fixed\n`claude agents`\n\ncompleted sessions not retiring when an idle subagent was still parked or had leaked a backgrounded shell - Fixed\n`claude agents`\n\npressing Esc not cancelling a slow “opening…”, leaving the list unresponsive - Fixed background agent worktrees under\n`.claude/worktrees/`\n\nbeing orphaned after the 30-day job retention sweep - Fixed background sessions re-attached after a sleep/wake not telling the model the correct date\n- Fixed copy-on-select in\n`claude agents`\n\nnot reaching the system clipboard inside tmux with`set-clipboard on`\n\n(regression in 2.1.153) - Fixed\n`--resume`\n\nnot reporting background subagents that were running when the previous Claude Code process exited - Fixed the\n`--resume`\n\nsession picker leaving its contents on the terminal after exiting in fullscreen mode - Fixed\n`--worktree`\n\nand`--worktree --tmux`\n\nreturning to the canonical repo root instead of the current linked worktree - Fixed the\n`/model`\n\npicker showing an incorrect “Newer version available” hint when the selected model is already the newest in its family; the pinned-model row now shows the model’s description instead of its raw ID - Fixed literal markdown markers (backticks, asterisks) appearing in the in-progress message text in fullscreen mode\n- Fixed the terminal freezing after approving the managed-settings security dialog at startup\n- Fixed a rare duplicate line appearing in scrollback after the terminal UI redraws\n- Fixed right-click paste duplicating the clipboard in the VS Code, Cursor, and Windsurf integrated terminals\n- WSL: fixed image paste (\n`alt+v`\n\nkeybinding), screenshot paste on Windows 11, and added support for dragging images from Windows Explorer - Improved performance of long and resumed conversations by eliminating redundant message-rendering recomputations\n`/terminal-setup`\n\nnow disables GPU acceleration in VS Code/Cursor/Windsurf integrated terminals to prevent garbled-text rendering- The Feature of the Week credit-claim status now appears as a notification in the status area instead of a line above the prompt\n`claude agents`\n\n: slash-command autocomplete in the dispatch input now matches substrings- Removed the “bash commands will be sandboxed” startup banner — sandbox status still shows in\n`/status`\n\nand when a command is blocked - Removed the “/ide for …” startup hint toast\n- [IDE] Fixed clicking Stop while a background subagent is running not actually stopping it\n- [VSCode] Fixed the fast mode indicator not appearing on Opus 4.8\n- Pressing backspace right after a workflow trigger keyword now dismisses the workflow request (same as alt+w) instead of deleting a character\n- Added a “Workflow keyword trigger” setting in /config to stop the word “workflow” in a prompt from triggering a dynamic workflow\n\nMay 29, 2026\n\n- Fixed an issue when using Opus 4.8 where thinking blocks were modified, leading to API errors.\n\nMay 28, 2026\n\n- Opus 4.8 is here! Now defaults to high effort · /effort xhigh for your hardest tasks\n- Introducing dynamic workflows: ask Claude to create a workflow and it orchestrates work across tens to hundreds of agents in the background, so you can take on larger, more complex tasks. Run\n`/workflows`\n\nto view your runs - Fast mode on Opus 4.8 is now available at a fraction of its previous cost: 2x the standard rate for 2.5x the speed\n- The lean system prompt is now the default for all models except Haiku, Sonnet, and Opus 4.7 and earlier\n- Claude now reserves the multiple-choice question prompt for decisions it genuinely cannot make itself, instead of asking when it already has enough context to proceed\n`/simplify`\n\nnow runs a cleanup-only review (reuse, simplification, efficiency, altitude) and applies the fixes, instead of running the full`/code-review --fix`\n\nbug-hunting review- Renamed the\n`/effort`\n\nslider labels from “Speed”/“Intelligence” to “Faster”/“Smarter” for clarity `claude agents`\n\n: type`! <command>`\n\nto run a shell command as a background session you can attach to and detach from. Also available as`claude --bg --exec '<command>'`\n\n`claude agents`\n\n:`/logout`\n\nnow signs you out instead of being sent to a background session`←←`\n\nto open the agents view now works on Bedrock, Vertex, Foundry, and with telemetry disabled- Claude in Chrome: pick which connected browser to use via\n`/chrome`\n\n→ “Select browser…”, or in-chat when a browser action runs with multiple connected - Plugins can now declare\n`defaultEnabled: false`\n\nin`plugin.json`\n\nor a marketplace entry; enable them with`/plugin`\n\nor`claude plugin enable`\n\n. Dependencies of enabled plugins are still enabled automatically - The\n`/plugin`\n\nDiscover tab now pins plugins whose relevance signals match the current directory with a “suggested for this directory” annotation - Streaming tool execution is now always enabled, including when telemetry is disabled or on Bedrock/Vertex/Foundry (previously behind a feature flag)\n- Stdio MCP server subprocesses now receive\n`CLAUDE_CODE_SESSION_ID`\n\nand`CLAUDECODE=1`\n\nin their environment `claude mcp list`\n\n/`get`\n\nnow show unapproved`.mcp.json`\n\nservers as`⏸ Pending approval`\n\ninstead of auto-approving and connecting when output is piped`/remote-control`\n\nautocomplete now shows “Disconnect Remote Control” when Remote Control is already active- Added Claude Opus 4.8 support and 4.7 → 4.8 migration guidance to the\n`/claude-api`\n\nskill - Deprecated\n`CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE`\n\n(will be removed on 06/01). To use fast mode on Opus 4.6, switch with`/model claude-opus-4-6[1m]`\n\nand then`/fast on`\n\n- Improved the auto-mode classifier’s detection of data exfiltration, particularly bulk transfers of repository contents\n- Fixed\n`rm -rf $HOME`\n\nnot being blocked as a dangerous path when`HOME`\n\nhas a trailing slash - Fixed\n`$TMPDIR`\n\nresolving to different directories in sandboxed vs unsandboxed Bash commands within the same session - Fixed unreadable highlighted-row text in\n`claude agents`\n\nwhen the Claude Code theme doesn’t match the terminal background - Fixed background-agent completion notifications triggering premature “out of context” behavior on some 1M-context models\n- Fixed background-session classifier losing the user’s goal when a scheduled\n`/command`\n\nfires - Fixed pinned background sessions respawning every minute after a Claude Code update, causing repeated agent-start notifications and process churn at idle\n- Fixed background sessions stuck at “blocked”, “running”, or “working” not retiring after the idle grace period\n- Fixed subagents in background sessions bypassing the worktree-isolation guard and writing to the shared checkout\n- Fixed orphaned\n`claude --bg-pty-host`\n\nprocesses spinning at 100% CPU after the daemon exits on macOS - Fixed number key shortcuts not working for options shown below the divider in option dialogs\n- Fixed\n`worktree.baseRef: \"head\"`\n\nresolving to the main checkout’s HEAD instead of the current worktree’s HEAD when spawning subagents or calling`EnterWorktree`\n\nfrom inside a linked worktree - Fixed a stray leading space on wrapped lines when the previous line ended exactly at the terminal width\n- Fixed intermittent terminal rendering corruption in VS Code by capping the number of distinct colors the thinking spinner produces\n- Fixed plan file names including\n`[Image #N]`\n\n/`[Pasted text #N]`\n\nplaceholders when a plan-mode prompt starts with pasted images or text - Fixed a phantom expand/click affordance on colored tool output: short ANSI-colored lines that fit on screen no longer show a “ctrl+o to expand” hint\n- Fixed a single invalid\n`allowedMcpServers`\n\n/`deniedMcpServers`\n\nentry in managed settings discarding all managed-settings policy; the bad entry is now dropped with a`claude doctor`\n\nwarning - Fixed API 400 errors on models that don’t support the effort parameter when\n`CLAUDE_CODE_ALWAYS_ENABLE_EFFORT`\n\nis set - Windows: Fixed update failures caused by\n`claude.exe`\n\nbeing in use showing a generic error instead of telling you to close other sessions and retry - Removed the stale ”& for background” hint from the shortcuts help panel\n- [VSCode] Auto mode no longer requires the bypass-permissions setting to appear in the mode picker, and a dismissable notice on the new-session screen explains auto mode the first time it’s active\n- Fixed the task panel below the prompt showing a stray unselectable “main” row when only a workflow is running\n- Fixed /mcp tools list and tool detail rendering when MCP servers have long or multi-line tool names or long descriptions\n- Fixed the /model picker not showing fast mode pricing on the Default option for API (pay-as-you-go) users when fast mode is on\n- Fixed auto mode incorrectly blocking actions with “could not evaluate this action” when the safety classifier ran out of output tokens while reasoning\n\nMay 28, 2026\n\n- Added\n`skipLfs`\n\noption to`github`\n\n/`git`\n\nplugin marketplace sources to skip Git LFS downloads during clone and update - Claude Code now shows a one-time notice when your npm global install can’t auto-update;\n`/doctor`\n\nlists the fixes - Status line commands now receive\n`COLUMNS`\n\nand`LINES`\n\nenvironment variables so scripts can size output to the terminal width `claude agents`\n\n: autocomplete in the dispatch input now suggests native slash commands and bundled skills, not just project skills`claude agents`\n\n: PR column now shows`PR #N`\n\nfor a single PR or`N PRs`\n\nfor multiple`claude doctor`\n\nnow shows the result of your last update attempt- Combined the separate “needs authentication” startup notifications for MCP servers and connectors into a single message\n- macOS: background agents now appear as “Claude Code” in Privacy & Security and keep their permission grants across upgrades\n- Fixed stateful MCP servers without the optional GET SSE stream reconnect-looping on\n`tools/list`\n\n(regression in v2.1.147) - Fixed a regression where a custom API gateway could receive the user’s Anthropic OAuth credential instead of the gateway’s own token\n- Fixed subagent (Agent tool) frontmatter MCP servers ignoring\n`--strict-mcp-config`\n\n,`--bare`\n\n, remote mode, enterprise managed MCP config, and managed-settings MCP server allow/deny policies `--strict-mcp-config`\n\nno longer strips inline`mcpServers`\n\nfrom explicitly-passed agent definitions (`--agents`\n\n/ SDK`agents`\n\n), and blocked subagent MCP servers now surface a visible warning- Fixed the Windows PowerShell installer reporting “Installation complete!” when installation actually failed\n- Fixed\n`claude update`\n\ninstalling the latest version instead of the configured release channel’s version for npm installations - Fixed excessive memory usage (multiple GB) when resuming a session by transcript file path on machines with many stored sessions\n- Fixed\n`claude agents`\n\nand`claude --bg`\n\nrunning on a stale daemon started before binary-takeover support, even after upgrading - Fixed a hang where the CLI could fail to exit when stdin was closed without EOF in stream-json mode, leaving a stale session marker behind\n- Fixed malformed\n`file://`\n\nlinks in Claude’s responses not being clickable in the terminal - Fixed\n`claude --help`\n\nrendering unwrapped output on terminals narrower than 92 columns - Fixed MCP tool progress notifications not rendering in the collapsed tool view\n- Fixed\n`Agent`\n\ntool with`subagent_type: 'claude'`\n\nrunning in an undocumented temporary worktree, which could silently discard outputs written to gitignored paths `/bg`\n\nwhile Claude is responding now continues the response in the background session instead of dropping it- Fixed\n`/btw`\n\nkeyboard shortcuts becoming unresponsive in background sessions while a task is running - Fixed background sessions writing temp files to\n`$CLAUDE_JOB_DIR`\n\ntriggering a “sensitive file” permission prompt - Fixed recovering a background agent whose working directory was deleted showing a truncated stack trace instead of a clear error message\n- Fixed\n`EnterWorktree`\n\nnot being available immediately in background sessions (previously required`ToolSearch`\n\nfirst) - Fixed\n`cmd+k`\n\nin iTerm2/Terminal.app not repainting attached background sessions - Fixed the IME candidate window appearing at the bottom of the screen instead of next to the input caret in attached background sessions on Windows\n- Fixed background-color bleed when attaching to a background agent from 256-color-only terminals after the agent had rendered file diffs\n- Fixed\n`/copy`\n\nand copy-on-select silently failing to update the system clipboard when attached to a background session inside tmux - Fixed opening\n`claude agents`\n\nwith Remote Control enabled leaving zombie session entries on the Code tab after exiting - Fixed\n`/rename`\n\nin background sessions not updating the session banner immediately - Fixed Windows update rollback: if a Windows update fails, Claude Code now restores the original executable by copy and tells you how to recover\n- [VSCode] Fixed Claude Code processes not shutting down cleanly when VS Code closed on Windows, causing false “unclean exit” reports and orphaned MCP servers\n`/model`\n\nnow saves your selection as the default for new sessions (matching the IDE). Press`s`\n\nin the picker to switch models for the current session only.- If you customized the\n`modelPicker:setAsDefault`\n\nkeybinding, rename it to`modelPicker:thisSessionOnly`\n\nin keybindings.json (the`d`\n\naction was replaced by`s`\n\n)\n\nMay 27, 2026\n\n`/code-review --fix`\n\nnow applies review findings to your working tree after the review, surfacing reuse, simplification, and efficiency suggestions;`/simplify`\n\nnow invokes`/code-review --fix`\n\n- Skills and slash commands can now set\n`disallowed-tools`\n\nin frontmatter to remove tools from the model while the skill is active - Added\n`/reload-skills`\n\ncommand to re-scan skill directories without restarting the session `SessionStart`\n\nhooks can now return`reloadSkills: true`\n\nto re-scan skill directories, making skills installed by the hook available in the same session`SessionStart`\n\nhooks can now set the session title via`hookSpecificOutput.sessionTitle`\n\non startup and resume- Added a\n`MessageDisplay`\n\nhook event that lets hooks transform or hide assistant message text as it is displayed - Added\n`pluginSuggestionMarketplaces`\n\nmanaged setting: admins can allowlist org marketplaces whose plugins may be suggested via context-aware tips `claude plugin marketplace remove`\n\nnow accepts`--scope user|project|local`\n\nfor symmetry with`marketplace add`\n\n,`install`\n\n, and`uninstall`\n\n- Claude Code now switches to your configured\n`--fallback-model`\n\nfor the rest of the session when the primary model is not found, instead of failing every request - Auto mode no longer requires opt-in consent\n- Vim mode:\n`/`\n\nin NORMAL mode now opens reverse history search (like Ctrl+R), matching bash/zsh vi-mode - The\n`/usage`\n\nbreakdown now includes large session files; files are scanned with a streaming read so memory usage stays flat - Thinking summaries in the collapsed group now stay readable for at least 3 seconds, render as markdown, and cap at 10 lines (\n`Ctrl+O`\n\nshows the full thinking) - In fullscreen mode, the “Thinking for Ns” indicator now counts up live while the model is thinking, and keeps its value if you interrupt mid-thought\n- Simplified the Workflow tool’s inline progress display — live agent counts now show only in the persistent workflow status row below the prompt\n- The post-response timer now shows “Waiting for N background agents/workflows to finish” when backgrounded agents or workflows are still running, and reports the cumulative time once their results are processed\n- Added the session entrypoint as an OpenTelemetry metric attribute (\n`app.entrypoint`\n\n, opt-in via`OTEL_METRICS_INCLUDE_ENTRYPOINT=true`\n\n) - Fixed terminal styling degrading in very long sessions by recycling the renderer’s style pool\n- Fixed the sandbox-enabled warning not appearing in condensed startup mode — it now shows in every layout\n- Fixed the loading spinner showing “still thinking”/“almost done thinking” while a tool is running, and reset the thinking status to “thinking” after each tool\n- Fixed focus mode showing a spurious “N messages hidden” count on turns with no hidden activity\n- Fixed clicking a link inside an expanded tool result collapsing the section instead of opening the link\n- Fixed markdown table cell borders inheriting the color of inline code, wrapped continuation lines losing their style, and empty header cells showing a label in the narrow-terminal stacked layout\n- Fixed plugin MCP servers with the same command but different environment variables being incorrectly deduplicated\n- Fixed\n`/doctor`\n\nreporting “marketplace not found” or “plugin not found” for stale`enabledPlugins`\n\nentries referencing removed marketplaces or dropped plugins - Fixed plugins that track a git branch silently no longer receiving updates after the plugin registry was rebuilt\n- Fixed remote MCP servers failing to connect in Claude Code Remote sessions when the egress proxy is enabled\n- Fixed the effort-change confirmation dialog appearing when the conversation has no messages or when switching between effort levels that resolve to the same underlying value\n- Fixed the Agent tool description referencing an agent list that is never delivered when running with\n`--bare`\n\nor with attachments disabled - Fixed a background worker crash in\n`claude agents`\n\nwhen accepting a stale permission prompt after a subagent was cancelled - Fixed\n`cache_creation_input_tokens`\n\nreporting as 0 in transcript and result usage when the API reports cache writes only via the nested`cache_creation`\n\nbreakdown - Fixed the PushNotification tool incorrectly reporting “Mobile push not sent (Remote Control inactive)” in SDK-hosted sessions when Remote Control is enabled\n- Fixed sessions getting stuck after a model or login switch left stale thinking-block signatures in history; now stripped proactively with a retry safety-net\n\nMay 23, 2026\n\n- Internal infrastructure improvements (no user-facing changes)\n\nMay 22, 2026\n\n`/usage`\n\nnow shows a per-category breakdown of what’s driving your limits usage — skills, subagents, plugins, and per-MCP-server cost`/diff`\n\ndetail view can now be scrolled with the keyboard (arrows,`j`\n\n/`k`\n\n,`PgUp`\n\n/`PgDn`\n\n,`Space`\n\n,`Home`\n\n/`End`\n\n)- Markdown output now renders GFM task list checkboxes (\n`- [ ] todo`\n\n/`- [x] done`\n\n) instead of plain bullets - Enterprise: added the\n`allowAllClaudeAiMcps`\n\nmanaged setting to load claude.ai cloud MCP connectors alongside`managed-mcp.json`\n\n- Fixed a PowerShell permission bypass: built-in\n`cd`\n\nfunctions (`cd..`\n\n,`cd\\`\n\n,`cd~`\n\n,`X:`\n\n) changed the working directory undetected, letting a later command read outside the workspace - Fixed the sandbox write allowlist in git worktrees covering the entire main repository root instead of only the shared\n`.git`\n\ndirectory (with`hooks/`\n\nand`config`\n\ndenied) - Fixed PowerShell prefix/wildcard allow rules (e.g.\n`PowerShell(dotnet.exe build *)`\n\n) not pre-approving native executables and scripts - Fixed a permission-analysis gap where the parser trusted stale variable-tracking values for\n`PWD`\n\n/`OLDPWD`\n\n/`DIRSTACK`\n\nacross`cd`\n\n/`pushd`\n\n/`popd`\n\n- Fixed\n`find`\n\nin the Bash tool exhausting the macOS system file/vnode table and crashing the host on large directory trees - Fixed the managed-settings approval dialog leaving the terminal frozen after accepting at startup\n- Fixed\n`/ultraplan`\n\nand remote session creation failing with “Could not capture uncommitted changes” when the working tree has no real changes - Fixed\n`otelHeadersHelper`\n\nfailing silently when the script path contains spaces; helper failures are now reported in`/doctor`\n\nand the debug log - Fixed the thinking spinner staying amber across tool calls and onto fresh thinking bursts\n- Fixed collapsed Bash output reporting the wrong hidden-line count for outputs with many short lines\n- Fixed slash-command argument-hint clipping trailing typed characters when the hint overflows the input box\n- Fixed argument-hint and progressive arg suggestions not appearing after Tab-completing a skill whose frontmatter\n`name:`\n\ndiffers from its directory basename - Fixed the status bar showing the user’s baseline\n`/effort`\n\nsetting instead of the effort level applied by skill/agent`effort:`\n\nfrontmatter - Fixed Ctrl+O transcript view freezing at the moment it was opened instead of tailing new messages\n- Fixed editing a recalled prompt-history entry losing the edit when navigating further up/down with arrow keys\n- Fixed\n`/config`\n\nexit summary reporting phantom changes to auto-compact and theme when toggling unrelated settings - Fixed\n`/insights`\n\ncrashing when cached session-meta files are missing optional fields - Fixed malformed PowerShell and History tool calls with missing input being misclassified as reads in transcript collapsing\n- Fixed renaming a Remote Control session from claude.ai or the Claude mobile app not updating the local session name for\n`claude --resume`\n\n- Fixed a race where a just-submitted prompt could appear twice in the up-arrow history\n- Fixed tapping the “Jump to bottom” pill in fullscreen mode not dismissing it immediately\n- Improved\n`/feedback`\n\nreports to include the conversation that happened before context compaction, making issues from earlier in long sessions easier to triage\n\nMay 22, 2026\n\n- Fixed the Bash tool returning exit code 127 on every command for some users (a regression introduced in 2.1.147)\n\nMay 21, 2026\n\n- Pinned background sessions (\n`Ctrl+T`\n\nin`claude agents`\n\n) now stay alive when idle, are restarted in place to apply Claude Code updates, and are shed under memory pressure only after non-pinned sessions - Renamed\n`/simplify`\n\nto`/code-review`\n\n. It now reports correctness bugs at a chosen effort level (e.g.,`/code-review high`\n\n); pass`--comment`\n\nto post findings as inline GitHub PR comments. The old cleanup-and-fix behavior has been removed - Improved auto-updater: retries transient network failures, reports specific error categories and OS error codes on failure, and shows the current version when an update fails\n- Improved diff rendering performance for large file edits\n- Prompt history no longer records consecutive duplicate entries — recalling a prompt with arrow-up and submitting it again won’t add another copy\n- Fixed enterprise login restrictions (\n`forceLoginOrgUUID`\n\nand`forceLoginMethod`\n\nmanaged-settings) not being enforced against third-party-provider and API-key sessions - Fixed\n`&`\n\nin`!`\n\ncommand output displaying as`&`\n\n, which broke copy-pasting URLs from commands like`gcloud auth login`\n\non headless machines - Fixed unknown slash commands silently doing nothing in headless/SDK mode — they now show an error message\n- Fixed\n`/help`\n\nrendering a broken tab header and showing only one command per page on small terminals when not in fullscreen mode - Fixed shell snapshot dropping user functions whose names start with a single underscore, which broke aliases referencing them\n- Fixed plugin agents that declare multiple\n`Agent(...)`\n\ntypes in`tools:`\n\nfrontmatter dropping all but the last entry - Fixed hook\n`if`\n\nconditions like`PowerShell(git push*)`\n\nnever matching — only`PowerShell(*)`\n\nworked - Fixed PowerShell tool dropping output for commands that rely on the default formatter\n- Fixed: on Windows, “Yes, and don’t ask again” for a PowerShell script invocation now writes a rule that actually matches on subsequent runs\n- Fixed PowerShell tool failing on Windows with exit code 1 when\n`pwsh`\n\nis installed via winget or the Microsoft Store - Fixed\n`/effort`\n\nopening with the slider on the wrong level — it now starts at your current effort - Fixed paginating MCP servers dropping resources, templates, and prompts past page 1\n- Fixed full-screen strobing in attached background sessions on Windows Terminal while Claude is streaming\n- Fixed: on Windows, removing a background-job worktree no longer follows NTFS junctions into the main repo\n- Fixed\n`/background`\n\nrefusing sessions whose only typed input was a skill or custom slash command - Fixed auto mode suppressing\n`AskUserQuestion`\n\nwhen the user or a skill explicitly relies on it; the auto-mode classifier now sees the user’s answers as intent signal - Fixed\n`/theme`\n\n“New custom theme” and color editor dialogs not responding to Esc - Fixed an uncaught exception at the end of streaming sessions when running via the Agent SDK\n- Fixed a rare hang when waiting for scroll to settle on Windows\n- Fixed stale and doubled rows in the agent view list on Windows when background session results contain wide (CJK) characters\n- Fixed pasted text being delivered to agents as an unreadable\n`[Pasted text #N]`\n\nplaceholder instead of the actual content - Fixed plugin component counts in\n`claude plugin details`\n\nand`/plugin`\n\nbeing doubled when a plugin’s manifest listed paths overlapping its default directories - Fixed backgrounded sessions re-prompting for tool permissions you already granted with “don’t ask again”\n- Fixed GNOME Terminal right-click and middle-click paste not inserting text\n- Fixed\n`CLAUDE_CODE_SUBAGENT_MODEL`\n\nnot applying to teammate processes spawned by agent teams - Fixed slash commands followed by a tab or newline being treated as an unknown command\n- Fixed several spacing and layout glitches in the\n`/plugin`\n\n,`/status`\n\n,`/mobile`\n\n,`/sandbox`\n\n, and`/permissions`\n\nmenus - Fixed stripped images prompting the model to repeatedly re-read media that was no longer present\n\nMay 19, 2026\n\n- Added\n`claude agents --json`\n\nto list live Claude sessions as JSON for scripting (tmux-resurrect, status bars, session pickers) - Added\n`agent_id`\n\nand`parent_agent_id`\n\nattributes to`claude_code.tool`\n\nOTEL spans, and fixed trace parenting so background subagent spans nest under the dispatching Agent tool span - Status line JSON input now includes GitHub repo and PR information when detected\n`/plugin`\n\nDiscover and Browse screens now show a plugin’s commands, agents, skills, hooks, and MCP/LSP servers before installation`claude agents`\n\nterminal tab title now shows the awaiting-input count so an alt-tabbed window tells you when an agent needs attention- Slash command and @-mention suggestion list now supports mouse hover and click in fullscreen mode\n- Stop and SubagentStop hook input now includes\n`background_tasks`\n\nand`session_crons`\n\nfields - Fixed a permission-prompt bypass where bare variable assignments to non-allowlisted environment variables in Bash commands were auto-approved\n- Fixed MCP prompt slash commands showing raw server validation errors when a required argument is omitted — the error now names the missing argument and shows expected usage\n- Fixed the spinner and elapsed-time display freezing until a keypress after the terminal was resized or refocused\n- Fixed the cross-project resume hint failing in default Windows PowerShell 5.1 — Windows now uses\n`;`\n\nas the command separator - Fixed voice push-to-talk not working in the agent view’s reply pane\n- Fixed task lists rendering in random order when several tasks are created at once\n- Fixed stale “Failed to install Anthropic marketplace” banner showing when the marketplace is already installed\n- Fixed the PR badge in the footer not updating immediately after\n`gh pr create`\n\nand other PR-state-changing commands run in-session - Fixed Agent Teams teammates with non-ASCII names failing every API call due to invalid header encoding\n- Fixed\n`/review`\n\nusing a deprecated`projectCards`\n\nGraphQL query that errored on repos with Classic Projects - Fixed\n`claude plugin validate`\n\nnot flagging`skills:`\n\nentries that point at a file instead of a directory — the error now suggests the parent directory - Fixed an infinite loop where a skill using\n`context: fork`\n\ncould repeatedly re-invoke itself instead of running - Improved the Read tool to return a truncated first page with a “PARTIAL view” notice instead of a hard error when a whole-file read exceeds the token limit\n\nMay 19, 2026\n\n- Added\n`/resume`\n\nsupport for background sessions — sessions started via`claude --bg`\n\nor agent view now appear alongside interactive ones, marked with`bg`\n\n- Added elapsed duration to background subagent completion notifications (e.g. “Agent completed · 3h 2m 5s”)\n- The\n`/plugin`\n\nbrowse and discover panes now show when a plugin was last updated `/model`\n\nnow changes the model for the current session only; press`d`\n\nin the model picker to set a default for new sessions- Renamed “extra usage” to “usage credits” across CLI copy;\n`/extra-usage`\n\nis now`/usage-credits`\n\n(old name still works) - Fixed startup hanging up to 75s when\n`api.anthropic.com`\n\nis unreachable (captive portal, firewall, VPN issues) — side-channel API calls now time out after 15s - Fixed garbled terminal output after a missed window-resize event (e.g. dragging a VS Code split-pane divider) — now self-heals on the next frame instead of requiring Ctrl+L\n- Fixed progressive terminal display corruption (stale/garbled glyphs) that could appear in very long sessions and only cleared on terminal resize or restart\n- Reduced terminal rendering glitches in VS Code by reducing spinner animation color count\n- Fixed macOS background sessions crashing with “exit 1 before init” when the project lives under a Full Disk Access-protected folder (regression in 2.1.143)\n- Fixed an unrecoverable conversation when reading a file whose image extension doesn’t match its contents (e.g. HTML saved as .png) — now falls back to text\n- Fewer spurious tool errors during search:\n`head`\n\n/`tail`\n\nfile views now satisfy the read-before-edit check, and a “no matches” result (exit code 1) from`egrep`\n\n,`fgrep`\n\n,`git grep`\n\n, or`git diff`\n\nis no longer reported as a command failure - Fixed\n`/branch`\n\nfailing with “No conversation to branch” after entering a worktree or in some background sessions - Fixed pressing Escape in the AskUserQuestion notes field aborting the turn instead of returning to answer selection\n- Fixed model selection not applying when changed via the IDE model picker or\n`applyFlagSettings`\n\nafter startup - Resumed sessions now keep the model they were using instead of picking up another session’s\n`/model`\n\nchoice - Fixed Bedrock and Vertex users unable to select “Opus (1M context)” from the\n`/model`\n\npicker (regression in v2.1.129) - Fixed remote-session login failing with “Can’t access this organization” for users with\n`forceLoginMethod`\n\nand`forceLoginOrgUUID`\n\nset - Fixed MCP servers with paginated\n`tools/list`\n\nresponses only returning the first page, silently dropping tools - Fixed MCP images with unsupported MIME types (e.g. SVG) breaking the conversation — now saved to disk and referenced in the tool result\n- Fixed file descriptor exhaustion when a build runs inside a skill directory — non-\n`.md`\n\nfiles no longer trigger skill reloads - Fixed session title being generated from plugin monitor output instead of the user’s first prompt\n- Fixed Skill tool failing with permission error in headless mode (regression in v2.1.141)\n- Fixed plugins enabled in your own settings showing “not cached” errors after first load on a fresh machine; plugins enabled only by a project’s\n`.claude/settings.json`\n\nnow show an actionable`claude plugin install`\n\nhint - Fixed\n`claude mcp list`\n\nsilently reporting no servers when`.mcp.json`\n\ncan’t be parsed (e.g. using VS Code’s`\"servers\"`\n\nkey instead of`\"mcpServers\"`\n\n) — now shows configuration errors - Fixed background side-queries on custom\n`ANTHROPIC_BASE_URL`\n\nsetups and Bedrock Mantle not using Haiku — now falls back correctly when a first-party API key is configured or no Haiku model is set - Fixed scrolling in attached background sessions on Windows — PgUp/PgDn, mouse wheel, and Ctrl+O transcript navigation now work\n- Fixed a crash when closing the terminal while attached to a background session\n- Fixed on Windows, pressing ← in\n`claude agents`\n\nleaving the list unresponsive to keyboard input - Fixed ghost characters at the left edge when switching panes in Agent View on Windows Terminal with CJK content\n`/bg`\n\nand`←`\n\n-detach now preserve directories added via`/add-dir`\n\n- Fixed Edit/Write refusing with “background session hasn’t isolated its changes yet” right after detaching a session that was already editing in place\n- Fixed\n`claude respawn <id>`\n\non a stopped background session showing “stopped” instead of running - Fixed\n`/resume`\n\npicker not showing sessions forked from a background session - Fixed opening a session from\n`claude agents`\n\nor running`claude logs <id>`\n\nhanging when the background service is unresponsive — now times out after 10s with a recovery hint - Fixed background Bash tasks spawned by subagents staying “Running” in SDK task panels after the process exits\n- Fixed completed or stopped background sessions briefly failing to wake being permanently marked as a startup crash\n- Fixed markdown links in\n`claude agents`\n\nattached sessions rendering as plain text instead of clickable hyperlinks - Fixed custom\n`spinnerVerbs`\n\napplying to the post-turn duration message — past-tense built-ins like “Worked for 5s” are restored there `claude agents`\n\n/`--bg`\n\nrejection messages now name the specific gate (non-TTY, env var, or setting) instead of a generic message`claude --bg --name <label>`\n\nnow echoes the name in the post-spawn confirmation`claude agents`\n\n: renaming a background session with Ctrl+R now updates the attached session’s banner immediately- Background session worktree isolation guard now applies for non-git VCS users with\n`WorktreeCreate`\n\nhooks configured - Plugin marketplace add/update now respects\n`CLAUDE_CODE_PLUGIN_PREFER_HTTPS`\n\n`/plugin`\n\nnow returns to the Installed list after enabling, disabling, or uninstalling a plugin`/doctor`\n\nnow shows an exec-form example when a command hook is missing the`command`\n\nfield- Skill-listing truncation is no longer shown as a startup notification — run\n`/doctor`\n\nfor the full breakdown - Improved recovery from rare pre-response stream stalls — now retries streaming once instead of falling back to a slower non-streaming request\n- Improved SDK/headless MCP startup: pre-wait now overlaps startup instead of blocking before the first turn (up to 2s faster with slow MCP servers)\n- The post-survey follow-up hint now appears after every non-dismiss survey response with context-aware copy, making it easier to share more detail via /feedback.\n\nMay 15, 2026\n\n- Added plugin dependency enforcement:\n`claude plugin disable`\n\nnow refuses when another enabled plugin depends on the target (with a copy-pasteable disable-chain hint), and`claude plugin enable`\n\nforce-enables transitive dependencies - Added projected context cost (per-turn and per-invocation token estimates) to the\n`/plugin`\n\nmarketplace browse pane - Added\n`worktree.bgIsolation: \"none\"`\n\nsetting to let background sessions edit the working copy directly without`EnterWorktree`\n\n, for repos where worktrees are impractical - PowerShell tool now passes\n`-ExecutionPolicy Bypass`\n\n. Opt out with`CLAUDE_CODE_POWERSHELL_RESPECT_EXECUTION_POLICY=1`\n\n- Background sessions now preserve the model and effort level you set after waking from idle\n- Shift+Tab in attached agent sessions now includes auto mode in the cycle\n- Fixed a corrupt\n`.credentials.json`\n\nwith a non-array`scopes`\n\nvalue hanging the CLI on startup or silently aborting OAuth token refresh - Fixed right-click paste in\n`claude agents`\n\non Windows Terminal and WSL - Fixed stop hooks that block repeatedly looping forever — the turn now ends with a warning after 8 consecutive blocks (override via\n`CLAUDE_CODE_STOP_HOOK_BLOCK_CAP`\n\n) - Fixed Esc/Ctrl+C not cancelling a pending\n`/loop`\n\nwakeup while Claude is idle between iterations - Fixed\n`/goal`\n\nevaluator firing while background shells or delegated subagents are still running - Fixed\n`NO_COLOR`\n\n/`FORCE_COLOR`\n\nin settings.json`env`\n\nstripping Claude Code’s own UI colors — they now apply to subprocesses only - Fixed agent view spawning repeated PowerShell processes on Windows when listing sessions\n- Fixed\n`/bg`\n\nwithout a prompt sending “continue” to the forked session — the fork now waits for input - Fixed\n`--agent <name>`\n\nnot finding plugin-contributed agents without the`plugin:`\n\nprefix - Fixed deleting a session from agent view not removing its transcript file\n- Fixed stale-fragment rendering when scrolling in attached background sessions on Windows Terminal\n- Fixed background agents false-positive worker-stall detection storm after host sleep or macOS App Nap\n- Fixed 5xx error messages pointing at status.claude.com instead of naming the configured gateway or cloud provider\n- The PowerShell tool is now enabled by default on Windows for Bedrock, Vertex, and Foundry users. Opt out with\n`CLAUDE_CODE_USE_POWERSHELL_TOOL=0`\n\n. `claude agents`\n\nnow accepts`--add-dir`\n\n,`--settings`\n\n,`--mcp-config`\n\n, and`--plugin-dir`\n\nand applies them to the dashboard and to background sessions dispatched from it`claude agents`\n\naccepts`--permission-mode`\n\n,`--model`\n\n,`--effort`\n\n, and`--dangerously-skip-permissions`\n\nto set defaults for sessions dispatched from the view`claude --bg --dangerously-skip-permissions`\n\nnow persists across retire→wake- Fixed background sessions silently capturing IDE file references into the warm spare’s input, which caused the reference to be prepended to the next prompt dispatched from\n`claude agents`\n\n- Worktree cleanup no longer falls back to\n`rm -rf`\n\nwhen`git worktree remove`\n\nfails, preventing loss of gitignored or in-progress files - Fixed background-job sessions on macOS getting “Operation not permitted” errors when reading files under\n`~/Documents`\n\n,`~/Desktop`\n\n, or`~/Downloads`\n\n, even with Full Disk Access granted. `/bg`\n\nnow preserves`--mcp-config`\n\n,`--settings`\n\n,`--add-dir`\n\n,`--plugin-dir`\n\n, and`--strict-mcp-config`\n\n, so backgrounded sessions keep their MCP servers and settings across respawn.- Background sessions launched from\n`claude agents`\n\nnow honor`permissions.defaultMode`\n\nfrom settings.json (was previously overridden to auto mode) - Fixed: on Windows, pressing ← in\n`claude agents`\n\nwhile a response was streaming could leave the agents list unresponsive to all input `/bg`\n\nand`←`\n\n-detach now preserve`--fallback-model`\n\n, so backgrounded workers degrade to the fallback model on overload instead of hard-failing.`/bg`\n\nand`←`\n\n-detach now preserve`--allow-dangerously-skip-permissions`\n\n, so the forked worker keeps bypass-permissions available in its Shift+Tab cycle.- Fixed: background daemon spawn now falls back to the running binary when the\n`~/.local/bin/claude`\n\nlauncher is missing or non-executable - Fixed\n`claude agents --allow-dangerously-skip-permissions`\n\ndefaulting dispatched sessions to bypass mode instead of making it available in the permission cycle\n\nMay 14, 2026\n\n- Added new\n`claude agents`\n\nflags:`--add-dir`\n\n,`--settings`\n\n,`--mcp-config`\n\n,`--plugin-dir`\n\n,`--permission-mode`\n\n,`--model`\n\n,`--effort`\n\n, and`--dangerously-skip-permissions`\n\nto configure dispatched background sessions - Fast mode now uses Opus 4.7 by default (previously Opus 4.6). Set\n`CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE=1`\n\nto pin fast mode to Opus 4.6 - Plugins with a root-level\n`SKILL.md`\n\nand no`skills/`\n\nsubdirectory are now surfaced as a skill - The\n`/plugin`\n\ndetails pane and`claude plugin details`\n\nnow show LSP servers a plugin provides `/web-setup`\n\nwarns before replacing an existing GitHub App connection- Fixed\n`MCP_TOOL_TIMEOUT`\n\nnot raising the per-request fetch timeout for remote HTTP and SSE MCP servers, which capped tool calls at 60 seconds regardless of the configured value - Fixed background sessions not recognizing pre-existing git worktrees, blocking Edit while EnterWorktree refused to create a duplicate\n- Fixed background sessions disappearing and daemon reconnect failing after macOS sleep/wake — the daemon now detects clock jumps instead of treating them as elapsed idle time\n- Fixed daemon not exiting cleanly after the binary is upgraded (e.g.\n`brew upgrade`\n\n), causing dispatched agents to crash-loop on the deleted path - Fixed background agents crash-looping when the Claude-in-Chrome extension is connected without a shared tab\n- Fixed clicking links in an attached\n`claude agents`\n\nsession — the background worker’s headless browser shim no longer applies while attached - Fixed\n`claude agents`\n\n“v to open in editor” using the daemon’s default editor instead of your shell’s`$EDITOR`\n\n/`$VISUAL`\n\n- Fixed\n`claude agents`\n\ndeadlocking on Windows with network-drive working directories; Ctrl+C now works during startup - Fixed background-color bleed when attaching to a\n`claude agents`\n\nsession from Apple Terminal or other 256-color-only terminals - Fixed\n`claude --bg --dangerously-skip-permissions`\n\nnot persisting across retire/wake - Fixed session titles being derived from the URL when the first message is a link\n- Fixed redundant\n`set_model`\n\nrequests from remote clients injecting duplicate`/model`\n\nbreadcrumbs into the transcript - Fixed plugins using\n`skills: [\"./\"]`\n\nshowing a false “path escapes plugin directory” error - Fixed plugin cache cleanup deleting the active plugin version directory when no installation metadata is present\n- Fixed\n`/plugin`\n\nbrowse pane showing “0 installs” for newly published plugins - Fixed plugin advisories not naming every\n`plugin.json`\n\nkey that shadows a default folder - Improved reactive compaction: the first summarize attempt now seeds from the original request’s overflow size, avoiding a wasted near-full-context retry\n- Improved hook configuration error: configuring a prompt- or agent-type hook for\n`SessionStart`\n\n/`Setup`\n\n/`SubagentStart`\n\nnow shows a clear “use a command-type hook instead” error - Removed stale\n`/model claude-sonnet-4-20250514`\n\nsuggestion from Usage Policy refusal messages\n\nMay 13, 2026\n\n- Added\n`terminalSequence`\n\nfield to hook JSON output so hooks can emit desktop notifications, window titles, and bells without a controlling terminal - Added\n`CLAUDE_CODE_PLUGIN_PREFER_HTTPS`\n\nto clone GitHub plugin sources over HTTPS instead of SSH, for environments without a GitHub SSH key - Added\n`ANTHROPIC_WORKSPACE_ID`\n\nenvironment variable for workload identity federation — scopes the minted token to a specific workspace when the federation rule covers more than one - Added\n`claude agents --cwd <path>`\n\nto scope the session list to a directory `/feedback`\n\ncan now include recent sessions (last 24 hours or 7 days) for issues spanning more than the current session- Rewind menu: added “Summarize up to here” to compress earlier context while keeping recent turns intact\n- Auto mode permission dialog now explains when a\n`permissions.ask`\n\nrule caused the prompt - Restored the “view diff in your IDE” option on file-edit permission prompts when an IDE is connected\n- Background agents launched via\n`/bg`\n\nor`←←`\n\nnow preserve the current permission mode instead of reverting to default `claude agents`\n\n: agents that finish work but leave a background shell running now move to Completed instead of staying under Working- Improved spinner feedback during long thinking periods — the spinner now warms to amber after 10 seconds to signal Claude is still working\n- Improved plugin menu navigation:\n`→`\n\n/Tab switch tabs,`↑`\n\nmoves to the tab strip, and tab headers and search box are clickable in fullscreen mode - Fixed background side-queries sending an unavailable Haiku model ID on Bedrock/Vertex/Foundry/gateway when no\n`ANTHROPIC_SMALL_FAST_MODEL`\n\noverride is set — now falls back to the main-loop model - Fixed\n`claude daemon status`\n\nand`/doctor`\n\non Windows throwing when the daemon pipe key file is locked or unreadable — now shows the underlying error instead of an opaque failure - Fixed\n`claude agents`\n\nshowing the agent-type list instead of the dashboard when launched through a wrapper that adds flags - Fixed\n`claude agents`\n\nopening a crashed session firing redundant dispatches when the working directory was deleted - Fixed background jobs on a custom\n`ANTHROPIC_BASE_URL`\n\ngateway not getting auto-named — the namer now uses the main model when no Haiku model is configured - Fixed\n`/model`\n\nin one session silently changing the autocompact threshold in other concurrent sessions - Fixed switching permission mode while a tool-permission prompt is open not auto-dismissing the prompt when the new setting permits the tool\n- Fixed pressing Enter while a permission/dialog prompt is open also submitting text in the input box\n- Fixed hooks receiving a non-existent\n`transcript_path`\n\nafter`EnterWorktree`\n\nswitches the working directory - Fixed markdown tables with cell wrapping falling back to the vertical key-value layout instead of rendering as a bordered grid (regression in 2.1.136)\n- Fixed cancelled prompts being removed from Up-arrow history when auto-restored into the input box, avoiding duplicate entries\n- Fixed prompts cancelled with Ctrl+C/Esc before any response being dropped from Up-arrow history\n- Fixed Ctrl+C not interrupting a running turn while in vim INSERT/VISUAL mode\n- Fixed alternative\n`chat:submit`\n\nkeybindings (e.g.`meta+enter`\n\n,`ctrl+enter`\n\n) not working when`enter`\n\nis rebound to`chat:newline`\n\n- Fixed prompt suggestions being silently disabled when an output style was configured\n- Fixed\n`spinnerVerbs`\n\nsetting not being honored in turn-completion messages - Fixed AskUserQuestion popup hiding the last line of preceding chat content\n- Fixed Web Search status showing “Did 0 searches” when searches returned errors\n- Fixed multi-line statusline output dropping or corrupting rows when any line exceeds terminal width\n- Fixed light-ansi theme using invisible white for diff context lines on light backgrounds — now uses black\n- Fixed error overlay dumping minified bundle source that hid the original error message\n- Fixed pressing Enter after typing a feedback survey rating digit submitting it as a chat message instead of the rating\n- Fixed pressing\n`x`\n\non a selected subagent in the agent panel typing into the prompt instead of stopping the agent - Fixed session title being derived from plugin monitor notifications before the user’s first prompt\n- Fixed “Allowed by PermissionRequest hook” repeating once per tool call under a collapsed read/search group\n- Fixed\n`/tui`\n\nsilently dropping running background shells and subagents — now refuses and asks to wait for them to finish - Fixed welcome banner showing “API Usage Billing” on Bedrock, Vertex, Foundry, and other third-party providers — now shows the provider name\n- Fixed\n`/mcp`\n\nserver list not keeping the focused server visible in short terminals in fullscreen mode - Fixed redaction in\n`/feedback`\n\nbundles producing invalid JSON for quoted values like session IDs - Fixed desktop and third-party provider sessions incorrectly inheriting\n`apiKeyHelper`\n\n/`ANTHROPIC_AUTH_TOKEN`\n\nfrom host managed-settings - Fixed early analytics events being silently dropped when fired before logger initialization\n- Fixed\n`claude plugin install`\n\nfailing for plugins whose marketplace`ref`\n\nno longer exists upstream when a`sha`\n\nis also pinned - Fixed plugin details pane showing 0 MCP servers for plugins that declare them via\n`.mcp.json`\n\n- Fixed plugin MCP servers with unset config variables showing a generic connection failure instead of a “config issue” message with a fix-it hint; malformed\n`.mcp.json`\n\nentries no longer drop other MCP servers - Fixed MCP server configs using POSIX shell parameter expansions (e.g.\n`${var%pattern}`\n\n) being incorrectly flagged as missing environment variables - Fixed MCP HTTP/SSE servers returning 403 on connect showing as “failed” instead of “needs auth”\n- Fixed remote MCP servers disconnecting unnecessarily when the optional server-events stream failed to reconnect — tool calls continue over POST\n- Fixed Remote Control MCP connectors all failing with 401 when the worker session token rotated mid-session\n- Fixed Remote Control automatically re-enrolling a trusted device when the server rejects a stale token, instead of looping through\n`/login`\n\n- Fixed a race where early OTel spans could be silently dropped in SDK/headless mode with beta tracing enabled\n- Fixed custom\n`voice:pushToTalk`\n\nkeybindings and`\"space\": null`\n\nunbinds being silently ignored - Fixed Windows Alt+V image paste reporting “no image found” when the clipboard contains a screenshot\n- Fixed SDK “Claude Code native binary not found” on Linux when both glibc and musl platform packages are installed\n- Bedrock:\n`awsCredentialExport`\n\nnow always runs when configured instead of being skipped when ambient AWS credentials resolve, fixing auth for cross-account access - [VSCode] Fixed in-chat mic showing no feedback when the microphone produced only silence — now shows “No audio detected”\n- [VSCode] Voice mode: the WSL error now suggests installing\n`sox libsox-fmt-pulse`\n\nfor WSLg users `claude agents`\n\n: launching a session no longer fails when the pre-warmed background worker is unhealthy — now falls back to a fresh launch`claude agents`\n\nno longer shows empty placeholder sessions left over from backgrounding a fresh REPL, and shows onboarding text when entered via ← with no other agents- Empty idle background sessions left over from\n`←`\n\nare now automatically retired by the daemon after 5 minutes\n\nMay 12, 2026\n\n- Improved Agent tool\n`subagent_type`\n\nmatching to accept case- and separator-insensitive values (e.g.`\"Code Reviewer\"`\n\nresolves to`code-reviewer`\n\n) - Updated agent color palette\n- Fixed\n`/goal`\n\nsilently hanging when`disableAllHooks`\n\nor`allowManagedHooksOnly`\n\nis set — now shows a clear message instead of an indicator that never resolves - Fixed a regression in settings hot-reload where symlinked settings files caused misattributed change events and spurious\n`ConfigChange`\n\nhooks - Fixed\n`claude --bg`\n\nfailing with “connection dropped mid-request” when the background service was about to idle-exit - Fixed background service startup failing on machines with enterprise endpoint security by allowing more time\n- Fixed remote managed settings not retrying on 401 — now retries once with a force-refreshed token\n- Fixed managed\n`extraKnownMarketplaces`\n\nauto-update policy not being persisted to`known_marketplaces.json`\n\n- Fixed\n`/loop`\n\nscheduling redundant wakeups to poll for background tasks that already notify on completion - Fixed a recurring event-loop stall on Windows when a missing executable (e.g.\n`gh`\n\n) triggered synchronous`where.exe`\n\nre-spawns on every check - Fixed\n`Read`\n\ntool calls failing validation when`offset`\n\nis passed as a whitespace-padded or`+`\n\n-prefixed string - Fixed native terminal cursor not staying at the input caret when the terminal loses focus\n- Plugins now warn when a default component folder (e.g.\n`commands/`\n\n) is silently ignored because`plugin.json`\n\nsets the matching key. Shown in`/doctor`\n\n,`claude plugin list`\n\n, and`/plugin`\n\n.\n\nMay 11, 2026\n\n- Added agent view (Research Preview): a single list of every Claude Code session — running, blocked on you, or done. Run\n`claude agents`\n\nto get started. See[https://code.claude.com/docs/en/agent-view](https://code.claude.com/docs/en/agent-view) - Added\n`/goal`\n\ncommand: set a completion condition and Claude keeps working across turns until it’s met. Works in interactive,`-p`\n\n, and Remote Control. Shows live elapsed/turns/tokens as an overlay panel - Added\n`/scroll-speed`\n\ncommand to tune mouse wheel scroll speed with a live preview - Added\n`claude plugin details <name>`\n\nto show a plugin’s component inventory and projected per-session token cost - Added transcript view navigation:\n`?`\n\nfor keyboard shortcuts,`{`\n\n/`}`\n\nto jump between user prompts,`v`\n\nto toggle shortcut panel - Added hook\n`args: string[]`\n\nfield (exec form) that spawns the command directly without a shell, so path placeholders never need quoting - Added hook\n`continueOnBlock`\n\nconfig option for`PostToolUse`\n\n— set to`true`\n\nto feed the hook’s rejection reason back to Claude and continue the turn - MCP stdio servers now receive\n`CLAUDE_PROJECT_DIR`\n\nin their environment, matching hooks. Plugin configs can reference`${CLAUDE_PROJECT_DIR}`\n\nin commands - Compaction prompt now asks the model to preserve sensitive user instructions\n`/mcp`\n\nReconnect now picks up`.mcp.json`\n\nedits without a restart, and shows the HTTP status and URL when reconnecting fails`/context all`\n\nper-skill token estimates now account for the model’s tokenizer and show rounded values`claude plugin install <name>@<marketplace>`\n\nnow auto-refreshes the marketplace and retries before reporting a plugin as not found`/plugin`\n\ninstalled-plugin details now show hook event names and MCP server names cleanly`/context`\n\nnow shows the providing plugin’s name for plugin-sourced skills- Remote MCP server reconnect retry on transient failures is now enabled for all users\n- API requests from subagents now carry\n`x-claude-code-agent-id`\n\n/`x-claude-code-parent-agent-id`\n\nheaders, and`claude_code.llm_request`\n\nOTEL spans include`agent_id`\n\n/`parent_agent_id`\n\nattributes - Remote Control,\n`/schedule`\n\n, claude.ai MCP connectors, and notification preferences are now disabled when`ANTHROPIC_API_KEY`\n\n/`apiKeyHelper`\n\n/`ANTHROPIC_AUTH_TOKEN`\n\nis set, even if a Claude.ai login also exists. Unset the API key to use these features - Fixed a deadlock where expired credentials and the\n`forceRemoteSettingsRefresh`\n\npolicy setting blocked`claude auth login`\n\n/`logout`\n\n/`status`\n\nwith no way to recover - Fixed\n`autoAllowBashIfSandboxed`\n\nnot auto-approving commands with shell expansions like`$VAR`\n\nand`$(cmd)`\n\n- Fixed a bug where a hook writing to the terminal could corrupt an on-screen interactive prompt; hooks now run without terminal access\n- Fixed unbounded memory growth when an HTTP/SSE MCP server streams non-protocol data — response bodies now capped at 16 MB per SSE frame\n- Fixed\n`Skill(name *)`\n\npermission rules — the wildcard form now works as a prefix match, matching`Bash(ls *)`\n\nbehavior - Fixed settings hot-reload not detecting edits to symlinked\n`~/.claude/settings.json`\n\n- Fixed plugin details failing to load when the marketplace key differs from the manifest name\n- Fixed\n`/model`\n\npicker “Default” row not reflecting`ANTHROPIC_DEFAULT_OPUS_MODEL`\n\n/`ANTHROPIC_DEFAULT_SONNET_MODEL`\n\noverrides - Fixed spurious “stream idle timeout” 5 minutes after a response completed, caused by the watchdog timer not being cleared on stream cancellation\n- Fixed silent\n`exit 1`\n\nwhen 10+ MCP servers are configured and the cache directory is unwritable — the error message now includes the underlying cause - Fixed a typing cursor blinking on tab names, list pointers, and select rows in dialogs\n- Fixed transcript view letter shortcuts not working after mouse click\n- Fixed Bash-mode up-arrow history repeating the first entry and clobbering the in-progress draft\n- Fixed pasting or dropping multiple images only inserting the last one\n- Fixed hyperlinks using unreadable dark navy on dark themes — they now adapt to the active theme\n- Fixed model picker showing a redundant “Current model” row for third-party users whose model is set to the\n`opus`\n\nalias - Fixed legacy Opus picker entry on PAYG 3P providers resolving to the same model as the default entry\n- Fixed mouse wheel scrolling speed in Cursor and VS Code 1.92–1.104; the trackpad now scrolls at a steady rate and the mouse wheel keeps ~3 lines per notch\n- Fixed scroll behavior in Windows Terminal and VS Code when attached to background sessions\n- Fixed MCP resources from disconnected servers lingering in\n`@server:`\n\nautocomplete - Fixed two-file diff snippets over-reporting the number of truncated lines by one\n- Fixed Grep results not relativizing Windows drive-letter paths and count mode reporting wrong totals for single-file paths\n- Fixed border-embedded text overflowing on CJK/emoji due to visual cell width miscalculation\n- Fixed fuzzy-match highlighting splitting emoji and astral-plane characters mid-pair\n- Fixed skill argument names containing regex metacharacters breaking argument substitution\n- Fixed ProgressBar rendering a full block for an almost-full fractional cell\n- Fixed task polling and\n`fs.watch`\n\nbeing resurrected when the last subscriber leaves while a fetch is in flight - Fixed plugin dependency resolution leaving a stale count when the manifest name differs from the source identifier\n- Fixed Insights Time-of-Day chart skewing when a session has an unparseable timestamp\n- Fixed keybindings using only the cmd/super/win modifier being flagged as unparseable\n- Fixed\n`claude_code.active_time.total`\n\nOpenTelemetry metric not being emitted in`--print`\n\nmode - Fixed\n`claude plugin update`\n\nnot preserving cross-plugin symlinks inside a marketplace - [VSCode] Press Cmd/Ctrl+Shift+T to reopen the most recently closed session tab, configurable via\n`claudeCode.enableReopenClosedSessionShortcut`\n\nMay 9, 2026\n\n- Internal fixes\n\nMay 9, 2026\n\n- [VSCode] Fixed extension failing to activate on Windows\n\nMay 8, 2026\n\n- Added\n`CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL`\n\nto re-enable the session quality survey for enterprises capturing responses through OpenTelemetry - Added\n`settings.autoMode.hard_deny`\n\nfor auto mode classifier rules that block unconditionally regardless of user intent or allow exceptions - Fixed MCP servers configured in\n`.mcp.json`\n\n, plugins, and claude.ai connectors silently disappearing after`/clear`\n\nin the VS Code extension, JetBrains plugin, and Agent SDK - Fixed a rare login loop where a concurrent credential write could overwrite a freshly-rotated OAuth token and force re-login\n- Fixed MCP OAuth refresh tokens being lost when multiple servers refresh concurrently — users with several remote MCP servers should no longer need daily re-authentication\n- Fixed an API error (400) when extended thinking emitted a redacted thinking block after a tool call\n- Fixed\n`--resume`\n\n/`--continue`\n\nnot finding sessions when the project path contains underscores - Fixed plan mode not blocking file writes when a matching\n`Edit(...)`\n\nallow rule exists - WSL2: image paste from Windows clipboard now works via a PowerShell fallback when xclip/wl-paste cannot read image data\n- Fixed plugin\n`Stop`\n\n/`UserPromptSubmit`\n\nhooks failing when cache cleanup deletes a version still in use by a running session - Improved visual consistency across slash command dialogs: standardized footer hints, dialog spacing, and arrow-key styling, and the dialog frame now appears immediately during loading instead of popping in after\n- Fixed colors appearing at wrong positions in bash command output and markdown code blocks\n- Fixed ReasonML diffs rendering corrupted “undefined” text artifacts at word-diff boundaries\n- Fixed worktree exit dialog warning about uncommitted files in the wrong directory after worktree removal\n- Fixed\n`@`\n\nfile picker not matching files created mid-session in small non-git directories - Fixed\n`@`\n\n-mention file picker not finding files in directories with more than 100 entries - Fixed failed tool calls not being click-to-expand in fullscreen mode when their output was truncated\n- Fixed Backspace and Ctrl+Backspace getting swapped after using Ctrl+G to open an external editor on terminals with persistent extended-key modes\n- Fixed\n`/usage`\n\nweekly reset showing time of day instead of the calendar date - Fixed welcome banner ellipsis causing column overflow on CJK terminals\n- Fixed\n`/insights`\n\ncrash when session history contains tool calls with malformed input fields - Fixed a renderer crash when a tool’s collapsibility classification changes mid-session\n- Fixed a\n`skills`\n\nentry in`plugin.json`\n\nhiding the plugin’s default`skills/`\n\ndirectory, and listing a file path now shows an error instead of failing silently - Fixed IDE shell-integration lock files not respecting\n`CLAUDE_CONFIG_DIR`\n\n- Fixed trailing whitespace in copied terminal output during streaming\n- Fixed plugin uninstall and enable/disable not matching slugs case-insensitively\n- Fixed tool error truncation marker showing a negative count for surrogate-pair strings\n- Fixed env vars from\n`CLAUDE_ENV_FILE`\n\nSessionStart hooks going stale after`/resume`\n\nor`/clear`\n\n- Fixed\n`/branch`\n\nsaving a multi-line session title when given a pasted multi-line name - Fixed a stray leading space on the second line of wrapped text at the column boundary\n- Fixed Esc not dismissing dialogs in\n`/install-github-app`\n\n,`/desktop`\n\n,`/resume`\n\n, and`/web-setup`\n\n- Fixed\n`/doctor`\n\nMCP schema errors not naming the missing field or showing the source file path - Fixed Bash permission prompts showing an internal parser diagnostic instead of a user-readable explanation\n- Fixed plugin slash commands with spaces (e.g.\n`/myplugin review`\n\n) not resolving to their namespaced form - Fixed\n`AskUserQuestion`\n\ndiscarding multi-select answers when supplied as an array - Fixed\n`/clear <name>`\n\nnot labeling the cleared session for`/resume`\n\n- Fixed\n`CronList`\n\noutput missing qualifiers and the scheduled prompt - Fixed “Jump to bottom” overlay leaving color artifacts on CJK characters in fullscreen mode\n- Fixed wide markdown tables leaving a stale bordered render in terminal scrollback while streaming\n- Fixed pasted text being silently dropped when a long prompt with a pasted-text placeholder was auto-truncated\n- Fixed\n`/release-notes`\n\ngetting stuck on an old version after a failed changelog refresh - Fixed\n`/mcp`\n\nserver list not scrolling when there are more servers than fit in the terminal - Fixed mid-input slash command autocomplete not working after an initial slash command\n- Fixed scrolling to bottom re-engaging auto-follow with\n`autoScrollEnabled: false`\n\n- Fixed prompt suggestions being auto-submitted by Enter on an empty input instead of requiring Tab or arrow to accept\n- Fixed keyboard shortcut hints not reflecting rebound keys from\n`keybindings.json`\n\n- Fixed\n`/settings`\n\nlanguage change being reverted on Escape after confirming - Fixed\n`/terminal-setup`\n\nonly appearing in autocomplete on exact name match instead of partial prefixes - Fixed “Chat about this” on an\n`AskUserQuestion`\n\ndialog erasing the question text - Fixed MCP tool results being invisible when the server returns content blocks\n- Improved error message when\n`--worktree`\n\ncollides with an existing or stale worktree - Changed plugin marketplace removal key to\n`d`\n\n(matching delete elsewhere) instead of`r`\n\nwhich collided with retry\n\nMay 7, 2026\n\n- Added\n`worktree.baseRef`\n\nsetting (`fresh`\n\n|`head`\n\n) to choose whether`--worktree`\n\n,`EnterWorktree`\n\n, and agent-isolation worktrees branch from`origin/<default>`\n\nor local`HEAD`\n\n.**Note:** the default`fresh`\n\nchanges`EnterWorktree`\n\n’s base back to`origin/<default>`\n\n(it has been local`HEAD`\n\nsince 2.1.128) — set`worktree.baseRef: \"head\"`\n\nto keep unpushed commits in new worktrees - Added\n`sandbox.bwrapPath`\n\nand`sandbox.socatPath`\n\nmanaged settings (Linux/WSL) to specify custom bubblewrap and socat binary locations - Added\n`parentSettingsBehavior`\n\nadmin-tier key (`'first-wins' | 'merge'`\n\n) to let admins opt SDK`managedSettings`\n\n(parent tier) into the policy merge - Hooks now receive the active effort level via the\n`effort.level`\n\nJSON input field and the`$CLAUDE_EFFORT`\n\nenvironment variable, and Bash tool commands can read`$CLAUDE_EFFORT`\n\n- Improved focus mode behavior\n- Improved memory usage by releasing warm-spare background workers under memory pressure\n- Fixed parallel sessions all dead-ending at 401 after a refresh-token race wiped shared credentials\n- Fixed\n`Edit`\n\n/`Write`\n\nallow rules scoped to a drive root (`C:\\`\n\n) or POSIX`/`\n\nmatching incorrectly and always prompting - Fixed an unhandled rejection (\n`ECOMPROMISED`\n\n) when a history or session-log file lock is compromised by clock skew or slow disk - Fixed pressing Esc during conversation compaction showing a spurious “Error compacting conversation” notification\n- Fixed\n`HTTP(S)_PROXY`\n\n/`NO_PROXY`\n\n/ mTLS not being respected for the full MCP OAuth flow including discovery, dynamic client registration, token exchange, and token refresh - Fixed Read/Write/Edit being denied on mapped network drives passed via\n`--add-dir`\n\n/ SDK`additionalDirectories`\n\n- Fixed Remote Control stop/interrupt from claude.ai not fully canceling the CLI session the same way local Esc does, causing queued messages to never advance after interrupting a stuck tool or prompt\n- Fixed\n`/effort`\n\nin one session unexpectedly changing the effort level of other concurrent sessions, and a related issue where an IDE effort change could be silently dropped - Fixed subagents not discovering project, user, or plugin skills via the Skill tool\n`claude --help`\n\nnow lists`--remote-control`\n\nalongside`--remote-control-session-name-prefix`\n\n- [VSCode] Fixed\n`claudeCode.claudeProcessWrapper`\n\nfailing with “Unsupported platform” when the extension build doesn’t bundle a Claude binary\n\nMay 6, 2026\n\n- Added\n`CLAUDE_CODE_SESSION_ID`\n\nenvironment variable to the Bash tool subprocess environment, matching the`session_id`\n\npassed to hooks - Added\n`CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1`\n\nenv var to opt out of the fullscreen alternate-screen renderer and keep the conversation in the terminal’s native scrollback - Added a “Pasting…” footer hint while a Ctrl+V image paste is being read from the clipboard\n- Fixed external SIGINT (e.g. IDE stop button,\n`kill -INT`\n\n) not running graceful shutdown — terminal modes are now restored and the`--resume`\n\nhint is printed instead of an abrupt exit - Fixed an uncaught exception when the terminal is closed or SSH disconnects mid-session under the native build\n- Fixed\n`--resume`\n\nfailing with`no low surrogate in string`\n\nwhen a tool error truncation split an emoji; pre-corrupted sessions are sanitized on load - Fixed\n`--permission-mode`\n\nflag being ignored when resuming a plan-mode session with`-p --continue`\n\n/`--resume`\n\n, and plan mode not being re-applied after`ExitPlanMode`\n\nwithin the same session - Fixed fullscreen mode showing a blank screen after laptop sleep/wake or Ctrl+Z/\n`fg`\n\nuntil the next keystroke or stream output - Fixed cursor landing mid-grapheme on Ctrl+E/A/K/U/arrow keys when an Indic conjunct or ZWJ emoji wraps across lines\n- Fixed vim operators corrupting text containing decomposed (NFD) accented characters\n- Fixed pasting text starting with\n`/`\n\nsilently swallowing the input or triggering an unknown-command reply - Fixed pasting dumping stray escape sequences into the prompt when focus events or mouse-tracking reports interleave with the bracketed paste\n- Fixed mouse wheel scrolling being too fast in Cursor and VS Code 1.92–1.104 due to an upstream xterm.js bug\n- Fixed scroll-wheel handling in JetBrains IDE 2025.2 terminals (spurious arrow keys, wrong-direction events, runaway acceleration)\n- Fixed\n`/usage`\n\nCtrl+S hanging when copying the stats screenshot to the clipboard on Linux/X11 - Fixed\n`/terminal-setup`\n\nshowing a contradictory error in Windows Terminal — Shift+Enter is natively supported there - Fixed\n`/effort`\n\npicker not reflecting the`CLAUDE_CODE_EFFORT_LEVEL`\n\nenv var override - Fixed\n`/status`\n\nshowing the wrong default model for some users - Fixed slash command autocomplete popup being capped at ~3–5 visible commands instead of scaling with terminal height\n- Fixed statusline\n`context_window`\n\ntoken counts reflecting cumulative session totals instead of current context usage - Fixed Alt+T (thinking toggle) not working on macOS terminals without “Option as Meta” enabled (iTerm2, Terminal.app defaults)\n- Fixed dead keyboard input on Windows after re-opening a background session from\n`claude agents`\n\n- Fixed unbounded memory growth (10GB+ RSS) when a stdio MCP server writes non-protocol data to stdout\n- Fixed MCP servers that connect but fail\n`tools/list`\n\nsilently showing 0 tools — they now retry once and show “connected · tools fetch failed” in`/mcp`\n\n- Fixed unauthorized claude.ai MCP connectors showing as “failed” instead of “needs auth”, and headless\n`-p`\n\nmode retrying non-transient 4xx connection failures - Improved visual consistency in slash command dialogs and\n`/login`\n\n,`/upgrade`\n\n,`/extra-usage`\n\ndialog spacing - Updated the\n`/tui fullscreen`\n\nstartup banner to describe additional renderer benefits (lower memory usage, mouse support, auto-copy on select) - Fixed Bedrock and Vertex 400 errors when\n`ENABLE_PROMPT_CACHING_1H`\n\nis set\n\nMay 6, 2026\n\n- Fixed VS Code extension failing to activate on Windows due to a hardcoded build path in the bundled SDK (\n`createRequire`\n\npolyfill bug) - Fixed Mantle endpoint authentication failing with missing\n`x-api-key`\n\nheader\n\nMay 6, 2026\n\n- Added\n`--plugin-url <url>`\n\nflag to fetch a plugin`.zip`\n\narchive from a URL for the current session - Added\n`CLAUDE_CODE_FORCE_SYNC_OUTPUT=1`\n\nenv var to force-enable synchronized output on terminals that auto-detection misses (e.g. Emacs`eat`\n\n) - Added\n`CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE`\n\n: when set on Homebrew or WinGet installations, Claude Code runs the upgrade command in the background and prompts to restart - Plugin manifests:\n`themes`\n\nand`monitors`\n\nshould now be declared under`\"experimental\": { ... }`\n\n. Top-level declarations still work but`claude plugin validate`\n\nwill warn - Gateway\n`/v1/models`\n\ndiscovery for the`/model`\n\npicker is now opt-in via`CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1`\n\n(was automatic in 2.1.126–2.1.128) - Ctrl+R history picker now defaults to searching all prompts across all projects, matching pre-2.1.124 behavior. Press Ctrl+S to narrow to the current project or session\n- Third-party deployments (Bedrock, Vertex, Foundry, or\n`ANTHROPIC_BASE_URL`\n\ngateway) no longer see spinner tips pointing at first-party Anthropic surfaces `skillOverrides`\n\nsetting now works:`off`\n\nhides from model and`/`\n\n,`user-invocable-only`\n\nhides from model only,`name-only`\n\ncollapses description- The\n`claude_code.pull_request.count`\n\nOTel metric now counts PRs/MRs created via MCP tools, not just shell commands - Policy refusal error messages now include the API Request ID for easier support debugging\n- Fixed API errors with unrecognized 400 status codes showing raw JSON instead of the underlying error message\n- Fixed\n`/clear`\n\nnot resetting the terminal tab title after a conversation - Fixed session title chip from\n`/rename`\n\ndisappearing while a permission or other dialog is active - Fixed agent panel below the prompt being hidden when subagents are running (regression in 2.1.122)\n- Fixed external-editor handoff (Ctrl+G) blanking the conversation history above the prompt\n- Fixed\n`/context`\n\ndumping its rendered ASCII visualization grid into the conversation, wasting ~1.6k tokens per call - Fixed\n`/agents`\n\nLibrary list arrow-key navigation: the highlighted agent now stays visible when the list exceeds the viewport - Fixed\n`/branch`\n\nsuccess message not including the new branch’s session id for`/resume`\n\n- Fixed bold headers with keycap/ZWJ/skin-tone emoji losing trailing characters in fullscreen mode\n- Fixed server-managed settings policy not applying for enterprise/team users whose stored OAuth credentials lacked the\n`user:inference`\n\nscope - Fixed OAuth refresh race after wake-from-sleep that could log out all running sessions\n- Fixed 1-hour prompt cache TTL being silently downgraded to 5 minutes\n- Fixed cache-miss warning appearing spuriously after\n`/clear`\n\nor compaction when changing`/effort`\n\nor`/model`\n\n- Fixed\n`Bash(mkdir *)`\n\n,`Bash(touch *)`\n\nand similar allow rules not being honored for in-project paths - Fixed\n`deniedMcpServers`\n\npatterns with a`*://`\n\nscheme wildcard not matching mixed-case hostnames - Fixed harmless WebSocket warning being logged as an error in\n`--debug`\n\nduring voice mode - [VSCode] Fixed\n`/clear`\n\nnot clearing the conversation context and displayed transcript\n\nMay 4, 2026\n\n- Bare\n`/color`\n\n(no args) now picks a random session color `/mcp`\n\nnow shows the tool count for connected servers and flags servers that connected with 0 tools`--plugin-dir`\n\nnow accepts`.zip`\n\nplugin archives in addition to directories`--channels`\n\nnow works with console (API key) authentication — console orgs with managed settings must set`channelsEnabled: true`\n\nto enable- Updated\n`/model`\n\npicker: collapsed duplicate Opus 4.7 entries, and current Opus now shows as “Opus” instead of “Opus 4.7” - Subprocesses (Bash, hooks, MCP, LSP) no longer inherit\n`OTEL_*`\n\nenvironment variables, so OTEL-instrumented apps run via the Bash tool no longer pick up the CLI’s own OTLP endpoint - MCP:\n`workspace`\n\nis now a reserved server name — existing servers with that name will be skipped with a warning - Reconnecting MCP servers no longer flood the conversation with full tool-name lists on every reconnect — re-announced tools are summarized by server prefix\n- SDK hosts now receive a persistent\n`localSettings`\n\nsuggestion for Bash permission prompts, so “Always allow” writes to`.claude/settings.local.json`\n\n`EnterWorktree`\n\nnow creates the new branch from local HEAD as documented, instead of`origin/<default-branch>`\n\n— unpushed commits are no longer dropped- Auto mode: when the classifier can’t evaluate an action, the error now includes a hint (retry,\n`/compact`\n\n, or run with`--debug`\n\n) - Fixed focus mode briefly dimming the previous response when submitting a new prompt\n- Fixed stray “4;0;” desktop notification on every\n`/exit`\n\nin Kitty and other terminals that interpret OSC 9 as a notification - Fixed Remote Control showing an empty “Opening your options…” message on rate limit instead of actionable upsell options\n- Fixed drag-and-drop image upload hanging on “Pasting text…” when the image read fails\n- Fixed crash loop when piping very large input (>10 MB) to\n`claude -p`\n\nvia stdin - Fixed long URLs not being individually clickable on every wrapped row in fullscreen mode\n- Fixed\n`/plugin`\n\nComponents panel showing “Marketplace ‘inline’ not found” for plugins loaded via`--plugin-dir`\n\n- Fixed MCP tool results dropping images when the server returns both structured content and content blocks\n- Fixed fenced code blocks inside list items carrying leading whitespace into the clipboard on copy-paste\n- Fixed tab navigation in\n`/config`\n\nstranding focus — the tab header now stays focused so arrows and Esc keep working - Fixed markdown link labels being lost on terminals without OSC 8 hyperlink support — links now render as\n`label (url)`\n\ninstead of just the URL - Fixed sessions on 1M-context models with a smaller autocompact window being falsely blocked with “Prompt is too long” before reaching the actual API limit\n- Fixed parallel shell tool calls: a failing read-only command (grep, git diff, ls) no longer cancels sibling calls\n- Fixed banner showing “with X effort” on models that don’t support effort\n- Fixed\n`/fast`\n\non 3P providers fuzzy-matching to an unrelated skill instead of showing “not available” - Fixed Bedrock default model resolving to\n`global.*`\n\ninstead of the region-appropriate prefix - Fixed vim mode:\n`Space`\n\nin NORMAL mode now moves the cursor right, matching standard vi/vim behavior - Fixed terminal progress indicator (OSC 9;4) flickering off between tool calls — stays visible across the full turn\n- Fixed\n`/rename`\n\nwithout args failing on resumed sessions whose last entry is a compact boundary - Fixed stale “remote-control is active” status lines from prior sessions appearing after\n`--resume`\n\n/`--continue`\n\n- Fixed stale\n`installed_plugins.json`\n\nentries pointing at deleted cache directories polluting PATH - Fixed MCP stdio servers receiving corrupted arguments when\n`CLAUDE_CODE_SHELL_PREFIX`\n\nis set and an argument contains spaces or shell metacharacters - Fixed sub-agent progress summaries missing the prompt cache (~3×\n`cache_creation`\n\nreduction) - Fixed\n`/plugin update`\n\nnever detecting new versions of npm-sourced plugins - Fixed sub-agent summaries firing repeatedly while a sub-agent’s transcript is static, capping worst-case token cost on idle sub-agents\n- Headless\n`--output-format stream-json`\n\n:`init.plugin_errors`\n\nnow includes`--plugin-dir`\n\nload failures in addition to dependency demotions\n\nMay 1, 2026\n\n- The\n`/model`\n\npicker now lists models from your gateway’s`/v1/models`\n\nendpoint when`ANTHROPIC_BASE_URL`\n\npoints at an Anthropic-compatible gateway -\n- Added\n`claude project purge [path]`\n\nto delete all Claude Code state for a project (transcripts, tasks, file history, config entry) — supports`--dry-run`\n\n,`-y/--yes`\n\n,`-i/--interactive`\n\n, and`--all`\n\n- Added\n`--dangerously-skip-permissions`\n\nnow bypasses prompts for writes to`.claude/`\n\n,`.git/`\n\n,`.vscode/`\n\n, shell config files, and other previously-protected paths (catastrophic removal commands still prompt as a safety net)`claude auth login`\n\nnow accepts the OAuth code pasted into the terminal when the browser callback can’t reach localhost (WSL2, SSH, containers)`claude_code.skill_activated`\n\nOpenTelemetry event now fires for user-typed slash commands and carries a new`invocation_trigger`\n\nattribute (`\"user-slash\"`\n\n,`\"claude-proactive\"`\n\n, or`\"nested-skill\"`\n\n)- Auto mode: the spinner now turns red when a permission check stalls, instead of looking like the tool is running\n- Host-managed deployments (\n`CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST`\n\n) no longer auto-disable analytics on Bedrock/Vertex/Foundry - Windows: PowerShell 7 installed via the Microsoft Store, MSI without PATH, or\n`.NET global tool`\n\nis now detected - Windows: when the PowerShell tool is enabled, Claude now treats PowerShell as the primary shell instead of defaulting to Bash\n- Read tool: removed the per-file malware-assessment reminder that could cause spurious refusals and “this is not malware” commentary on legacy models\n**Security:** Fixed`allowManagedDomainsOnly`\n\n/`allowManagedReadPathsOnly`\n\nbeing ignored when a higher-priority managed-settings source lacked a`sandbox`\n\nblock- Fixed pasting an image larger than 2000px breaking the session — images are now downscaled on paste, and oversized images in history are automatically removed and the request retried\n- Fixed showing the login screen for “OAuth not allowed for organization” errors — now shows guidance to contact your admin\n- Fixed OAuth login failing with timeout on slow or proxied connections, in IPv6-only devcontainers, and when the browser callback can’t reach localhost\n- Fixed a rare race where a concurrent credential write could clear a valid OAuth refresh token\n- Fixed API retry countdown sticking at “0s” instead of counting down between attempts\n- Fixed “Stream idle timeout” error after waking Mac from sleep mid-request\n- Fixed background and remote sessions falsely aborting with “Stream idle timeout” during long model thinking pauses\n- Fixed a hang where the assistant could finish thinking but show no output after a run of empty turns\n- Fixed overly fast trackpad scrolling in Cursor and VS Code 1.92–1.104 integrated terminals\n- Fixed claude.ai MCP connectors being suppressed by manual servers stuck in needs-auth state\n- Fixed Japanese/Korean/Chinese text rendering as garbled characters on Windows in no-flicker mode\n- Fixed\n`Ctrl+L`\n\nclearing the prompt input — it now only forces a screen redraw, matching readline behavior - Fixed deferred tools (WebSearch, WebFetch, etc.) not being available to skills with\n`context: fork`\n\nand other subagents on their first turn - Fixed plan-mode tools being unavailable in interactive sessions launched with\n`--channels`\n\n- Fixed\n`/plugin`\n\nUninstall reporting “Enabled” instead of “Uninstalled” - Bounded total size of file-modified reminders when a linter touches many files at once\n- Fixed\n`/remote-control`\n\nretries appearing stuck on “connecting…” — each retry now shows its result - Fixed Remote Control failure notification not showing the error reason for initial connection failures\n- Windows: clipboard writes no longer expose copied content in process command-line arguments visible to EDR/SIEM telemetry; also fixes >22KB selections not reaching the clipboard\n- PowerShell tool: bare\n`--`\n\n(e.g.`git diff -- file`\n\n) is no longer mis-flagged as the`--%`\n\nstop-parsing token - Fixed Agent SDK hang when the model emits a malformed tool name in a parallel tool call batch\n\nApril 29, 2026\n\n- Fixed OAuth authentication failing with a 401 retry loop when\n`CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1`\n\nis set\n\nApril 28, 2026\n\n- Added\n`ANTHROPIC_BEDROCK_SERVICE_TIER`\n\nenvironment variable to select a Bedrock service tier (`default`\n\n,`flex`\n\n, or`priority`\n\n), sent as the`X-Amzn-Bedrock-Service-Tier`\n\nheader - Pasting a PR URL into the\n`/resume`\n\nsearch box now finds the session that created that PR (GitHub, GitHub Enterprise, GitLab, and Bitbucket) `/mcp`\n\nnow shows claude.ai connectors hidden by a manually-added server with the same URL, with a hint to remove the duplicate- Clarified the\n`/mcp`\n\nmessage shown when an MCP server is still unauthorized after the browser sign-in flow - OpenTelemetry: numeric attributes on\n`api_request`\n\n/`api_error`\n\nlog events are now emitted as numbers, not strings - OpenTelemetry: added\n`claude_code.at_mention`\n\nlog event for`@`\n\n-mention resolution - Fixed\n`/branch`\n\nproducing forks that fail with “tool_use ids were found without tool_result blocks” when the source session contained entries from rewound timelines - Fixed\n`/model`\n\nnot showing the Effort option for Bedrock application inference profile ARNs, and those ARNs not receiving`output_config.effort`\n\n- Fixed Vertex AI / Bedrock returning\n`invalid_request_error: output_config: Extra inputs are not permitted`\n\non session-title generation and other structured-output queries - Fixed Vertex AI\n`count_tokens`\n\nendpoint returning 400 errors for users behind proxy gateways - Fixed\n`spinnerTipsOverride.excludeDefault`\n\nnot suppressing the time-based spinner tips - Fixed ToolSearch missing MCP tools that connected after session start in nonblocking mode\n- Fixed\n`!exit`\n\n/`!quit`\n\nin bash mode terminating the CLI instead of running as a shell command - Fixed images sent to newer models being resized to 2576px per side instead of the correct 2000px maximum\n- Fixed remote control session idle status redrawing twice per second, which could flood\n`tmux -CC`\n\ncontrol pipes and pause the terminal - Fixed assistant messages appearing blank in some sessions due to a stale view preference\n- Fixed a malformed hooks entry in\n`settings.json`\n\nno longer invalidating the entire file - Voice mode: keybindings bound to Caps Lock now show an error since terminals don’t deliver Caps Lock as a key event\n\nApril 28, 2026\n\n- Added\n`alwaysLoad`\n\noption to MCP server config — when`true`\n\n, all tools from that server skip tool-search deferral and are always available - Added\n`claude plugin prune`\n\nto remove orphaned auto-installed plugin dependencies;`plugin uninstall --prune`\n\ncascades - Added a type-to-filter search box to\n`/skills`\n\nso you can find a skill in long lists without scrolling - PostToolUse hooks can now replace tool output for all tools via\n`hookSpecificOutput.updatedToolOutput`\n\n(previously MCP-only) - Fullscreen mode: typing into the prompt no longer jumps scroll back to the bottom after you’ve scrolled up to read earlier output\n- Dialogs that overflow the terminal are now scrollable with arrow keys, PgUp/PgDn, home/end, and mouse wheel in both fullscreen and non-fullscreen modes\n- Clicking any line of a long URL that wraps across rows in fullscreen mode now opens the full URL\n- SDK and\n`claude -p`\n\n:`CLAUDE_CODE_FORK_SUBAGENT=1`\n\nnow works in non-interactive sessions `--dangerously-skip-permissions`\n\nno longer prompts for writes to`.claude/skills/`\n\n,`.claude/agents/`\n\n, and`.claude/commands/`\n\n`/terminal-setup`\n\nnow enables iTerm2’s “Applications in terminal may access clipboard” setting so`/copy`\n\nworks, including from tmux- MCP servers that hit a transient error during startup now auto-retry up to 3 times instead of staying disconnected\n- The terminal tab session title is now generated in your configured\n`language`\n\nsetting - Claude.ai connectors with the same upstream URL are now deduplicated instead of appearing as duplicates\n- Vertex AI: support X.509 certificate-based Workload Identity Federation (mTLS ADC)\n- Faster startup after upgrading: removed the Recent Activity panel from the release-notes splash\n- LSP diagnostic summaries now expand on click/ctrl+o and show the expand hint\n- SDK:\n`mcp_authenticate`\n\nnow supports`redirectUri`\n\nfor custom scheme completion and claude.ai connectors - OpenTelemetry: added\n`stop_reason`\n\n,`gen_ai.response.finish_reasons`\n\n, and`user_system_prompt`\n\n(gated behind`OTEL_LOG_USER_PROMPTS`\n\n) to LLM request spans - [VSCode] Voice dictation now respects the\n`accessibility.voice.speechLanguage`\n\nsetting when no Claude Code language is configured - [VSCode]\n`/context`\n\nnow opens a native token usage dialog - Fixed unbounded memory growth (multi-GB RSS) when processing many images in a session\n- Fixed\n`/usage`\n\nleaking up to ~2GB of memory on machines with large transcript histories - Fixed memory leak when long-running tools fail to emit a clear progress event\n- Fixed Bash tool becoming permanently unusable when the directory Claude was started in is deleted or moved mid-session\n- Fixed\n`--resume`\n\ncrashing on startup in external builds - Fixed\n`--resume`\n\nfailing on large sessions when a transcript line was corrupted by an unclean shutdown — the corrupt line is now skipped - Fixed\n`thinking.type.enabled is not supported`\n\nerror when using Bedrock application inference profile ARNs - Fixed Microsoft 365 MCP OAuth failing with duplicate or unsupported\n`prompt`\n\nparameter - Fixed scrollback duplication when pressing Ctrl+L or triggering a redraw in non-fullscreen mode on tmux, GNOME Terminal, Windows Terminal, and Konsole\n- Fixed claude.ai MCP connectors silently disappearing when the connector-list fetch hits a transient auth error at startup\n- Fixed “Always allow” rules for built-in tools in remote sessions not surviving worker restarts\n- Fixed\n`NO_PROXY`\n\nnot being respected for all HTTP clients when set via`managed-settings.json`\n\nunder the native build - Fixed managed settings approval prompt exiting the session even when accepted — now applies settings and continues\n- Fixed\n`/usage`\n\nreturning “rate limited” after a stale OAuth token — now refreshes automatically - Fixed invalid legacy enum values in\n`settings.json`\n\ninvalidating the entire settings file - Fixed\n`/usage`\n\ndialog content being clipped when no-flicker mode is off - Fixed\n`/focus`\n\nshowing “Unknown command” when the fullscreen renderer is off — now explains how to enable it - Fixed embedded grep/find/rg shell wrappers failing when the running binary is deleted mid-session — now falls back to installed tools\n- Reduced peak file descriptor usage during\n`find`\n\nin the Bash tool on large directory trees\n\nApril 28, 2026\n\n- Windows: Git for Windows (Git Bash) is no longer required — when absent, Claude Code uses PowerShell as the shell tool\n- Added\n`claude ultrareview [target]`\n\nsubcommand to run`/ultrareview`\n\nnon-interactively from CI or scripts — prints findings to stdout (`--json`\n\nfor raw output) and exits 0 on completion or 1 on failure - Skills can now reference the current effort level with\n`${CLAUDE_EFFORT}`\n\nin their content - Set\n`AI_AGENT`\n\nenvironment variable for subprocesses so`gh`\n\ncan attribute traffic to Claude Code - Spinner tips that recommend installing the desktop app or creating skills/agents are now hidden when you already have them\n- Show a “use PgUp/PgDn to scroll” hint when the terminal sends arrow keys instead of scroll events\n- Faster session start when you have many claude.ai connectors configured but not authorized\n- The auto mode denial message now links to the configuration docs\n`claude plugin validate`\n\nnow accepts`$schema`\n\n,`version`\n\n, and`description`\n\nat the top level of`marketplace.json`\n\nand`$schema`\n\nin`plugin.json`\n\n- Auto-compact in auto mode now displays\n`auto`\n\n(lowercase, no token count) instead of a misleading token value - Fixed pressing Esc during a stdio MCP tool call closing the entire server connection (regression in 2.1.105)\n- Fixed\n`/rewind`\n\nand other interactive overlays not responding to keyboard input after launching with`claude --resume`\n\n- Fixed terminal scrollback duplication in non-fullscreen mode (resize, dialog dismiss, long sessions)\n- Fixed\n`DISABLE_TELEMETRY`\n\n/`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`\n\nnot suppressing usage metrics telemetry for API and enterprise users - Fixed false-positive “Dangerous rm operation” permission prompts in auto mode for multi-line bash commands containing both a pipe and a redirect\n- Fixed long selection menus clipping below the terminal in fullscreen mode — the focused option now stays on screen as you scroll\n- Fixed Write tool output collapsing instead of expanding when clicking “+N lines” in fullscreen\n- Fixed slash command picker jumping while typing, and improved highlight to only match contiguous substrings in blue\n- Fixed\n`/plugin`\n\nmarketplace failing to load when one entry uses an unrecognized source format — that entry is shown but installing it prompts you to update - [VSCode]\n`/usage`\n\nnow opens the native Account & Usage dialog instead of returning plain-text session cost - [VSCode] Voice dictation now respects the\n`language`\n\nsetting in`~/.claude/settings.json`\n\n- Fixed\n`find`\n\nin the Bash tool exhausting open file descriptors on large directory trees, causing host-wide crashes (macOS/Linux native builds)\n\nApril 23, 2026\n\n`/config`\n\nsettings (theme, editor mode, verbose, etc.) now persist to`~/.claude/settings.json`\n\nand participate in project/local/policy override precedence- Added\n`prUrlTemplate`\n\nsetting to point the footer PR badge at a custom code-review URL instead of github.com - Added\n`CLAUDE_CODE_HIDE_CWD`\n\nenvironment variable to hide the working directory in the startup logo `--from-pr`\n\nnow accepts GitLab merge-request, Bitbucket pull-request, and GitHub Enterprise PR URLs`--print`\n\nmode now honors the agent’s`tools:`\n\nand`disallowedTools:`\n\nfrontmatter, matching interactive-mode behavior`--agent <name>`\n\nnow honors the agent definition’s`permissionMode`\n\nfor built-in agents- PowerShell tool commands can now be auto-approved in permission mode, matching Bash behavior\n- Hooks:\n`PostToolUse`\n\nand`PostToolUseFailure`\n\nhook inputs now include`duration_ms`\n\n(tool execution time, excluding permission prompts and PreToolUse hooks) - Subagent and SDK MCP server reconfiguration now connects servers in parallel instead of serially\n- Plugins pinned by another plugin’s version constraint now auto-update to the highest satisfying git tag\n- Vim mode: Esc in INSERT no longer pulls a queued message back into the input; press Esc again to interrupt\n- Slash command suggestions now highlight the characters that matched your query\n- Slash command picker now wraps long descriptions onto a second line instead of truncating\n`owner/repo#N`\n\nshorthand links in output now use your git remote’s host instead of always pointing at github.com- Security:\n`blockedMarketplaces`\n\nnow correctly enforces`hostPattern`\n\nand`pathPattern`\n\nentries - OpenTelemetry:\n`tool_result`\n\nand`tool_decision`\n\nevents now include`tool_use_id`\n\n;`tool_result`\n\nalso includes`tool_input_size_bytes`\n\n- Status line: stdin JSON now includes\n`effort.level`\n\nand`thinking.enabled`\n\n- Fixed pasting CRLF content (Windows clipboards, Xcode console) inserting an extra blank line between every line\n- Fixed multi-line paste losing newlines in terminals using kitty keyboard protocol sequences inside bracketed paste\n- Fixed Glob and Grep tools disappearing on native macOS/Linux builds when the Bash tool is denied via permissions\n- Fixed scrolling up in fullscreen mode snapping back to the bottom every time a tool finishes\n- Fixed MCP HTTP connections failing with “Invalid OAuth error response” when servers returned non-JSON bodies for OAuth discovery requests\n- Fixed Rewind overlay showing “(no prompt)” for messages with image attachments\n- Fixed auto mode overriding plan mode with conflicting “Execute immediately” instructions\n- Fixed async\n`PostToolUse`\n\nhooks that emit no response payload writing empty entries to the session transcript - Fixed spinner staying on when a subagent task notification is orphaned in the queue\n- Tool search is now disabled by default on Vertex AI to avoid an unsupported beta header error (opt in with\n`ENABLE_TOOL_SEARCH`\n\n) - Fixed\n`@`\n\n-file Tab completion replacing the entire prompt when used inside a slash command with an absolute path - Fixed a stray\n`p`\n\ncharacter appearing at the prompt on startup in macOS Terminal.app via Docker or SSH - Fixed\n`${ENV_VAR}`\n\nplaceholders in`headers`\n\nfor HTTP/SSE/WebSocket MCP servers not being substituted before requests - Fixed MCP OAuth client secret stored via\n`--client-secret`\n\nnot being sent during token exchange for servers requiring`client_secret_post`\n\n- Fixed\n`/skills`\n\nEnter key closing the dialog instead of pre-filling`/<skill-name>`\n\nin the prompt - Fixed\n`/agents`\n\ndetail view mislabeling built-in tools unavailable to subagents as “Unrecognized” - Fixed MCP servers from plugins not spawning on Windows when the plugin cache was incomplete\n- Fixed\n`/export`\n\nshowing the current default model instead of the model the conversation actually used - Fixed verbose output setting not persisting after restart\n- Fixed\n`/usage`\n\nprogress bars overlapping with their “Resets …” labels - Fixed plugin MCP servers failing when\n`${user_config.*}`\n\nreferences an optional field left blank - Fixed list items containing a sentence-final number wrapping the number onto its own line\n- Fixed\n`/plan`\n\nand`/plan open`\n\nnot acting on the existing plan when entering plan mode - Fixed skills invoked before auto-compaction being re-executed against the next user message\n- Fixed\n`/reload-plugins`\n\nand`/doctor`\n\nreporting load errors for disabled plugins - Fixed Agent tool with\n`isolation: \"worktree\"`\n\nreusing stale worktrees from prior sessions - Fixed disabled MCP servers appearing as “failed” in\n`/status`\n\n- Fixed\n`TaskList`\n\nreturning tasks in arbitrary filesystem order instead of sorted by ID - Fixed spurious “GitHub API rate limit exceeded” hints when\n`gh`\n\noutput contained PR titles mentioning “rate limit” - Fixed SDK/bridge\n`read_file`\n\nnot correctly enforcing size cap on growing files - Fixed PR not linked to session when working in a git worktree\n- Fixed\n`/doctor`\n\nwarning about MCP server entries overridden by a higher-precedence scope - Windows: removed false-positive “Windows requires ‘cmd /c’ wrapper” MCP config warning\n- [VSCode] Fixed voice dictation’s first recording producing nothing on macOS while the microphone permission prompt is showing\n\nApril 23, 2026\n\n- Added vim visual mode (\n`v`\n\n) and visual-line mode (`V`\n\n) with selection, operators, and visual feedback - Merged\n`/cost`\n\nand`/stats`\n\ninto`/usage`\n\n— both remain as typing shortcuts that open the relevant tab - Create and switch between named custom themes from\n`/theme`\n\n, or hand-edit JSON files in`~/.claude/themes/`\n\n; plugins can also ship themes via a`themes/`\n\ndirectory - Hooks can now invoke MCP tools directly via\n`type: \"mcp_tool\"`\n\n- Added\n`DISABLE_UPDATES`\n\nenv var to completely block all update paths including manual`claude update`\n\n— stricter than`DISABLE_AUTOUPDATER`\n\n- WSL on Windows can now inherit Windows-side managed settings via the\n`wslInheritsWindowsSettings`\n\npolicy key - Auto mode: include\n`\"$defaults\"`\n\nin`autoMode.allow`\n\n,`autoMode.soft_deny`\n\n, or`autoMode.environment`\n\nto add custom rules alongside the built-in list instead of replacing it - Added a “Don’t ask again” option to the auto mode opt-in prompt\n- Added\n`claude plugin tag`\n\nto create release git tags for plugins with version validation `--continue`\n\n/`--resume`\n\nnow find sessions that added the current directory via`/add-dir`\n\n`/color`\n\nnow syncs the session accent color to claude.ai/code when Remote Control is connected- The\n`/model`\n\npicker now honors`ANTHROPIC_DEFAULT_*_MODEL_NAME`\n\n/`_DESCRIPTION`\n\noverrides when using a custom`ANTHROPIC_BASE_URL`\n\ngateway - When auto-update skips a plugin due to another plugin’s version constraint, the skip now appears in\n`/doctor`\n\nand the`/plugin`\n\nErrors tab - Fixed\n`/mcp`\n\nmenu hiding OAuth Authenticate/Re-authenticate actions for servers configured with`headersHelper`\n\n, and HTTP/SSE MCP servers with custom headers being stuck in “needs authentication” after a transient 401 - Fixed MCP servers whose OAuth token response omits\n`expires_in`\n\nrequiring re-authentication every hour - Fixed MCP step-up authorization silently refreshing instead of prompting for re-consent when the server’s\n`insufficient_scope`\n\n403 names a scope the current token already has - Fixed an unhandled promise rejection when an MCP server’s OAuth flow times out or is cancelled\n- Fixed MCP OAuth refresh proceeding without its cross-process lock under contention\n- Fixed macOS keychain race where a concurrent MCP token refresh could overwrite a freshly-refreshed OAuth token, causing unexpected “Please run /login” prompts\n- Fixed OAuth token refresh failing when the server revokes a token before its local expiry time\n- Fixed credential save crash on Linux/Windows corrupting\n`~/.claude/.credentials.json`\n\n- Fixed\n`/login`\n\nhaving no effect in a session launched with`CLAUDE_CODE_OAUTH_TOKEN`\n\n— the env token is now cleared so disk credentials take effect - Fixed unreadable text in the “new messages” scroll pill and\n`/plugin`\n\nbadges - Fixed plan acceptance dialog offering “auto mode” instead of “bypass permissions” when running with\n`--dangerously-skip-permissions`\n\n- Fixed agent-type hooks failing with “Messages are required for agent hooks” when configured for events other than\n`Stop`\n\nor`SubagentStop`\n\n- Fixed\n`prompt`\n\nhooks re-firing on tool calls made by an agent-hook verifier subagent - Fixed\n`/fork`\n\nwriting the full parent conversation to disk per fork — now writes a pointer and hydrates on read - Fixed Alt+K / Alt+X / Alt+^ / Alt+_ freezing keyboard input\n- Fixed connecting to a remote session overwriting your local\n`model`\n\nsetting in`~/.claude/settings.json`\n\n- Fixed typeahead showing “No commands match” error when pasting file paths that start with\n`/`\n\n- Fixed\n`plugin install`\n\non an already-installed plugin not re-resolving a dependency installed at the wrong version - Fixed unhandled errors from file watcher on invalid paths or fd exhaustion\n- Fixed Remote Control sessions getting archived on transient CCR initialization blips during JWT refresh\n- Fixed subagents resumed via\n`SendMessage`\n\nnot restoring the explicit`cwd`\n\nthey were spawned with\n\nApril 22, 2026\n\n- Forked subagents can now be enabled on external builds by setting\n`CLAUDE_CODE_FORK_SUBAGENT=1`\n\n- Agent frontmatter\n`mcpServers`\n\nare now loaded for main-thread agent sessions via`--agent`\n\n- Improved\n`/model`\n\n: selections now persist across restarts even when the project pins a different model, and the startup header shows when the active model comes from a project or managed-settings pin - The\n`/resume`\n\ncommand now offers to summarize stale, large sessions before re-reading them, matching the existing`--resume`\n\nbehavior - Faster startup when both local and claude.ai MCP servers are configured (concurrent connect now default)\n`plugin install`\n\non an already-installed plugin now installs any missing dependencies instead of stopping at “already installed”- Plugin dependency errors now say “not installed” with an install hint, and\n`claude plugin marketplace add`\n\nnow auto-resolves missing dependencies from configured marketplaces - Managed-settings\n`blockedMarketplaces`\n\nand`strictKnownMarketplaces`\n\nare now enforced on plugin install, update, refresh, and autoupdate - Advisor Tool (experimental): dialog now carries an “experimental” label, learn-more link, and startup notification when enabled; sessions no longer get stuck with “Advisor tool result content could not be processed” errors on every prompt and\n`/compact`\n\n- The\n`cleanupPeriodDays`\n\nretention sweep now also covers`~/.claude/tasks/`\n\n,`~/.claude/shell-snapshots/`\n\n, and`~/.claude/backups/`\n\n- OpenTelemetry:\n`user_prompt`\n\nevents now include`command_name`\n\nand`command_source`\n\nfor slash commands;`cost.usage`\n\n,`token.usage`\n\n,`api_request`\n\n, and`api_error`\n\nnow include an`effort`\n\nattribute when the model supports effort levels. Custom/MCP command names are redacted unless`OTEL_LOG_TOOL_DETAILS=1`\n\nis set - Native builds on macOS and Linux: the\n`Glob`\n\nand`Grep`\n\ntools are replaced by embedded`bfs`\n\nand`ugrep`\n\navailable through the Bash tool — faster searches without a separate tool round-trip (Windows and npm-installed builds unchanged) - Windows: cached\n`where.exe`\n\nexecutable lookups per process for faster subprocess launches - Default effort for Pro/Max subscribers on Opus 4.6 and Sonnet 4.6 is now\n`high`\n\n(was`medium`\n\n) - Fixed Plain-CLI OAuth sessions dying with “Please run /login” when the access token expires mid-session — the token is now refreshed reactively on 401\n- Fixed\n`WebFetch`\n\nhanging on very large HTML pages by truncating input before HTML-to-markdown conversion - Fixed a crash when a proxy returns HTTP 204 No Content — now surfaces a clear error instead of a\n`TypeError`\n\n- Fixed\n`/login`\n\nhaving no effect when launched with`CLAUDE_CODE_OAUTH_TOKEN`\n\nenv var and that token expires - Fixed prompt-input undo (\n`Ctrl+_`\n\n) doing nothing immediately after typing, and skipping a state on each undo step - Fixed\n`NO_PROXY`\n\nnot being respected for remote API requests when running under Bun - Fixed rare spurious escape/return triggers when key names arrive as coalesced text over slow connections\n- Fixed SDK\n`reload_plugins`\n\nreconnecting all user MCP servers serially - Fixed Bedrock application-inference-profile requests failing with 400 when backed by Opus 4.7 with thinking disabled\n- Fixed MCP\n`elicitation/create`\n\nrequests auto-cancelling in print/SDK mode when the server finishes connecting mid-turn - Fixed subagents running a different model than the main agent incorrectly flagging file reads with a malware warning\n- Fixed idle re-render loop when background tasks are present, reducing memory growth on Linux\n- [VSCode] Fixed “Manage Plugins” panel breaking when multiple large marketplaces are configured\n- Fixed Opus 4.7 sessions showing inflated\n`/context`\n\npercentages and autocompacting too early — Claude Code was computing against a 200K context window instead of Opus 4.7’s native 1M\n\nApril 20, 2026\n\n`/resume`\n\non large sessions is significantly faster (up to 67% on 40MB+ sessions) and handles sessions with many dead-fork entries more efficiently- Faster MCP startup when multiple stdio servers are configured;\n`resources/templates/list`\n\nis now deferred to first`@`\n\n-mention - Smoother fullscreen scrolling in VS Code, Cursor, and Windsurf terminals —\n`/terminal-setup`\n\nnow configures the editor’s scroll sensitivity - Thinking spinner now shows progress inline (“still thinking”, “thinking more”, “almost done thinking”), replacing the separate hint row\n`/config`\n\nsearch now matches option values (e.g. searching “vim” finds the Editor mode setting)`/doctor`\n\ncan now be opened while Claude is responding, without waiting for the current turn to finish`/reload-plugins`\n\nand background plugin auto-update now auto-install missing plugin dependencies from marketplaces you’ve already added- Bash tool now surfaces a hint when\n`gh`\n\ncommands hit GitHub’s API rate limit, so agents can back off instead of retrying - The Usage tab in Settings now shows your 5-hour and weekly usage immediately and no longer fails when the usage endpoint is rate-limited\n- Agent frontmatter\n`hooks:`\n\nnow fire when running as a main-thread agent via`--agent`\n\n- Slash command menu now shows “No commands match” when your filter has zero results, instead of disappearing\n- Security: sandbox auto-allow no longer bypasses the dangerous-path safety check for\n`rm`\n\n/`rmdir`\n\ntargeting`/`\n\n,`$HOME`\n\n, or other critical system directories - Claude Code and installer now use\n`https://downloads.claude.ai/claude-code-releases`\n\ninstead of`https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases`\n\n- Fixed Devanagari and other Indic scripts rendering with broken column alignment in the terminal UI\n- Fixed Ctrl+- not triggering undo in terminals using the Kitty keyboard protocol (iTerm2, Ghostty, kitty, WezTerm, Windows Terminal)\n- Fixed Cmd+Left/Right not jumping to line start/end in terminals that use the Kitty keyboard protocol (Warp fullscreen, kitty, Ghostty, WezTerm)\n- Fixed Ctrl+Z hanging the terminal when Claude Code is launched via a wrapper process (e.g.\n`npx`\n\n,`bun run`\n\n) - Fixed scrollback duplication in inline mode where resizing the terminal or large output bursts would repeat earlier conversation history\n- Fixed modal search dialogs overflowing the screen at short terminal heights, hiding the search box and keyboard hints\n- Fixed scattered blank cells and disappearing composer chrome in the VS Code integrated terminal during scrolling\n- Fixed an intermittent API 400 error related to cache control TTL ordering that could occur when a parallel request completed during request setup\n- Fixed\n`/branch`\n\nrejecting conversations with transcripts larger than 50MB - Fixed\n`/resume`\n\nsilently showing an empty conversation on large session files instead of reporting the load error - Fixed\n`/plugin`\n\nInstalled tab showing the same item twice when it appears under Needs attention or Favorites - Fixed\n`/update`\n\nand`/tui`\n\nnot working after entering a worktree mid-session\n\nApril 18, 2026\n\n- Fixed a crash in the permission dialog when an agent teams teammate requested tool permission\n\nApril 17, 2026\n\n- Changed the CLI to spawn a native Claude Code binary (via a per-platform optional dependency) instead of bundled JavaScript\n- Added\n`sandbox.network.deniedDomains`\n\nsetting to block specific domains even when a broader`allowedDomains`\n\nwildcard would otherwise permit them - Fullscreen mode: Shift+↑/↓ now scrolls the viewport when extending a selection past the visible edge\n`Ctrl+A`\n\nand`Ctrl+E`\n\nnow move to the start/end of the current logical line in multiline input, matching readline behavior- Windows:\n`Ctrl+Backspace`\n\nnow deletes the previous word - Long URLs in responses and bash output stay clickable when they wrap across lines (in terminals with OSC 8 hyperlinks)\n- Improved\n`/loop`\n\n: pressing Esc now cancels pending wakeups, and wakeups display as “Claude resuming /loop wakeup” for clarity `/extra-usage`\n\nnow works from Remote Control (mobile/web) clients- Remote Control clients can now query\n`@`\n\n-file autocomplete suggestions - Improved\n`/ultrareview`\n\n: faster launch with parallelized checks, diffstat in the launch dialog, and animated launching state - Subagents that stall mid-stream now fail with a clear error after 10 minutes instead of hanging silently\n- Bash tool: multi-line commands whose first line is a comment now show the full command in the transcript, closing a UI-spoofing vector\n- Running\n`cd <current-directory> && git …`\n\nno longer triggers a permission prompt when the`cd`\n\nis a no-op - Security: on macOS,\n`/private/{etc,var,tmp,home}`\n\npaths are now treated as dangerous removal targets under`Bash(rm:*)`\n\nallow rules - Security: Bash deny rules now match commands wrapped in\n`env`\n\n/`sudo`\n\n/`watch`\n\n/`ionice`\n\n/`setsid`\n\nand similar exec wrappers - Security:\n`Bash(find:*)`\n\nallow rules no longer auto-approve`find -exec`\n\n/`-delete`\n\n- Fixed MCP concurrent-call timeout handling where a message for one tool call could silently disarm another call’s watchdog\n- Fixed Cmd-backspace /\n`Ctrl+U`\n\nto once again delete from the cursor to the start of the line - Fixed markdown tables breaking when a cell contains an inline code span with a pipe character\n- Fixed session recap auto-firing while composing unsent text in the prompt\n- Fixed\n`/copy`\n\n“Full response” not aligning markdown table columns for pasting into GitHub, Notion, or Slack - Fixed messages typed while viewing a running subagent being hidden from its transcript and misattributed to the parent AI\n- Fixed Bash\n`dangerouslyDisableSandbox`\n\nrunning commands outside the sandbox without a permission prompt - Fixed\n`/effort auto`\n\nconfirmation — now says “Effort level set to max” to match the status bar label - Fixed the “copied N chars” toast overcounting emoji and other multi-code-unit characters\n- Fixed\n`/insights`\n\ncrashing with`EBUSY`\n\non Windows - Fixed exit confirmation dialog mislabeling one-shot scheduled tasks as recurring — now shows a countdown\n- Fixed slash/@ completion menu not sitting flush against the prompt border in fullscreen mode\n- Fixed\n`CLAUDE_CODE_EXTRA_BODY`\n\n`output_config.effort`\n\ncausing 400 errors on subagent calls to models that don’t support effort and on Vertex AI - Fixed prompt cursor disappearing when\n`NO_COLOR`\n\nis set - Fixed\n`ToolSearch`\n\nranking so pasted MCP tool names surface the actual tool instead of description-matching siblings - Fixed compacting a resumed long-context session failing with “Extra usage is required for long context requests”\n- Fixed\n`plugin install`\n\nsucceeding when a dependency version conflicts with an already-installed plugin — now reports`range-conflict`\n\n- Fixed “Refine with Ultraplan” not showing the remote session URL in the transcript\n- Fixed SDK image content blocks that fail to process crashing the session — now degrade to a text placeholder\n- Fixed Remote Control sessions not streaming subagent transcripts\n- Fixed Remote Control sessions not being archived when Claude Code exits\n- Fixed\n`thinking.type.enabled is not supported`\n\n400 error when using Opus 4.7 via a Bedrock Application Inference Profile ARN\n\nApril 16, 2026\n\n- Fixed “claude-opus-4-7 is temporarily unavailable” for auto mode\n\nApril 16, 2026\n\n- Claude Opus 4.7 xhigh is now available! Use /effort to tune speed vs. intelligence\n- Auto mode is now available for Max subscribers when using Opus 4.7\n- Added\n`xhigh`\n\neffort level for Opus 4.7, sitting between`high`\n\nand`max`\n\n. Available via`/effort`\n\n,`--effort`\n\n, and the model picker; other models fall back to`high`\n\n`/effort`\n\nnow opens an interactive slider when called without arguments, with arrow-key navigation between levels and Enter to confirm- Added “Auto (match terminal)” theme option that matches your terminal’s dark/light mode — select it from\n`/theme`\n\n- Added\n`/less-permission-prompts`\n\nskill — scans transcripts for common read-only Bash and MCP tool calls and proposes a prioritized allowlist for`.claude/settings.json`\n\n- Added\n`/ultrareview`\n\nfor running comprehensive code review in the cloud using parallel multi-agent analysis and critique — invoke with no arguments to review your current branch, or`/ultrareview <PR#>`\n\nto fetch and review a specific GitHub PR - Auto mode no longer requires\n`--enable-auto-mode`\n\n- Windows: PowerShell tool is progressively rolling out. Opt in or out with\n`CLAUDE_CODE_USE_POWERSHELL_TOOL`\n\n. On Linux and macOS, enable with`CLAUDE_CODE_USE_POWERSHELL_TOOL=1`\n\n(requires`pwsh`\n\non PATH) - Read-only bash commands with glob patterns (e.g.\n`ls *.ts`\n\n) and commands starting with`cd <project-dir> &&`\n\nno longer trigger a permission prompt - Suggest the closest matching subcommand when\n`claude <word>`\n\nis invoked with a near-miss typo (e.g.`claude udpate`\n\n→ “Did you mean`claude update`\n\n?”) - Plan files are now named after your prompt (e.g.\n`fix-auth-race-snug-otter.md`\n\n) instead of purely random words - Improved\n`/setup-vertex`\n\nand`/setup-bedrock`\n\nto show the actual`settings.json`\n\npath when`CLAUDE_CONFIG_DIR`\n\nis set, seed model candidates from existing pins on re-run, and offer a “with 1M context” option for supported models `/skills`\n\nmenu now supports sorting by estimated token count — press`t`\n\nto toggle`Ctrl+U`\n\nnow clears the entire input buffer (previously: delete to start of line); press`Ctrl+Y`\n\nto restore`Ctrl+L`\n\nnow forces a full screen redraw in addition to clearing the prompt input- Transcript view footer now shows\n`[`\n\n(dump to scrollback) and`v`\n\n(open in editor) shortcuts - The “+N lines” marker for truncated long pastes is now a full-width rule for easier scanning\n- Headless\n`--output-format stream-json`\n\nnow includes`plugin_errors`\n\non the init event when plugins are demoted for unsatisfied dependencies - Added\n`OTEL_LOG_RAW_API_BODIES`\n\nenvironment variable to emit full API request and response bodies as OpenTelemetry log events for debugging - Suppressed spurious decompression, network, and transient error messages that could appear in the TUI during normal operation\n- Reverted the v2.1.110 cap on non-streaming fallback retries — it traded long waits for more outright failures during API overload\n- Fixed terminal display tearing (random characters, drifting input) in iTerm2 + tmux setups when terminal notifications are sent\n- Fixed\n`@`\n\nfile suggestions re-scanning the entire project on every turn in non-git working directories, and showing only config files in freshly-initialized git repos with no tracked files - Fixed LSP diagnostics from before an edit appearing after it, causing the model to re-read files it just edited\n- Fixed tab-completing\n`/resume`\n\nimmediately resuming an arbitrary titled session instead of showing the session picker - Fixed\n`/context`\n\ngrid rendering with extra blank lines between rows - Fixed\n`/clear`\n\ndropping the session name set by`/rename`\n\n, causing statusline output to lose`session_name`\n\n- Improved plugin error handling: dependency errors now distinguish conflicting, invalid, and overly complex version requirements; fixed stale resolved versions after\n`plugin update`\n\n;`plugin install`\n\nnow recovers from interrupted prior installs - Fixed Claude calling a non-existent\n`commit`\n\nskill and showing “Unknown skill: commit” for users without a custom`/commit`\n\ncommand - Fixed 429 rate-limit errors on Bedrock/Vertex/Foundry referencing status.claude.com (it only covers Anthropic-operated providers)\n- Fixed feedback surveys appearing back-to-back after dismissing one\n- Fixed bare URLs in bash/PowerShell/MCP tool output being unclickable when the terminal wraps them across lines\n- Windows:\n`CLAUDE_ENV_FILE`\n\nand SessionStart hook environment files now apply (previously a no-op) - Windows: permission rules with drive-letter paths are now correctly root-anchored, and paths differing only by drive-letter case are recognized as the same path\n\nApril 15, 2026\n\n- Added\n`/tui`\n\ncommand and`tui`\n\nsetting — run`/tui fullscreen`\n\nto switch to flicker-free rendering in the same conversation - Added push notification tool — Claude can send mobile push notifications when Remote Control and “Push when Claude decides” config are enabled\n- Changed\n`Ctrl+O`\n\nto toggle between normal and verbose transcript only; focus view is now toggled separately with the new`/focus`\n\ncommand - Added\n`autoScrollEnabled`\n\nconfig to disable conversation auto-scroll in fullscreen mode - Added option to show Claude’s last response as commented context in the\n`Ctrl+G`\n\nexternal editor (enable via`/config`\n\n) - Improved\n`/plugin`\n\nInstalled tab — items needing attention and favorites appear at the top, disabled items are hidden behind a fold, and`f`\n\nfavorites the selected item - Improved\n`/doctor`\n\nto warn when an MCP server is defined in multiple config scopes with different endpoints `--resume`\n\n/`--continue`\n\nnow resurrects unexpired scheduled tasks`/context`\n\n,`/exit`\n\n, and`/reload-plugins`\n\nnow work from Remote Control (mobile/web) clients- Write tool now informs the model when you edit the proposed content in the IDE diff before accepting\n- Bash tool now enforces the documented maximum timeout instead of accepting arbitrarily large values\n- SDK/headless sessions now read\n`TRACEPARENT`\n\n/`TRACESTATE`\n\nfrom the environment for distributed trace linking - Session recap is now enabled for users with telemetry disabled (Bedrock, Vertex, Foundry,\n`DISABLE_TELEMETRY`\n\n). Opt out via`/config`\n\nor`CLAUDE_CODE_ENABLE_AWAY_SUMMARY=0`\n\n. - Fixed MCP tool calls hanging indefinitely when the server connection drops mid-response on SSE/HTTP transports\n- Fixed non-streaming fallback retries causing multi-minute hangs when the API is unreachable\n- Fixed session recap, local slash-command output, and other system status lines not appearing in focus mode\n- Fixed high CPU usage in fullscreen when text is selected while a tool is running\n- Fixed plugin install not honoring dependencies declared in\n`plugin.json`\n\nwhen the marketplace entry omits them;`/plugin`\n\ninstall now lists auto-installed dependencies - Fixed skills with\n`disable-model-invocation: true`\n\nfailing when invoked via`/<skill>`\n\nmid-message - Fixed\n`--resume`\n\nsometimes showing the first prompt instead of the`/rename`\n\nname for sessions still running or exited uncleanly - Fixed queued messages briefly appearing twice during multi-tool-call turns\n- Fixed session cleanup not removing the full session directory including subagent transcripts\n- Fixed dropped keystrokes after the CLI relaunches (e.g.\n`/tui`\n\n, provider setup wizards) - Fixed garbled startup rendering in macOS Terminal.app and other terminals that don’t support synchronized output\n- Hardened “Open in editor” actions against command injection from untrusted filenames\n- Fixed\n`PermissionRequest`\n\nhooks returning`updatedInput`\n\nnot being re-checked against`permissions.deny`\n\nrules;`setMode:'bypassPermissions'`\n\nupdates now respect`disableBypassPermissionsMode`\n\n- Fixed\n`PreToolUse`\n\nhook`additionalContext`\n\nbeing dropped when the tool call fails - Fixed stdio MCP servers that print stray non-JSON lines to stdout being disconnected on the first stray line (regression in 2.1.105)\n- Fixed headless/SDK session auto-title firing an extra Haiku request when\n`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`\n\nor`CLAUDE_CODE_DISABLE_TERMINAL_TITLE`\n\nis set - Fixed potential excessive memory allocation when piped (non-TTY) Ink output contains a single very wide line\n- Fixed\n`/skills`\n\nmenu not scrolling when the list overflows the modal in fullscreen mode - Fixed Remote Control sessions showing a generic error instead of prompting for re-login when the session is too old\n- Fixed Remote Control session renames from claude.ai not persisting the title to the local CLI session\n\nApril 15, 2026\n\n- Improved the extended-thinking indicator with a rotating progress hint\n\nApril 14, 2026\n\n- Added\n`ENABLE_PROMPT_CACHING_1H`\n\nenv var to opt into 1-hour prompt cache TTL on API key, Bedrock, Vertex, and Foundry (`ENABLE_PROMPT_CACHING_1H_BEDROCK`\n\nis deprecated but still honored), and`FORCE_PROMPT_CACHING_5M`\n\nto force 5-minute TTL - Added recap feature to provide context when returning to a session, configurable in\n`/config`\n\nand manually invocable with`/recap`\n\n; force with`CLAUDE_CODE_ENABLE_AWAY_SUMMARY`\n\nif telemetry disabled. - The model can now discover and invoke built-in slash commands like\n`/init`\n\n,`/review`\n\n, and`/security-review`\n\nvia the Skill tool `/undo`\n\nis now an alias for`/rewind`\n\n- Improved\n`/model`\n\nto warn before switching models mid-conversation, since the next response re-reads the full history uncached - Improved\n`/resume`\n\npicker to default to sessions from the current directory; press`Ctrl+A`\n\nto show all projects - Improved error messages: server rate limits are now distinguished from plan usage limits; 5xx/529 errors show a link to status.claude.com; unknown slash commands suggest the closest match\n- Reduced memory footprint for file reads, edits, and syntax highlighting by loading language grammars on demand\n- Added “verbose” indicator when viewing the detailed transcript (\n`Ctrl+O`\n\n) - Added a warning at startup when prompt caching is disabled via\n`DISABLE_PROMPT_CACHING*`\n\nenvironment variables - Fixed paste not working in the\n`/login`\n\ncode prompt (regression in 2.1.105) - Fixed subscribers who set\n`DISABLE_TELEMETRY`\n\nfalling back to 5-minute prompt cache TTL instead of 1 hour - Fixed Agent tool prompting for permission in auto mode when the safety classifier’s transcript exceeded its context window\n- Fixed Bash tool producing no output when\n`CLAUDE_ENV_FILE`\n\n(e.g.`~/.zprofile`\n\n) ends with a`#`\n\ncomment line - Fixed\n`claude --resume <session-id>`\n\nlosing the session’s custom name and color set via`/rename`\n\n- Fixed session titles showing placeholder example text when the first message is a short greeting\n- Fixed terminal escape codes appearing as garbage text in the prompt input after\n`--teleport`\n\n- Fixed\n`/feedback`\n\nretry: pressing Enter to resubmit after a failure now works without first editing the description - Fixed\n`--teleport`\n\nand`--resume <id>`\n\nprecondition errors (e.g. dirty git tree, session not found) exiting silently instead of showing the error message - Fixed Remote Control session titles set in the web UI being overwritten by auto-generated titles after the third message\n- Fixed\n`--resume`\n\ntruncating sessions when the transcript contained a self-referencing message - Fixed transcript write failures (e.g., disk full) being silently dropped instead of being logged\n- Fixed diacritical marks (accents, umlauts, cedillas) being dropped from responses when the\n`language`\n\nsetting is configured - Fixed policy-managed plugins never auto-updating when running from a different project than where they were first installed\n\nApril 14, 2026\n\n- Show thinking hints sooner during long operations\n\nApril 13, 2026\n\n- Added\n`path`\n\nparameter to the`EnterWorktree`\n\ntool to switch into an existing worktree of the current repository - Added PreCompact hook support: hooks can now block compaction by exiting with code 2 or returning\n`{\"decision\":\"block\"}`\n\n- Added background monitor support for plugins via a top-level\n`monitors`\n\nmanifest key that auto-arms at session start or on skill invoke `/proactive`\n\nis now an alias for`/loop`\n\n- Improved stalled API stream handling: streams now abort after 5 minutes of no data and retry non-streaming instead of hanging indefinitely\n- Improved network error messages: connection errors now show a retry message immediately instead of a silent spinner\n- Improved file write display: long single-line writes (e.g. minified JSON) are now truncated in the UI instead of paginating across many screens\n- Improved\n`/doctor`\n\nlayout with status icons; press`f`\n\nto have Claude fix reported issues - Improved\n`/config`\n\nlabels and descriptions for clarity - Improved skill description handling: raised the listing cap from 250 to 1,536 characters and added a startup warning when descriptions are truncated\n- Improved\n`WebFetch`\n\nto strip`<style>`\n\nand`<script>`\n\ncontents from fetched pages so CSS-heavy pages no longer exhaust the content budget before reaching actual text - Improved stale agent worktree cleanup to remove worktrees whose PR was squash-merged instead of keeping them indefinitely\n- Improved MCP large-output truncation prompt to give format-specific recipes (e.g.\n`jq`\n\nfor JSON, computed Read chunk sizes for text) - Fixed images attached to queued messages (sent while Claude is working) being dropped\n- Fixed screen going blank when the prompt input wraps to a second line in long conversations\n- Fixed leading whitespace getting copied when selecting multi-line assistant responses in fullscreen mode\n- Fixed leading whitespace being trimmed from assistant messages, breaking ASCII art and indented diagrams\n- Fixed garbled bash output when commands print clickable file links (e.g. Python\n`rich`\n\n/`loguru`\n\nlogging) - Fixed alt+enter not inserting a newline in terminals using ESC-prefix alt encoding, and Ctrl+J not inserting a newline (regression in 2.1.100)\n- Fixed duplicate “Creating worktree” text in EnterWorktree/ExitWorktree tool display\n- Fixed queued user prompts disappearing from focus mode\n- Fixed one-shot scheduled tasks re-firing repeatedly when the file watcher missed the post-fire cleanup\n- Fixed inbound channel notifications being silently dropped after the first message for Team/Enterprise users\n- Fixed marketplace plugins with\n`package.json`\n\nand lockfile not having dependencies installed automatically after install/update - Fixed marketplace auto-update leaving the official marketplace in a broken state when a plugin process holds files open during the update\n- Fixed “Resume this session with…” hint not printing on exit after\n`/resume`\n\n,`--worktree`\n\n, or`/branch`\n\n- Fixed feedback survey shortcut keys firing when typed at the end of a longer prompt\n- Fixed stdio MCP server emitting malformed (non-JSON) output hanging the session instead of failing fast with “Connection closed”\n- Fixed MCP tools missing on the first turn of headless/remote-trigger sessions when MCP servers connect asynchronously\n- Fixed\n`/model`\n\npicker on AWS Bedrock in non-US regions persisting invalid`us.*`\n\nmodel IDs to`settings.json`\n\nwhen inference profile discovery is still in-flight - Fixed 429 rate-limit errors showing a raw JSON dump instead of a clean message for API-key, Bedrock, and Vertex users\n- Fixed crash on resume when session contains malformed text blocks\n- Fixed\n`/help`\n\ndropping the tab bar, Shortcuts heading, and footer at short terminal heights - Fixed malformed keybinding entry values in\n`keybindings.json`\n\nbeing silently loaded instead of rejected with a clear error - Fixed\n`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`\n\nin one project’s settings permanently disabling usage metrics for all projects on the machine - Fixed washed-out 16-color palette when using Ghostty, Kitty, Alacritty, WezTerm, foot, rio, or Contour over SSH/mosh\n- Fixed Bash tool suggesting\n`acceptEdits`\n\npermission mode when exiting plan mode would downgrade from a higher permission level\n\nApril 10, 2026\n\n- Added\n`/team-onboarding`\n\ncommand to generate a teammate ramp-up guide from your local Claude Code usage - Added OS CA certificate store trust by default, so enterprise TLS proxies work without extra setup (set\n`CLAUDE_CODE_CERT_STORE=bundled`\n\nto use only bundled CAs) `/ultraplan`\n\nand other remote-session features now auto-create a default cloud environment instead of requiring web setup first- Improved brief mode to retry once when Claude responds with plain text instead of a structured message\n- Improved focus mode: Claude now writes more self-contained summaries since it knows you only see its final message\n- Improved tool-not-available errors to explain why and how to proceed when the model calls a tool that exists but isn’t available in the current context\n- Improved rate-limit retry messages to show which limit was hit and when it resets instead of an opaque seconds countdown\n- Improved refusal error messages to include the API-provided explanation when available\n- Improved\n`claude -p --resume <name>`\n\nto accept session titles set via`/rename`\n\nor`--name`\n\n- Improved settings resilience: an unrecognized hook event name in\n`settings.json`\n\nno longer causes the entire file to be ignored - Improved plugin hooks from plugins force-enabled by managed settings to run when\n`allowManagedHooksOnly`\n\nis set - Improved\n`/plugin`\n\nand`claude plugin update`\n\nto show a warning when the marketplace could not be refreshed, instead of silently reporting a stale version - Improved plan mode to hide the “Refine with Ultraplan” option when the user’s org or auth setup can’t reach Claude Code on the web\n- Improved beta tracing to honor\n`OTEL_LOG_USER_PROMPTS`\n\n,`OTEL_LOG_TOOL_DETAILS`\n\n, and`OTEL_LOG_TOOL_CONTENT`\n\n; sensitive span attributes are no longer emitted unless opted in - Improved SDK\n`query()`\n\nto clean up subprocess and temp files when consumers`break`\n\nfrom`for await`\n\nor use`await using`\n\n- Fixed a command injection vulnerability in the POSIX\n`which`\n\nfallback used by LSP binary detection - Fixed a memory leak where long sessions retained dozens of historical copies of the message list in the virtual scroller\n- Fixed\n`--resume`\n\n/`--continue`\n\nlosing conversation context on large sessions when the loader anchored on a dead-end branch instead of the live conversation - Fixed\n`--resume`\n\nchain recovery bridging into an unrelated subagent conversation when a subagent message landed near a main-chain write gap - Fixed a crash on\n`--resume`\n\nwhen a persisted Edit/Write tool result was missing its`file_path`\n\n- Fixed a hardcoded 5-minute request timeout that aborted slow backends (local LLMs, extended thinking, slow gateways) regardless of\n`API_TIMEOUT_MS`\n\n- Fixed\n`permissions.deny`\n\nrules not overriding a PreToolUse hook’s`permissionDecision: \"ask\"`\n\n— previously the hook could downgrade a deny into a prompt - Fixed\n`--setting-sources`\n\nwithout`user`\n\ncausing background cleanup to ignore`cleanupPeriodDays`\n\nand delete conversation history older than 30 days - Fixed Bedrock SigV4 authentication failing with 403 when\n`ANTHROPIC_AUTH_TOKEN`\n\n,`apiKeyHelper`\n\n, or`ANTHROPIC_CUSTOM_HEADERS`\n\nset an Authorization header - Fixed\n`claude -w <name>`\n\nfailing with “already exists” after a previous session’s worktree cleanup left a stale directory - Fixed subagents not inheriting MCP tools from dynamically-injected servers\n- Fixed sub-agents running in isolated worktrees being denied Read/Edit access to files inside their own worktree\n- Fixed sandboxed Bash commands failing with\n`mktemp: No such file or directory`\n\nafter a fresh boot - Fixed\n`claude mcp serve`\n\ntool calls failing with “Tool execution failed” in MCP clients that validate`outputSchema`\n\n- Fixed\n`RemoteTrigger`\n\ntool’s`run`\n\naction sending an empty body and being rejected by the server - Fixed several\n`/resume`\n\npicker issues: narrow default view hiding sessions from other projects, unreachable preview on Windows Terminal, incorrect cwd in worktrees, session-not-found errors not surfacing in stderr, terminal title not being set, and resume hint overlapping the prompt input - Fixed Grep tool ENOENT when the embedded ripgrep binary path becomes stale (VS Code extension auto-update, macOS App Translocation); now falls back to system\n`rg`\n\nand self-heals mid-session - Fixed\n`/btw`\n\nwriting a copy of the entire conversation to disk on every use - Fixed\n`/context`\n\nFree space and Messages breakdown disagreeing with the header percentage - Fixed several plugin issues: slash commands resolving to the wrong plugin with duplicate\n`name:`\n\nfrontmatter,`/plugin update`\n\nfailing with`ENAMETOOLONG`\n\n, Discover showing already-installed plugins, directory-source plugins loading from a stale version cache, and skills not honoring`context: fork`\n\nand`agent`\n\nfrontmatter fields - Fixed the\n`/mcp`\n\nmenu offering OAuth-specific actions for MCP servers configured with`headersHelper`\n\n; Reconnect is now offered instead to re-invoke the helper script - Fixed\n`ctrl+]`\n\n,`ctrl+\\`\n\n, and`ctrl+^`\n\nkeybindings not firing in terminals that send raw C0 control bytes (Terminal.app, default iTerm2, xterm) - Fixed\n`/login`\n\nOAuth URL rendering with padding that prevented clean mouse selection - Fixed rendering issues: flicker in non-fullscreen mode when content above the visible area changed, terminal scrollback being wiped during long sessions in non-fullscreen mode, and mouse-scroll escape sequences occasionally leaking into the prompt as text\n- Fixed crash when\n`settings.json`\n\nenv values are numbers instead of strings - Fixed in-app settings writes (e.g.\n`/add-dir --remember`\n\n,`/config`\n\n) not refreshing the in-memory snapshot, preventing removed directories from being revoked mid-session - Fixed custom keybindings (\n`~/.claude/keybindings.json`\n\n) not loading on Bedrock, Vertex, and other third-party providers - Fixed\n`claude --continue -p`\n\nnot correctly continuing sessions created by`-p`\n\nor the SDK - Fixed several Remote Control issues: worktrees removed on session crash, connection failures not persisting in the transcript, spurious “Disconnected” indicator in brief mode for local sessions, and\n`/remote-control`\n\nfailing over SSH when only`CLAUDE_CODE_ORGANIZATION_UUID`\n\nis set - Fixed\n`/insights`\n\nsometimes omitting the report file link from its response - [VSCode] Fixed the file attachment below the chat input not clearing when the last editor tab is closed\n\nApril 9, 2026\n\n- Added interactive Google Vertex AI setup wizard accessible from the login screen when selecting “3rd-party platform”, guiding you through GCP authentication, project and region configuration, credential verification, and model pinning\n- Added\n`CLAUDE_CODE_PERFORCE_MODE`\n\nenv var: when set, Edit/Write/NotebookEdit fail on read-only files with a`p4 edit`\n\nhint instead of silently overwriting them - Added Monitor tool for streaming events from background scripts\n- Added subprocess sandboxing with PID namespace isolation on Linux when\n`CLAUDE_CODE_SUBPROCESS_ENV_SCRUB`\n\nis set, and`CLAUDE_CODE_SCRIPT_CAPS`\n\nenv var to limit per-session script invocations - Added\n`--exclude-dynamic-system-prompt-sections`\n\nflag to print mode for improved cross-user prompt caching - Added\n`workspace.git_worktree`\n\nto the status line JSON input, set whenever the current directory is inside a linked git worktree - Added W3C\n`TRACEPARENT`\n\nenv var to Bash tool subprocesses when OTEL tracing is enabled, so child-process spans correctly parent to Claude Code’s trace tree - LSP: Claude Code now identifies itself to language servers via\n`clientInfo`\n\nin the initialize request - Fixed a Bash tool permission bypass where a backslash-escaped flag could be auto-allowed as read-only and lead to arbitrary code execution\n- Fixed compound Bash commands bypassing forced permission prompts for safety checks and explicit ask rules in auto and bypass-permissions modes\n- Fixed read-only commands with env-var prefixes not prompting unless the var is known-safe (\n`LANG`\n\n,`TZ`\n\n,`NO_COLOR`\n\n, etc.) - Fixed redirects to\n`/dev/tcp/...`\n\nor`/dev/udp/...`\n\nnot prompting instead of auto-allowing - Fixed stalled streaming responses timing out instead of falling back to non-streaming mode\n- Fixed 429 retries burning all attempts in ~13s when the server returns a small\n`Retry-After`\n\n— exponential backoff now applies as a minimum - Fixed MCP OAuth\n`oauth.authServerMetadataUrl`\n\nconfig override not being honored on token refresh after restart, affecting ADFS and similar IdPs - Fixed capital letters being dropped to lowercase on xterm and VS Code integrated terminal when the kitty keyboard protocol is active\n- Fixed macOS text replacements deleting the trigger word instead of inserting the substitution\n- Fixed\n`--dangerously-skip-permissions`\n\nbeing silently downgraded to accept-edits mode after approving a write to a protected path via Bash - Fixed managed-settings allow rules remaining active after an admin removed them, until process restart\n- Fixed\n`permissions.additionalDirectories`\n\nchanges not applying mid-session — removed directories lose access immediately and added ones work without restart - Fixed removing a directory from\n`additionalDirectories`\n\nrevoking access to the same directory passed via`--add-dir`\n\n- Fixed\n`Bash(cmd:*)`\n\nand`Bash(git commit *)`\n\nwildcard permission rules failing to match commands with extra spaces or tabs - Fixed\n`Bash(...)`\n\ndeny rules being downgraded to a prompt for piped commands that mix`cd`\n\nwith other segments - Fixed false Bash permission prompts for\n`cut -d /`\n\n,`paste -d /`\n\n,`column -s /`\n\n,`awk '{print $1}' file`\n\n, and filenames containing`%`\n\n- Fixed permission rules with names matching JavaScript prototype properties (e.g.\n`toString`\n\n) causing`settings.json`\n\nto be silently ignored - Fixed agent team members not inheriting the leader’s permission mode when using\n`--dangerously-skip-permissions`\n\n- Fixed a crash in fullscreen mode when hovering over MCP tool results\n- Fixed copying wrapped URLs in fullscreen mode inserting spaces at line breaks\n- Fixed file-edit diffs disappearing from the UI on\n`--resume`\n\nwhen the edited file was larger than 10KB - Fixed several\n`/resume`\n\npicker issues:`--resume <name>`\n\nopening uneditable, filter reload wiping search state, empty list swallowing arrow keys, cross-project staleness, and transient task-status text replacing conversation summaries - Fixed\n`/export`\n\nnot honoring absolute paths and`~`\n\n, and silently rewriting user-supplied extensions to`.txt`\n\n- Fixed\n`/effort max`\n\nbeing denied for unknown or future model IDs - Fixed slash command picker breaking when a plugin’s frontmatter\n`name`\n\nis a YAML boolean keyword - Fixed rate-limit upsell text being hidden after message remounts\n- Fixed MCP tools with\n`_meta[\"anthropic/maxResultSizeChars\"]`\n\nnot bypassing the token-based persist layer - Fixed voice mode leaking dozens of space characters into the input when re-holding the push-to-talk key while the previous transcript is still processing\n- Fixed\n`DISABLE_AUTOUPDATER`\n\nnot fully suppressing the npm registry version check and symlink modification on npm-based installs - Fixed a memory leak where Remote Control permission handler entries were retained for the lifetime of the session\n- Fixed background subagents that fail with an error not reporting partial progress to the parent agent\n- Fixed prompt-type Stop/SubagentStop hooks failing on long sessions, and hook evaluator API errors showing “JSON validation failed” instead of the real message\n- Fixed feedback survey rendering when dismissed\n- Fixed Bash\n`grep -f FILE`\n\n/`rg -f FILE`\n\nnot prompting when reading a pattern file outside the working directory - Fixed stale subagent worktree cleanup removing worktrees that contain untracked files\n- Fixed\n`sandbox.network.allowMachLookup`\n\nnot taking effect on macOS - Improved\n`/resume`\n\nfilter hint labels and added project/worktree/branch names in the filter indicator - Improved footer indicators (Focus, notifications) to stay on the mode-indicator row instead of wrapping at narrow terminal widths\n- Improved\n`/agents`\n\nwith a tabbed layout: a Running tab shows live subagents, and the Library tab adds Run agent and View running instance actions - Improved\n`/reload-plugins`\n\nto pick up plugin-provided skills without requiring a restart - Improved Accept Edits mode to auto-approve filesystem commands prefixed with safe env vars or process wrappers\n- Improved Vim mode:\n`j`\n\n/`k`\n\nin NORMAL mode now navigate history and select the footer pill at the input boundary - Improved hook errors in the transcript to include the first line of stderr for self-diagnosis without\n`--debug`\n\n- Improved OTEL tracing: interaction spans now correctly wrap full turns under concurrent SDK calls, and headless turns end spans per-turn\n- Improved transcript entries to carry final token usage instead of streaming placeholders\n- Updated the\n`/claude-api`\n\nskill to cover Managed Agents alongside Claude API - [VSCode] Fixed false-positive “requires git-bash” error on Windows when\n`CLAUDE_CODE_GIT_BASH_PATH`\n\nis set or Git is installed at a default location - Fixed\n`CLAUDE_CODE_MAX_CONTEXT_TOKENS`\n\nto honor`DISABLE_COMPACT`\n\nwhen it is set. - Dropped\n`/compact`\n\nhints when`DISABLE_COMPACT`\n\nis set.\n\nApril 8, 2026\n\n- Added focus view toggle (\n`Ctrl+O`\n\n) in`NO_FLICKER`\n\nmode showing prompt, one-line tool summary with edit diffstats, and final response - Added\n`refreshInterval`\n\nstatus line setting to re-run the status line command every N seconds - Added\n`workspace.git_worktree`\n\nto the status line JSON input, set when the current directory is inside a linked git worktree - Added\n`● N running`\n\nindicator in`/agents`\n\nnext to agent types with live subagent instances - Added syntax highlighting for Cedar policy files (\n`.cedar`\n\n,`.cedarpolicy`\n\n) - Fixed\n`--dangerously-skip-permissions`\n\nbeing silently downgraded to accept-edits mode after approving a write to a protected path - Fixed and hardened Bash tool permissions, tightening checks around env-var prefixes and network redirects, and reducing false prompts on common commands\n- Fixed permission rules with names matching JavaScript prototype properties (e.g.\n`toString`\n\n) causing`settings.json`\n\nto be silently ignored - Fixed managed-settings allow rules remaining active after an admin removed them until process restart\n- Fixed\n`permissions.additionalDirectories`\n\nchanges in settings not applying mid-session - Fixed removing a directory from\n`settings.permissions.additionalDirectories`\n\nrevoking access to the same directory passed via`--add-dir`\n\n- Fixed MCP HTTP/SSE connections accumulating ~50 MB/hr of unreleased buffers when servers reconnect\n- Fixed MCP OAuth\n`oauth.authServerMetadataUrl`\n\nnot being honored on token refresh after restart, fixing ADFS and similar IdPs - Fixed 429 retries burning all attempts in ~13 seconds when the server returns a small\n`Retry-After`\n\n— exponential backoff now applies as a minimum - Fixed rate-limit upgrade options disappearing after context compaction\n- Fixed several\n`/resume`\n\npicker issues:`--resume <name>`\n\nopening uneditable, Ctrl+A reload wiping search, empty list swallowing navigation, task-status text replacing conversation summary, and cross-project staleness - Fixed file-edit diffs disappearing on\n`--resume`\n\nwhen the edited file was larger than 10KB - Fixed\n`--resume`\n\ncache misses and lost mid-turn input from attachment messages not being saved to the transcript - Fixed messages typed while Claude is working not being persisted to the transcript\n- Fixed prompt-type\n`Stop`\n\n/`SubagentStop`\n\nhooks failing on long sessions, and hook evaluator API errors displaying “JSON validation failed” instead of the actual message - Fixed subagents with worktree isolation or\n`cwd:`\n\noverride leaking their working directory back to the parent session’s Bash tool - Fixed compaction writing duplicate multi-MB subagent transcript files on prompt-too-long retries\n- Fixed\n`claude plugin update`\n\nreporting “already at the latest version” for git-based marketplace plugins when the remote had newer commits - Fixed slash command picker breaking when a plugin’s frontmatter\n`name`\n\nis a YAML boolean keyword - Fixed copying wrapped URLs in\n`NO_FLICKER`\n\nmode inserting spaces at line breaks - Fixed scroll rendering artifacts in\n`NO_FLICKER`\n\nmode when running inside zellij - Fixed a crash in\n`NO_FLICKER`\n\nmode when hovering over MCP tool results - Fixed a\n`NO_FLICKER`\n\nmode memory leak where API retries left stale streaming state - Fixed slow mouse-wheel scrolling in\n`NO_FLICKER`\n\nmode on Windows Terminal - Fixed custom status line not displaying in\n`NO_FLICKER`\n\nmode on terminals shorter than 24 rows - Fixed Shift+Enter and Alt/Cmd+arrow shortcuts not working in Warp with\n`NO_FLICKER`\n\nmode - Fixed Korean/Japanese/Unicode text becoming garbled when copied in no-flicker mode on Windows\n- Fixed Bedrock SigV4 authentication failing when\n`AWS_BEARER_TOKEN_BEDROCK`\n\nor`ANTHROPIC_BEDROCK_BASE_URL`\n\nare set to empty strings (as GitHub Actions does for unset inputs) - Improved Accept Edits mode to auto-approve filesystem commands prefixed with safe env vars or process wrappers (e.g.\n`LANG=C rm foo`\n\n,`timeout 5 mkdir out`\n\n) - Improved auto mode and bypass-permissions mode to auto-approve sandbox network access prompts\n- Improved sandbox:\n`sandbox.network.allowMachLookup`\n\nnow takes effect on macOS - Improved image handling: pasted and attached images are now compressed to the same token budget as images read via the Read tool\n- Improved slash command and\n`@`\n\n-mention completion to trigger after CJK sentence punctuation, so Japanese/Chinese input no longer requires a space before`/`\n\nor`@`\n\n- Improved Bridge sessions to show the local git repo, branch, and working directory on the claude.ai session card\n- Improved footer layout: indicators (Focus, notifications) now stay on the mode-indicator row instead of wrapping below\n- Improved context-low warning to show as a transient footer notification instead of a persistent row\n- Improved markdown blockquotes to show a continuous left bar across wrapped lines\n- Improved session transcript size by skipping empty hook entries and capping stored pre-edit file copies\n- Improved transcript accuracy: per-block entries now carry the final token usage instead of the streaming placeholder\n- Improved Bash tool OTEL tracing: subprocesses now inherit a W3C\n`TRACEPARENT`\n\nenv var when tracing is enabled - Updated\n`/claude-api`\n\nskill to cover Managed Agents alongside the Claude API\n\nApril 8, 2026\n\n- Fixed Bedrock requests failing with\n`403 \"Authorization header is missing\"`\n\nwhen using`AWS_BEARER_TOKEN_BEDROCK`\n\nor`CLAUDE_CODE_SKIP_BEDROCK_AUTH`\n\n(regression in 2.1.94)\n\nApril 7, 2026\n\n- Added support for Amazon Bedrock powered by Mantle, set\n`CLAUDE_CODE_USE_MANTLE=1`\n\n- Changed default effort level from medium to high for API-key, Bedrock/Vertex/Foundry, Team, and Enterprise users (control this with\n`/effort`\n\n) - Added compact\n`Slacked #channel`\n\nheader with a clickable channel link for Slack MCP send-message tool calls - Added\n`keep-coding-instructions`\n\nfrontmatter field support for plugin output styles - Added\n`hookSpecificOutput.sessionTitle`\n\nto`UserPromptSubmit`\n\nhooks for setting the session title - Plugin skills declared via\n`\"skills\": [\"./\"]`\n\nnow use the skill’s frontmatter`name`\n\nfor the invocation name instead of the directory basename, giving a stable name across install methods - Fixed agents appearing stuck after a 429 rate-limit response with a long Retry-After header — the error now surfaces immediately instead of silently waiting\n- Fixed Console login on macOS silently failing with “Not logged in” when the login keychain is locked or its password is out of sync — the error is now surfaced and\n`claude doctor`\n\ndiagnoses the fix - Fixed plugin skill hooks defined in YAML frontmatter being silently ignored\n- Fixed plugin hooks failing with “No such file or directory” when\n`CLAUDE_PLUGIN_ROOT`\n\nwas not set - Fixed\n`${CLAUDE_PLUGIN_ROOT}`\n\nresolving to the marketplace source directory instead of the installed cache for local-marketplace plugins on startup - Fixed scrollback showing the same diff repeated and blank pages in long-running sessions\n- Fixed multiline user prompts in the transcript indenting wrapped lines under the\n`❯`\n\ncaret instead of under the text - Fixed Shift+Space inserting the literal word “space” instead of a space character in search inputs\n- Fixed hyperlinks opening two browser tabs when clicked inside tmux running in an xterm.js-based terminal (VS Code, Hyper, Tabby)\n- Fixed an alt-screen rendering bug where content height changes mid-scroll could leave compounding ghost lines\n- Fixed\n`FORCE_HYPERLINK`\n\nenvironment variable being ignored when set via`settings.json`\n\n`env`\n\n- Fixed native terminal cursor not tracking the selected tab in dialogs, so screen readers and magnifiers can follow tab navigation\n- Fixed Bedrock invocation of Sonnet 3.5 v2 by using the\n`us.`\n\ninference profile ID - Fixed SDK/print mode not preserving the partial assistant response in conversation history when interrupted mid-stream\n- Improved\n`--resume`\n\nto resume sessions from other worktrees of the same repo directly instead of printing a`cd`\n\ncommand - Fixed CJK and other multibyte text being corrupted with U+FFFD in stream-json input/output when chunk boundaries split a UTF-8 sequence\n- [VSCode] Reduced cold-open subprocess work on starting a session\n- [VSCode] Fixed dropdown menus selecting the wrong item when the mouse was over the list while typing or using arrow keys\n- [VSCode] Added a warning banner when\n`settings.json`\n\nfiles fail to parse, so users know their permission rules are not being applied\n\nApril 4, 2026\n\n- Added\n`forceRemoteSettingsRefresh`\n\npolicy setting: when set, the CLI blocks startup until remote managed settings are freshly fetched, and exits if the fetch fails (fail-closed) - Added interactive Bedrock setup wizard accessible from the login screen when selecting “3rd-party platform” — guides you through AWS authentication, region configuration, credential verification, and model pinning\n- Added per-model and cache-hit breakdown to\n`/cost`\n\nfor subscription users `/release-notes`\n\nis now an interactive version picker- Remote Control session names now use your hostname as the default prefix (e.g.\n`myhost-graceful-unicorn`\n\n), overridable with`--remote-control-session-name-prefix`\n\n- Pro users now see a footer hint when returning to a session after the prompt cache has expired, showing roughly how many tokens the next turn will send uncached\n- Fixed subagent spawning permanently failing with “Could not determine pane count” after tmux windows are killed or renumbered during a long-running session\n- Fixed prompt-type Stop hooks incorrectly failing when the small fast model returns\n`ok:false`\n\n, and restored`preventContinuation:true`\n\nsemantics for non-Stop prompt-type hooks - Fixed tool input validation failures when streaming emits array/object fields as JSON-encoded strings\n- Fixed an API 400 error that could occur when extended thinking produced a whitespace-only text block alongside real content\n- Fixed accidental feedback survey submissions from auto-pilot keypresses and consecutive-prompt digit collisions\n- Fixed misleading “esc to interrupt” hint appearing alongside “esc to clear” when a text selection exists in fullscreen mode during processing\n- Fixed Homebrew install update prompts to use the cask’s release channel (\n`claude-code`\n\n→ stable,`claude-code@latest`\n\n→ latest) - Fixed\n`ctrl+e`\n\njumping to the end of the next line when already at end of line in multiline prompts - Fixed an issue where the same message could appear at two positions when scrolling up in fullscreen mode (iTerm2, Ghostty, and other terminals with DEC 2026 support)\n- Fixed idle-return “/clear to save X tokens” hint showing cumulative session tokens instead of current context size\n- Fixed plugin MCP servers stuck “connecting” on session start when they duplicate a claude.ai connector that is unauthenticated\n- Improved Write tool diff computation speed for large files (60% faster on files with tabs/\n`&`\n\n/`$`\n\n) - Removed\n`/tag`\n\ncommand - Removed\n`/vim`\n\ncommand (toggle vim mode via`/config`\n\n→ Editor mode) - Linux sandbox now ships the\n`apply-seccomp`\n\nhelper in both npm and native builds, restoring unix-socket blocking for sandboxed commands\n\nApril 2, 2026\n\n- Added MCP tool result persistence override via\n`_meta[\"anthropic/maxResultSizeChars\"]`\n\nannotation (up to 500K), allowing larger results like DB schemas to pass through without truncation - Added\n`disableSkillShellExecution`\n\nsetting to disable inline shell execution in skills, custom slash commands, and plugin commands - Added support for multi-line prompts in\n`claude-cli://open?q=`\n\ndeep links (encoded newlines`%0A`\n\nno longer rejected) - Plugins can now ship executables under\n`bin/`\n\nand invoke them as bare commands from the Bash tool - Fixed transcript chain breaks on\n`--resume`\n\nthat could lose conversation history when async transcript writes fail silently - Fixed\n`cmd+delete`\n\nnot deleting to start of line on iTerm2, kitty, WezTerm, Ghostty, and Windows Terminal - Fixed plan mode in remote sessions losing track of the plan file after a container restart, which caused permission prompts on plan edits and an empty plan-approval modal\n- Fixed JSON schema validation for\n`permissions.defaultMode: \"auto\"`\n\nin settings.json - Fixed Windows version cleanup not protecting the active version’s rollback copy\n`/feedback`\n\nnow explains why it’s unavailable instead of disappearing from the slash menu- Improved\n`/claude-api`\n\nskill guidance for agent design patterns including tool surface decisions, context management, and caching strategy - Improved performance: faster\n`stripAnsi`\n\non Bun by routing through`Bun.stripANSI`\n\n- Edit tool now uses shorter\n`old_string`\n\nanchors, reducing output tokens\n\nApril 1, 2026\n\n- Added\n`/powerup`\n\n— interactive lessons teaching Claude Code features with animated demos - Added\n`CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE`\n\nenv var to keep the existing marketplace cache when`git pull`\n\nfails, useful in offline environments - Added\n`.husky`\n\nto protected directories (acceptEdits mode) - Fixed an infinite loop where the rate-limit options dialog would repeatedly auto-open after hitting your usage limit, eventually crashing the session\n- Fixed\n`--resume`\n\ncausing a full prompt-cache miss on the first request for users with deferred tools, MCP servers, or custom agents (regression since v2.1.69) - Fixed\n`Edit`\n\n/`Write`\n\nfailing with “File content has changed” when a PostToolUse format-on-save hook rewrites the file between consecutive edits - Fixed\n`PreToolUse`\n\nhooks that emit JSON to stdout and exit with code 2 not correctly blocking the tool call - Fixed collapsed search/read summary badge appearing multiple times in fullscreen scrollback when a CLAUDE.md file auto-loads during a tool call\n- Fixed auto mode not respecting explicit user boundaries (“don’t push”, “wait for X before Y”) even when the action would otherwise be allowed\n- Fixed click-to-expand hover text being nearly invisible on light terminal themes\n- Fixed UI crash when malformed tool input reached the permission dialog\n- Fixed headers disappearing when scrolling\n`/model`\n\n,`/config`\n\n, and other selection screens - Hardened PowerShell tool permission checks: fixed trailing\n`&`\n\nbackground job bypass,`-ErrorAction Break`\n\ndebugger hang, archive-extraction TOCTOU, and parse-fail fallback deny-rule degradation - Improved performance: eliminated per-turn JSON.stringify of MCP tool schemas on cache-key lookup\n- Improved performance: SSE transport now handles large streamed frames in linear time (was quadratic)\n- Improved performance: SDK sessions with long conversations no longer slow down quadratically on transcript writes\n- Improved\n`/resume`\n\nall-projects view to load project sessions in parallel, improving load times for users with many projects - Changed\n`--resume`\n\npicker to no longer show sessions created by`claude -p`\n\nor SDK invocations - Removed\n`Get-DnsClientCache`\n\nand`ipconfig /displaydns`\n\nfrom auto-allow (DNS cache privacy)\n\nApril 1, 2026\n\n- Added\n`\"defer\"`\n\npermission decision to`PreToolUse`\n\nhooks — headless sessions can pause at a tool call and resume with`-p --resume`\n\nto have the hook re-evaluate - Added\n`CLAUDE_CODE_NO_FLICKER=1`\n\nenvironment variable to opt into flicker-free alt-screen rendering with virtualized scrollback - Added\n`PermissionDenied`\n\nhook that fires after auto mode classifier denials — return`{retry: true}`\n\nto tell the model it can retry - Added named subagents to\n`@`\n\nmention typeahead suggestions - Added\n`MCP_CONNECTION_NONBLOCKING=true`\n\nfor`-p`\n\nmode to skip the MCP connection wait entirely, and bounded`--mcp-config`\n\nserver connections at 5s instead of blocking on the slowest server - Auto mode: denied commands now show a notification and appear in\n`/permissions`\n\n→ Recent tab where you can retry with`r`\n\n- Fixed\n`Edit(//path/**)`\n\nand`Read(//path/**)`\n\nallow rules to check the resolved symlink target, not just the requested path - Fixed voice push-to-talk not activating for some modifier-combo bindings, and voice mode on Windows failing with “WebSocket upgrade rejected with HTTP 101”\n- Fixed Edit/Write tools doubling CRLF on Windows and stripping Markdown hard line breaks (two trailing spaces)\n- Fixed\n`StructuredOutput`\n\nschema cache bug causing ~50% failure rate when using multiple schemas - Fixed memory leak where large JSON inputs were retained as LRU cache keys in long-running sessions\n- Fixed a crash when removing a message from very large session files (over 50MB)\n- Fixed LSP server zombie state after crash — server now restarts on next request instead of failing until session restart\n- Fixed prompt history entries containing CJK or emoji being silently dropped when they fall on a 4KB boundary in\n`~/.claude/history.jsonl`\n\n- Fixed\n`/stats`\n\nundercounting tokens by excluding subagent usage, and losing historical data beyond 30 days when the stats cache format changes - Fixed\n`-p --resume`\n\nhangs when the deferred tool input exceeds 64KB or no deferred marker exists, and`-p --continue`\n\nnot resuming deferred tools - Fixed\n`claude-cli://`\n\ndeep links not opening on macOS - Fixed MCP tool errors truncating to only the first content block when the server returns multi-element error content\n- Fixed skill reminders and other system context being dropped when sending messages with images via the SDK\n- Fixed PreToolUse/PostToolUse hooks to receive\n`file_path`\n\nas an absolute path for Write/Edit/Read tools, matching the documented behavior - Fixed autocompact thrash loop — now detects when context refills to the limit immediately after compacting three times in a row and stops with an actionable error instead of burning API calls\n- Fixed prompt cache misses in long sessions caused by tool schema bytes changing mid-session\n- Fixed nested CLAUDE.md files being re-injected dozens of times in long sessions that read many files\n- Fixed\n`--resume`\n\ncrash when transcript contains a tool result from an older CLI version or interrupted write - Fixed misleading “Rate limit reached” message when the API returned an entitlement error — now shows the actual error with actionable hints\n- Fixed hooks\n`if`\n\ncondition filtering not matching compound commands (`ls && git push`\n\n) or commands with env-var prefixes (`FOO=bar git push`\n\n) - Fixed collapsed search/read group badges duplicating in terminal scrollback during heavy parallel tool use\n- Fixed notification\n`invalidates`\n\nnot clearing the currently-displayed notification immediately - Fixed prompt briefly disappearing after submit when background messages arrived during processing\n- Fixed Devanagari and other combining-mark text being truncated in assistant output\n- Fixed rendering artifacts on main-screen terminals after layout shifts\n- Fixed voice mode failing to request microphone permission on macOS Apple Silicon\n- Fixed Shift+Enter submitting instead of inserting a newline on Windows Terminal Preview 1.25\n- Fixed periodic UI jitter during streaming in iTerm2 when running inside tmux\n- Fixed PowerShell tool incorrectly reporting failures when commands like\n`git push`\n\nwrote progress to stderr on Windows PowerShell 5.1 - Fixed a potential out-of-memory crash when the Edit tool was used on very large files (>1 GiB)\n- Improved collapsed tool summary to show “Listed N directories” for\n`ls`\n\n/`tree`\n\n/`du`\n\ninstead of “Read N files” - Improved Bash tool to warn when a formatter/linter command modifies files you have previously read, preventing stale-edit errors\n- Improved\n`@`\n\n-mention typeahead to rank source files above MCP resources with similar names - Improved PowerShell tool prompt with version-appropriate syntax guidance (5.1 vs 7+)\n- Changed\n`Edit`\n\nto work on files viewed via`Bash`\n\nwith`sed -n`\n\nor`cat`\n\n, without requiring a separate`Read`\n\ncall first - Changed hook output over 50K characters to be saved to disk with a file path + preview instead of being injected directly into context\n- Changed\n`cleanupPeriodDays: 0`\n\nin settings.json to be rejected with a validation error — it previously silently disabled transcript persistence - Changed thinking summaries to no longer be generated by default in interactive sessions — set\n`showThinkingSummaries: true`\n\nin settings.json to restore - Documented\n`TaskCreated`\n\nhook event and its blocking behavior - Preserved task notifications when backgrounding a running command with Ctrl+B\n- PowerShell tool on Windows: external-command arguments containing both a double-quote and whitespace now prompt instead of auto-allowing (PS 5.1 argument-splitting hardening)\n`/env`\n\nnow applies to PowerShell tool commands (previously only affected Bash)`/usage`\n\nnow hides redundant “Current week (Sonnet only)” bar for Pro and Enterprise plans- Image paste no longer inserts a trailing space\n- Pasting\n`!command`\n\ninto an empty prompt now enters bash mode, matching typed`!`\n\nbehavior `/buddy`\n\nis here for April 1st — hatch a small creature that watches you code\n\nMarch 29, 2026\n\n- Fixed messages in Cowork Dispatch not getting delivered\n\nMarch 27, 2026\n\n- Added\n`X-Claude-Code-Session-Id`\n\nheader to API requests so proxies can aggregate requests by session without parsing the body - Added\n`.jj`\n\nand`.sl`\n\nto VCS directory exclusion lists so Grep and file autocomplete don’t descend into Jujutsu or Sapling metadata - Fixed\n`--resume`\n\nfailing with “tool_use ids were found without tool_result blocks” on sessions created before v2.1.85 - Fixed Write/Edit/Read failing on files outside the project root (e.g.,\n`~/.claude/CLAUDE.md`\n\n) when conditional skills or rules are configured - Fixed unnecessary config disk writes on every skill invocation that could cause performance issues and config corruption on Windows\n- Fixed potential out-of-memory crash when using\n`/feedback`\n\non very long sessions with large transcript files - Fixed\n`--bare`\n\nmode dropping MCP tools in interactive sessions and silently discarding messages enqueued mid-turn - Fixed the\n`c`\n\nshortcut copying only ~20 characters of the OAuth login URL instead of the full URL - Fixed masked input (e.g., OAuth code paste) leaking the start of the token when wrapping across multiple lines on narrow terminals\n- Fixed official marketplace plugin scripts failing with “Permission denied” on macOS/Linux since v2.1.83\n- Fixed statusline showing another session’s model when running multiple Claude Code instances and using\n`/model`\n\nin one of them - Fixed scroll not following new messages after wheel scroll or click-to-select at the bottom of a long conversation\n- Fixed\n`/plugin`\n\nuninstall dialog: pressing`n`\n\nnow correctly uninstalls the plugin while preserving its data directory - Fixed a regression where pressing Enter after clicking could leave the transcript blank until the response arrived\n- Fixed\n`ultrathink`\n\nhint lingering after deleting the keyword - Fixed memory growth in long sessions from markdown/highlight render caches retaining full content strings\n- Reduced startup event-loop stalls when many claude.ai MCP connectors are configured (macOS keychain cache extended from 5s to 30s)\n- Reduced token overhead when mentioning files with\n`@`\n\n— raw string content no longer JSON-escaped - Improved prompt cache hit rate for Bedrock, Vertex, and Foundry users by removing dynamic content from tool descriptions\n- Memory filenames in the “Saved N memories” notice now highlight on hover and open on click\n- Skill descriptions in the\n`/skills`\n\nlisting are now capped at 250 characters to reduce context usage - Changed\n`/skills`\n\nmenu to sort alphabetically for easier scanning - Auto mode now shows “unavailable for your plan” when disabled by plan restrictions (was “temporarily unavailable”)\n- [VSCode] Fixed extension incorrectly showing “Not responding” during long-running operations\n- [VSCode] Fixed extension defaulting Max plan users to Sonnet after the OAuth token refreshes (8 hours after login)\n- Read tool now uses compact line-number format and deduplicates unchanged re-reads, reducing token usage\n\nMarch 26, 2026\n\n- Added\n`CLAUDE_CODE_MCP_SERVER_NAME`\n\nand`CLAUDE_CODE_MCP_SERVER_URL`\n\nenvironment variables to MCP`headersHelper`\n\nscripts, allowing one helper to serve multiple servers - Added conditional\n`if`\n\nfield for hooks using permission rule syntax (e.g.,`Bash(git *)`\n\n) to filter when they run, reducing process spawning overhead - Added timestamp markers in transcripts when scheduled tasks (\n`/loop`\n\n,`CronCreate`\n\n) fire - Added trailing space after\n`[Image #N]`\n\nplaceholder when pasting images - Deep link queries (\n`claude-cli://open?q=…`\n\n) now support up to 5,000 characters, with a “scroll to review” warning for long pre-filled prompts - MCP OAuth now follows RFC 9728 Protected Resource Metadata discovery to find the authorization server\n- Plugins blocked by organization policy (\n`managed-settings.json`\n\n) can no longer be installed or enabled, and are hidden from marketplace views - PreToolUse hooks can now satisfy\n`AskUserQuestion`\n\nby returning`updatedInput`\n\nalongside`permissionDecision: \"allow\"`\n\n, enabling headless integrations that collect answers via their own UI `tool_parameters`\n\nin OpenTelemetry tool_result events are now gated behind`OTEL_LOG_TOOL_DETAILS=1`\n\n- Fixed\n`/compact`\n\nfailing with “context exceeded” when the conversation has grown too large for the compact request itself to fit - Fixed\n`/plugin enable`\n\nand`/plugin disable`\n\nfailing when a plugin’s install location differs from where it’s declared in settings - Fixed\n`--worktree`\n\nexiting with an error in non-git repositories before the`WorktreeCreate`\n\nhook could run - Fixed\n`deniedMcpServers`\n\nsetting not blocking claude.ai MCP servers - Fixed\n`switch_display`\n\nin the computer-use tool returning “not available in this session” on multi-monitor setups - Fixed crash when\n`OTEL_LOGS_EXPORTER`\n\n,`OTEL_METRICS_EXPORTER`\n\n, or`OTEL_TRACES_EXPORTER`\n\nis set to`none`\n\n- Fixed diff syntax highlighting not working in non-native builds\n- Fixed MCP step-up authorization failing when a refresh token exists — servers requesting elevated scopes via\n`403 insufficient_scope`\n\nnow correctly trigger the re-authorization flow - Fixed memory leak in remote sessions when a streaming response is interrupted\n- Fixed persistent ECONNRESET errors during edge connection churn by using a fresh TCP connection on retry\n- Fixed prompts getting stuck in the queue after running certain slash commands, with up-arrow unable to retrieve them\n- Fixed Python Agent SDK:\n`type:'sdk'`\n\nMCP servers passed via`--mcp-config`\n\nare no longer dropped during startup - Fixed raw key sequences appearing in the prompt when running over SSH or in the VS Code integrated terminal\n- Fixed Remote Control session status staying stuck on “Requires Action” after a permission is resolved\n- Fixed shift+enter and meta+enter being intercepted by typeahead suggestions instead of inserting newlines\n- Fixed stale content bleeding through when scrolling up during streaming\n- Fixed terminal left in enhanced keyboard mode after exit in Ghostty, Kitty, WezTerm, and other terminals supporting the Kitty keyboard protocol — Ctrl+C and Ctrl+D now work correctly after quitting\n- Improved @-mention file autocomplete performance on large repositories\n- Improved PowerShell dangerous command detection\n- Improved scroll performance with large transcripts by replacing WASM yoga-layout with a pure TypeScript implementation\n- Reduced UI stutter when compaction triggers on large sessions\n\nMarch 26, 2026\n\n- Added PowerShell tool for Windows as an opt-in preview. Learn more at\n[https://code.claude.com/docs/en/tools-reference#powershell-tool](https://code.claude.com/docs/en/tools-reference#powershell-tool) - Added\n`ANTHROPIC_DEFAULT_{OPUS,SONNET,HAIKU}_MODEL_SUPPORTS`\n\nenv vars to override effort/thinking capability detection for pinned default models for 3p (Bedrock, Vertex, Foundry), and`_MODEL_NAME`\n\n/`_DESCRIPTION`\n\nto customize the`/model`\n\npicker label - Added\n`CLAUDE_STREAM_IDLE_TIMEOUT_MS`\n\nenv var to configure the streaming idle watchdog threshold (default 90s) - Added\n`TaskCreated`\n\nhook that fires when a task is created via`TaskCreate`\n\n- Added\n`WorktreeCreate`\n\nhook support for`type: \"http\"`\n\n— return the created worktree path via`hookSpecificOutput.worktreePath`\n\nin the response JSON - Added\n`allowedChannelPlugins`\n\nmanaged setting for team/enterprise admins to define a channel plugin allowlist - Added\n`x-client-request-id`\n\nheader to API requests for debugging timeouts - Added idle-return prompt that nudges users returning after 75+ minutes to\n`/clear`\n\n, reducing unnecessary token re-caching on stale sessions - Deep links (\n`claude-cli://`\n\n) now open in your preferred terminal instead of whichever terminal happens to be first in the detection list - Rules and skills\n`paths:`\n\nfrontmatter now accepts a YAML list of globs - MCP tool descriptions and server instructions are now capped at 2KB to prevent OpenAPI-generated servers from bloating context\n- MCP servers configured both locally and via claude.ai connectors are now deduplicated — the local config wins\n- Background bash tasks that appear stuck on an interactive prompt now surface a notification after ~45 seconds\n- Token counts ≥1M now display as “1.5m” instead of “1512.6k”\n- Global system-prompt caching now works when\n`ToolSearch`\n\nis enabled, including for users with MCP tools configured - Fixed voice push-to-talk: holding the voice key no longer leaks characters into the text input, and transcripts now insert at the correct position\n- Fixed up/down arrow keys being unresponsive when a footer item is focused\n- Fixed\n`Ctrl+U`\n\n(kill-to-line-start) being a no-op at line boundaries in multiline input, so repeated`Ctrl+U`\n\nnow clears across lines - Fixed null-unbinding a default chord binding (e.g.\n`\"ctrl+x ctrl+k\": null`\n\n) still entering chord-wait mode instead of freeing the prefix key - Fixed mouse events inserting literal “mouse” text into transcript search input\n- Fixed workflow subagents failing with API 400 when the outer session uses\n`--json-schema`\n\nand the subagent also specifies a schema - Fixed missing background color behind certain emoji in user message bubbles on some terminals\n- Fixed the “allow Claude to edit its own settings for this session” permission option not sticking for users with\n`Edit(.claude)`\n\nallow rules - Fixed a hang when generating attachment snippets for large edited files\n- Fixed MCP tool/resource cache leak on server reconnect\n- Fixed a startup performance issue where partial clone repositories (Scalar/GVFS) triggered mass blob downloads\n- Fixed native terminal cursor not tracking the text input caret, so IME composition (CJK input) now renders inline and screen readers can follow the input position\n- Fixed spurious “Not logged in” errors on macOS caused by transient keychain read failures\n- Fixed cold-start race where core tools could be deferred without their bypass active, causing Edit/Write to fail with InputValidationError on typed parameters\n- Improved detection for dangerous removals of Windows drive roots (\n`C:\\`\n\n,`C:\\Windows`\n\n, etc.) - Improved interactive startup by ~30ms by running\n`setup()`\n\nin parallel with slash command and agent loading - Improved startup for\n`claude \"prompt\"`\n\nwith MCP servers — the REPL now renders immediately instead of blocking until all servers connect - Improved Remote Control to show a specific reason when blocked instead of a generic “not yet enabled” message\n- Improved p90 prompt cache rate\n- Reduced scroll-to-top resets in long sessions by making the message window immune to compaction and grouping changes\n- Reduced terminal flickering when animated tool progress scrolls above the viewport\n- Changed issue/PR references to only become clickable links when written as\n`owner/repo#123`\n\n— bare`#123`\n\nis no longer auto-linked - Slash commands unavailable for the current auth setup (\n`/voice`\n\n,`/mobile`\n\n,`/chrome`\n\n,`/upgrade`\n\n, etc.) are now hidden instead of shown - [VSCode] Added rate limit warning banner with usage percentage and reset time\n- Stats screenshot (Ctrl+S in /stats) now works in all builds and is 16× faster\n\nMarch 25, 2026\n\n- Added\n`managed-settings.d/`\n\ndrop-in directory alongside`managed-settings.json`\n\n, letting separate teams deploy independent policy fragments that merge alphabetically - Added\n`CwdChanged`\n\nand`FileChanged`\n\nhook events for reactive environment management (e.g., direnv) - Added\n`sandbox.failIfUnavailable`\n\nsetting to exit with an error when sandbox is enabled but cannot start, instead of running unsandboxed - Added\n`disableDeepLinkRegistration`\n\nsetting to prevent`claude-cli://`\n\nprotocol handler registration - Added\n`CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1`\n\nto strip Anthropic and cloud provider credentials from subprocess environments (Bash tool, hooks, MCP stdio servers) - Added transcript search — press\n`/`\n\nin transcript mode (`Ctrl+O`\n\n) to search,`n`\n\n/`N`\n\nto step through matches - Added\n`Ctrl+X Ctrl+E`\n\nas an alias for opening the external editor (readline-native binding;`Ctrl+G`\n\nstill works) - Pasted images now insert an\n`[Image #N]`\n\nchip at the cursor so you can reference them positionally in your prompt - Agents can now declare\n`initialPrompt`\n\nin frontmatter to auto-submit a first turn `chat:killAgents`\n\nand`chat:fastMode`\n\nare now rebindable via`~/.claude/keybindings.json`\n\n- Fixed mouse tracking escape sequences leaking to shell prompt after exit\n- Fixed Claude Code hanging on exit on macOS\n- Fixed screen flashing blank after being idle for a few seconds\n- Fixed a hang when diffing very large files with few common lines — diffs now time out after 5 seconds and fall back gracefully\n- Fixed a 1–8 second UI freeze on startup when voice input was enabled, caused by eagerly loading the native audio module\n- Fixed a startup regression where Claude Code would wait ~3s for claude.ai MCP config fetch before proceeding\n- Fixed\n`--mcp-config`\n\nCLI flag bypassing`allowedMcpServers`\n\n/`deniedMcpServers`\n\nmanaged policy enforcement - Fixed claude.ai MCP connectors (Slack, Gmail, etc.) not being available in single-turn\n`--print`\n\nmode - Fixed\n`caffeinate`\n\nprocess not properly terminating when Claude Code exits, preventing Mac from sleeping - Fixed bash mode not activating when tab-accepting\n`!`\n\n-prefixed command suggestions - Fixed stale slash command selection showing wrong highlighted command after navigating suggestions\n- Fixed\n`/config`\n\nmenu showing both the search cursor and list selection at the same time - Fixed background subagents becoming invisible after context compaction, which could cause duplicate agents to be spawned\n- Fixed background agent tasks staying stuck in “running” state when git or API calls hang during cleanup\n- Fixed\n`--channels`\n\nshowing “Channels are not currently available” on first launch after upgrade - Fixed uninstalled plugin hooks continuing to fire until the next session\n- Fixed queued commands flickering during streaming responses\n- Fixed slash commands being sent to the model as text when submitted while a message is processing\n- Fixed scrollback jumping when collapsed read/search groups finish after scrolling offscreen\n- Fixed scrollback jumping to top when the model starts or stops thinking\n- Fixed SDK session history loss on resume caused by hook progress/attachment messages forking the parentUuid chain\n- Fixed copy-on-select not firing when you release the mouse outside the terminal window\n- Fixed ghost characters appearing in height-constrained lists when items overflow\n- Fixed\n`Ctrl+B`\n\ninterfering with readline backward-char at an idle prompt — it now only fires when a foreground task can be backgrounded - Fixed tool result files never being cleaned up, ignoring the\n`cleanupPeriodDays`\n\nsetting - Fixed space key being swallowed for up to 3 seconds after releasing voice hold-to-talk\n- Fixed ALSA library errors corrupting the terminal UI when using voice mode on Linux without audio hardware (Docker, headless, WSL1)\n- Fixed voice mode SoX detection on Termux/Android where spawning\n`which`\n\nis kernel-restricted - Fixed Remote Control sessions showing as Idle in the web session list while actively running\n- Fixed footer navigation selecting an invisible Remote Control pill in config-driven mode\n- Fixed memory leak in remote sessions where tool use IDs accumulate indefinitely\n- Improved Bedrock SDK cold-start latency by overlapping profile fetch with other boot work\n- Improved\n`--resume`\n\nmemory usage and startup latency on large sessions - Improved plugin startup — commands, skills, and agents now load from disk cache without re-fetching\n- Improved Remote Control session titles: AI-generated titles now appear within seconds of the first message\n- Improved\n`WebFetch`\n\nto identify as`Claude-User`\n\nso site operators can recognize and allowlist Claude Code traffic via`robots.txt`\n\n- Reduced\n`WebFetch`\n\npeak memory usage for large pages - Reduced scrollback resets in long sessions from once per turn to once per ~50 messages\n- Faster\n`claude -p`\n\nstartup with unauthenticated HTTP/SSE MCP servers (~600ms saved) - Bash ghost-text suggestions now include just-submitted commands immediately\n- Increased non-streaming fallback token cap (21k → 64k) and timeout (120s → 300s local) so fallback requests are less likely to be truncated\n- Interrupting a prompt before any response now automatically restores your input so you can edit and resubmit\n`/status`\n\nnow works while Claude is responding, instead of being queued until the turn finishes- Plugin MCP servers that duplicate an org-managed connector are now suppressed instead of running a second connection\n- Linux: respect\n`XDG_DATA_HOME`\n\nwhen registering the`claude-cli://`\n\nprotocol handler - Changed “stop all background agents” keybinding from\n`Ctrl+F`\n\nto`Ctrl+X Ctrl+K`\n\nto stop shadowing readline forward-char - Deprecated\n`TaskOutput`\n\ntool in favor of using`Read`\n\non the background task’s output file path - Added\n`CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACK`\n\nenv var to disable the non-streaming fallback when streaming fails - Plugin options (\n`manifest.userConfig`\n\n) now available externally — plugins can prompt for configuration at enable time, with`sensitive: true`\n\nvalues stored in keychain (macOS) or protected credentials file (other platforms) - Claude can now reference the on-disk path of clipboard-pasted images for file operations\n`Ctrl+L`\n\nnow clears the screen and forces a full redraw — use this to recover when Cmd+K leaves the UI partially blank. Use`Ctrl+U`\n\nor double-Esc to clear prompt input.`--bare -p`\n\n(SDK pattern) is ~14% faster to the API request- Memory:\n`MEMORY.md`\n\nindex now truncates at 25KB as well as 200 lines - Disabled\n`AskUserQuestion`\n\nand plan-mode tools when`--channels`\n\nis active - Fixed API 400 error when a pasted image was queued during a failing tool call\n- Fixed MCP tool calls hanging indefinitely when an SSE connection drops mid-call and exhausts its reconnection attempts\n- Fixed Remote Control session titles showing raw XML when a background agent completed before the first user message\n- Fixed remote sessions forgetting conversation history after a container restart due to progress-message gaps in the resumed transcript chain\n- Fixed remote sessions requiring re-login on transient auth errors instead of retrying automatically\n- Fixed\n`rg ... | wc -l`\n\nand similar piped commands hanging and returning`0`\n\nin sandbox mode on Linux - Fixed voice input hold-to-talk not activating when a CJK IME inserts a full-width space\n- Fixed\n`--worktree`\n\nhanging silently when the worktree name contained a forward slash - [VSCode] Spinner now turns red with “Not responding” when the backend hasn’t responded for 60 seconds\n- [VSCode] Fixed session history not loading correctly when reopening a session via URL or after restart\n- [VSCode] Added Esc-twice (or\n`/rewind`\n\n) to open a keyboard-navigable rewind picker - [VSCode] Fixed “Fork conversation from here” and rewind actions failing silently after the session cache goes stale\n\nMarch 20, 2026\n\n- Added\n`--bare`\n\nflag for scripted`-p`\n\ncalls — skips hooks, LSP, plugin sync, and skill directory walks; requires`ANTHROPIC_API_KEY`\n\nor an`apiKeyHelper`\n\nvia`--settings`\n\n(OAuth and keychain auth disabled); auto-memory fully disabled - Added\n`--channels`\n\npermission relay — channel servers that declare the permission capability can forward tool approval prompts to your phone - Fixed multiple concurrent Claude Code sessions requiring repeated re-authentication when one session refreshes its OAuth token\n- Fixed voice mode silently swallowing retry failures and showing a misleading “check your network” message instead of the actual error\n- Fixed voice mode audio not recovering when the server silently drops the WebSocket connection\n- Fixed\n`CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS`\n\nnot suppressing the structured-outputs beta header, causing 400 errors on proxy gateways forwarding to Vertex/Bedrock - Fixed\n`--channels`\n\nbypass for Team/Enterprise orgs with no other managed settings configured - Fixed a crash on Node.js 18\n- Fixed unnecessary permission prompts for Bash commands containing dashes in strings\n- Fixed plugin hooks blocking prompt submission when the plugin directory is deleted mid-session\n- Fixed a race condition where background agent task output could hang indefinitely when the task completed between polling intervals\n- Resuming a session that was in a worktree now switches back to that worktree\n- Fixed\n`/btw`\n\nnot including pasted text when used during an active response - Fixed a race where fast Cmd+Tab followed by paste could beat the clipboard copy under tmux\n- Fixed terminal tab title not updating with an auto-generated session description\n- Fixed invisible hook attachments inflating the message count in transcript mode\n- Fixed Remote Control sessions showing a generic title instead of deriving from the first prompt\n- Fixed\n`/rename`\n\nnot syncing the title for Remote Control sessions - Fixed Remote Control\n`/exit`\n\nnot reliably archiving the session - Improved MCP read/search tool calls to collapse into a single “Queried\n`{server}`\n\n” line (expand with Ctrl+O) - Improved\n`!`\n\nbash mode discoverability — Claude now suggests it when you need to run an interactive command - Improved plugin freshness — ref-tracked plugins now re-clone on every load to pick up upstream changes\n- Improved Remote Control session titles to refresh after your third message\n- Updated MCP OAuth to support Client ID Metadata Document (CIMD / SEP-991) for servers without Dynamic Client Registration\n- Changed plan mode to hide the “clear context” option by default (restore with\n`\"showClearContextOnPlanAccept\": true`\n\n) - Disabled line-by-line response streaming on Windows (including WSL in Windows Terminal) due to rendering issues\n- [VSCode] Fixed Windows PATH inheritance for Bash tool when using Git Bash (regression in v2.1.78)\n\nMarch 19, 2026\n\n- Added\n`rate_limits`\n\nfield to statusline scripts for displaying Claude.ai rate limit usage (5-hour and 7-day windows with`used_percentage`\n\nand`resets_at`\n\n) - Added\n`source: 'settings'`\n\nplugin marketplace source — declare plugin entries inline in settings.json - Added CLI tool usage detection to plugin tips, in addition to file pattern matching\n- Added\n`effort`\n\nfrontmatter support for skills and slash commands to override the model effort level when invoked - Added\n`--channels`\n\n(research preview) — allow MCP servers to push messages into your session - Fixed\n`--resume`\n\ndropping parallel tool results — sessions with parallel tool calls now restore all tool_use/tool_result pairs instead of showing`[Tool result missing]`\n\nplaceholders - Fixed voice mode WebSocket failures caused by Cloudflare bot detection on non-browser TLS fingerprints\n- Fixed 400 errors when using fine-grained tool streaming through API proxies, Bedrock, or Vertex\n- Fixed\n`/remote-control`\n\nappearing for gateway and third-party provider deployments where it cannot function - Fixed\n`/sandbox`\n\ntab switching not responding to Tab or arrow keys - Improved responsiveness of\n`@`\n\nfile autocomplete in large git repositories - Improved\n`/effort`\n\nto show what auto currently resolves to, matching the status bar indicator - Improved\n`/permissions`\n\n— Tab and arrow keys now switch tabs from within a list - Improved background tasks panel — left arrow now closes from the list view\n- Simplified plugin install tips to use a single\n`/plugin install`\n\ncommand instead of a two-step flow - Reduced memory usage on startup in large repositories (~80 MB saved on 250k-file repos)\n- Fixed managed settings (\n`enabledPlugins`\n\n,`permissions.defaultMode`\n\n, policy-set env vars) not being applied at startup when`remote-settings.json`\n\nwas cached from a prior session\n\nMarch 18, 2026\n\n- Added\n`--console`\n\nflag to`claude auth login`\n\nfor Anthropic Console (API billing) authentication - Added “Show turn duration” toggle to the\n`/config`\n\nmenu - Fixed\n`claude -p`\n\nhanging when spawned as a subprocess without explicit stdin (e.g. Python`subprocess.run`\n\n) - Fixed Ctrl+C not working in\n`-p`\n\n(print) mode - Fixed\n`/btw`\n\nreturning the main agent’s output instead of answering the side question when triggered during streaming - Fixed voice mode not activating correctly on startup when\n`voiceEnabled: true`\n\nis set - Fixed left/right arrow tab navigation in\n`/permissions`\n\n- Fixed\n`CLAUDE_CODE_DISABLE_TERMINAL_TITLE`\n\nnot preventing terminal title from being set on startup - Fixed custom status line showing nothing when workspace trust is blocking it\n- Fixed enterprise users being unable to retry on rate limit (429) errors\n- Fixed\n`SessionEnd`\n\nhooks not firing when using interactive`/resume`\n\nto switch sessions - Improved startup memory usage by ~18MB across all scenarios\n- Improved non-streaming API fallback with a 2-minute per-attempt timeout, preventing sessions from hanging indefinitely\n`CLAUDE_CODE_PLUGIN_SEED_DIR`\n\nnow supports multiple seed directories separated by the platform path delimiter (`:`\n\non Unix,`;`\n\non Windows)- [VSCode] Added\n`/remote-control`\n\n— bridge your session to claude.ai/code to continue from a browser or phone - [VSCode] Session tabs now get AI-generated titles based on your first message\n- [VSCode] Fixed the thinking pill showing “Thinking” instead of “Thought for Ns” after a response completes\n- [VSCode] Fixed missing session diff button when opening sessions from the left sidebar\n\nMarch 17, 2026\n\n- Added\n`StopFailure`\n\nhook event that fires when the turn ends due to an API error (rate limit, auth failure, etc.) - Added\n`${CLAUDE_PLUGIN_DATA}`\n\nvariable for plugin persistent state that survives plugin updates;`/plugin uninstall`\n\nprompts before deleting it - Added\n`effort`\n\n,`maxTurns`\n\n, and`disallowedTools`\n\nfrontmatter support for plugin-shipped agents - Terminal notifications (iTerm2/Kitty/Ghostty popups, progress bar) now reach the outer terminal when running inside tmux with\n`set -g allow-passthrough on`\n\n- Response text now streams line-by-line as it’s generated\n- Fixed\n`git log HEAD`\n\nfailing with “ambiguous argument” inside sandboxed Bash on Linux, and stub files polluting`git status`\n\nin the working directory - Fixed\n`cc log`\n\nand`--resume`\n\nsilently truncating conversation history on large sessions (>5 MB) that used subagents - Fixed infinite loop when API errors triggered stop hooks that re-fed blocking errors to the model\n- Fixed\n`deny: [\"mcp__servername\"]`\n\npermission rules not removing MCP server tools before sending to the model, allowing it to see and attempt blocked tools - Fixed\n`sandbox.filesystem.allowWrite`\n\nnot working with absolute paths (previously required`//`\n\nprefix) - Fixed\n`/sandbox`\n\nDependencies tab showing Linux prerequisites on macOS instead of macOS-specific info **Security:** Fixed silent sandbox disable when`sandbox.enabled: true`\n\nis set but dependencies are missing — now shows a visible startup warning- Fixed\n`.git`\n\n,`.claude`\n\n, and other protected directories being writable without a prompt in`bypassPermissions`\n\nmode - Fixed ctrl+u in normal mode scrolling instead of readline kill-line (ctrl+u/ctrl+d half-page scroll moved to transcript mode only)\n- Fixed voice mode modifier-combo push-to-talk keybindings (e.g. ctrl+k) requiring a hold instead of activating immediately\n- Fixed voice mode not working on WSL2 with WSLg (Windows 11); WSL1/Win10 users now get a clear error\n- Fixed\n`--worktree`\n\nflag not loading skills and hooks from the worktree directory - Fixed\n`CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS`\n\nand`includeGitInstructions`\n\nsetting not suppressing the git status section in the system prompt - Fixed Bash tool not finding Homebrew and other PATH-dependent binaries when VS Code is launched from Dock/Spotlight\n- Fixed washed-out Claude orange color in VS Code/Cursor/code-server terminals that don’t advertise truecolor support\n- Added\n`ANTHROPIC_CUSTOM_MODEL_OPTION`\n\nenv var to add a custom entry to the`/model`\n\npicker, with optional`_NAME`\n\nand`_DESCRIPTION`\n\nsuffixed vars for display - Fixed\n`ANTHROPIC_BETAS`\n\nenvironment variable being silently ignored when using Haiku models - Fixed queued prompts being concatenated without a newline separator\n- Improved memory usage and startup time when resuming large sessions\n- [VSCode] Fixed a brief flash of the login screen when opening the sidebar while already authenticated\n- [VSCode] Fixed “API Error: Rate limit reached” when selecting Opus — model dropdown no longer offers 1M context variant to subscribers whose plan tier is unknown\n\nMarch 17, 2026\n\n- Increased default maximum output token limits for Claude Opus 4.6 to 64k tokens, and the upper bound for Opus 4.6 and Sonnet 4.6 models to 128k tokens\n- Added\n`allowRead`\n\nsandbox filesystem setting to re-allow read access within`denyRead`\n\nregions `/copy`\n\nnow accepts an optional index:`/copy N`\n\ncopies the Nth-latest assistant response- Fixed “Always Allow” on compound bash commands (e.g.\n`cd src && npm test`\n\n) saving a single rule for the full string instead of per-subcommand, leading to dead rules and repeated permission prompts - Fixed auto-updater starting overlapping binary downloads when the slash-command overlay repeatedly opened and closed, accumulating tens of gigabytes of memory\n- Fixed\n`--resume`\n\nsilently truncating recent conversation history due to a race between memory-extraction writes and the main transcript - Fixed PreToolUse hooks returning\n`\"allow\"`\n\nbypassing`deny`\n\npermission rules, including enterprise managed settings - Fixed Write tool silently converting line endings when overwriting CRLF files or creating files in CRLF directories\n- Fixed memory growth in long-running sessions from progress messages surviving compaction\n- Fixed cost and token usage not being tracked when the API falls back to non-streaming mode\n- Fixed\n`CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS`\n\nnot stripping beta tool-schema fields, causing proxy gateways to reject requests - Fixed Bash tool reporting errors for successful commands when the system temp directory path contains spaces\n- Fixed paste being lost when typing immediately after pasting\n- Fixed Ctrl+D in\n`/feedback`\n\ntext input deleting forward instead of the second press exiting the session - Fixed API error when dragging a 0-byte image file into the prompt\n- Fixed Claude Desktop sessions incorrectly using the terminal CLI’s configured API key instead of OAuth\n- Fixed\n`git-subdir`\n\nplugins at different subdirectories of the same monorepo commit colliding in the plugin cache - Fixed ordered list numbers not rendering in terminal UI\n- Fixed a race condition where stale-worktree cleanup could delete an agent worktree just resumed from a previous cra", "url": "https://wpnews.pro/news/claude-code-2-1-234-continues-your-session-automatically-once-usage-limit-resets", "canonical_source": "https://code.claude.com/docs/en/changelog", "published_at": "2026-08-18 20:50:37+00:00", "updated_at": "2026-08-18 21:11:21.761685+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-products"], "entities": ["Anthropic", "Claude Code", "GitLab", "claude.ai"], "alternates": {"html": "https://wpnews.pro/news/claude-code-2-1-234-continues-your-session-automatically-once-usage-limit-resets", "markdown": "https://wpnews.pro/news/claude-code-2-1-234-continues-your-session-automatically-once-usage-limit-resets.md", "text": "https://wpnews.pro/news/claude-code-2-1-234-continues-your-session-automatically-once-usage-limit-resets.txt", "jsonld": "https://wpnews.pro/news/claude-code-2-1-234-continues-your-session-automatically-once-usage-limit-resets.jsonld"}}