Capture
One read of Claude Code CLI
1 pages moved out of 186 read.
changelog Changed · +36 / -0 lines
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 6
Run `claude --version` to check your installed version. +<Update label="2.1.236" description="August 19, 2026"> + * Added `ANTHROPIC_DEFAULT_MODEL` environment variable: sets the model new sessions start on, while a `/model` pick still overrides it and persists across restarts (unlike `ANTHROPIC_MODEL`) + * Added `notify_when_idle` to cross-session `SendMessage`: ask another Claude Code session on this machine to send one notice when it next goes idle — opt-in, one-shot, no polling (macOS and Linux) + * Sandbox: on macOS, wildcard read-deny rules (e.g. `**/.env`) now take precedence inside allowed read regions, cover matched directories' contents, and can't be bypassed by renaming the denied file + * Fixed clipboard copy, background housekeeping, background sessions, and local MCP logs breaking after the directory a session had switched into was removed (since 2.1.229) + * Fixed the fullscreen renderer failing permanently after a single failed start: it now falls back to the classic renderer instead of exiting on every subsequent launch + * Fixed the `/model` picker rendering taller than the terminal: it now shows only as many models as fit the window, with the rest reachable by scrolling + * Fixed `SendMessage` calls being rejected when a malformed closing tag left the message text inside the summary field + * Fixed unhandled promise rejections when a subprocess fails to start, for example `powershell.exe` on WSL with Windows interop disabled (regression in 2.1.234) + * Fixed fullscreen mode sometimes not showing a newly sent message until the next update after the terminal was resized + * Fixed a blank band that could remain above the prompt after clearing a multi-line prompt, and panes not repainting after resizing the terminal away and back, in fullscreen mode + * Fixed the managed-settings approval prompt sometimes not appearing at startup while still capturing the first keypress as approval + * Fixed terminal tab titles jumping in tmux (iTerm tmux integration): the title is now written only when its text changes instead of animating every 960ms + * Fixed an unclear error when the cloud environments list came back empty or malformed + * Fixed the Fable 5 first-time usage-credits prompt auto-selecting the fallback model after 60 seconds with no answer when using Remote Control + * Fixed spinner tips never appearing, with a repeated background error, when the cached guest-pass reward in `~/.claude.json` was malformed + * Fixed skills hot-reload in SDK/VS Code sessions raising an error on every skills change after the session's working directory was deleted (2.1.229+) + * Fixed self-hosted runner sessions released on idle, retire, or startup timeout occasionally resuming on another runner before the post-session hook had finished + * Fixed the Clawd mascot's eyes and feet rendering unevenly in iTerm2 at some font sizes + * Fixed occasional runaway session recaps: recap text (automatic and `/recap`) is now capped at 400 characters, cut at a word boundary + * Improved startup performance: the session counter is now written in the background + * Improved auto mode: `Monitor` allow rules are now set aside while auto mode is active, so Monitor commands are reviewed the same way Bash commands are + * Improved auto mode on Bedrock, Vertex AI, and Foundry, and when telemetry is disabled: the classifier now uses the same defaults as on the Claude API, including severity-scored classification + * Improved auto mode: the git status check can no longer be fooled by a repo's `status.showUntrackedFiles=no` setting into reporting a clean tree + * Changed the `/model` picker to highlight only the newest model's name, so the highlight marks the new release rather than an arbitrary subset of the list + * `/goal`: an idle session whose goal is parked behind long-running background work now checks in automatically after 30 minutes (then 1h, 2h) instead of waiting for you to return + * `/usage` now shows the usage-credits spend row for Team and Enterprise members, and shows a capped row at 0% before anything is spent + * SIGTERM in print/SDK mode no longer records an interrupted turn or synthetic tool denials before exiting; running commands are still terminated and the process still exits with code 143 + * Pressing Enter on a slash-command typo or a command unavailable in this session now reports it instead of running the closest fuzzy match; prefixes and aliases still run + * Remote Control now marks a session offline within seconds when the CLI exits or its terminal closes + * `SendMessage` now refuses further messages to a session up front once a rapid burst would exceed what that session's inbox accepts, instead of reporting them sent while they were dropped + * Aligned the session title chip on the prompt border with the footer's right edge + * Right-aligned footer items (goal indicator, session state, background agent status) and truncated notices now share a consistent right margin with the rest of the prompt area + * \[VSCode] Added screen reader support for the transcript: live announcements for replies, permission requests, errors, and status changes, plus per-turn heading navigation +</Update> + <Update label="2.1.235" description="August 18, 2026"> * Added an optional `spellcheck` setting that underlines misspelled words in the prompt input as you type, using your installed `aspell`, `hunspell`, or `ispell` * Fixed whole-prompt-cache invalidation when a language server disconnected or reconnected mid-session
from line 2170
* Fixed Mantle endpoint authentication failing with missing `x-api-key` header </Update> -<Update label="2.1.129" description="May 6, 2026"> - * Added `--plugin-url <url>` flag to fetch a plugin `.zip` archive from a URL for the current session - * Added `CLAUDE_CODE_FORCE_SYNC_OUTPUT=1` env var to force-enable synchronized output on terminals that auto-detection misses (e.g. Emacs `eat`) - * Added `CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE`: when set on Homebrew or WinGet installations, Claude Code runs the upgrade command in the background and prompts to restart - * Plugin manifests: `themes` and `monitors` should now be declared under `"experimental": { ... }`. Top-level declarations still work but `claude plugin validate` will warn - * Gateway `/v1/models` discovery for the `/model` picker is now opt-in via `CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1` (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 - * Third-party deployments (Bedrock, Vertex, Foundry, or `ANTHROPIC_BASE_URL` gateway) no longer see spinner tips pointing at first-party Anthropic surfaces - * `skillOverrides` setting now works: `off` hides from model and `/`, `user-invocable-only` hides from model only, `name-only` collapses description - * The `claude_code.pull_request.count` OTel 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 - * Fixed API errors with unrecognized 400 status codes showing raw JSON instead of the underlying error message - * Fixed `/clear` not resetting the terminal tab title after a conversation - * Fixed session title chip from `/rename` disappearing 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) - * Fixed external-editor handoff (Ctrl+G) blanking the conversation history above the prompt - * Fixed `/context` dumping its rendered ASCII visualization grid into the conversation, wasting \~1.6k tokens per call - * Fixed `/agents` Library list arrow-key navigation: the highlighted agent now stays visible when the list exceeds the viewport - * Fixed `/branch` success message not including the new branch's session id for `/resume` - * Fixed bold headers with keycap/ZWJ/skin-tone emoji losing trailing characters in fullscreen mode - * Fixed server-managed settings policy not applying for enterprise/team users whose stored OAuth credentials lacked the `user:inference` scope - * Fixed OAuth refresh race after wake-from-sleep that could log out all running sessions - * Fixed 1-hour prompt cache TTL being silently downgraded to 5 minutes - * Fixed cache-miss warning appearing spuriously after `/clear` or compaction when changing `/effort` or `/model` - * Fixed `Bash(mkdir *)`, `Bash(touch *)` and similar allow rules not being honored for in-project paths - * Fixed `deniedMcpServers` patterns with a `*://` scheme wildcard not matching mixed-case hostnames - * Fixed harmless WebSocket warning being logged as an error in `--debug` during voice mode - * \[VSCode] Fixed `/clear` not clearing the conversation context and displayed transcript -</Update> - -<Update label="2.1.128" description="May 4, 2026"> - * Bare `/color` (no args) now picks a random session color - * `/mcp` now shows the tool count for connected servers and flags servers that connected with 0 tools - * `--plugin-dir` now accepts `.zip` plugin archives in addition to directories - * `--channels` now works with console (API key) authentication — console orgs with managed settings must set `channelsEnabled: true` to enable - * Updated `/model` picker: 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 `OTEL_*` environment variables, so OTEL-instrumented apps run via the Bash tool no longer pick up the CLI's own OTLP endpoint - * MCP: `workspace` is 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 - * SDK hosts now receive a persistent `localSettings` suggestion for Bash permission prompts, so "Always allow" writes to `.claude/settings.local.json` - * `EnterWorktree` now creates the new branch from local HEAD as documented, instead of `origin/<default-branch>` — unpushed commits are no longer dropped - * Auto mode: when the classifier can't evaluate an action, the error now includes a hint (retry, `/compact`, or run with `--debug`) - * Fixed focus mode briefly dimming the previous response when submitting a new prompt - * Fixed stray "4;0;" desktop notification on every `/exit` in 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 - * Fixed drag-and-drop image upl