Capture
One read of Claude Code CLI
1 pages moved out of 191 read.
changelog Changed · +64 / -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.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 + * Added the turn's completion time to the end-of-turn duration line, e.g. `✻ Sautéed for 23s · done 6:05 PM` + * Fixed fullscreen mode showing a blank transcript after resizing the terminal and jumping to the bottom until the next keypress + * Fixed a severe transcript slowdown when a diff contained a very long single line (e.g. a base64 string); such lines now render truncated with a marker + * Fixed erratic fullscreen scrolling when positioned at an earlier message, including jump-to-bottom getting stuck mid-transcript + * Fixed background sessions failing to open after 45 seconds when Claude Code's starting directory had been deleted, the machine had slept, or the host is slow to start processes + * Fixed background sessions failing to open with "Couldn't start the background service … EACCES" when another Claude Code process was re-installing the npm package at that moment + * Fixed markdown rendering being disabled for a whole message when its first 500 characters contained no markdown, and for `+`/`N)` lists and setext headings + * Fixed MCP tool calls interrupted by an incoming message in headless/remote sessions being reported to the model as "completed with no output" instead of an explicit interrupted error + * Fixed MCP tool arguments being sent as JSON strings when the parameter's schema is empty (`{}`), instead of their real type + * Fixed a command interrupted mid-run showing as "Ran 1 shell command" with no sign it was cut + * Fixed pressing ← or running `/background` during a dynamic workflow restarting its finished subagents; it now asks first and says how many subagents would restart + * Fixed opening a just-started session in `claude agents` while its worker was still booting (common on Windows) stopping it with "was stopped while the respawn was in flight" + * Fixed `claude agents` listing a backgrounded named session twice; backgrounding the same conversation again now numbers the new row (e.g. `my-session (2)`) + * Fixed the background retention sweep removing git worktrees under `.claude/worktrees/` that you created yourself when an old background-session record pointed at them + * Fixed auto mode tool calls being denied as "temporarily unavailable" on very large sessions by scaling the safety-check deadline with prompt size + * Fixed the plugin cache creating duplicate SHA-named directories for the same plugin + * Fixed plugin skills whose frontmatter `name` already includes the `<plugin>:` prefix showing it doubled in the slash menu (e.g. `/plugin:plugin:skill`) + * Fixed `claude plugin update` failing for an installed plugin given its bare name (only the fully-qualified name worked) + * Fixed plugin installation failing when `plugin.json` was saved with a UTF-8 byte-order mark (BOM) + * Fixed `/reload-plugins` reporting 0 skills for plugins that define skills under `skills/*/SKILL.md` + * Fixed hook error messages showing a literal `${CLAUDE_PLUGIN_ROOT}` instead of the resolved plugin path + * Fixed `/rename` replacing the theme's prompt border color (including a custom theme's `promptBorder`) with the default cyan; the border now keeps your theme's color unless you pick one with `/color` + * Fixed custom theme diff colors (`diffAdded`/`diffRemoved` and their dimmed variants) being ignored in diffs and the `/theme` preview + * Fixed a `keybindings.json` binding with an unknown action name silently deadening that key; it is now skipped so the default binding keeps working, and a warning is logged under `--debug` + * Fixed `/stats` activity heatmap showing each day's activity one cell off (Sunday's count under Monday) in timezones east of UTC + * Fixed `/fork` from an already-forked or backgrounded session starting the new session with an empty conversation + * Fixed prompts beginning with `/--` (e.g. Lean doc comments) being rejected as an unknown slash command instead of being sent to Claude + * Fixed the `@` file picker staying open after the typed text stopped matching a real path + * Fixed the status line's cost and duration resetting to zero after navigating to the agents view and back + * Fixed fullscreen mode moving keyboard focus onto the control under the pointer when you clicked the terminal window only to bring it back into focus + * Fixed path completion failing when the completion token or working directory contained a null byte + * Windows/macOS: Fixed headless sessions not cleaning up stale entries in `~/.claude/sessions` left by sessions that exited uncleanly + * Fixed the UI stopping with a render error on the first tool call when a third-party Anthropic-compatible endpoint (`ANTHROPIC_BASE_URL`) streams a `tool_use` block without an `id` + * Fixed the Write tool reporting "Out of memory" or freezing for a long time after overwriting a very large existing file, even though the file had been written + * Fixed `claude plugin install <name>` exiting silently (or hanging in a terminal) instead of reporting an error when `~/.claude/plugins/known_marketplaces.json` is empty or corrupted + * Fixed resumed sessions failing every turn with a 400 when the saved history contains tool blocks the Anthropic API does not accept (typically written by a third-party API proxy) + * Fixed `curl -fsSL https://claude.ai/install.sh | bash` failing with "Raw mode is not supported" for some Team/Enterprise users with server-managed settings + * Fixed sessions that ended in plan mode resuming outside plan mode in the VS Code extension, and in `claude -p --continue`/`--resume` with a permission prompt tool, when no permission mode was set + * Fixed the `Notification` hook not firing while the sandbox "Network request outside of sandbox" permission prompt is waiting + * Fixed Bash permission checks to always require approval for malformed commands with a dangling `&&` or `||` operator + * Fixed `--strict-mcp-config` sessions prompting to approve `.mcp.json` servers they would never load, which left background sessions waiting at startup + * Fixed telemetry and metrics requests to Anthropic carrying the API key configured for a third-party gateway (`ANTHROPIC_BASE_URL`); a credential is now only sent to its own host + * Fixed a visible API error on the first prompt after idle when `apiKeyHelper` returns short-lived JWTs: an expired cached token is now refreshed before sending, and 401/403 auth errors retry quietly + * Fixed memory growing with session length in the fullscreen and Ctrl+O transcript views: each rendered message row no longer retains a full copy of the transcript-wide tool lookups + * Fixed `/ultrareview` runs and cloud sessions launched at the same time from one repository (e.g. from several worktrees) sometimes starting with another launch's uncommitted changes + * Fixed the task progress count (e.g. `3/5`) shown for background cloud sessions such as `/autofix-pr` occasionally missing a task + * Fixed Remote Control sessions keeping their placeholder name in claude.ai and the Claude app until the second prompt; the auto-generated title now appears after the first prompt + * Fixed MCP tools marked `requiresUserInteraction` still offering "Yes, and don't ask again" in their permission prompt; the option wrote an allow rule the tool then ignored + * Fixed the self-hosted runner ending its live sessions or exiting when a work-poll response is malformed (e.g. an intercepting proxy's HTML page); it now retries the poll + * Improved `/cd`: the new directory's project settings, hooks, `.mcp.json` servers (behind the usual approval prompt), skills, and agents now take effect right after the move instead of on `--resume` + * Improved Bash tool latency on bash shells by replaying snapshot functions without a base64 subshell per function + * Improved subagent results: a subagent that stops at its `maxTurns` limit now returns its output marked as partial, with a hint to continue it via `SendMessage`, instead of appearing finished + * Improved non-interactive sessions (`-p`, SDK, cloud sessions) to automatically continue a response cut off mid-stream by a server error, connection loss, or stall instead of ending with an error + * Improved attribution of usage telemetry to your organization for workload identity federation sessions, events sent while `apiKeyHelper` runs at startup, and after a login token expired while idle + * Changed `/code-review` so Claude can also start it on its own on Bedrock, Vertex AI, and Foundry, through the Claude apps gateway, and when telemetry or non-essential traffic is disabled + * `/goal`: Changed idle sessions to start at most three check-ins on long-running background work per goal; your next message allows three more + * Changed `claude install` and `claude update` to defer a pending managed-settings consent prompt to the next interactive session instead of prompting mid-command + * Changed OpenTelemetry plugin events for plugins synced from claude.ai: `plugin_id_hash` now reflects the plugin's real marketplace, and `enabled_via` is `admin-install` for admin-installed plugins + * Fixed the command sandbox's filesystem configuration not respecting `--setting-sources` +</Update> + <Update label="2.1.245" description="August 25, 2026"> * Fixed a crash on startup on Linux distributions that ship glibc 2.44 (for example Arch Linux, CachyOS and Fedora Rawhide) </Update>
from line 2111
* 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-click paste in `claude agents` on 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 `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP`) - * Fixed Esc/Ctrl+C not cancelling a pending `/loop` wakeup while Claude is idle between iterations - * Fixed `/goal` evaluator firing while background shells or delegated subagents are still running - * Fixed `NO_COLOR`/`FORCE_COLOR` in settings.json `env` stripping Claude Code's own UI colors — they now apply to subprocesses only - * Fixed agent view spawning repeated PowerShell processes on Windows when listing sessions - * Fixed `/bg` without a prompt sending "continue" to the forked session — the fork now waits for input - * Fixed `--agent <name>` not finding plugin-contributed agents without the `plugin:` prefix - * Fixed deleting a session from agent view not removing its transcript file - * Fixed stale-fragment rendering when scrolling in attached background sessions on Windows Terminal - * Fixed background agents false-positive worker-stall detection storm after host sleep or macOS App Nap - * Fixed 5xx error messages pointing at status.claude.com instead of naming the configured gateway or cloud provider - * The PowerShell tool is now enabled by default on Windows for Bedrock, Vertex, and Foundry users. Opt out with `CLAUDE_CODE_USE_POWERSHELL_TOOL=0`. - * `claude agents` now accepts `--add-dir`, `--settings`, `--mcp-config`, and `--plugin-dir` and applies them to the dashboard and to background sessions dispatched from it - * `claude agents` accepts `--permission-mode`, `--model`, `--effort`, and `--dangerously-skip-permissions` to set defaults for sessions dispatched from the view - * `claude --bg --dangerously-skip-permissions` now 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 `claude agents` - * Worktree cleanup no longer falls back to `rm -rf` when `git worktree remove` fails, preventing loss of gitignored or in-progress files - * Fixed background-job sessions on macOS getting "Operation not permitted" errors when reading files under `~/Documents`, `~/Desktop`, or `~/Downloads`, even with Full Disk Access granted. - * `/bg` now preserves `--mcp-config`, `--settings`, `--add-dir`, `--plugin-dir`, and `--strict-mcp-config`, so backgrounded sessions keep their MCP servers and settings across respawn. - * Background sessions launched from `claude agents` now honor `permissions.defaultMode` from settings.json (was previously overridden to auto mode) - * Fixed: on Windows, pressing ← in `claude agents` while a response was streaming could leave the agents list unresponsive to all input - * `/bg` and `←`-detach now preserve `--fallback-model`, so backgrounded workers degrade to the fallback model on overload instead of hard-failing. - * `/bg` and `←`-detach now preserve `--allow-dangerously-skip-permissions`, 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 `~/.local/bin/claude` launcher is missing or non-executable - * Fixed `claude agents --allow-dangerously-skip-permissions` defaulting dispatched sessions to bypass mode instead of making it available in the permission cycle -</Update> - -<Update label="2.1.142" description="May 14, 2026"> - * Added new `claude agents` flags: `--add-dir`, `--settings`, `--mcp-config`, `--plugin-dir`, `--permission-mode`, `--model`, `--effort`, and `--dangerously-skip-permissions` to configure dispatched background sessions - * Fast mode now uses Opus 4.7 by default (previously Opus 4.6). Set `CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE=1` to pin fast mode to Opus 4.6 - * Plugins with a root-level `SKILL.md` and no `skills/` subdirectory are now surfaced as a skill - * The `/plugin` details pane and `claude plugin details` now show LSP servers a plugin provides - * `/web-setup` warns before replacing an existing GitHub App connection - * Fixed `MCP_TOOL_TIMEOUT` not 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 - * 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 - * Fixed daemon not exiting cleanly after the binary is upgraded (e.g. `brew upgrade`), 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 - * Fixed clicking links in an attached `claude agents` session — the background worker's headless browser shim no longer applies while attached - * Fixed `claude agents` "v to open in editor" using the daemon's default editor instead of your shell's `$EDITOR`/`$VISUAL` - * Fixed `claude agents` deadlocking on Windows with network-drive working directories; Ctrl+C now works during startup - * Fixed background-color bleed when attaching to a `claude agents` session from Apple Terminal or other 256-color-only terminals - * Fixed `claude --bg --dangerously-skip-permissions` not persisting across retire/wake - * Fixed session titles being derived from the URL when the first message is a link - * Fixed redundant `set_model` requests from remote clients injecting duplicate `/model` breadcrumbs into the transcript - * Fixed plugins using `skills: ["./"]` showing a false "path escapes plugin directory" error - * Fixed plugin cache cleanup deleting the active plugin version directory when no installation metadata is present - * Fixed `/plugin` browse pane showing "0 installs" for newly published plugins - * Fixed plugin advisories not naming every `plugin.json` key 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 - * Improved hook configuration error: configuring a prompt- or agent-type hook for `SessionStart`/`Setup`/`SubagentStart` now shows a clear "use a command-type hook instead" error - * Removed stale `/model claude-sonnet-4-20250514` suggestion from Usage Policy refusal messages -</Update> - -<Update label="2.1.141" description="May 13, 2026"> - * Added `terminalSequence` field to hook JSON output so hooks can emit desktop notifications, window titles, and bells without a controlling terminal - * Added `CLAUDE_CODE_PLUGIN_PREFER_HTTPS` to clone GitHub plugin sources over HTTPS instead of SSH, for environments without a GitHub SSH key - * Added `ANTHROPIC_WORKSPACE_ID` environment variable for workload identity federation — scopes the minted token to a specific workspace when the federation rule covers more than one - * Added `claude agents --cwd <path>` to scope the session list to a directory - * `/feedback` can 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 - * Auto mode permission dialog now explains when a `permissions.ask` rule caused the prompt - * Restored the "view diff in your IDE" option on file-edit permission prompts when an IDE is connected - * Background agents launched via `/bg` or `←←` now preserve the current permission mode instead of reverting to default - * `claude agents`: 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 - * Improved plugin menu navigation: `→`/Tab switch tabs, `↑` moves 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 `ANTHROPIC_SMALL_FAST_MODEL` override is set — now falls back to the main-loop model - * Fixed `claude daemon status` and `/doctor` on Windows throwing when the daemon pipe key file is locked or unreadable — now shows the underlying error instead of an opaque failure - * Fixed `claude agents` showing the agent-type list instead of the dashboard when launched through a wrapper that adds flags - * Fixed `claude agents` opening a crashed session firing redundant dispatches when the working directory was deleted - * Fixed background jobs on a custom `ANTHROPIC_BASE_URL` gateway not getting auto-named — the namer now uses the main model when no Haiku model is configured - * Fixed `/model` in 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 - * Fixed pressing Enter while a permission/dialog prompt is open also submitting text in the input box - * Fixed hooks receiving a non-existent `transcript_path` after `EnterWorktree` switches the working directory - * Fixed + * Fixed right-cl