HomeDocs changes
Documentation changes
What the docs quietly changed.
Anthropic's published documentation, fetched on a schedule and diffed against the last copy. Every edit dated, including the ones that never made a release note.
Last poll read all 4 cleanly: Claude Code CLI, Claude Developer Platform, Claude Documentation, Model Context Protocol. A date here is when this site noticed, not when Anthropic edited.
Claude Developer Platform
821pages tracked
767 changed this week · last read 24 Oct 2026
Claude Code CLI
228pages tracked
146 changed this week · last read 24 Oct 2026
Claude Documentation
280pages tracked
69 changed this week · last read 24 Oct 2026
Model Context Protocol
357pages tracked
171 changed this week · last read 23 Oct 2026
100 on this page
ReadSourcePageWhatLines
9 Oct 2026
658 pages
+60364 −28978 lines
claude-docs
third-party/claude-desktop/foundry
±changed
+43−47
claude-docschanged
third-party/claude-desktop/foundry
<Note>
Microsoft Foundry offers Claude models in two hosting options, Hosted on Azure and Hosted on Anthropic, and you choose one when you configure the model deployment in Microsoft Fo
Deployments hosted on Azure run inference in an Anthropic-operated service on Azure infrastructure, not in your Azure tenant, and prompts and completions remain within Azure. The
</Note>
+43 −47 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 20 Oct 2026 18:07 UTC
claude-docs
third-party/claude-desktop/connectors-m365
±changed
+179−185
claude-docschanged
third-party/claude-desktop/connectors-m365
<Info>
The remote connector is hosted by Anthropic. Data in transit passes through Anthropic's infrastructure, which is based in the United States. Anthropic does not collect or store a
</Info>
> [!NOTE]
>
+179 −185 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 20 Oct 2026 18:07 UTC
claude-docs
third-party/claude-desktop/bedrock
±changed
+57−61
claude-docschanged
third-party/claude-desktop/bedrock
<Steps>
<Step title="Enable Claude models in Amazon Bedrock">
In the [Amazon Bedrock console](https://console.aws.amazon.com/bedrock/), open **Model access** and request access to the Claude models you intend to deploy. Access is granted
</Step>
+57 −61 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 20 Oct 2026 18:07 UTC
claude-docs
third-party/claude-desktop/vertex
±changed
+3−3
claude-docschanged
third-party/claude-desktop/vertex
| Your organization already has tooling that obtains a bearer token accepted by Google Cloud's Agent Platform | [Credential helper](/docs/third-party/claude-desktop/configuration#i
| Your organization already has tooling that obtains a bearer token accepted by Google Cloud's Agent Platform | [Credential helper](/docs/third-party/claude-desktop/configuration#i
* **Both keys required.** If only one of `inferenceVertexOAuthClientId` or `inferenceVertexOAuthClientSecret` is set, the app logs a warning and falls back to standard Application
* **Both keys required.** Set `inferenceVertexOAuthClientId` and `inferenceVertexOAuthClientSecret` together. With only one of them set, the app shows no **Sign in with Google** pa
To confirm which keys the app read and whether the provider settings validated, use **Help → Troubleshooting → Generate Diagnostic Report**, export the report, and check `managed-c
+3 −3 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/telemetry
±changed
+6−3
claude-docschanged
third-party/claude-desktop/telemetry
On Linux, installing the `claude-desktop` package adds Anthropic's apt repository. `apt upgrade` then installs new versions from `downloads.claude.ai`, and so do unattended upgrade
Each connection in the following table has a managed-configuration key that turns it off.
Each connection in the following table has a managed-configuration key that turns it off, except `apt` updates on Linux, which you turn off on the device.
| Connector favicons, artifact previews, and MCP App widgets | Icon fetches, and the sandboxed iframe pages that render previews and widgets. See [Non-essential services](#non-esse
+6 −3 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/mdm
±changed
+1−1
claude-docschanged
third-party/claude-desktop/mdm
`downloads.claude.ai` is required to run the app regardless of your configuration: it serves the VM workspace bundle and the latest Claude Code binary, fetched at session start.
`downloads.claude.ai` is required to run the app regardless of your configuration: it serves the VM workspace bundle and the Claude Code binary. Without it, Chat conversations, C
+1 −1 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/mantle
±changed
+1−1
claude-docschanged
third-party/claude-desktop/mantle
To confirm which keys the app read and whether the provider settings validated, use **Help → Troubleshooting → Generate Diagnostic Report**, export the report, and check `managed-c
To confirm which keys the app read and whether the provider settings validated, use **Help → Troubleshooting → Generate Diagnostic Report**, export the report, and check `managed-c
+1 −1 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/installation
±changed
+3−3
claude-docschanged
third-party/claude-desktop/installation
**Allowlist the helper by signing identity rather than path** so the rule survives version updates.
**Allowlist the helper by signing identity rather than path** so the rule survives version updates. The helper's path includes a `<build-id>` folder, a 12-character name that diffe
~/Library/Application Support/Claude-3p/claude-code/<version>/claude.app/Contents/MacOS/claude
~/Library/Application Support/Claude-3p/claude-code/<version>/<build-id>/claude.app/Contents/MacOS/claude
%LOCALAPPDATA%\Claude-3p\claude-code\<version>\claude.exe
+3 −3 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/import
±changed
+12−1
claude-docschanged
third-party/claude-desktop/import
The copy runs once on each computer, in the background shortly after the app starts, and the sessions then appear in the sidebar. Your original sessions stay where they were, and s
Along with the sessions, the automatic copy brings over other things you had under the earlier configuration:
* **Projects**: your Cowork projects. New tasks use a project's instructions only after you accept them.
* **Memory and global instructions**: your Cowork memory and global instructions. New tasks use them right away.
+12 −1 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/foundry
±changed
+1−1
claude-docschanged
third-party/claude-desktop/foundry
To confirm which keys the app read and whether the provider settings validated, use **Help → Troubleshooting → Generate Diagnostic Report**, export the report, and check `managed-c
To confirm which keys the app read and whether the provider settings validated, use **Help → Troubleshooting → Generate Diagnostic Report**, export the report, and check `managed-c
+1 −1 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/extensions
±changed
+4−2
claude-docschanged
third-party/claude-desktop/extensions
Outlook, OneDrive, SharePoint, and Teams. Requires registering an app in your Entra tenant and an Anthropic allowlist step.
Outlook, OneDrive, SharePoint, and Teams. Requires registering an app in your Entra tenant. The remote connector also needs an Anthropic allowlist step.
End users cannot add remote MCP servers or install desktop extension files (`.mcpb`) themselves. Remote servers are available only via admin-provisioned `managedMcpServers` or orga
End users cannot add remote MCP servers from the app's settings or install desktop extension files (`.mcpb`) themselves. Remote servers come from admin-provisioned `managedMcpServe
+4 −2 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/entra-broker
±changed
+1−1
claude-docschanged
third-party/claude-desktop/entra-broker
The broker writes its own diagnostic log outside the app. On Windows, WAM events appear in Event Viewer under **Applications and Services Logs → Microsoft → Windows → AAD → Operati
The broker writes its own diagnostic log outside the app. On Windows, WAM events appear in Event Viewer under **Applications and Services Logs → Microsoft → Windows → AAD → Operati
+1 −1 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/data-storage
±changed
+1−1
claude-docschanged
third-party/claude-desktop/data-storage
With [Unified Claude](/docs/third-party/claude-desktop/unified-claude) on, a conversation started from the home screen on a device that can run Cowork is a Cowork session. `coworkS
With [Unified Claude](/docs/third-party/claude-desktop/unified-claude) on, a conversation started from the home screen on a device that can run Cowork is a Cowork session. `coworkS
+1 −1 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/connectors-m365
±changed
+16−9
claude-docschanged
third-party/claude-desktop/connectors-m365
| Device egress | `login.microsoftonline.com` and the connector host | `login.microsoftonline.com` and `graph.microsoft.com` |
| Device egress | `login.microsoftonline.com` and the connector host | `login.microsoftonline.com`, `graph.microsoft.com`, and your tenant's SharePoint and OneDrive hosts |
In the Claude Desktop [in-app configuration window](/docs/third-party/claude-desktop/in-app-configuration), open **Connectors**, select **Add server**, and choose **Microsoft 3
In the Claude Desktop [in-app configuration window](/docs/third-party/claude-desktop/in-app-configuration), open **Connectors**, select **Add server**, and choose **Microsoft 3
| `scope` | No | Space-separated delegated Graph scopes to request instead of the default read set. A string array named `scopes` is also accepted only before 12:00 PM Pacific
+16 −9 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/connectors-github
±changed
+1−1
claude-docschanged
third-party/claude-desktop/connectors-github
In the Claude Desktop [in-app configuration window](/docs/third-party/claude-desktop/in-app-configuration), open **Connectors**, select **Add server**, and choose **GitHub** un
In the Claude Desktop [in-app configuration window](/docs/third-party/claude-desktop/in-app-configuration), open **Connectors**, select **Add server**, and choose **GitHub** un
+1 −1 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/configuration
±changed
+6−6
claude-docschanged
third-party/claude-desktop/configuration
```json theme={null}
```json theme={null} theme={null}
```json theme={null}
```json theme={null} theme={null}
```json theme={null}
+6 −6 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/code
±changed
+2−1
claude-docschanged
third-party/claude-desktop/code
| `builtinToolPolicy` | Tools set to `"ask"` require approval on each call in Code sessions, enforced via a PreToolUse hook and Claude Code `permissions.ask` rules. |
| `builtinToolPolicy` | Tools set to `"ask"` require approval on each call in Code sessions, enforced via a PreToolUse hook and Claude Code `permissions.ask` rules. Argument-scoped
| `builtinToolPolicy`, argument-scoped rules such as `Bash(curl *)` | A `permissions.ask` rule for each rule set to `"ask"`. |
+2 −1 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/built-in-connectors
±changed
+1−1
claude-docschanged
third-party/claude-desktop/built-in-connectors
* **Versioned with the app.** Each built-in server requires a Claude Desktop version that includes it. On older versions, the server is missing from the **Add server** menu, **Test
* **Versioned with the app.** Each built-in server requires a Claude Desktop version that includes it. On older versions, the server is missing from the **Add server** menu, **Test
+1 −1 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/bootstrap
±changed
+1−1
claude-docschanged
third-party/claude-desktop/bootstrap
The `trustBootstrapDelivery` key overrides the default in either direction, and the previous name `trustBootstrapLocalExec` is accepted only before 12:00 PM Pacific Time (19:00 UTC
The [`trustBootstrapDelivery`](/docs/third-party/claude-desktop/configuration#trustbootstrapdelivery) key overrides the default in either direction. The key is accepted from device
+1 −1 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/bedrock
±changed
+1−1
claude-docschanged
third-party/claude-desktop/bedrock
To confirm which keys the app read and whether the provider settings validated, use **Help → Troubleshooting → Generate Diagnostic Report**, export the report, and check `managed-c
To confirm which keys the app read and whether the provider settings validated, use **Help → Troubleshooting → Generate Diagnostic Report**, export the report, and check `managed-c
+1 −1 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-docs
third-party/claude-desktop/admin-console
±changed
+5−3
claude-docschanged
third-party/claude-desktop/admin-console
* **To turn the automatic copy off**, go to the **Connectors** page and, under **Claude.ai data import**, turn off the **Automatically import earlier third-party sessions** switch
The copy also brings over each user's Cowork projects, artifacts, memory, and global instructions, and their scheduled tasks from Cowork and Code. It brings over the plugins they u
* **To turn the automatic copy off**, go to the **Connectors** page and, under **Claude.ai data import**, turn off the **Automatically import earlier third-party sessions** switch
The console never holds a provider credential. The **Credential kind** field on the **Connection** page tells Claude Desktop how each user's device obtains one, and offers the kind
+5 −3 lines
Upstream edited 9 Oct 2026 14:43 UTC Recorded here 9 Oct 2026 15:07 UTC
claude-code
claude-tag
±changed
+1−1
claude-codechanged
claude-tag
No line of the body moved in this read.
+1 −1 lines
Recorded here 9 Oct 2026 14:37 UTC
claude-code
headless
±changed
+5−3
claude-codechanged
headless
* **[Background commands](/docs/en/tools-reference#background-commands)**: for a command that the main conversation started, for example a dev server or a watch build, the run wait
* **[Background commands](/docs/en/tools-reference#background-commands)**: for a command that the main conversation started, for example a dev server or a watch build, the run wait
When background work starts another turn, the run prints each turn's result with the default `text` output and the last turn's result with `json` output. Before v2.1.295, the run p
| `max_retries` | integer | total retries permitted for this failure's cause, which can be fewer than the session-wide budget |
+5 −3 lines
Upstream edited 9 Oct 2026 14:23 UTC Recorded here 9 Oct 2026 14:37 UTC
claude-code
goal
±changed
+1−1
claude-codechanged
goal
With the default text output, nothing prints until the run ends, so a goal that runs many turns can look stuck. Add `--output-format stream-json --verbose` to emit each message as
With the default text output, Claude's final response prints when the loop ends, so a goal that runs many turns can look stuck. Add `--output-format stream-json --verbose` to emit
+1 −1 lines
Upstream edited 9 Oct 2026 14:23 UTC Recorded here 9 Oct 2026 14:37 UTC
claude-code
mcp
±changed
+1−1
claude-codechanged
mcp
* Asks HTTP and stdio servers whether they support the newer revision, and uses it with those that do. In sessions where it fetches feature flags, it also asks claude.ai connector
* Asks HTTP, stdio, and claude.ai connector servers whether they support the newer revision, and uses it with those that do. It connects to every other server as v1 does.
+1 −1 lines
Upstream edited 9 Oct 2026 14:21 UTC Recorded here 9 Oct 2026 14:37 UTC
claude-code
sub-agents
±changed
+1−1
claude-codechanged
sub-agents
The full content of each listed skill is injected into the subagent's context at startup. This field controls which skills are preloaded, not which skills the subagent can access:
The full content of each listed skill is injected into the subagent's context at startup, up to the first 32 distinct names in the list. This field controls which skills are preloa
+1 −1 lines
Upstream edited 9 Oct 2026 14:21 UTC Recorded here 9 Oct 2026 14:37 UTC
claude-code
errors
±changed
+3−4
claude-codechanged
errors
* A stalled response stream, when the response headers have arrived but none of Claude's response has arrived, or when Claude has finished thinking but hasn't started any text or t
* A stalled response stream, when the response headers have arrived but none of Claude's response has arrived, or when Claude has finished thinking but hasn't started any text or t
You attached to a stopped [background session](/docs/en/agent-view) that was backgrounded from another conversation with `←` or `/background` and stopped before its first response
You attached to a session that you [moved to the background](/docs/en/agent-view#from-inside-a-session) with `←` or `/background` and that stopped before it ran a turn of its own.
* The conversation you backgrounded from is intact: resume it with [`claude --resume`](/docs/en/sessions) or keep working in it
+3 −4 lines
Upstream edited 9 Oct 2026 14:21 UTC Recorded here 9 Oct 2026 14:37 UTC
claude-code
agent-view
±changed
+8−5
claude-codechanged
agent-view
A stopped session that was [backgrounded from another conversation](#from-inside-a-session) and stopped before its first response finished has nothing to resume: until that first r
In agent view, opening that row shows `Press enter again to restart this session fresh` below the list. Press `Enter` on the same row again to restart the session with an empty con
The original conversation is intact; resume it with `claude --resume` or keep working in it. See the [error reference](/docs/en/errors#this-session-has-no-saved-transcript) for det
+8 −5 lines
Upstream edited 9 Oct 2026 14:21 UTC Recorded here 9 Oct 2026 14:37 UTC
claude-code
monitoring-usage
±changed
+6−4
claude-codechanged
monitoring-usage
* `attempt`: Total number of attempts made, including the initial request (`1` means no retries occurred)
* `attempt`: Number of attempts made, including the initial request. [Detect retry exhaustion](#detect-retry-exhaustion) says when the count starts again
The `attempt` attribute on the event records the total number of attempts. `CLAUDE_CODE_MAX_RETRIES` defaults to 10 and is capped at 15. On v2.1.199 or later, you can set `CLAUDE_C
When the request exhausts all retries on a transient error, `attempt` equals one more than that effective limit: 11 by default, and never more than 16 unless the watchdog is set. A
+6 −4 lines
Upstream edited 9 Oct 2026 14:19 UTC Recorded here 9 Oct 2026 14:37 UTC
claude-code
agent-sdk/typescript
±changed
+3−1
claude-codechanged
agent-sdk/typescript
* `CLAUDE_CODE_MAX_RETRIES`: maximum API retries. Default `10`, capped at `15`. Each retry gets its own `API_TIMEOUT_MS` window, so worst-case wall time is roughly `API_TIMEOUT_MS
* `CLAUDE_CODE_MAX_RETRIES`: maximum API retries. Default `10`, capped at `15`. Each retry gets its own `API_TIMEOUT_MS` window.
For unattended runs that need to wait through longer outages, set [`CLAUDE_CODE_RETRY_WATCHDOG=1`](/docs/en/errors#tune-retry-behavior): it retries transient capacity errors inde
+3 −1 lines
Upstream edited 9 Oct 2026 14:19 UTC Recorded here 9 Oct 2026 14:37 UTC
claude-code
agent-sdk/python
±changed
+3−1
claude-codechanged
agent-sdk/python
* `CLAUDE_CODE_MAX_RETRIES`: maximum API retries. Default `10`, capped at `15`. Each retry gets its own `API_TIMEOUT_MS` window, so worst-case wall time is roughly `API_TIMEOUT_MS
* `CLAUDE_CODE_MAX_RETRIES`: maximum API retries. Default `10`, capped at `15`. Each retry gets its own `API_TIMEOUT_MS` window.
For unattended runs that need to wait through longer outages, set [`CLAUDE_CODE_RETRY_WATCHDOG=1`](/docs/en/errors#tune-retry-behavior): it retries transient capacity errors inde
+3 −1 lines
Upstream edited 9 Oct 2026 14:19 UTC Recorded here 9 Oct 2026 14:37 UTC
claude-code
claude-tag
±changed
+2−2
claude-codechanged
claude-tag
No line of the body moved in this read.
+2 −2 lines
Recorded here 9 Oct 2026 03:37 UTC
claude-code
agent-sdk/user-input
±changed
+20−20
claude-codechanged
agent-sdk/user-input
The callback can stay pending indefinitely. Execution remains paused until your callback returns. If a user might take longer to respond than your process can reasonably stay runni
The callback can stay pending indefinitely. Execution remains paused until your callback returns. If a user might take longer to respond than your process can reasonably stay runni
1. **Tool needs approval**: Claude wants to use a tool that isn't auto-approved by a [permission rule](/docs/en/agent-sdk/permissions.md) or permission mode. Check `tool_name` for
1. **Tool needs approval**: Claude wants to use a tool that isn't auto-approved by a [permission rule](https://code.claude.com/docs/en/agent-sdk/permissions.md) or permission mode.
> **The callback never fires for auto-approved tools.** Any approval earlier in the [permission evaluation flow](/docs/en/agent-sdk/permissions.md#how-permissions-are-evaluated), a
+20 −20 lines
Upstream edited 9 Oct 2026 03:28 UTC Recorded here 23 Oct 2026 19:07 UTC
claude-code
agent-sdk/user-input
±changed
+12−12
claude-codechanged
agent-sdk/user-input
1. **Tool needs approval**: Claude wants to use a tool that isn't auto-approved by a [permission rule](/docs/en/agent-sdk/permissions) or permission mode. Check `tool_name` for the
1. **Tool needs approval**: Claude wants to use a tool that isn't auto-approved by a [permission rule](/docs/en/agent-sdk/permissions.md) or permission mode. Check `tool_name` for
> **The callback never fires for auto-approved tools.** Any approval earlier in the [permission evaluation flow](/docs/en/agent-sdk/permissions#how-permissions-are-evaluated), an a
> **The callback never fires for auto-approved tools.** Any approval earlier in the [permission evaluation flow](/docs/en/agent-sdk/permissions.md#how-permissions-are-evaluated), a
> An allow rule doesn't pre-approve the [actions no mode auto-approves](/docs/en/permission-modes#actions-no-mode-auto-approves); see [How permissions are evaluated](/docs/en/agent
+12 −12 lines
Upstream edited 9 Oct 2026 03:28 UTC Recorded here 22 Oct 2026 18:07 UTC
claude-code
agent-sdk/user-input
±changed
+576−602
claude-codechanged
agent-sdk/user-input
<CodeGroup>
```python Python theme={null}
from claude_agent_sdk import ClaudeAgentOptions
+576 −602 lines
Upstream edited 9 Oct 2026 03:28 UTC Recorded here 20 Oct 2026 18:37 UTC
claude-code
agent-sdk/user-input
±changed
+10−5
claude-codechanged
agent-sdk/user-input
async function handleToolRequest(toolName, input, options) {
import type { CanUseTool } from "@anthropic-ai/claude-agent-sdk";
const handleToolRequest: CanUseTool = async (toolName, input, options) => {
// Prompt user and return allow or deny
+10 −5 lines
Upstream edited 9 Oct 2026 03:28 UTC Recorded here 9 Oct 2026 03:37 UTC
claude-docs
third-party/claude-desktop/configuration-changelog
±changed
+28−0
claude-docschanged
third-party/claude-desktop/configuration-changelog
<Update label="v2.31226.0" description="2026-10-08">
<div className="cfg-keys">
| MDM key | Type | Description |
| - | - | - |
+28 −0 lines
Upstream edited 9 Oct 2026 03:12 UTC Recorded here 9 Oct 2026 03:37 UTC
claude-docs
third-party/claude-desktop/configuration
±changed
+30−14
claude-docschanged
third-party/claude-desktop/configuration
| <span id="modelprefer1mcontext" />Default to 1M context<br />`modelPrefer1mContext` | `boolean` | MDM + Bootstrap<br />Added in 1.28929.0 | — | When a user has no saved selection
| <span id="modelprefer1mcontext" />Use 1M wherever it’s available<br />`modelPrefer1mContext` | `boolean` | MDM + Bootstrap<br />Added in 1.28929.0 | — | Every model that offers 1
When a user has no saved selection, start the picker on the 1M-context variant of the default model (the first listed model, or the first model your endpoint returns under disc
Every model that offers a 1M-token context window shows one option in the model picker, and sessions on it request 1M from your provider. A model offers 1M when its `inferenceM
`"claude-sonnet-5[1m]"` is shorthand for the same entry. When an ID is listed both bare and with `[1m]` (as a gateway lists it), the picker shows one model with a 1M variant; p
+30 −14 lines
Upstream edited 9 Oct 2026 03:12 UTC Recorded here 9 Oct 2026 03:37 UTC
claude-docs
cowork/changelog
±changed
+49−0
claude-docschanged
cowork/changelog
<Update label="v2.31226.0" description="2026-10-08">
Bundled Claude Code version: 2.1.293.
**General**
+49 −0 lines
Upstream edited 9 Oct 2026 03:12 UTC Recorded here 9 Oct 2026 03:37 UTC
claude-code
claude-tag
±changed
+2−2
claude-codechanged
claude-tag
No line of the body moved in this read.
+2 −2 lines
Recorded here 9 Oct 2026 01:37 UTC
claude-code
ultrareview
±changed
+7−7
claude-codechanged
ultrareview
To review a GitHub pull request instead of a local branch, pass the PR number:
To review a pull request on `github.com` instead of a local branch, pass the PR number:
In PR mode, the cloud sandbox clones the pull request directly from the host rather than bundling your local working tree. PR mode works with repositories on `github.com` and on [G
For repositories on `github.com`, the sandbox clones with the GitHub account connected to your Claude account, so the account must be able to read the PR's repository.
+7 −7 lines
Upstream edited 9 Oct 2026 01:16 UTC Recorded here 9 Oct 2026 01:37 UTC
claude-code
claude-tag
±changed
+2−2
claude-codechanged
claude-tag
No line of the body moved in this read.
+2 −2 lines
Recorded here 9 Oct 2026 01:07 UTC
claude-code
workflows
±changed
+25−1
claude-codechanged
workflows
An `agent()` call resolves to `null` if you stop it mid-run or it hits an unrecoverable API error. `pipeline()` keeps each `null` in the results array, which is why the example end
An `agent()` call resolves to `null` if you stop it mid-run or it hits an unrecoverable API error. `pipeline()` keeps each `null` in the results array, which is why the example end
### When an agent stalls and restarts
An agent whose output stops arriving for long enough starts over from the same prompt. In [`/workflows`](#watch-the-run), its name gains a `(retry 1)` suffix and its detail shows `
+25 −1 lines
Upstream edited 9 Oct 2026 00:59 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
tools-reference
±changed
+1−1
claude-codechanged
tools-reference
* Large pages are truncated to a fixed character limit before processing.
* WebFetch reads up to 100,000 characters of a page's content per call. On Claude Code v2.1.290 or later, the result for a longer page tells Claude how much went unread, so Claude
+1 −1 lines
Upstream edited 9 Oct 2026 00:55 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
hooks
±changed
+1−0
claude-codechanged
hooks
| `offset` | number | `100000` | Optional number of characters to skip from the start of the page. Claude sets it to keep reading a long page. Requires Claude Code v2.1.290 or late
+1 −0 lines
Upstream edited 9 Oct 2026 00:55 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
agent-sdk/typescript
±changed
+4−1
claude-codechanged
agent-sdk/typescript
| `maxBudgetUsd` | `number` | `undefined` | Stop the query when the client-side cost estimate reaches this USD value. Counts only the call's own spend; totals restored from a resum
| `maxBudgetUsd` | `number` | `undefined` | Stop the query when the client-side cost estimate reaches this USD value. The estimate can pass this value, so [leave headroom](/docs/en
offset?: number;
`offset` is the number of characters to skip from the start of the page. Claude sets it to keep reading a long page. The field requires Agent SDK v0.3.290 or later.
+4 −1 lines
Upstream edited 9 Oct 2026 00:55 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
agent-sdk/python
±changed
+2−1
claude-codechanged
agent-sdk/python
| `max_budget_usd` | `float \| None` | `None` | Stop the query when the client-side cost estimate reaches this USD value. Counts only the call's own spend; totals restored from a r
| `max_budget_usd` | `float \| None` | `None` | Stop the query when the client-side cost estimate reaches this USD value. The estimate can pass this value, so [leave headroom](/doc
"offset": int | None, # Number of characters to skip from the start of the page. Requires Python Agent SDK 0.2.164 or later
+2 −1 lines
Upstream edited 9 Oct 2026 00:55 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
skills
±changed
+2−0
claude-codechanged
skills
| `managed-agents-onboard <url>` | Build the Managed Agent that the page at the URL describes, such as a page in the [Managed Agents docs](https://platform.claude.com/docs/en/manag
| `managed-agents-onboard <quickstart-name>` | Build one of the Console's quickstart templates, such as `deep-researcher`. If you give one word that isn't a template name, Claude l
+2 −0 lines
Upstream edited 9 Oct 2026 00:54 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
server-managed-settings
±changed
+4−0
claude-codechanged
server-managed-settings
The editor checks your JSON against the published JSON schema for Claude Code settings. If it finds a problem in JSON that parses, it shows a warning and relabels the save butt
The schema [can lag behind the newest releases](/docs/en/settings#edit-a-settings-file), so the editor can flag a key or value that the [settings reference](/docs/en/settings-r
+4 −0 lines
Upstream edited 9 Oct 2026 00:52 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
agent-sdk/agent-loop
±changed
+5−1
claude-codechanged
agent-sdk/agent-loop
| Max budget (`max_budget_usd` / `maxBudgetUsd`) | Maximum cost before stopping | No limit |
| Max budget (`max_budget_usd` / `maxBudgetUsd`) | Estimated spend at which the loop stops | No limit |
#### Budget headroom
+5 −1 lines
Upstream edited 9 Oct 2026 00:50 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
monitoring-usage
±changed
+4−0
claude-codechanged
monitoring-usage
<Note>
Events that Claude Code logs before a developer signs in don't carry the gateway identity. When Claude Code opens a session signed out of the gateway, for example after [the gate
</Note>
+4 −0 lines
Upstream edited 9 Oct 2026 00:48 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
claude-apps-gateway-on-aws
±changed
+1−1
claude-codechanged
claude-apps-gateway-on-aws
The gateway gives you per-developer usage metrics without any per-machine OTEL configuration. Claude Code emits OpenTelemetry (OTLP) metrics, logs, and opt-in traces; [Monitoring u
The gateway gives you per-developer usage metrics without any per-machine OTEL configuration. Claude Code emits OpenTelemetry (OTLP) metrics, logs, and opt-in traces; [Monitoring u
+1 −1 lines
Upstream edited 9 Oct 2026 00:48 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
claude-apps-gateway-config
±changed
+1−1
claude-codechanged
claude-apps-gateway-config
In sessions signed in through `/login`, the CLI stamps each export with the authenticated user's identity, read from the gateway-issued JWT: the `user.id`, `user.email`, and `user.
In sessions signed in through `/login`, the CLI stamps each export with the authenticated user's identity, read from the gateway-issued JWT: the `user.id`, `user.email`, and `user.
+1 −1 lines
Upstream edited 9 Oct 2026 00:48 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
plugins/mods/troubleshoot
±changed
+13−1
claude-codechanged
plugins/mods/troubleshoot
The mod loaded, and its pane, band, or controls don't behave as you expect.
The mod loaded, and its pane, band, toast, or controls don't behave as you expect.
### A toast doesn't appear
+13 −1 lines
Upstream edited 9 Oct 2026 00:45 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
plugins/mods/interface
±changed
+10−4
claude-codechanged
plugins/mods/interface
<img src="https://mintcdn.com/claude-code/dgiVO_Od1X1faduV/images/mods-screen-map.svg?fit=max&auto=format&n=dgiVO_Od1X1faduV&q=85&s=5fda26b6609c62b68c6f9e528c1590ea" className="dar
<img src="https://mintcdn.com/claude-code/dgiVO_Od1X1faduV/images/mods-screen-map-dark.svg?fit=max&auto=format&n=dgiVO_Od1X1faduV&q=85&s=5b4161581a1bd2c0450b0c8b57bc1225" className
<img src="https://mintcdn.com/claude-code/dgiVO_Od1X1faduV/images/mods-screen-map.svg?fit=max&auto=format&n=dgiVO_Od1X1faduV&q=85&s=5fda26b6609c62b68c6f9e528c1590ea" className="dar
+10 −4 lines
Upstream edited 9 Oct 2026 00:45 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
plugins/mods/api
±changed
+1−1
claude-codechanged
plugins/mods/api
| `$.ui.toast(text)` | A toast notification at the top right, with the mod's name above the text, that disappears after a few seconds |
| `$.ui.toast(text)` | A toast notification with the mod's name that disappears after a few seconds. It's a box at the top right in [fullscreen rendering](/docs/en/fullscreen), and
+1 −1 lines
Upstream edited 9 Oct 2026 00:45 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
worktrees
±changed
+1−1
claude-codechanged
worktrees
These checks read the path an edit targets, the directory a command runs in, and the text of the command. None of them tracks which files a shell command writes, so a command that
These checks read the path an edit targets, the directory a command runs in, and the text of the command. None of them tracks which files a shell command writes, so a command that
+1 −1 lines
Upstream edited 9 Oct 2026 00:42 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
glossary
±changed
+1−1
claude-codechanged
glossary
An isolation mode that runs Claude in a separate git worktree under `.claude/worktrees/`, enabled with the `-w` flag or `isolation: worktree` in subagent config. Changes stay on a
An isolation mode that runs Claude in a separate git worktree under `.claude/worktrees/`, enabled with the `-w` flag or `isolation: worktree` in subagent config. Changes stay on a
+1 −1 lines
Upstream edited 9 Oct 2026 00:42 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
desktop
±changed
+1−1
claude-codechanged
desktop
Click **+ New session** in the sidebar, or press **Cmd+N** on macOS or **Ctrl+N** on Windows, to work on multiple tasks in parallel. Press **Ctrl+Tab** and **Ctrl+Shift+Tab** to cy
Click **+ New session** in the sidebar, or press **Cmd+N** on macOS or **Ctrl+N** on Windows, to work on multiple tasks in parallel. Press **Ctrl+Tab** and **Ctrl+Shift+Tab** to cy
+1 −1 lines
Upstream edited 9 Oct 2026 00:42 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
claude-projects
±changed
+1−1
claude-codechanged
claude-projects
* **Worktrees**: a [worktree](/docs/en/worktrees) gives each local session its own working copy of a repository so parallel sessions on your machine don't overwrite each other. Clo
* **Worktrees**: a [worktree](/docs/en/worktrees) gives each local session its own working copy of a repository. Cloud threads don't need them: each clones its repositories into it
+1 −1 lines
Upstream edited 9 Oct 2026 00:42 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
agent-view
±changed
+1−1
claude-codechanged
agent-view
When the hook fails in a directory that isn't a git repository, Claude skips isolation for that directory and edits the working directory in place. Inside a git repository, a sessi
When the hook fails in a directory that isn't a git repository, Claude skips isolation for that directory and edits the working directory in place. Inside a git repository, a sessi
+1 −1 lines
Upstream edited 9 Oct 2026 00:42 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
self-hosted-environments-configuration
±changed
+14−3
claude-codechanged
self-hosted-environments-configuration
* `<repo>/.mcp.json`: project scope. Commit the file to the repository; its servers are auto-approved in cloud sessions.
* `<repo>/.mcp.json`: project scope. Commit the file to the repository; its servers are auto-approved in cloud sessions. In a session with several repositories, [at most one reposi
The hook prompts Claude to commit and push before the session ends, and stays silent when the directory isn't a git repository or has no remote.
The hook prompts Claude to commit and push before the session ends, and stays silent when the directory isn't a git repository or has no remote. For a session with several reposito
Repository-committed `.claude/settings.json` layers on top as project settings. Sessions also read [`managed-settings.json`](/docs/en/settings#where-settings-live) from the standar
+14 −3 lines
Upstream edited 9 Oct 2026 00:39 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
cloud-environments
±changed
+3−3
claude-codechanged
cloud-environments
| Your repo's `.claude/settings.json` hooks and permission rules | Yes, in a session with one repository | Part of the clone. A session with several repositories, including a [proj
| Your repo's `.mcp.json` MCP servers | Yes, in a session with one repository | Part of the clone, found from the session's working directory |
| Your repo's `.claude/settings.json` hooks and permission rules | Yes, in a session with one repository | Part of the clone. For a session with several repositories, see [which se
| Your repo's `.mcp.json` MCP servers | Yes, in a session with one repository | Part of the clone, found from the session's working directory. For a self-hosted environment, see [w
* **One repository per session**: a session with several repositories doesn't load hooks from any repository's `.claude/settings.json`, so a SessionStart hook you define there does
+3 −3 lines
Upstream edited 9 Oct 2026 00:39 UTC Recorded here 9 Oct 2026 01:07 UTC
claude-code
claude-tag
±changed
+1−1
claude-codechanged
claude-tag
No line of the body moved in this read.
+1 −1 lines
Recorded here 9 Oct 2026 00:37 UTC
claude-code
hooks
±changed
+1−1
claude-codechanged
hooks
* Each execution creates a separate background process. There is no deduplication across multiple firings of the same async hook.
* Each execution creates a separate background process.
+1 −1 lines
Upstream edited 9 Oct 2026 00:30 UTC Recorded here 9 Oct 2026 00:37 UTC
claude-docs
claude-science/how-claude-science-works-with-your-data
±changed
+13−13
claude-docschanged
claude-science/how-claude-science-works-with-your-data
On Pro and Max plans the [Consumer Terms of Service](https://www.anthropic.com/legal/consumer-terms), [Anthropic Privacy Policy](https://www.anthropic.com/legal/privacy), and your
On Pro and Max plans the [Consumer Terms of Service](https://www.anthropic.com/legal/consumer-terms), [Anthropic Privacy Policy](https://www.anthropic.com/legal/privacy), and your
| The computer running Claude Science | Conversation history, project files and artifacts, saved memory, most settings, and stored credentials, in a local folder Anthropic doesn't
| The computer running Claude Science | Conversation history, project files and artifacts, saved memory, most settings, and stored credentials, in a local folder Anthropic doesn't
| Services your organization or members connect | Jobs, files, and queries sent to your SSH hosts, your Modal account, scientific model endpoints, cloud storage, and the external s
+13 −13 lines
Upstream edited 9 Oct 2026 00:25 UTC Recorded here 23 Oct 2026 18:07 UTC
claude-docs
claude-science/how-claude-science-works-with-your-data
±changed
+13−13
claude-docschanged
claude-science/how-claude-science-works-with-your-data
On Pro and Max plans the [Consumer Terms of Service](https://www.anthropic.com/legal/consumer-terms), [Anthropic Privacy Policy](https://www.anthropic.com/legal/privacy), and your
On Pro and Max plans the [Consumer Terms of Service](https://www.anthropic.com/legal/consumer-terms), [Anthropic Privacy Policy](https://www.anthropic.com/legal/privacy), and your
| The computer running Claude Science | Conversation history, project files and artifacts, saved memory, most settings, and stored credentials, in a local folder Anthropic doesn't
| The computer running Claude Science | Conversation history, project files and artifacts, saved memory, most settings, and stored credentials, in a local folder Anthropic doesn't
| Services your organization or members connect | Jobs, files, and queries sent to your SSH hosts, your Modal account, scientific model endpoints, cloud storage, and the external s
+13 −13 lines
Upstream edited 9 Oct 2026 00:25 UTC Recorded here 22 Oct 2026 18:07 UTC
claude-docs
claude-science/how-claude-science-works-with-your-data
±changed
+1−1
claude-docschanged
claude-science/how-claude-science-works-with-your-data
| The computer running Claude Science | Conversation history, project files and artifacts, saved memory, settings, and stored credentials, in a local folder Anthropic doesn't host
| The computer running Claude Science | Conversation history, project files and artifacts, saved memory, most settings, and stored credentials, in a local folder Anthropic doesn't
+1 −1 lines
Upstream edited 9 Oct 2026 00:25 UTC Recorded here 9 Oct 2026 00:37 UTC
api
manage-claude/workspaces
±changed
+16−12
apichanged
manage-claude/workspaces
Click **Create** to finalize.
Click **Create workspace** to finalize.
To switch between workspaces in the Console, use the **Workspaces** selector in the top-left corner.
To switch between workspaces in the Console, leave Settings and use the workspace picker at the top of the sidebar.
2. Click the ellipsis menu (**...**) and choose **Edit details**.
+16 −12 lines
Recorded here 9 Oct 2026 00:07 UTC
api
manage-claude/api-and-data-retention
±changed
+1−1
apichanged
manage-claude/api-and-data-retention
In [Claude Console > Settings > Workspaces](https://platform.claude.com/settings/workspaces), select the workspace and open its **Privacy controls** tab.
In [Claude Console > Settings > Workspaces](https://platform.claude.com/settings/workspaces), select the workspace. In the panel that opens, click **Security** to open the work
+1 −1 lines
Recorded here 9 Oct 2026 00:07 UTC
api
about-claude/pricing
±changed
+1−1
apichanged
about-claude/pricing
Claude Haiku 5.5 is priced by prompt length: a prompt of over 100,000 tokens pays higher prices. [Model pricing](https://platform.claude.com/docs/en/about-claude/pricing#model-pric
Claude Haiku 5.5 is priced by prompt length: a request whose prompt is over 100,000 tokens pays higher prices. A request's prompt length counts all of its input tokens, including c
+1 −1 lines
Recorded here 9 Oct 2026 00:07 UTC
8 Oct 2026
301 pages
+64234 −29772 lines
claude-code
claude-tag
±changed
+2−2
claude-codechanged
claude-tag
No line of the body moved in this read.
+2 −2 lines
Recorded here 8 Oct 2026 23:07 UTC
claude-code
sub-agents
±changed
+3−1
claude-codechanged
sub-agents
* When the main conversation is in `default`, `dontAsk`, or `plan` mode, the subagent runs in the permission mode you set, except `bypassPermissions`. A subagent that declares `byp
* When the main conversation is in `default`, `dontAsk`, or `plan` mode, the subagent runs in the permission mode you set. It keeps the main conversation's permission mode instead
* You set `bypassPermissions`. The `bypassPermissions` exception requires Claude Code v2.1.267 or later.
* You set `auto` and [auto mode isn't available](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) to the subagent, such as when a settings file sets [`disableAutoMode`
+3 −1 lines
Upstream edited 8 Oct 2026 23:03 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
plugins/mods/events
±changed
+2−0
claude-codechanged
plugins/mods/events
To see the tool calls that the API ran itself during the request, such as calls to the [advisor tool](/docs/en/advisor), read `result.serverToolUses`. Claude Code doesn't run these
+2 −0 lines
Upstream edited 8 Oct 2026 23:03 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
agent-sdk/permissions
±changed
+1−1
claude-codechanged
agent-sdk/permissions
**Subagent inheritance:** A subagent runs in the parent session's permission mode unless you set `permissionMode` on its [`AgentDefinition`](/docs/en/agent-sdk/typescript#agentde
**Subagent inheritance:** A subagent runs in the parent session's permission mode unless you set `permissionMode` on its [`AgentDefinition`](/docs/en/agent-sdk/typescript#agentde
+1 −1 lines
Upstream edited 8 Oct 2026 23:03 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
plugins/mods/reference
±changed
+2−1
claude-codechanged
plugins/mods/reference
| `$.agent` | `register`, `spawn`, `list` |
| `$.agent` | `register`, `spawn`, `list`. `list()` returns this session's subagents and teammates, each with a `status` of `pending`, `running`, `waiting`, `idle`, `completed`, `f
| A hook's `drop` reason or `config.set` `deny` reason | 4,096 characters. The end of a longer reason is cut, and the drop or deny still applies. The cut requires Claude Code v2.1.
+2 −1 lines
Upstream edited 8 Oct 2026 23:01 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
plugins/mods/api
±changed
+9−1
claude-codechanged
plugins/mods/api
A mod can send a plain-text message to another of your sessions or to one of this session's subagents, and observe the messages that arrive and leave. `$.session.send({ to, text })
A mod can send a plain-text message to another of your sessions, to one of this session's subagents, or to a teammate in its [agent team](/docs/en/agent-teams). It can also observe
To send one, call `$.session.send({ to, text })`, which makes the same delivery the SendMessage tool makes. Set `to` by who receives the message:
+9 −1 lines
Upstream edited 8 Oct 2026 23:01 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
plugins/mods/admin
±changed
+1−1
claude-codechanged
plugins/mods/admin
| `$.session.send` | Sends a message that another session's or subagent's Claude reads |
| `$.session.send` | Sends a message that another session's, subagent's, or [teammate's](/docs/en/agent-teams) Claude reads |
+1 −1 lines
Upstream edited 8 Oct 2026 23:01 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
agent-sdk/typescript
±changed
+23−3
claude-codechanged
agent-sdk/typescript
agent_id?: string;
`agent_id` identifies the subagent that produced the message and is absent on main-thread messages. The value equals the `task_id` on that subagent's [`task_started`](#sdktaskstart
Match a subagent's messages to its task events on `agent_id` rather than pairing a message's `parent_tool_use_id` with a task event's `tool_use_id`. When a tool call resumes the su
+23 −3 lines
Upstream edited 8 Oct 2026 22:59 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
agent-sdk/subagents
±changed
+9−2
claude-codechanged
agent-sdk/subagents
Claude invokes subagents through the Agent tool. To detect when a subagent is invoked, check for `tool_use` blocks where `name` is `"Agent"`. Messages from within a subagent's cont
Claude invokes subagents through the Agent tool. To detect when a subagent is invoked, check for `tool_use` blocks where `name` is `"Agent"`.
Messages from within a subagent's context include a `parent_tool_use_id` field. In TypeScript, each assistant and user message a subagent produces also carries [`agent_id`](/docs/e
This example iterates through streamed messages, logging when a subagent is invoked and when subsequent messages originate from within that subagent's execution context.
+9 −2 lines
Upstream edited 8 Oct 2026 22:59 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
plugins/mods/test
±changed
+2−6
claude-codechanged
plugins/mods/test
<h3 id="test-a-drawing-after-clear">
Test a drawing after `/clear`
</h3>
### Test a drawing after `/clear`
<h2 id="test-a-mod-that-judges-other-mods">
+2 −6 lines
Upstream edited 8 Oct 2026 22:59 UTC Recorded here 20 Oct 2026 18:37 UTC
claude-code
plugins/mods/test
±changed
+7−2
claude-codechanged
plugins/mods/test
The kit also exports in-memory mocks that answer a whole namespace for you. `mock.clock(on)` answers [`$.clock`](/docs/en/plugins/mods/api#run-work-in-the-background), `mock.store(
The kit also exports ready-made mocks for the clock, the store, environment variables, and rows appended to the conversation:
* **`mock.clock(on)`**: answers [`$.clock`](/docs/en/plugins/mods/api#run-work-in-the-background) and returns a mock clock that your test advances, so a test of a timer doesn't wai
* **`mock.store(on, { count: 7 })`**: answers `$.store` from a store that starts with those entries. It returns nothing, so to check what your mod saved, write the two `store` stub
+7 −2 lines
Upstream edited 8 Oct 2026 22:59 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
hooks
±changed
+16−8
claude-codechanged
hooks
Claude Code adds stdout it [treats as plain text](#exit-code-0) to Claude's context. In addition to the [JSON output fields](#json-output) available to all hooks, you can return th
A SessionStart hook can add context for Claude, supply the first user message, set the session title, watch files, and reload skills. Return the field for each one, in addition to
| `initialUserMessage` | String used as the first user message of the session. Applies in [non-interactive mode](/docs/en/headless) with the `-p` flag, where it becomes the first t
| `sessionTitle` | Sets the session title, with the same effect as `/rename`. Use to name sessions automatically from the launch folder, git branch, or worktree name. Applies when
| `initialUserMessage` | String used as the first user message of the session, in [non-interactive mode](/docs/en/headless) with the `-p` flag. It becomes the first turn even if yo
+16 −8 lines
Upstream edited 8 Oct 2026 22:59 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
plugins/troubleshooting
±changed
+2−2
claude-codechanged
plugins/troubleshooting
You ran `/plugin marketplace add <source>` or `claude plugin marketplace add <source>`, and Claude Code replied `Invalid marketplace source format. Try: owner/repo, https://..., or
You ran `/plugin marketplace add <source>`, `claude plugin marketplace add <source>`, or `claude plugin install <plugin> --marketplace <source>`, and Claude Code replied `Invalid m
You confirmed adding a marketplace through [`/plugin install <plugin> --marketplace <source>`](/docs/en/plugins/install#add-a-marketplace-and-install-in-one-command), and the catal
You named a new marketplace source with [`--marketplace <source>` on the install command](/docs/en/plugins/install#add-a-marketplace-and-install-in-one-command), in a session or fr
+2 −2 lines
Upstream edited 8 Oct 2026 22:56 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
plugins/publish
±changed
+1−0
claude-codechanged
plugins/publish
* Or do both from the shell in one command: `claude plugin install deploy-helper --marketplace your-org/your-marketplace`. Requires Claude Code v2.1.292 or later
+1 −0 lines
Upstream edited 8 Oct 2026 22:56 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
plugins/install
±changed
+16−4
claude-codechanged
plugins/install
* **The marketplace must be added first**: on a machine where no one has opened an interactive Claude Code session yet, the official marketplace isn't registered, so a script that
* **The marketplace on a new machine**: on a machine where no one has opened an interactive Claude Code session yet, the official marketplace isn't registered, so a script that ins
To install a plugin from a marketplace you haven't added yet, run `/plugin install` in a Claude Code session and name the marketplace source with `--marketplace`. Requires Claude C
To install a plugin from a marketplace you haven't added yet, name the marketplace source with `--marketplace` on the install command, in a session or from your shell. The source t
+16 −4 lines
Upstream edited 8 Oct 2026 22:56 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
plugins/cli-reference
±changed
+1−0
claude-codechanged
plugins/cli-reference
| `--marketplace <source>` | Install `<plugin>`, given by its bare name, from the marketplace at `<source>`, adding the marketplace first if you haven't added it yet. See [Add a ma
+1 −0 lines
Upstream edited 8 Oct 2026 22:56 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
errors
±changed
+1−1
claude-codechanged
errors
You confirmed adding a marketplace through [`/plugin install <plugin> --marketplace <source>`](/docs/en/plugins/install#add-a-marketplace-and-install-in-one-command), and the catal
You named a new marketplace source with [`--marketplace <source>` on the install command](/docs/en/plugins/install#add-a-marketplace-and-install-in-one-command), in a session or fr
+1 −1 lines
Upstream edited 8 Oct 2026 22:56 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
artifacts
±changed
+42−16
claude-codechanged
artifacts
Unless you name a location, Claude writes the page to an HTML or Markdown file in a temporary directory outside your project, then publishes it. Outside [plan mode](/docs/en/permis
The artifact stays private to you until you [share it](#share-an-artifact). After you share it publicly, Claude Code asks for your approval once per conversation before changing it
If you turned [feature-flag fetching](/docs/en/env-vars#features-that-need-feature-flag-fetching) off, Claude Code asks before the first publish of each artifact, or in auto mode h
+42 −16 lines
Upstream edited 8 Oct 2026 22:44 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
vs-code
±changed
+1−1
claude-codechanged
vs-code
| `showMessageTimestamps` | `false` | Show when each message was sent. A date line marks where the day changes. Requires Claude Code v2.1.284 or later |
| `showMessageTimestamps` | `true` | Show when each message was sent. A date line marks where the day changes. Requires Claude Code v2.1.284 or later. Before v2.1.290, the default
+1 −1 lines
Upstream edited 8 Oct 2026 22:38 UTC Recorded here 8 Oct 2026 23:07 UTC
claude-code
claude-tag
±changed
+1−1
claude-codechanged
claude-tag
No line of the body moved in this read.
+1 −1 lines
Recorded here 8 Oct 2026 22:07 UTC
claude-code
sub-agents
±changed
+8−2
claude-codechanged
sub-agents
| `effort` | No | Effort level when this subagent is active. Overrides the session effort level, but not the [`CLAUDE_CODE_EFFORT_LEVEL`](/docs/en/env-vars#variables) environment v
| `effort` | No | Effort level when this subagent is active. Overrides the session effort level, but not the [`CLAUDE_CODE_EFFORT_LEVEL`](/docs/en/env-vars#variables) environment v
To check which model a subagent is running on, run [`/tasks`](/docs/en/commands). Claude Code names the model on the subagent's row, and adds the [effort level](/docs/en/model-conf
To check which model a subagent is running on, run [`/tasks`](/docs/en/commands). Claude Code names the model on the subagent's row, and adds the [effort level](/docs/en/model-conf
+8 −2 lines
Upstream edited 8 Oct 2026 21:58 UTC Recorded here 8 Oct 2026 22:07 UTC
claude-code
agent-sdk/typescript
±changed
+1−0
claude-codechanged
agent-sdk/typescript
effort?: "low" | "medium" | "high" | "xhigh" | "max";
+1 −0 lines
Upstream edited 8 Oct 2026 21:58 UTC Recorded here 8 Oct 2026 22:07 UTC
claude-code
plugins/mods/reference
±changed
+9−0
claude-codechanged
plugins/mods/reference
#### Agent and organization fields on `tool.check`
In a `tool.check` hook, read these fields to tell a subagent's call from the main conversation's, and to see whether your organization requires approval for a connector tool:
+9 −0 lines
Upstream edited 8 Oct 2026 21:57 UTC Recorded here 8 Oct 2026 22:07 UTC
claude-code
settings-reference
±changed
+4−2
claude-codechanged
settings-reference
Before v2.1.251, project and local settings could also set the variables in this list that choose where Claude Code writes its files or that export session content, except `HOME`
* Variables that set the timers on an unanswered dialog: [`CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS`, `CLAUDE_AFK_TIMEOUT_MS`, and `CLAUDE_AFK_COUNTDOWN_MS`](/docs/en/env-vars#variable
* [`CLAUDE_CODE_DISABLE_ATTACHMENTS`](/docs/en/env-vars#variables), which turns off attachment processing.
+4 −2 lines
Upstream edited 8 Oct 2026 21:45 UTC Recorded here 8 Oct 2026 22:07 UTC
claude-code
claude-tag
±changed
+2−2
claude-codechanged
claude-tag
No line of the body moved in this read.
+2 −2 lines
Recorded here 8 Oct 2026 21:07 UTC
claude-code
errors
±changed
+1−0
claude-codechanged
errors
| [`CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS`](/docs/en/env-vars) | 500 | Starting delay in milliseconds of the backoff between retries of a request that the API rejects with a `
+1 −0 lines
Upstream edited 8 Oct 2026 20:58 UTC Recorded here 8 Oct 2026 21:07 UTC
claude-code
plugins/mods/reference
±changed
+2−1
claude-codechanged
plugins/mods/reference
| `Link` | `href`, `label` | ✓ | ✓ |
| [`Link`](/docs/en/plugins/mods/interface#link-in-the-desktop-app) | `href`, `label`. See [Limits](#limits). | ✓ | ✓ |
| A `Link`'s `href` | 2,048 characters. A longer `href` keeps the whole tree from drawing. |
+2 −1 lines
Upstream edited 8 Oct 2026 20:57 UTC Recorded here 8 Oct 2026 21:07 UTC
claude-code
plugins/mods/interface
±changed
+12−0
claude-codechanged
plugins/mods/interface
<h3 id="link-in-the-desktop-app">
`Link` in the Desktop app
</h3>
+12 −0 lines
Upstream edited 8 Oct 2026 20:57 UTC Recorded here 8 Oct 2026 21:07 UTC
claude-code
hooks
±changed
+3−0
claude-codechanged
hooks
| `agent_id` | On this event, the [common input field](#common-input-fields) identifies the subagent or [in-process teammate](/docs/en/agent-teams#choose-a-display-mode) creating t
| `agent_id` | On this event, the [common input field](#common-input-fields) identifies the subagent or [in-process teammate](/docs/en/agent-teams#choose-a-display-mode) completing
| `agent_id` | On this event, the [common input field](#common-input-fields) identifies the [in-process teammate](/docs/en/agent-teams#choose-a-display-mode) that is about to go id
+3 −0 lines
Upstream edited 8 Oct 2026 20:57 UTC Recorded here 8 Oct 2026 21:07 UTC
Nothing on this page matches that. Press Enter to search every page of the ledger.