Capture
One read of Claude Code CLI
1 pages moved out of 191 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.247" description="August 26, 2026"> + * Added the `SendFeedback` tool: when something goes wrong in a session, Claude can draft a feedback report for you to review and send from `/feedback` (turn off with the `feedbackDrafts` setting) + * Added `{id, text, cooldownSessions, priority}` entries, `tipsFile`, and `label` to `spinnerTipsOverride`, so organizations can rotate their own tips alongside the built-in ones + * Added a tip on Bash permission prompts pointing to auto mode, with a one-keystroke "Yes, and switch to auto mode" option + * Added `/claude-api cost-optimize` to profile an existing project's Claude API spend and work through cost levers (caching, token hygiene, batch, effort, model choice) one measured change at a time + * Updated the `/claude-api` skill with Admin API coverage (organization members, invites, workspaces, API keys, rate limit reports, workload identity federation, CMEK) + * Fixed fast arrow-key + Enter sequences acting on the row above the one you navigated to in history search, `/config`, `/mcp`, `/skills`, background tasks, and `/model` + * Fixed sub-agents dying on a first-call model 404: they now use the session's fallback model chain, and the error returned to the parent includes the error type, status, request id, and model + * Fixed a hook or background agent that printed megabytes of error output being able to overflow the conversation and wedge the session on "Prompt is too long" + * Fixed Ctrl keyboard shortcuts not firing under non-Latin (e.g. Cyrillic) keyboard layouts in kitty-protocol terminals + * Fixed text like `<35;150;7M` being inserted into the prompt when a mouse report arrived split across reads right after the escape prefix + * Fixed the Bash sandbox's after-command cleanup deleting a dotfile-managed `~/.claude/settings.json` symlink (nix/home-manager, stow) when it is repointed outside the sandbox's writable area + * Fixed `/terminal-setup` overwriting your entire Zed `keymap.json` instead of merging in its keybinding + * Fixed `/rename` silently confirming when the session registry could not be updated; it now says other sessions may still show the old name + * Fixed `/compact` and "Summarize from here" in sessions started with `--agent` summarizing under the default system prompt instead of the conversation's own + * Fixed a background session showing "opening…" forever in `claude agents` after its terminal host process died; the row now fails within seconds with the reason, and Enter restarts it + * Fixed unbounded memory growth when a hook's or background task's output file could not be written; the file now notes where output was lost + * Fixed `/install-github-app` over SSH: the copy shortcut now says how the sign-in URL was copied instead of always claiming success, and the URL appears immediately when no browser can open + * Fixed shell commands carried over from the foreground logging an internal error or showing a misleading `[exited with code -1]` line when they finish in background sessions + * Fixed a version-less marketplace plugin's live cache directory being deleted and recreated on a second-scope install, which could disrupt a running session using it + * Fixed Remote Control sessions started with `/remote-control` not reporting the working-tree diff to connected clients + * Fixed self-hosted runner sessions reporting `running` before Claude Code had started, which could trigger a premature "Claude is waiting for your input" notification from the Claude desktop app + * Fixed first-run setup exiting with "Unable to connect to Anthropic services" when managed settings configure Claude apps gateway sign-in and Anthropic endpoints are unreachable + * Fixed cloud sessions (Claude Code on the web, desktop and mobile apps) sometimes showing the previous permission mode when you switch modes right after sending a message + * Fixed cloud sessions going silent when the session's container restarts between turns while a background agent, shell, or monitor is still running — the resumed session now reports the lost work + * Improved plugin marketplace hardening: names containing control or invisible characters are rejected, and marketplace-supplied text in `/plugin` and `claude plugin` output is escape-safe + * Improved Bedrock, Vertex, and Foundry sessions (and any with telemetry disabled): Claude is now told when a configured MCP server failed to connect, instead of concluding its tools don't exist + * Changed Sonnet 5's default auto-compact window to its full 1M context, so sessions on the 1M window now auto-compact at about 967K tokens instead of about 934K + * Changed cross-session peer messages to collapse by default to a one-line `Message from @<sender>: <first line>` preview; Ctrl+O expands the full body + * Changed terminal hyperlinks in rendered markdown: link targets that point at a network or automounter path, contain a control character, or lead with an invisible character now render as plain text + * Changed the prompt-footer PR badge to skip its GitHub re-check on terminal refocus when the last check is under a minute old + * Changed analytics to stay off from startup, not only after login, when managed settings force gateway login or a custom OAuth deployment is configured + * Changed Claude apps gateway sign-in requests to identify Claude Code (a `surface=claude_code` device-authorization parameter and a `claude-code/<version>` User-Agent) + * Changed organization sign-in enforcement to exit at start when the administrator's managed settings cannot be read, even if host-supplied or per-user Windows registry settings exist +</Update> + <Update label="2.1.246" description="August 25, 2026"> * Added a startup warning for Bash allow rules with a wildcard before the subcommand (e.g. `Bash(git * main)`), since they also match options inserted before the subcommand * Added an Auto mode tab to `/permissions` for viewing and editing auto mode classifier rules
from line 2100
* 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 * Fewer spurious tool errors during search: `head`/`tail` file views now satisfy the read-before-edit check, and a "no matches" result (exit code 1) from `egrep`, `fgrep`, `git grep`, or `git diff` is no longer reported as a command failure * Fixed `/branch` failing 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 - * Fixed model selection not applying when changed via the IDE model picker or `applyFlagSettings` after startup - * Resumed sessions now keep the model they were using instead of picking up another session's `/model` choice - * Fixed Bedrock and Vertex users unable to select "Opus (1M context)" from the `/model` picker (regression in v2.1.129) - * Fixed remote-session login failing with "Can't access this organization" for users with `forceLoginMethod` and `forceLoginOrgUUID` set - * Fixed MCP servers with paginated `tools/list` responses 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 - * Fixed file descriptor exhaustion when a build runs inside a skill directory — non-`.md` files no longer trigger skill reloads - * Fixed session title being generated from plugin monitor output instead of the user's first prompt - * Fixed Skill tool failing with permission error in headless mode (regression in v2.1.141) - * 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 `.claude/settings.json` now show an actionable `claude plugin install` hint - * Fixed `claude mcp list` silently reporting no servers when `.mcp.json` can't be parsed (e.g. using VS Code's `"servers"` key instead of `"mcpServers"`) — now shows configuration errors - * Fixed background side-queries on custom `ANTHROPIC_BASE_URL` setups 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 - * Fixed a crash when closing the terminal while attached to a background session - * Fixed on Windows, pressing ← in `claude agents` leaving 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 - * `/bg` and `←`-detach now preserve directories added via `/add-dir` - * Fixed Edit/Write refusing with "background session hasn't isolated its changes yet" right after detaching a session that was already editing in place - * Fixed `claude respawn <id>` on a stopped background session showing "stopped" instead of running - * Fixed `/resume` picker not showing sessions forked from a background session - * Fixed opening a session from `claude agents` or running `claude logs <id>` hanging 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 - * Fixed completed or stopped background sessions briefly failing to wake being permanently marked as a startup crash - * Fixed markdown links in `claude agents` attached sessions rendering as plain text instead of clickable hyperlinks - * Fixed custom `spinnerVerbs` applying to the post-turn duration message — past-tense built-ins like "Worked for 5s" are restored there - * `claude agents` / `--bg` rejection messages now name the specific gate (non-TTY, env var, or setting) instead of a generic message - * `claude --bg --name <label>` now echoes the name in the post-spawn confirmation - * `claude agents`: 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 `WorktreeCreate` hooks configured - * Plugin marketplace add/update now respects `CLAUDE_CODE_PLUGIN_PREFER_HTTPS` - * `/plugin` now returns to the Installed list after enabling, disabling, or uninstalling a plugin - * `/doctor` now shows an exec-form example when a command hook is missing the `command` field - * Skill-listing truncation is no longer shown as a startup notification — run `/doctor` for 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 - * 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) - * 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. -</Update> - -<Update label="2.1.143" description="May 15, 2026"> - * Added plugin dependency enforcement: `claude plugin disable` now refuses when another enabled plugin depends on the target (with a copy-pasteable disable-chain hint), and `claude plugin enable` force-enables transitive dependencies - * Added projected context cost (per-turn and per-invocation token estimates) to the `/plugin` marketplace browse pane - * Added `worktree.bgIsolation: "none"` setting to let background sessions edit the working copy directly without `EnterWorktree`, for repos where worktrees are impractical - * PowerShell tool now passes `-ExecutionPolicy Bypass`. Opt out with `CLAUDE_CODE_POWERSHELL_RESPECT_EXECUTION_POLICY=1` - * Background sessions now preserve the model and effort level you set after waking from idle - * Shift+Tab in attached agent sessions now includes auto mode in the cycle - * Fixed a corrupt `.credentials.json` with a non-array `scopes` value hanging the CLI on startup or silently aborting OAuth token refresh - * Fixed right-cl + * Fixed pressing Escape in the AskUserQuesti