diff --git a/catalog/cli-reference.json b/catalog/cli-reference.json index 27cee14..b86fce8 100644 --- a/catalog/cli-reference.json +++ b/catalog/cli-reference.json @@ -1,7 +1,7 @@ { "source": "https://code.claude.com/docs/en/cli-reference.md", - "fetchedAt": "2026-05-18T12:35:00.301Z", - "commandCount": 25, + "fetchedAt": "2026-05-25T12:34:19.315Z", + "commandCount": 26, "flagCount": 64, "commands": [ { @@ -41,8 +41,8 @@ }, { "name": "claude agents", - "description": "Open [agent view](/en/agent-view) to monitor and dispatch parallel background sessions. Use `--cwd ` to show only sessions started under that directory", - "example": "`claude agents`" + "description": "Open [agent view](/en/agent-view) to monitor and dispatch parallel background sessions. Use `--cwd ` to show only sessions started under that directory, or `--json` to print live sessions as a JSON array for scripting. Pass `--permission-mode`, `--model`, or `--effort` to set [defaults for dispatched sessions](/en/agent-view#permission-mode-model-and-effort). Accepts `--settings`, `--add-dir`, `--plugin-dir`, and `--mcp-config` like the top-level `claude` command. Opening agent view requires an interactive terminal", + "example": "`claude agents --json`" }, { "name": "claude attach ", @@ -69,6 +69,11 @@ "description": "Print the built-in [auto mode](/en/permission-modes#eliminate-prompts-with-auto-mode) classifier rules as JSON. Use `claude auto-mode config` to see your effective config with settings applied", "example": "`claude auto-mode defaults > rules.json`" }, + { + "name": "claude daemon status", + "description": "Print the background-session [supervisor's](/en/agent-view#the-supervisor-process) state, version, socket directory, and worker count for diagnostics. Exits 1 if the supervisor isn't running", + "example": "`claude daemon status`" + }, { "name": "claude install [version]", "description": "Install or reinstall the native binary. Accepts a version like `2.1.118`, or `stable` or `latest`. See [Install a specific version](/en/setup#install-a-specific-version)", @@ -101,12 +106,12 @@ }, { "name": "claude respawn ", - "description": "Restart a stopped [background session](/en/agent-view#manage-sessions-from-the-shell) with its conversation intact. Use `--all` to restart every stopped session", + "description": "Restart a [background session](/en/agent-view#manage-sessions-from-the-shell), running or stopped, with its conversation intact. Use `--all` to restart every running session, e.g. to pick up an updated Claude Code binary", "example": "`claude respawn 7c5dcf5d`" }, { "name": "claude rm ", - "description": "Remove a [background session](/en/agent-view#manage-sessions-from-the-shell) from the list", + "description": "Remove a [background session](/en/agent-view#manage-sessions-from-the-shell) from the list. The conversation transcript stays on your local machine, available through `claude --resume`", "example": "`claude rm 7c5dcf5d`" }, { @@ -218,7 +223,7 @@ }, { "name": "--disallowedTools", - "description": "Tools that are removed from the model's context and cannot be used", + "description": "Deny rules. A bare tool name removes that tool from the model's context. A scoped rule such as `Bash(rm *)` leaves the tool available and denies only matching calls", "example": "`\"Bash(git log *)\" \"Bash(git diff *)\" \"Edit\"`" }, { @@ -238,7 +243,7 @@ }, { "name": "--fallback-model", - "description": "Enable automatic fallback to specified model when default model is overloaded (print mode only)", + "description": "Enable automatic fallback to a specified model when the default model is overloaded. Takes effect in print mode (`-p`) and in [background sessions](/en/agent-view), which run non-interactively; ignored in an interactive session", "example": "`claude -p --fallback-model sonnet \"query\"`" }, { @@ -438,7 +443,7 @@ }, { "name": "`--resume`, `-r`", - "description": "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`", + "description": "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](/en/agent-view) appear in the picker marked with `bg`", "example": "`claude --resume auth-refactor`" }, { diff --git a/catalog/env-vars.json b/catalog/env-vars.json index b86d810..19dedf8 100644 --- a/catalog/env-vars.json +++ b/catalog/env-vars.json @@ -1,7 +1,7 @@ { "source": "https://code.claude.com/docs/en/env-vars.md", - "fetchedAt": "2026-05-18T12:34:58.586Z", - "count": 241, + "fetchedAt": "2026-05-25T12:34:17.593Z", + "count": 245, "envVars": [ { "name": "ANTHROPIC_API_KEY", @@ -253,6 +253,11 @@ "purpose": "Set to `1` to load memory files from directories specified with `--add-dir`. Loads `CLAUDE.md`, `.claude/CLAUDE.md`, `.claude/rules/*.md`, and `CLAUDE.local.md`. By default, additional directories do not load memory files", "default": null }, + { + "name": "CLAUDE_CODE_ALT_SCREEN_FULL_REPAINT", + "purpose": "Set to `1` to repaint the entire screen on every frame in [fullscreen rendering](/en/fullscreen) instead of sending incremental updates. Use this if fullscreen mode shows stale or misplaced text fragments. Claude Code enables this automatically for background sessions and [agent view](/en/agent-view) on Windows", + "default": null + }, { "name": "CLAUDE_CODE_API_KEY_HELPER_TTL_MS", "purpose": "Interval in milliseconds at which credentials should be refreshed (when using [`apiKeyHelper`](/en/settings#available-settings))", @@ -430,7 +435,7 @@ }, { "name": "CLAUDE_CODE_ENABLE_BACKGROUND_PLUGIN_REFRESH", - "purpose": "Set to `1` to refresh plugin state at turn boundaries in [non-interactive mode](/en/headless) after a background install completes. Off by default because the refresh changes the system prompt mid-session, which invalidates [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for that turn", + "purpose": "Set to `1` to refresh plugin state at turn boundaries in [non-interactive mode](/en/headless) after a background install completes. Off by default because the refresh changes the system prompt mid-session, which invalidates [prompt caching](/en/prompt-caching) for that turn", "default": null }, { @@ -450,7 +455,7 @@ }, { "name": "CLAUDE_CODE_ENABLE_OPUS_4_7_FAST_MODE", - "purpose": "Set to `1` to run [fast mode](/en/fast-mode) on Claude Opus 4.7 instead of Opus 4.6. With the variable set, `/fast` switches to Opus 4.7; without it, `/fast` continues to use Opus 4.6", + "purpose": "{/* max-version: 2.1.141 */}Removed in v2.1.142. [Fast mode](/en/fast-mode) defaults to Opus 4.7. Set `CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE=1` to keep Opus 4.6 instead", "default": null }, { @@ -460,7 +465,7 @@ }, { "name": "CLAUDE_CODE_ENABLE_TASKS", - "purpose": "Set to `1` to enable the task tracking system in non-interactive mode (the `-p` flag). Tasks are on by default in interactive mode. See [Task list](/en/interactive-mode#task-list)", + "purpose": "Controls whether sessions use the structured Task tools (`TaskCreate`, `TaskUpdate`, `TaskGet`, `TaskList`) or the legacy `TodoWrite` tool. {/* min-version: 2.1.142 */}As of Claude Code v2.1.142, Task tools are the default in all modes. Set to `0` to revert to `TodoWrite`. See [Task list](/en/interactive-mode#task-list) and [Migrate to Task tools](/en/agent-sdk/todo-tracking#migrate-to-task-tools)", "default": null }, { @@ -600,7 +605,7 @@ }, { "name": "CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE", - "purpose": "Set to `1` to keep [fast mode](/en/fast-mode) on Claude Opus 4.6. Takes precedence over `CLAUDE_CODE_ENABLE_OPUS_4_7_FAST_MODE`, so set this if you need to pin Opus 4.6 regardless of how the default changes", + "purpose": "Set to `1` to pin [fast mode](/en/fast-mode) to Claude Opus 4.6 instead of the default Opus 4.7. With the variable set, `/fast` runs on Opus 4.6. Without it, `/fast` runs on Opus 4.7", "default": null }, { @@ -645,7 +650,7 @@ }, { "name": "CLAUDE_CODE_PLUGIN_PREFER_HTTPS", - "purpose": "Set to `1` to clone GitHub `owner/repo` plugin sources over HTTPS instead of SSH. Useful in CI runners, containers, or any environment without a configured SSH key for `github.com`", + "purpose": "Set to `1` to clone GitHub `owner/repo` shorthand sources over HTTPS instead of SSH. Applies to plugin install and update, and to `/plugin marketplace add` and `update`. Useful in CI runners, containers, or any environment without a configured SSH key for `github.com`", "default": null }, { @@ -653,6 +658,11 @@ "purpose": "Path to one or more read-only plugin seed directories, separated by `:` on Unix or `;` on Windows. Use this to bundle a pre-populated plugins directory into a container image. Claude Code registers marketplaces from these directories at startup and uses pre-cached plugins without re-cloning. See [Pre-populate plugins for containers](/en/plugin-marketplaces#pre-populate-plugins-for-containers)", "default": null }, + { + "name": "CLAUDE_CODE_POWERSHELL_RESPECT_EXECUTION_POLICY", + "purpose": "Set to `1` to stop Claude Code from passing `-ExecutionPolicy Bypass` when spawning PowerShell for tool calls, hooks, and status line commands, and respect the machine's effective execution policy instead. By default Claude Code bypasses execution policy at process scope so `.ps1` scripts and module imports work on default-Restricted Windows installs. Process-scope bypass never overrides Group Policy `MachinePolicy` or `UserPolicy` regardless of this setting", + "default": null + }, { "name": "CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST", "purpose": "Set by host platforms that embed Claude Code and manage model provider routing on its behalf. When set, provider-selection, endpoint, and authentication variables such as `CLAUDE_CODE_USE_BEDROCK`, `ANTHROPIC_BASE_URL`, and `ANTHROPIC_API_KEY` in settings files are ignored so user settings cannot override the host's routing. The automatic telemetry opt-out for Bedrock, Vertex, and Foundry is also skipped, so telemetry follows the standard `DISABLE_TELEMETRY` opt-out. See [Default behaviors by API provider](/en/data-usage#default-behaviors-by-api-provider)", @@ -695,7 +705,7 @@ }, { "name": "CLAUDE_CODE_SESSION_ID", - "purpose": "Set automatically in Bash and PowerShell tool subprocesses to the current session ID. Matches the `session_id` field passed to [hooks](/en/hooks). Updated on `/clear`. Use to correlate scripts and external tools with the Claude Code session that launched them", + "purpose": "Set automatically in Bash and PowerShell tool subprocesses and in [hook command](/en/hooks) subprocesses to the current session ID. Matches the `session_id` field in the hook JSON input. Updated on `/clear`. Use to correlate scripts and external tools with the Claude Code session that launched them", "default": null }, { @@ -715,7 +725,7 @@ }, { "name": "CLAUDE_CODE_SIMPLE", - "purpose": "Set to `1` to run with a minimal system prompt and only the Bash, file read, and file edit tools. MCP tools from `--mcp-config` are still available. Disables auto-discovery of hooks, skills, plugins, MCP servers, auto memory, and CLAUDE.md. The [`--bare`](/en/headless#start-faster-with-bare-mode) CLI flag sets this", + "purpose": "Set to `1` to run with a minimal system prompt and only the Bash, file read, and file edit tools. MCP tools from `--mcp-config` are still available. Disables auto-discovery of hooks, skills, plugins, MCP servers, auto memory, and CLAUDE.md. OAuth tokens and keychain credentials are not read, so Anthropic authentication must come from `ANTHROPIC_API_KEY` or an `apiKeyHelper` in `--settings`. Equivalent to passing [`--bare`](/en/headless#start-faster-with-bare-mode)", "default": null }, { @@ -753,6 +763,11 @@ "purpose": "Skip Google authentication for Vertex (for example, when using an LLM gateway)", "default": null }, + { + "name": "CLAUDE_CODE_STOP_HOOK_BLOCK_CAP", + "purpose": "Maximum number of consecutive times a [Stop](/en/hooks#stop) or [SubagentStop](/en/hooks#subagentstop) hook may block the turn from ending before Claude Code overrides it and ends the turn anyway (default: 8). Set to `0` to disable the cap. Raise this if your hook legitimately needs more iterations to resolve", + "default": "8" + }, { "name": "CLAUDE_CODE_SUBAGENT_MODEL", "purpose": "See [Model configuration](/en/model-config)", @@ -848,9 +863,14 @@ "purpose": "Set to `1` to force-enable the byte-level streaming idle watchdog, or set to `0` to force-disable it. When unset, the watchdog is enabled by default for Anthropic API connections. The byte watchdog aborts a connection when no bytes arrive on the wire for the duration set by `CLAUDE_STREAM_IDLE_TIMEOUT_MS`, with a minimum of 5 minutes, independent of the event-level watchdog", "default": null }, + { + "name": "CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCK", + "purpose": "Set to `1` to enable the byte-level streaming idle watchdog on Amazon Bedrock `vnd.amazon.eventstream` responses. Off by default. Configure the timeout with `CLAUDE_STREAM_IDLE_TIMEOUT_MS`", + "default": null + }, { "name": "CLAUDE_ENABLE_STREAM_WATCHDOG", - "purpose": "Set to `1` to enable the event-level streaming idle watchdog. Off by default. For Bedrock, Vertex, and Foundry, this is the only idle watchdog available. Configure the timeout with `CLAUDE_STREAM_IDLE_TIMEOUT_MS`", + "purpose": "Set to `1` to enable the event-level streaming idle watchdog. Off by default. Applies to all providers, including Bedrock. For Vertex and Foundry, this is the only idle watchdog available. On Bedrock, you can also enable the independent byte-level watchdog with `CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCK`; the two run together when both are set. Configure the timeout with `CLAUDE_STREAM_IDLE_TIMEOUT_MS`", "default": null }, { @@ -865,12 +885,12 @@ }, { "name": "CLAUDE_STREAM_IDLE_TIMEOUT_MS", - "purpose": "Timeout in milliseconds before the streaming idle watchdog closes a stalled connection. Default and minimum `300000` (5 minutes) for both the byte-level and event-level watchdogs; lower values are silently clamped to absorb extended thinking pauses and proxy buffering. For third-party providers, requires `CLAUDE_ENABLE_STREAM_WATCHDOG=1`", + "purpose": "Timeout in milliseconds before the streaming idle watchdog closes a stalled connection. Default and minimum `300000` (5 minutes) for both the byte-level and event-level watchdogs; lower values are silently clamped to absorb extended thinking pauses and proxy buffering. For third-party providers, requires `CLAUDE_ENABLE_STREAM_WATCHDOG=1`. On Bedrock, also applies when `CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCK=1`", "default": null }, { "name": "CLAUDECODE", - "purpose": "Set to `1` in shell environments Claude Code spawns (Bash tool, tmux sessions). Not set in [hooks](/en/hooks) or [status line](/en/statusline) commands. Use to detect when a script is running inside a shell spawned by Claude Code", + "purpose": "Set to `1` in subprocesses Claude Code spawns (Bash and PowerShell tools, tmux sessions, [hook](/en/hooks) commands, [status line](/en/statusline) commands). Use to detect when a script is running inside a subprocess spawned by Claude Code", "default": null }, { @@ -910,7 +930,7 @@ }, { "name": "DISABLE_EXTRA_USAGE_COMMAND", - "purpose": "Set to `1` to hide the `/extra-usage` command that lets users purchase additional usage beyond rate limits", + "purpose": "Set to `1` to hide the `/usage-credits` command that lets users purchase additional usage beyond rate limits", "default": null }, { @@ -950,7 +970,7 @@ }, { "name": "DISABLE_PROMPT_CACHING", - "purpose": "Set to `1` to disable prompt caching for all models (takes precedence over per-model settings)", + "purpose": "Set to `1` to disable [prompt caching](/en/prompt-caching#disable-prompt-caching) for all models (takes precedence over per-model settings)", "default": null }, { @@ -970,7 +990,7 @@ }, { "name": "DISABLE_TELEMETRY", - "purpose": "Set to `1` to opt out of telemetry. Telemetry events do not include user data like code, file paths, or bash commands. Also disables feature flags, so some features that are still rolling out may not be available", + "purpose": "Set to `1` to opt out of telemetry. Telemetry events do not include user data like code, file paths, or bash commands. Also disables feature-flag fetching with the same effect as `DISABLE_GROWTHBOOK`, so some flagged features may be unavailable", "default": null }, { @@ -995,7 +1015,7 @@ }, { "name": "ENABLE_PROMPT_CACHING_1H", - "purpose": "Set to `1` to request a 1-hour prompt cache TTL instead of the default 5 minutes. Intended for API key, [Bedrock](/en/amazon-bedrock), [Vertex](/en/google-vertex-ai), [Foundry](/en/microsoft-foundry), and [Claude Platform on AWS](/en/claude-platform-on-aws) users. Subscription users receive 1-hour TTL automatically. 1-hour cache writes are billed at a higher rate", + "purpose": "Set to `1` to request a 1-hour [prompt cache TTL](/en/prompt-caching#cache-lifetime) instead of the default 5 minutes. Intended for API key, [Bedrock](/en/amazon-bedrock), [Vertex](/en/google-vertex-ai), [Foundry](/en/microsoft-foundry), and [Claude Platform on AWS](/en/claude-platform-on-aws) users. Subscription users within included usage receive 1-hour TTL automatically. 1-hour cache writes are billed at a higher rate", "default": null }, { @@ -1005,7 +1025,7 @@ }, { "name": "ENABLE_TOOL_SEARCH", - "purpose": "Controls [MCP tool search](/en/mcp#scale-with-mcp-tool-search). Unset: all MCP tools deferred by default, but loaded upfront on Vertex AI or when `ANTHROPIC_BASE_URL` points to a non-first-party host. Values: `true` (always defer and send the beta header; supported on Vertex AI with Sonnet 4.5 and later or Opus 4.5 and later; requests fail on earlier Vertex AI models or on proxies that do not support `tool_reference`), `auto` (threshold mode: load upfront if tools fit within 10% of context), `auto:N` (custom threshold, e.g., `auto:5` for 5%), `false` (load all upfront)", + "purpose": "Controls [MCP tool search](/en/mcp#scale-with-mcp-tool-search). Unset: all MCP tools deferred by default, but loaded upfront on Vertex AI or when `ANTHROPIC_BASE_URL` points to a non-first-party host. Values: `true` (always defer and send the beta header, requests fail on Vertex AI models earlier than Sonnet 4.5 or Opus 4.5, or on proxies that do not support `tool_reference`), `auto` (threshold mode: load upfront if tools fit within 10% of context), `auto:N` (custom threshold, e.g., `auto:5` for 5%), `false` (load all upfront)", "default": null }, { @@ -1060,13 +1080,13 @@ }, { "name": "MCP_CONNECT_TIMEOUT_MS", - "purpose": "How long the first query waits, in milliseconds, for the MCP connection batch before snapshotting the tool list (default: 5000). Servers still pending at the deadline keep connecting in the background but won't appear until the next query. Distinct from `MCP_TIMEOUT`, which bounds an individual server's connect attempt. Most relevant to non-interactive sessions that issue a single query and need slow-connecting servers to be visible", + "purpose": "How long blocking MCP startup waits, in milliseconds, for the connection batch before snapshotting the tool list (default: 5000). Applies when `MCP_CONNECTION_NONBLOCKING=0` or for servers marked [`alwaysLoad: true`](/en/mcp#exempt-a-server-from-deferral). Servers still pending at the deadline keep connecting in the background but won't appear until the next query. Distinct from `MCP_TIMEOUT`, which bounds an individual server's connect attempt", "default": "5000" }, { "name": "MCP_CONNECTION_NONBLOCKING", - "purpose": "Set to `true` in non-interactive mode (`-p`) to skip the MCP connection wait entirely. Useful for scripted pipelines where MCP tools are not needed. Without this variable, the first query waits up to 5 seconds for `--mcp-config` server connections. Servers configured with [`alwaysLoad: true`](/en/mcp#exempt-a-server-from-deferral) always block startup regardless of this variable, since their tools must be present when the first prompt is built", - "default": null + "purpose": "Controls whether startup waits for MCP servers to connect before the first query. {/* min-version: 2.1.142 */}As of Claude Code v2.1.142, MCP startup is non-blocking by default: servers connect in the background and their tools become available as they finish. Set to `0` to restore the blocking 5-second connection wait. Servers configured with [`alwaysLoad: true`](/en/mcp#exempt-a-server-from-deferral) still block startup regardless, since their tools must be present when the first prompt is built", + "default": "servers" }, { "name": "MCP_OAUTH_CALLBACK_PORT", @@ -1090,7 +1110,7 @@ }, { "name": "MCP_TOOL_TIMEOUT", - "purpose": "Timeout in milliseconds for MCP tool execution (default: 100000000, about 28 hours)", + "purpose": "Timeout in milliseconds for MCP tool execution (default: 100000000, about 28 hours). A per-server `timeout` field in `.mcp.json` overrides this for that server. Values below 1000 are floored to one second", "default": "100000000" }, { diff --git a/catalog/hooks.json b/catalog/hooks.json index ff4dd27..1950896 100644 --- a/catalog/hooks.json +++ b/catalog/hooks.json @@ -1,6 +1,6 @@ { "source": "https://code.claude.com/docs/en/hooks.md", - "fetchedAt": "2026-05-18T12:34:58.886Z", + "fetchedAt": "2026-05-25T12:34:17.888Z", "count": 29, "events": [ { @@ -102,7 +102,7 @@ "name": "Notification", "when": "When Claude Code sends a notification", "inputFields": [], - "inputExample": "{\n \"session_id\": \"abc123\",\n \"transcript_path\": \"/Users/.../.claude/projects/.../00893aaf-19fa-41d2-8238-13269b9b3ca0.jsonl\",\n \"cwd\": \"/Users/...\",\n \"hook_event_name\": \"Notification\",\n \"message\": \"Claude needs your permission to use Bash\",\n \"title\": \"Permission needed\",\n \"notification_type\": \"permission_prompt\"\n}", + "inputExample": "{\n \"session_id\": \"abc123\",\n \"transcript_path\": \"/Users/.../.claude/projects/.../00893aaf-19fa-41d2-8238-13269b9b3ca0.jsonl\",\n \"cwd\": \"/Users/...\",\n \"hook_event_name\": \"Notification\",\n \"message\": \"Claude needs your permission\",\n \"title\": \"Permission needed\",\n \"notification_type\": \"permission_prompt\"\n}", "outputFields": [] }, { @@ -269,6 +269,14 @@ { "field": "additionalContext", "description": "String added to Claude's context at the start of the conversation, before the first prompt. See [Add context for Claude](#add-context-for-claude) for how the text is delivered and what to put in it" + }, + { + "field": "initialUserMessage", + "description": "String used as the first user message of the session. Applies in [non-interactive mode](/en/headless) (`-p`), where it becomes the first turn even if no prompt is provided. If a prompt is provided, it follows as the next turn. Unlike `additionalContext`, which attaches to an existing turn, this creates the turn" + }, + { + "field": "watchPaths", + "description": "Array of absolute paths to watch for [FileChanged](#filechanged) events during this session" } ] }, @@ -287,8 +295,45 @@ { "name": "Stop", "when": "When Claude finishes responding", - "inputFields": [], - "inputExample": "{\n \"session_id\": \"abc123\",\n \"transcript_path\": \"~/.claude/projects/.../00893aaf-19fa-41d2-8238-13269b9b3ca0.jsonl\",\n \"cwd\": \"/Users/...\",\n \"permission_mode\": \"default\",\n \"hook_event_name\": \"Stop\",\n \"stop_hook_active\": true,\n \"last_assistant_message\": \"I've completed the refactoring. Here's a summary...\"\n}", + "inputFields": [ + { + "field": "id", + "description": "Task identifier" + }, + { + "field": "type", + "description": "Friendly task-type label such as `shell`, `subagent`, `monitor`, `workflow`, `teammate`, `cloud session`, or `MCP task`. Each label identifies which Claude Code feature created the task. Falls back to the raw discriminant for unrecognized types" + }, + { + "field": "status", + "description": "Current task status" + }, + { + "field": "description", + "description": "Free-text description, capped at 1000 characters with an in-string `… [+N chars]` marker when clipped" + }, + { + "field": "command", + "description": "Shell command line, capped at 1000 characters. Present only for `shell` tasks" + }, + { + "field": "agent_type", + "description": "Subagent type name. Present only for `subagent` tasks" + }, + { + "field": "server", + "description": "MCP server name. Present only for `monitor` and `MCP task` tasks" + }, + { + "field": "tool", + "description": "MCP tool name. Present only for `monitor` and `MCP task` tasks" + }, + { + "field": "name", + "description": "Workflow name. Present only for `workflow` tasks" + } + ], + "inputExample": "{\n \"session_id\": \"abc123\",\n \"transcript_path\": \"~/.claude/projects/.../00893aaf-19fa-41d2-8238-13269b9b3ca0.jsonl\",\n \"cwd\": \"/Users/...\",\n \"permission_mode\": \"default\",\n \"hook_event_name\": \"Stop\",\n \"stop_hook_active\": true,\n \"last_assistant_message\": \"I've completed the refactoring. Here's a summary...\",\n \"background_tasks\": [\n {\n \"id\": \"task-001\",\n \"type\": \"shell\",\n \"status\": \"running\",\n \"description\": \"tail logs\",\n \"command\": \"tail -f /var/log/syslog\"\n }\n ],\n \"session_crons\": [\n {\n \"id\": \"cron-001\",\n \"schedule\": \"0 9 * * 1-5\",\n \"recurring\": true,\n \"prompt\": \"check the build\"\n }\n ]\n}", "outputFields": [ { "field": "decision", @@ -306,7 +351,7 @@ "inputFields": [ { "field": "error", - "description": "Error type: `rate_limit`, `authentication_failed`, `oauth_org_not_allowed`, `billing_error`, `invalid_request`, `server_error`, `max_output_tokens`, or `unknown`" + "description": "Error type: `rate_limit`, `authentication_failed`, `oauth_org_not_allowed`, `billing_error`, `invalid_request`, `model_not_found`, `server_error`, `max_output_tokens`, or `unknown`" }, { "field": "error_details", @@ -336,7 +381,7 @@ "name": "SubagentStop", "when": "When a subagent finishes", "inputFields": [], - "inputExample": "{\n \"session_id\": \"abc123\",\n \"transcript_path\": \"~/.claude/projects/.../abc123.jsonl\",\n \"cwd\": \"/Users/...\",\n \"permission_mode\": \"default\",\n \"hook_event_name\": \"SubagentStop\",\n \"stop_hook_active\": false,\n \"agent_id\": \"def456\",\n \"agent_type\": \"Explore\",\n \"agent_transcript_path\": \"~/.claude/projects/.../abc123/subagents/agent-def456.jsonl\",\n \"last_assistant_message\": \"Analysis complete. Found 3 potential issues...\"\n}", + "inputExample": "{\n \"session_id\": \"abc123\",\n \"transcript_path\": \"~/.claude/projects/.../abc123.jsonl\",\n \"cwd\": \"/Users/...\",\n \"permission_mode\": \"default\",\n \"hook_event_name\": \"SubagentStop\",\n \"stop_hook_active\": false,\n \"agent_id\": \"def456\",\n \"agent_type\": \"Explore\",\n \"agent_transcript_path\": \"~/.claude/projects/.../abc123/subagents/agent-def456.jsonl\",\n \"last_assistant_message\": \"Analysis complete. Found 3 potential issues...\",\n \"background_tasks\": [],\n \"session_crons\": []\n}", "outputFields": [] }, { @@ -452,6 +497,10 @@ { "field": "sessionTitle", "description": "Sets the session title. Use to name sessions automatically based on the prompt content" + }, + { + "field": "suppressOriginalPrompt", + "description": "If `true` when `decision` is `\"block\"`, omits the original prompt text from the block message shown to the user" } ] }, diff --git a/catalog/keybindings.json b/catalog/keybindings.json index 830fbb3..f68898b 100644 --- a/catalog/keybindings.json +++ b/catalog/keybindings.json @@ -1,6 +1,6 @@ { "source": "https://code.claude.com/docs/en/keybindings.md", - "fetchedAt": "2026-05-18T12:35:00.020Z", + "fetchedAt": "2026-05-25T12:34:19.029Z", "count": 20, "contexts": [ { diff --git a/catalog/mcp.json b/catalog/mcp.json index 2a643a7..f9cd1b8 100644 --- a/catalog/mcp.json +++ b/catalog/mcp.json @@ -1,6 +1,6 @@ { "source": "https://code.claude.com/docs/en/mcp.md", - "fetchedAt": "2026-05-18T12:34:59.431Z", + "fetchedAt": "2026-05-25T12:34:18.488Z", "count": 3, "scopes": [ { diff --git a/catalog/model-config.json b/catalog/model-config.json index 40a8657..f3a0ec9 100644 --- a/catalog/model-config.json +++ b/catalog/model-config.json @@ -1,6 +1,6 @@ { "source": "https://code.claude.com/docs/en/model-config.md", - "fetchedAt": "2026-05-22T14:01:08.197Z", + "fetchedAt": "2026-05-25T12:34:19.585Z", "count": 5, "effortLevels": [ { diff --git a/catalog/permissions.json b/catalog/permissions.json index 35f6a5c..2abac2e 100644 --- a/catalog/permissions.json +++ b/catalog/permissions.json @@ -1,6 +1,6 @@ { "source": "https://code.claude.com/docs/en/permissions.md", - "fetchedAt": "2026-05-18T12:34:59.743Z", + "fetchedAt": "2026-05-25T12:34:18.753Z", "count": 6, "modes": [ { diff --git a/catalog/settings.json b/catalog/settings.json index 89f9704..80d567e 100644 --- a/catalog/settings.json +++ b/catalog/settings.json @@ -1,8 +1,8 @@ { "source": "https://json.schemastore.org/claude-code-settings.json", "schemaId": "https://json.schemastore.org/claude-code-settings.json", - "fetchedAt": "2026-05-18T12:34:58.226Z", - "count": 304, + "fetchedAt": "2026-05-25T12:34:17.283Z", + "count": 326, "settings": [ { "key": "$schema", @@ -168,6 +168,14 @@ "type": "string" } }, + { + "key": "autoMode.hard_deny", + "type": "array", + "description": "Rules for the auto mode classifier hard-deny section. Hard-deny rules block unconditionally regardless of user intent. Replaces the built-in hard-deny rules entirely unless the literal string \"$defaults\" is included as an entry, which splices the built-in defaults in at that position. See https://code.claude.com/docs/en/permissions", + "items": { + "type": "string" + } + }, { "key": "autoMode.soft_deny", "type": "array", @@ -706,6 +714,11 @@ "type": "string", "description": "Google Vertex AI project ID" }, + { + "key": "env.ANTHROPIC_WORKSPACE_ID", + "type": "string", + "description": "Workspace ID for workload identity federation. Scopes the minted token to a specific workspace when the federation rule covers more than one. See https://code.claude.com/docs/en/env-vars" + }, { "key": "env.API_TIMEOUT_MS", "type": "string", @@ -882,6 +895,15 @@ ], "description": "Disable adaptive reasoning" }, + { + "key": "env.CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN", + "type": "string", + "enum": [ + "0", + "1" + ], + "description": "Disable alternate screen buffer rendering. When set to 1, keeps conversation in native scrollback instead of fullscreen renderer" + }, { "key": "env.CLAUDE_CODE_DISABLE_ATTACHMENTS", "type": "string", @@ -1084,6 +1106,15 @@ ], "description": "Refresh plugins at turn boundaries" }, + { + "key": "env.CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL", + "type": "string", + "enum": [ + "0", + "1" + ], + "description": "Enable feedback survey collection via OpenTelemetry for enterprises" + }, { "key": "env.CLAUDE_CODE_ENABLE_FINE_GRAINED_TOOL_STREAMING", "type": "string", @@ -1093,6 +1124,15 @@ ], "description": "Force fine-grained tool output streaming" }, + { + "key": "env.CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY", + "type": "string", + "enum": [ + "0", + "1" + ], + "description": "Enable model discovery from LLM gateway /v1/models endpoint when ANTHROPIC_BASE_URL points at an Anthropic-compatible gateway" + }, { "key": "env.CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION", "type": "string", @@ -1144,6 +1184,15 @@ "type": "string", "description": "Token limit for file read operations" }, + { + "key": "env.CLAUDE_CODE_FORCE_SYNC_OUTPUT", + "type": "string", + "enum": [ + "0", + "1" + ], + "description": "Force synchronous output flushing. When set to 1, forces synchronized output on terminals that auto-detection misses (e.g., Emacs eat)" + }, { "key": "env.CLAUDE_CODE_FORK_SUBAGENT", "type": "string", @@ -1275,6 +1324,15 @@ "type": "string", "description": "OAuth access token" }, + { + "key": "env.CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE", + "type": "string", + "enum": [ + "0", + "1" + ], + "description": "Set to 1 to pin fast mode to Claude Opus 4.6 instead of the default Opus 4.7. With this set, /fast runs on Opus 4.6. Without it, /fast runs on Opus 4.7. See https://code.claude.com/docs/en/fast-mode and https://code.claude.com/docs/en/env-vars" + }, { "key": "env.CLAUDE_CODE_OTEL_FLUSH_TIMEOUT_MS", "type": "string", @@ -1290,6 +1348,15 @@ "type": "string", "description": "OpenTelemetry shutdown timeout in milliseconds (default: 2000)" }, + { + "key": "env.CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE", + "type": "string", + "enum": [ + "0", + "1" + ], + "description": "Enable automatic package manager updates. When set, Claude Code runs the upgrade command in background on Homebrew/WinGet and prompts to restart" + }, { "key": "env.CLAUDE_CODE_PERFORCE_MODE", "type": "string", @@ -1318,11 +1385,29 @@ ], "description": "Keep plugin cache on update failure" }, + { + "key": "env.CLAUDE_CODE_PLUGIN_PREFER_HTTPS", + "type": "string", + "enum": [ + "0", + "1" + ], + "description": "Set to 1 to clone GitHub owner/repo plugin sources over HTTPS instead of SSH. Useful in CI runners, containers, or environments without a configured SSH key for github.com. See https://code.claude.com/docs/en/env-vars" + }, { "key": "env.CLAUDE_CODE_PLUGIN_SEED_DIR", "type": "string", "description": "Path(s) to pre-populated plugin directories" }, + { + "key": "env.CLAUDE_CODE_POWERSHELL_RESPECT_EXECUTION_POLICY", + "type": "string", + "enum": [ + "0", + "1" + ], + "description": "Set to 1 to stop Claude Code from passing -ExecutionPolicy Bypass when spawning PowerShell for tool calls, hooks, and status line commands. By default Claude Code bypasses execution policy so .ps1 scripts work on default-Restricted Windows installs. See https://code.claude.com/docs/en/env-vars" + }, { "key": "env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST", "type": "string", @@ -1452,6 +1537,11 @@ ], "description": "Skip Google authentication for Vertex AI" }, + { + "key": "env.CLAUDE_CODE_STOP_HOOK_BLOCK_CAP", + "type": "string", + "description": "Override the default maximum consecutive Stop hook blocks (default: 8) before the turn ends with a warning. Raise this when a stop hook legitimately needs more than 8 iterations to converge. See https://code.claude.com/docs/en/hooks-guide" + }, { "key": "env.CLAUDE_CODE_SUBAGENT_MODEL", "type": "string", @@ -1629,7 +1719,7 @@ "key": "fastMode", "type": "boolean", "default": false, - "description": "Enable fast mode for Opus 4.6 (research preview). Fast mode uses the same model with 2.5x faster output at higher per-token cost. Requires extra usage enabled. Alternatively, toggle with /fast command. See https://code.claude.com/docs/en/fast-mode" + "description": "Enable fast mode, which uses Claude Opus 4.7 by default for 2.5x faster output at higher per-token cost. Requires extra usage enabled. Toggle with /fast command. Set CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE=1 to pin fast mode to Opus 4.6. See https://code.claude.com/docs/en/fast-mode" }, { "key": "fastModePerSessionOptIn", @@ -2026,6 +2116,16 @@ ], "description": "Controls the output style for assistant responses. Built-in styles: default, Explanatory, Learning. Custom styles can be added in ~/.claude/output-styles/ or .claude/output-styles/. See https://code.claude.com/docs/en/output-styles" }, + { + "key": "parentSettingsBehavior", + "type": "string", + "enum": [ + "first-wins", + "merge" + ], + "default": "first-wins", + "description": "(Admin/managed settings only) Controls how SDK managedSettings (parent tier) merge with inherited settings. 'first-wins': first non-empty value applies (default). 'merge': merge arrays and objects. See https://code.claude.com/docs/en/server-managed-settings" + }, { "key": "permissions", "type": "object", @@ -2173,6 +2273,12 @@ "default": true, "description": "Automatically allow bash commands without prompting when they run in the sandbox. Only applies to commands that will run sandboxed. See https://code.claude.com/docs/en/sandboxing#sandbox-modes" }, + { + "key": "sandbox.bwrapPath", + "type": "string", + "minLength": 1, + "description": "(Managed setting only) Path to custom bubblewrap (bwrap) binary for Linux/WSL sandbox. Overrides default. See https://code.claude.com/docs/en/server-managed-settings" + }, { "key": "sandbox.enabled", "type": "boolean", @@ -2197,6 +2303,11 @@ "type": "string" } }, + { + "key": "sandbox.failIfUnavailable", + "type": "boolean", + "description": "When true, make sandbox startup a hard failure if required sandbox dependencies are missing. Default: false (sandbox is skipped with a warning). See https://code.claude.com/docs/en/sandboxing#enable-sandboxing" + }, { "key": "sandbox.filesystem", "type": "object", @@ -2341,6 +2452,12 @@ "minLength": 1, "description": "Path to the ripgrep binary to use" }, + { + "key": "sandbox.socatPath", + "type": "string", + "minLength": 1, + "description": "(Managed setting only) Path to custom socat binary for Linux/WSL network proxying. Overrides default. See https://code.claude.com/docs/en/server-managed-settings" + }, { "key": "showClearContextOnPlanAccept", "type": "boolean", @@ -2359,6 +2476,17 @@ "default": true, "description": "Show turn duration messages after responses (e.g., \"Cooked for 1m 6s\"). Set to false to hide these messages (default: true)" }, + { + "key": "skillOverrides", + "type": "object", + "examples": [ + { + "legacy-context": "name-only", + "deploy": "off" + } + ], + "description": "Per-skill visibility overrides. Controls whether skills appear to Claude and in the / picker. Values: 'on' (name and description shown, default), 'name-only' (name only), 'user-invocable-only' (hidden from Claude, visible in /), 'off' (hidden everywhere). Plugin skills are not affected by this setting. See https://code.claude.com/docs/en/skills#override-skill-visibility-from-settings" + }, { "key": "skipDangerousModePermissionPrompt", "type": "boolean", @@ -2452,6 +2580,11 @@ "type": "string", "description": "A shell command or path to a script that displays session information (context usage, costs, git status, etc.) by reading JSON data from stdin and writing output to stdout. See https://code.claude.com/docs/en/statusline" }, + { + "key": "statusLine.hideVimModeIndicator", + "type": "boolean", + "description": "Set to true when your status line script renders the vim mode indicator itself, to suppress the built-in vim mode display. See https://code.claude.com/docs/en/statusline#manually-configure-a-status-line" + }, { "key": "statusLine.padding", "type": "number", @@ -2688,6 +2821,23 @@ } ] }, + { + "key": "subagentStatusLine", + "type": "object", + "description": "Status line configuration for subagent sessions. See https://code.claude.com/docs/en/statusline#subagent-status-lines" + }, + { + "key": "subagentStatusLine.command", + "type": "string", + "minLength": 1, + "description": "Shell command to run for the subagent status line" + }, + { + "key": "subagentStatusLine.type", + "type": "string", + "const": "command", + "description": "Must be \"command\"" + }, { "key": "teammateMode", "type": "string", @@ -2739,6 +2889,26 @@ "type": "object", "description": "Configuration for --worktree sessions. See https://code.claude.com/docs/en/settings#worktree-settings" }, + { + "key": "worktree.baseRef", + "type": "string", + "enum": [ + "fresh", + "head" + ], + "default": "fresh", + "description": "Whether to branch worktrees from origin/ (fresh) or local HEAD (head). Default: fresh. Set to 'head' to preserve unpushed commits in new worktrees. See https://code.claude.com/docs/en/settings#worktree-settings" + }, + { + "key": "worktree.bgIsolation", + "type": "string", + "enum": [ + "worktree", + "none" + ], + "default": "worktree", + "description": "Isolation mode for background sessions. \"worktree\" blocks Edit/Write in main checkout until EnterWorktree is called; \"none\" lets background jobs edit the working copy directly without EnterWorktree, for repos where worktrees are impractical. See https://code.claude.com/docs/en/settings#worktree-settings" + }, { "key": "worktree.sparsePaths", "type": "array", diff --git a/catalog/sub-agents.json b/catalog/sub-agents.json index bf28469..6dfc1b8 100644 --- a/catalog/sub-agents.json +++ b/catalog/sub-agents.json @@ -1,6 +1,6 @@ { "source": "https://code.claude.com/docs/en/sub-agents.md", - "fetchedAt": "2026-05-18T12:34:59.151Z", + "fetchedAt": "2026-05-25T12:34:18.175Z", "count": 16, "fields": [ { @@ -41,7 +41,7 @@ { "name": "isolation", "required": false, - "description": "Set to `worktree` to run the subagent in a temporary [git worktree](/en/worktrees), giving it an isolated copy of the repository. The worktree is automatically cleaned up if the subagent makes no changes" + "description": "Set to `worktree` to run the subagent in a temporary [git worktree](/en/worktrees), giving it an isolated copy of the repository branched by default from your [default branch](/en/worktrees#choose-the-base-branch) rather than the parent session's `HEAD`. The worktree is automatically cleaned up if the subagent makes no changes" }, { "name": "maxTurns",