Changes on
11 changes detected
--- a/changelog.md
+++ b/changelog.md
@@ -1,4 +1,32 @@
This page is generated from the [CHANGELOG.md on GitHub](<https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md>). Run `claude --version` to check your installed version.
+
+
+
+2.1.175
+
+June 12, 2026
+
+ * Added `enforceAvailableModels` managed setting — when enabled, the `availableModels` allowlist 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` list
+
+
+
+2.1.174
+
+June 12, 2026
+
+ * Added `wheelScrollAccelerationEnabled` setting to disable mouse-wheel scroll acceleration in fullscreen mode
+ * Fixed the `/model` picker 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 `/model` picker showing a hardcoded Sonnet version label when `ANTHROPIC_DEFAULT_SONNET_MODEL` pins a different Sonnet
+ * Fixed the “Fable 5 is now consuming usage credits” banner incorrectly showing for enterprise accounts with usage-based billing
+ * Fixed Bedrock GovCloud regions (`us-gov-*`) deriving the wrong inference profile prefix (`global` instead of `us-gov`), causing 400 errors on derived model IDs
+ * Fixed background sessions inheriting another session’s `ANTHROPIC_*` provider env (gateway URL, custom headers, `/model` aliases) 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
+ * Fixed git commit co-author attribution showing an incorrect model name for some models
+ * Fixed the `/advisor` dialog pre-selecting a saved advisor model that is blocked by the `availableModels` allowlist
+ * Fixed skill hot-reload re-sending the entire skill listing when a single skill changed; only changed skills are now re-announced
+ * Fixed Workflow tool `agent()` subagents missing per-agent attribution headers
+ * [VSCode] Added usage attribution to the Account & usage dialog (`/usage`) 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
--- a/cli-reference.md
+++ b/cli-reference.md
@@ -103,7 +103,7 @@
`--remote-control`, `--rc`| Start an interactive session with [Remote Control](</docs/en/remote-control#start-a-remote-control-session>) enabled so you can also control it from claude.ai or the Claude app. Optionally pass a name for the session| `claude --remote-control "My Project"`
`--remote-control-session-name-prefix <prefix>`| Prefix for auto-generated [Remote Control](</docs/en/remote-control>) session names when no explicit name is set. Defaults to your machine’s hostname, producing names like `myhost-graceful-unicorn`. Set `CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIX` for the same effect| `claude remote-control --remote-control-session-name-prefix dev-box`
`--replay-user-messages`| Re-emit user messages from stdin back on stdout for acknowledgment. Requires `--input-format stream-json` and `--output-format stream-json`| `claude -p --input-format stream-json --output-format stream-json --verbose --replay-user-messages`
-`--resume`, `-r`| Resume a specific session by ID or name, or show an interactive picker to choose a session. Includes sessions that added this directory with `/add-dir`. As of v2.1.144, [background sessions](</docs/en/agent-view>) appear in the picker marked with `bg`| `claude --resume auth-refactor`
+`--resume`, `-r`| Resume a specific session by ID or name, or show an interactive picker to choose a session. The picker and name search include sessions that added this directory with `/add-dir`; passing a session ID searches only the current project directory and its git worktrees. As of v2.1.144, [background sessions](</docs/en/agent-view>) appear in the picker marked with `bg`| `claude --resume auth-refactor`
`--safe-mode`| Start with all customizations disabled to troubleshoot a broken configuration: CLAUDE.md, skills, plugins, hooks, MCP servers, custom commands and agents, output styles, workflows, custom themes, custom keybindings, status line and file-suggestion commands, LSP servers, and auto-memory do not load. Authentication, model selection, built-in tools, and permissions work normally, which differs from [`--bare`](</docs/en/headless#start-faster-with-bare-mode>). Managed settings policy still applies, including policy-configured hooks, status line, and file-suggestion commands; managed plugins, managed skills, managed CLAUDE.md, and policy-configured MCP servers do not. Useful for checking whether a customization is what triggers [automatic fallback from Fable 5](</docs/en/model-config#automatic-model-fallback>). Sets [`CLAUDE_CODE_SAFE_MODE`](</docs/en/env-vars>)| `claude --safe-mode`
`--session-id`| Use a specific session ID for the conversation (must be a valid UUID)| `claude --session-id "550e8400-e29b-41d4-a716-446655440000"`
`--setting-sources`| Comma-separated list of setting sources to load (`user`, `project`, `local`)| `claude --setting-sources user,project`
--- a/code-review.md
+++ b/code-review.md
@@ -299,7 +299,7 @@
Review a diff locally
-The [`/code-review` command](</docs/en/commands>) reviews a diff in your terminal without installing the GitHub App. Run it in any Claude Code session: it reports correctness bugs and reuse, simplification, and efficiency cleanups in the current diff. Pass `--comment` to post findings as inline PR comments, or `--fix` to apply the findings to your working tree after the review. Lower [effort levels](</docs/en/model-config#adjust-effort-level>) return fewer, higher-confidence findings, while `high` through `max` give broader coverage and may include uncertain findings. Without an effort argument, the review uses the session’s current effort. Pass a path or PR reference to review a specific target instead of the current diff. `/code-review ultra --fix` runs the deeper [ultrareview](</docs/en/ultrareview>) in the cloud, then applies its findings to your working tree when they arrive back in your session. The command was named `/simplify` before v2.1.147, when it applied fixes by default. From v2.1.154, `/simplify` runs a separate cleanup-only review that applies fixes without hunting for bugs. If you scripted `/simplify` for bug-finding, switch to `/code-review --fix`, which is unchanged.
+The [`/code-review` command](</docs/en/commands>) reviews a diff in your terminal without installing the GitHub App. Run it in any Claude Code session: it reports correctness bugs and reuse, simplification, and efficiency cleanups. By default the local review covers your branch’s commits ahead of its upstream plus any uncommitted changes in the working tree. Pass `--comment` to post findings as inline PR comments, or `--fix` to apply the findings to your working tree after the review. Lower [effort levels](</docs/en/model-config#adjust-effort-level>) return fewer, higher-confidence findings, while `high` through `max` give broader coverage and may include uncertain findings. Without an effort argument, the review uses the session’s current effort. To review something other than the default diff, pass a target: a file path, a PR number, a branch name, or a ref range such as `main...my-feature`. The ref range form reviews the committed diff a pull request from `my-feature` into `main` would contain, regardless of how the branch’s upstream is configured. `/code-review ultra --fix` runs the deeper [ultrareview](</docs/en/ultrareview>) in the cloud, then applies its findings to your working tree when they arrive back in your session. Ultrareview uses its own scope: your current branch against the repository’s default branch, plus any uncommitted and staged changes in the working tree. The command was named `/simplify` before v2.1.147, when it applied fixes by default. From v2.1.154, `/simplify` runs a separate cleanup-only review that applies fixes without hunting for bugs. If you scripted `/simplify` for bug-finding, switch to `/code-review --fix`, which is unchanged.
##
--- a/headless.md
+++ b/headless.md
@@ -237,6 +237,8 @@
session_id=$(claude -p "Start a review" --output-format json | jq -r '.session_id')
claude -p "Continue that review" --resume "$session_id"
+Run both commands from the same directory: session ID lookup is scoped to the current project directory and its git worktrees. See [Resume a session](</docs/en/sessions#resume-a-session>) for the full scope rules.
+
##
--- a/jetbrains.md
+++ b/jetbrains.md
@@ -39,7 +39,7 @@
Marketplace installation
-Find and install the [Claude Code plugin](<https://plugins.jetbrains.com/plugin/27310-claude-code-beta->) from the JetBrains marketplace and restart your IDE. If you haven’t installed Claude Code yet, see the [quickstart guide](</docs/en/quickstart>) for installation instructions.
+Find and install the [Claude Code plugin](<https://plugins.jetbrains.com/plugin/27310-claude-code-beta->) from the JetBrains marketplace and restart your IDE. If you haven’t installed Claude Code yet, see the [quickstart guide](</docs/en/quickstart>) for installation instructions. Claude Code works with any paid Claude subscription (Pro, Max, Team, or Enterprise) or a Claude Console account, and no API key is required. You’ll be prompted to [log in](</docs/en/authentication#log-in-to-claude-code>) the first time you run `claude`.
After installing the plugin, you may need to restart your IDE completely for it to take effect.
--- a/mcp.md
+++ b/mcp.md
@@ -237,7 +237,11 @@
# Within Claude Code, see all MCP servers including plugin ones
/mcp
-Plugin servers appear in the list with indicators showing they come from plugins. **Benefits of plugin MCP servers** :
+Plugin servers appear in the list with indicators showing they come from plugins. **Plugin MCP tool names** : Tools from a plugin-bundled MCP server include both the plugin name and the server key in their callable name. The full form is `mcp__plugin_<plugin-name>_<server-name>__<tool-name>`, where any character outside `A-Z`, `a-z`, `0-9`, `_`, and `-` is replaced with `_`. For the `database-tools` server bundled in a plugin named `my-plugin`, a `query` tool is callable as:
+
+ mcp__plugin_my-plugin_database-tools__query
+
+Use this full name when referencing the tool in [permission rules](</docs/en/permissions>), a skill’s `allowed-tools` list, or a [subagent’s `tools` field](</docs/en/sub-agents#available-tools>). **Benefits of plugin MCP servers** :
* **Bundled distribution** : Tools and servers packaged together
* **Automatic setup** : No manual MCP configuration needed
--- a/monitoring-usage.md
+++ b/monitoring-usage.md
@@ -1207,7 +1207,7 @@
* **Time series databases (for example, Prometheus)** : Rate calculations, aggregated metrics
* **Columnar stores (for example, ClickHouse)** : Complex queries, unique user analysis
- * **Full-featured observability platforms (for example, Honeycomb, Datadog)** : Advanced querying, visualization, alerting
+ * **Full-featured observability platforms (for example, Honeycomb, Datadog, Grafana Cloud)** : Advanced querying, visualization, alerting
###
@@ -1217,7 +1217,7 @@
* **Log aggregation systems (for example, Elasticsearch, Loki)** : Full-text search, log analysis
* **Columnar stores (for example, ClickHouse)** : Structured event analysis
- * **Full-featured observability platforms (for example, Honeycomb, Datadog)** : Correlation between metrics and events
+ * **Full-featured observability platforms (for example, Honeycomb, Datadog, Grafana Cloud)** : Correlation between metrics and events
###
@@ -1228,7 +1228,7 @@
Choose a backend that supports distributed trace storage and span correlation:
* **Distributed tracing systems (for example, Jaeger, Zipkin, Grafana Tempo)** : Span visualization, request waterfalls, latency analysis
- * **Full-featured observability platforms (for example, Honeycomb, Datadog)** : Trace search and correlation with metrics and logs
+ * **Full-featured observability platforms (for example, Honeycomb, Datadog, Grafana Cloud)** : Trace search and correlation with metrics and logs
For organizations requiring Daily/Weekly/Monthly Active User (DAU/WAU/MAU) metrics, consider backends that support efficient unique value queries.
--- a/quickstart.md
+++ b/quickstart.md
@@ -212,7 +212,7 @@
Essential commands
-Here are the most important commands for daily use:
+Here are the most important commands for daily use. Shell commands run from your terminal to start or resume Claude Code. Session commands run inside Claude Code after it starts. **Shell commands**
Command| What it does| Example
---|---|---
@@ -221,11 +221,16 @@
`claude -p "query"`| Run one-off query, then exit| `claude -p "explain this function"`
`claude -c`| Continue most recent conversation in current directory| `claude -c`
`claude -r`| Resume a previous conversation| `claude -r`
+
+**Session commands**
+
+Command| What it does| Example
+---|---|---
`/clear`| Clear conversation history| `/clear`
`/help`| Show available commands| `/help`
-`exit` or Ctrl+D| Exit Claude Code| `exit`
-
-See the [CLI reference](</docs/en/cli-reference>) for a complete list of commands.
+`/exit` or Ctrl+D| Exit Claude Code| `/exit`
+
+See the [CLI reference](</docs/en/cli-reference>) for the complete list of shell commands and the [commands reference](</docs/en/commands>) for the complete list of session commands.
##
--- a/sessions.md
+++ b/sessions.md
@@ -22,7 +22,7 @@
`claude --from-pr <number>`| Resumes the session linked to that pull request
`/resume`| Switches to a different conversation from inside an active session
-Sessions created with [`claude -p`](</docs/en/headless>) or the [Agent SDK](</docs/en/agent-sdk/overview>) do not appear in the session picker, but you can still resume one by passing its session ID to `claude --resume <session-id>`.
+Sessions created with [`claude -p`](</docs/en/headless>) or the [Agent SDK](</docs/en/agent-sdk/overview>) do not appear in the session picker, but you can still resume one by passing its session ID to `claude --resume <session-id>`. Run this from the directory the session was started in: session ID lookup is scoped to the current project directory and its git worktrees, so a session created elsewhere reports `No conversation found with session ID: <session-id>`.
###
--- a/troubleshoot-install.md
+++ b/troubleshoot-install.md
@@ -81,7 +81,11 @@
Verify your PATH
-If installation succeeded but you get a `command not found` or `not recognized` error when running `claude`, the install directory isn’t in your PATH. Your shell searches for programs in directories listed in PATH, and the installer places `claude` at `~/.local/bin/claude` on macOS/Linux or `%USERPROFILE%\.local\bin\claude.exe` on Windows. Check if the install directory is in your PATH by listing your PATH entries and filtering for `local/bin`:
+If installation succeeded but you get a `command not found` or `not recognized` error when running `claude`, the install directory isn’t in your PATH. Your shell searches for programs in directories listed in PATH, and the installer places `claude` at `~/.local/bin/claude` on macOS/Linux or `%USERPROFILE%\.local\bin\claude.exe` on Windows.
+
+The [VS Code extension](</docs/en/vs-code>) does not place `claude` at this location. It bundles a private copy of the CLI inside the extension directory for its own chat panel and does not add it to PATH. If you have only installed the extension, `~/.local/bin/claude` will not exist. Run the [standalone install](</docs/en/setup>) to use `claude` from a terminal, then continue below.
+
+Check if the install directory is in your PATH by listing your PATH entries and filtering for `local/bin`:
* macOS/Linux
--- a/vs-code.md
+++ b/vs-code.md
@@ -9,9 +9,9 @@
Before installing, make sure you have:
* VS Code 1.98.0 or higher
- * An Anthropic account (you’ll sign in when you first open the extension). If you’re using a third-party provider like Amazon Bedrock or Google Vertex AI, see Use third-party providers instead.
-
-The extension includes the CLI (command-line interface), which you can access from VS Code’s integrated terminal for advanced features. See VS Code extension vs. Claude Code CLI for details.
+ * An Anthropic account: any paid Claude subscription (Pro, Max, Team, or Enterprise) or a Claude Console account works, and no API key is required. You’ll [sign in](</docs/en/authentication#log-in-to-claude-code>) with this account when you first open the extension. If you access Claude through a third-party provider like Amazon Bedrock or Google Vertex AI, see Use third-party providers for setup instructions.
+
+The extension bundles its own copy of the CLI (command-line interface) for the chat panel. To run `claude` in VS Code’s integrated terminal, you also need the [standalone CLI install](</docs/en/setup>). See VS Code extension vs. Claude Code CLI for details.
##
@@ -24,7 +24,7 @@
* [Install for VS Code](<vscode:extension/anthropic.claude-code>)
* [Install for Cursor](<cursor:extension/anthropic.claude-code>)
-Or in VS Code, press `Cmd+Shift+X` (Mac) or `Ctrl+Shift+X` (Windows/Linux) to open the Extensions view, search for “Claude Code”, and click **Install**. The extension also installs in other VS Code forks like Devin Desktop or Kiro. Search for “Claude Code” in the editor’s Extensions view, or install from the [Open VSX registry](<https://open-vsx.org/extension/Anthropic/claude-code>). If your editor can’t install the extension, run `claude` in its integrated terminal instead. The [CLI](</docs/en/quickstart>) works in any terminal.
+Or in VS Code, press `Cmd+Shift+X` (Mac) or `Ctrl+Shift+X` (Windows/Linux) to open the Extensions view, search for “Claude Code”, and click **Install**. The extension also installs in other VS Code forks like Devin Desktop or Kiro. Search for “Claude Code” in the editor’s Extensions view, or install from the [Open VSX registry](<https://open-vsx.org/extension/Anthropic/claude-code>). If your editor can’t install the extension, [install the CLI](</docs/en/quickstart>) and run `claude` in its integrated terminal instead. The CLI works in any terminal.
If the extension doesn’t appear after installation, restart VS Code or run “Developer: Reload Window” from the Command Palette.
@@ -336,7 +336,7 @@
VS Code extension vs. Claude Code CLI
-Claude Code is available as both a VS Code extension (graphical panel) and a CLI (command-line interface in the terminal). Some features are only available in the CLI. If you need a CLI-only feature, run `claude` in VS Code’s integrated terminal.
+Claude Code is available as both a VS Code extension (graphical panel) and a CLI (command-line interface in the terminal). Some features are only available in the CLI. If you need a CLI-only feature, run `claude` in VS Code’s integrated terminal. This requires the [standalone CLI install](</docs/en/setup>): the extension does not add `claude` to your PATH. See Run CLI in VS Code.
Feature| CLI| VS Code Extension
---|---|---
@@ -366,7 +366,7 @@
Run CLI in VS Code
-To use the CLI while staying in VS Code, open the integrated terminal (`Ctrl+`` on Windows/Linux or `Cmd+`` on Mac) and run `claude`. The CLI automatically integrates with your IDE for features like diff viewing and diagnostic sharing. If using an external terminal, run `/ide` inside Claude Code to connect it to VS Code.
+To use the CLI while staying in VS Code, open the integrated terminal (`Ctrl+`` on Windows/Linux or `Cmd+`` on Mac) and run `claude`. The CLI automatically integrates with your IDE for features like diff viewing and diagnostic sharing. Installing the extension does not put `claude` on your shell PATH. The extension bundles a private copy of the CLI for its chat panel, but typing `claude` in a terminal requires the [standalone CLI install](</docs/en/setup>). Run the install once and the commands on this page, including `claude mcp add` and `claude --resume`, work in any terminal. If `claude` is still not found after installing, [verify your PATH](</docs/en/troubleshoot-install#verify-your-path>). If using an external terminal, run `/ide` inside Claude Code to connect it to VS Code.
###