diff --git a/packages/core/models.json b/packages/core/models.json index 48e8d14d..d1aedbe0 100644 --- a/packages/core/models.json +++ b/packages/core/models.json @@ -1,6 +1,6 @@ { "schemaVersion": 2, - "generatedAt": "2026-09-10T03:55:18.872Z", + "generatedAt": "2026-09-10T06:44:04.383Z", "generatedBy": "scripts/generate-models-json.mjs", "sources": [ { @@ -21,16 +21,16 @@ ], "summary": { "modelCount": 4631, - "rawProviderModelCount": 10968, - "duplicateProviderModelRecordsMerged": 6337, + "rawProviderModelCount": 10970, + "duplicateProviderModelRecordsMerged": 6339, "providerCount": 230, "availabilityProviderCount": 314, "sourceCounts": { "models.dev": 2915, "litellm": 2337, - "openrouter": 435 + "openrouter": 436 }, - "pricingOfferCount": 11501, + "pricingOfferCount": 11504, "modelsWithPricing": 4414, "modelsWithoutPricing": 217, "modelsWith1MContext": 989, @@ -7284,8 +7284,8 @@ "sourceUrl": "https://models.dev/api.json", "sourceUnit": "usd_per_1m_tokens", "per1MTokens": { - "input": 0.176, - "output": 0.528 + "input": 0.352, + "output": 1.056 } } ] @@ -7509,8 +7509,8 @@ "sourceUrl": "https://models.dev/api.json", "sourceUnit": "usd_per_1m_tokens", "per1MTokens": { - "input": 0.5808, - "output": 1.7424 + "input": 1.122, + "output": 3.366 } } ] @@ -77018,6 +77018,7 @@ "temperature", "tool_choice", "tools", + "top_a", "top_k", "top_logprobs", "top_p" @@ -77834,6 +77835,7 @@ "temperature", "tool_choice", "tools", + "top_a", "top_k", "top_logprobs", "top_p" @@ -240238,6 +240240,7 @@ "edenai/cloudflare/@cf/deepseek-ai/deepseek-v4-pro-0813", "edenai/deepinfra/deepseek-ai/DeepSeek-V4-Pro-0813", "edenai/fireworks_ai/accounts/fireworks/models/deepseek-v4-pro-0813", + "edenai/nebius/deepseek-ai/DeepSeek-V4-Pro-0813", "edenai/tensorx/deepseek/deepseek-v4-pro-0813", "edenai/together_ai/deepseek-ai/DeepSeek-V4-Pro-0813", "empiriolabs/deepseek-v4-pro-0813", @@ -240263,7 +240266,7 @@ "vivgrid/deepseek-v4-pro-0813", "wandb/deepseek-ai/DeepSeek-V4-Pro-0813" ], - "mergedProviderModelRecords": 37, + "mergedProviderModelRecords": 38, "limits": { "contextTokens": 1048576, "inputTokens": 1048576, @@ -240477,6 +240480,18 @@ "output": 3.96 } }, + { + "source": "models.dev", + "provider": "edenai", + "model": "nebius/deepseek-ai/DeepSeek-V4-Pro-0813", + "sourceUrl": "https://models.dev/api.json", + "sourceUnit": "usd_per_1m_tokens", + "per1MTokens": { + "cacheRead": 1.32, + "input": 1.32, + "output": 3.96 + } + }, { "source": "models.dev", "provider": "edenai", @@ -240811,6 +240826,7 @@ "DeepSeek V4 Pro 0813 (Cloudflare)", "DeepSeek V4 Pro 0813 (Deep Infra)", "DeepSeek V4 Pro 0813 (Fireworks AI)", + "DeepSeek V4 Pro 0813 (Nebius)", "DeepSeek V4 Pro 0813 (TensorX)", "DeepSeek V4 Pro 0813 (Together AI)", "DeepSeek: DeepSeek V4 Pro 0813" @@ -240849,7 +240865,7 @@ "top_logprobs", "top_p" ], - "providerModelRecordCount": 37 + "providerModelRecordCount": 38 }, "sourceRecords": [ { @@ -241217,6 +241233,34 @@ ] } }, + { + "source": "models.dev", + "sourceUrl": "https://models.dev/api.json", + "provider": "edenai", + "providerName": "Eden AI", + "providerApi": "https://api.edenai.run/v3", + "providerDoc": "https://docs.edenai.co", + "model": "nebius/deepseek-ai/DeepSeek-V4-Pro-0813", + "modelKey": "nebius/deepseek-ai/DeepSeek-V4-Pro-0813", + "displayName": "DeepSeek V4 Pro 0813 (Nebius)", + "family": "deepseek-thinking", + "metadata": { + "lastUpdated": "2026-08-22", + "openWeights": true, + "releaseDate": "2026-08-12", + "reasoningOptions": [ + { + "type": "effort", + "values": [ + "none", + "low", + "high", + "max" + ] + } + ] + } + }, { "source": "models.dev", "sourceUrl": "https://models.dev/api.json", @@ -242795,17 +242839,20 @@ "displayName": "DeepSeek V4.1 Flash", "family": "deepseek-flash", "sources": [ - "models.dev" + "models.dev", + "openrouter" ], "providers": [ - "nano-gpt" + "nano-gpt", + "openrouter" ], "aliases": [ - "nano-gpt/deepseek/deepseek-v4.1-flash" + "nano-gpt/deepseek/deepseek-v4.1-flash", + "openrouter/deepseek/deepseek-v4.1-flash" ], - "mergedProviderModelRecords": 1, + "mergedProviderModelRecords": 2, "limits": { - "contextTokens": 1000000, + "contextTokens": 1048576, "inputTokens": 1000000, "outputTokens": 384000, "supports1MContext": true @@ -242836,7 +242883,11 @@ "temperature": true, "toolCalling": true, "videoInput": false, - "supports1MContext": true + "supports1MContext": true, + "parallelFunctionCalling": false, + "responseSchema": true, + "toolChoice": true, + "webSearch": false }, "pricing": { "currency": "USD", @@ -242853,12 +242904,81 @@ "input": 0.1562, "output": 0.3124 } + }, + { + "source": "models.dev", + "provider": "openrouter", + "model": "deepseek/deepseek-v4.1-flash", + "sourceUrl": "https://models.dev/api.json", + "sourceUnit": "usd_per_1m_tokens", + "per1MTokens": { + "cacheRead": 0.006, + "input": 0.3, + "output": 1.2 + } + }, + { + "source": "openrouter", + "provider": "openrouter", + "model": "deepseek/deepseek-v4.1-flash", + "sourceUrl": "https://openrouter.ai/api/v1/models", + "sourceUnit": "usd_per_token_for_token_fields", + "per1MTokens": { + "cacheRead": 0.006, + "input": 0.3, + "output": 1.2 + }, + "extra": { + "overrides": [ + { + "prompt": 1.5e-7, + "completion": 6e-7, + "input_cache_read": 3e-9 + }, + { + "utc_start": 0, + "utc_end": 100, + "prompt": 1.5e-7, + "completion": 6e-7, + "input_cache_read": 3e-9 + }, + { + "utc_start": 100, + "utc_end": 400, + "prompt": 3e-7, + "completion": 0.0000012, + "input_cache_read": 6e-9 + }, + { + "utc_start": 400, + "utc_end": 600, + "prompt": 1.5e-7, + "completion": 6e-7, + "input_cache_read": 3e-9 + }, + { + "utc_start": 600, + "utc_end": 1000, + "prompt": 3e-7, + "completion": 0.0000012, + "input_cache_read": 6e-9 + }, + { + "utc_start": 1000, + "utc_end": 0, + "prompt": 1.5e-7, + "completion": 6e-7, + "input_cache_read": 3e-9 + } + ] + } } ] }, "metadata": { "displayNames": [ - "DeepSeek V4.1 Flash" + "DeepSeek V4.1 Flash", + "DeepSeek: DeepSeek V4.1 Flash" ], "families": [ "deepseek-flash" @@ -242866,7 +242986,23 @@ "knowledgeCutoff": "2025-05", "releaseDate": "2026-09-10", "lastUpdated": "2026-09-10", - "providerModelRecordCount": 1 + "supportedParameters": [ + "frequency_penalty", + "include_reasoning", + "logprobs", + "max_tokens", + "presence_penalty", + "reasoning", + "reasoning_effort", + "response_format", + "stop", + "temperature", + "tool_choice", + "tools", + "top_logprobs", + "top_p" + ], + "providerModelRecordCount": 2 }, "sourceRecords": [ { @@ -242897,6 +243033,84 @@ } ] } + }, + { + "source": "models.dev", + "sourceUrl": "https://models.dev/api.json", + "provider": "openrouter", + "providerName": "OpenRouter", + "providerApi": "https://openrouter.ai/api/v1", + "providerDoc": "https://openrouter.ai/models", + "model": "deepseek/deepseek-v4.1-flash", + "modelKey": "deepseek/deepseek-v4.1-flash", + "displayName": "DeepSeek V4.1 Flash", + "family": "deepseek-flash", + "metadata": { + "knowledgeCutoff": "2025-05", + "lastUpdated": "2026-09-10", + "openWeights": true, + "releaseDate": "2026-09-10", + "reasoningOptions": [ + { + "type": "toggle" + }, + { + "type": "effort", + "values": [ + "low", + "high", + "max" + ] + } + ] + } + }, + { + "source": "openrouter", + "sourceUrl": "https://openrouter.ai/api/v1/models", + "provider": "openrouter", + "model": "deepseek/deepseek-v4.1-flash", + "displayName": "DeepSeek: DeepSeek V4.1 Flash", + "metadata": { + "canonicalSlug": "deepseek/deepseek-v4.1-flash-20260910", + "createdAt": "2026-09-10T06:21:25.000Z", + "huggingFaceId": "deepseek-ai/DeepSeek-V4.1-Flash", + "links": { + "details": "/api/v1/models/deepseek/deepseek-v4.1-flash-20260910/endpoints" + }, + "reasoning": { + "mandatory": false, + "default_enabled": true, + "supported_efforts": [ + "max", + "high", + "low" + ], + "default_effort": "high" + }, + "supportedParameters": [ + "frequency_penalty", + "include_reasoning", + "logprobs", + "max_tokens", + "presence_penalty", + "reasoning", + "reasoning_effort", + "response_format", + "stop", + "temperature", + "tool_choice", + "tools", + "top_logprobs", + "top_p" + ], + "tokenizer": "DeepSeek", + "topProvider": { + "context_length": 1048576, + "max_completion_tokens": 384000, + "is_moderated": false + } + } } ] }, @@ -573322,6 +573536,9 @@ "displayNames": [ "Omen Alpha" ], + "statuses": [ + "deprecated" + ], "releaseDate": "2026-09-04", "lastUpdated": "2026-09-04", "providerModelRecordCount": 1 @@ -573337,6 +573554,7 @@ "model": "omen-alpha", "modelKey": "omen-alpha", "displayName": "Omen Alpha", + "status": "deprecated", "metadata": { "lastUpdated": "2026-09-04", "openWeights": false, @@ -635645,9 +635863,9 @@ "sourceUrl": "https://models.dev/api.json", "sourceUnit": "usd_per_1m_tokens", "per1MTokens": { - "cacheRead": 0.025, - "input": 0.25, - "output": 0.9375 + "cacheRead": 0.004999999999999999, + "input": 0.04999999999999999, + "output": 0.18749999999999994 } } ] @@ -708198,9 +708416,9 @@ "sourceUrl": "https://models.dev/api.json", "sourceUnit": "usd_per_1m_tokens", "per1MTokens": { - "cacheRead": 0.014, - "input": 0.07, - "output": 0.2333 + "cacheRead": 0.015, + "input": 0.075, + "output": 0.25 } }, { @@ -708458,9 +708676,9 @@ "sourceUrl": "https://openrouter.ai/api/v1/models", "sourceUnit": "usd_per_token_for_token_fields", "per1MTokens": { - "cacheRead": 0.014, - "input": 0.07, - "output": 0.2333 + "cacheRead": 0.015, + "input": 0.075, + "output": 0.25 } } ] @@ -709852,6 +710070,7 @@ "metadata": { "canonicalSlug": "z-ai/glm-5.3-flash-20260826", "createdAt": "2026-08-26T13:59:01.000Z", + "expirationDate": "2098-12-31", "huggingFaceId": "zai-org/GLM-5.3-Flash", "links": { "details": "/api/v1/models/z-ai/glm-5.3-flash-20260826/endpoints" @@ -713087,9 +713306,9 @@ "sourceUrl": "https://models.dev/api.json", "sourceUnit": "usd_per_1m_tokens", "per1MTokens": { - "cacheRead": 0.014, - "input": 0.07, - "output": 0.2333 + "cacheRead": 0.015, + "input": 0.075, + "output": 0.25 } }, { @@ -713099,9 +713318,9 @@ "sourceUrl": "https://models.dev/api.json", "sourceUnit": "usd_per_1m_tokens", "per1MTokens": { - "cacheRead": 0.014, - "input": 0.07, - "output": 0.2333 + "cacheRead": 0.015, + "input": 0.075, + "output": 0.25 } }, { @@ -713111,9 +713330,9 @@ "sourceUrl": "https://openrouter.ai/api/v1/models", "sourceUnit": "usd_per_token_for_token_fields", "per1MTokens": { - "cacheRead": 0.014, - "input": 0.07, - "output": 0.2333 + "cacheRead": 0.015, + "input": 0.075, + "output": 0.25 } } ] diff --git a/packages/ui/src/generated/claude-code-config-options.json b/packages/ui/src/generated/claude-code-config-options.json index c1e8815b..e289838c 100644 --- a/packages/ui/src/generated/claude-code-config-options.json +++ b/packages/ui/src/generated/claude-code-config-options.json @@ -1,5 +1,5 @@ { - "generatedAt": "2026-09-02T10:12:02.127Z", + "generatedAt": "2026-09-10T06:44:07.582Z", "generatedBy": "scripts/generate-claude-code-config-options.mjs", "sourceUrls": { "envEn": "https://code.claude.com/docs/en/env-vars.md", @@ -111,12 +111,12 @@ ], "scope": "Any file. Entries from every file merge into one allowlist unless allowManagedMcpServersOnly is set. Deploy it in managed settings to enforce it.", "type": "array of objects, each with exactly one key: serverName, a string limited to letters, numbers, hyphens, and underscores; serverCommand, an array of the command and its arguments matched exactly; or serverUrl, a URL pattern with * wildcards", - "default": "unset, so every server is allowed; an empty array blocks every server", + "default": "unset, so every server is allowed; an empty array blocks every server users add", "example": "{\n \"allowedMcpServers\": [\n { \"serverCommand\": [\"npx\", \"-y\", \"@modelcontextprotocol/server-filesystem\"] }\n ]\n}", "valueKind": "number", "enumValues": [], "description": { - "en": "Allowlist the MCP servers people can use. Claude Code blocks any server that doesn't match an entry wherever it's defined, including plugin servers, servers passed with --mcp-config, and servers from managed-mcp.json. Built-in servers such as Claude in Chrome, the ide server Claude Code connects to in a running VS Code or JetBrains IDE, and servers the CLI itself configures are exempt from the allowlist, and the denylist still applies to them. In-process type: \"sdk\" servers, which the app that started the session registers, are exempt from both lists.", + "en": "Allowlist the MCP servers people can add. Claude Code blocks any server that doesn't match an entry wherever it's defined, including plugin servers, servers passed with --mcp-config, and servers from claude.ai.", "zh": "在 managed-settings.json 中设置时,用户可以配置的 MCP servers 的允许列表。未定义 = 无限制,空数组 = 锁定。适用于所有作用域。拒绝列表优先。请参阅 Managed MCP 配置" } }, @@ -511,6 +511,22 @@ "zh": "渲染屏幕阅读器友好的输出:没有装饰性边框或动画的平面文本。屏幕阅读器模式使用经典渲染器,因此在其活跃时 tui 设置无效;附加的后台会话仍渲染全屏。CLAUDE_AX_SCREEN_READER 环境变量和 --ax-screen-reader 标志优先。需要 Claude Code v2.1.181 或更高版本" } }, + { + "key": "bashOutputMaxChars", + "path": [ + "bashOutputMaxChars" + ], + "scope": "Any file", + "type": "number of characters, a positive integer. Claude Code clamps the value into the range 4000 to 128000", + "default": "unset, so Claude receives up to 30,000 characters inline", + "example": "{\n \"bashOutputMaxChars\": 100000\n}", + "valueKind": "integer", + "enumValues": [], + "description": { + "en": "Set how many characters of a successful Bash or PowerShell command's output Claude receives inline. When output passes the limit, Claude Code saves it to a file and Claude receives a short preview plus the file's path. Raise the limit when command output, such as a verbose build or a full test-suite log, routinely overflows the default and you want Claude to read it without opening the file. Requires Claude Code v2.1.261 or later.", + "zh": "Set how many characters of a successful Bash or PowerShell command's output Claude receives inline. When output passes the limit, Claude Code saves it to a file and Claude receives a short preview plus the file's path. Raise the limit when command output, such as a verbose build or a full test-suite log, routinely overflows the default and you want Claude to read it without opening the file. Requires Claude Code v2.1.261 or later." + } + }, { "key": "blockedMarketplaces", "path": [ @@ -674,7 +690,7 @@ "valueKind": "array", "enumValues": [], "description": { - "en": "Block specific MCP servers. Claude Code refuses to load a matching server wherever it's defined, including plugin servers, servers passed with --mcp-config, servers from managed-mcp.json, and the claude.ai connectors it fetches itself. In-process type: \"sdk\" servers, which the app that started the session registers, are exempt.", + "en": "Block specific MCP servers. Claude Code refuses to load a matching server wherever it's defined, including plugin servers, servers passed with --mcp-config, servers from managed-mcp.json, servers from managedMcpServers, and the claude.ai connectors it fetches itself. In-process type: \"sdk\" servers are exempt; the app that started the session registers them.", "zh": "在 managed-settings.json 中设置时,明确阻止的 MCP servers 的拒绝列表。适用于所有作用域,包括 managed servers。拒绝列表优先于允许列表。请参阅 Managed MCP 配置" } }, @@ -706,8 +722,8 @@ "valueKind": "string", "enumValues": [], "description": { - "en": "Set the deadline for dialogs Claude Code forwards to a remote client, such as a Remote Control or SDK host, for the approval dialog for a held cross-session message, and for the mid-session Fable usage-credits consent prompt in a session that may have nobody at the terminal. When no answer arrives before the deadline, Claude Code cancels the dialog and continues with its no-action default. Requires Claude Code v2.1.224 or later.", - "zh": "Set the deadline for dialogs Claude Code forwards to a remote client, such as a Remote Control or SDK host, for the approval dialog for a held cross-session message, and for the mid-session Fable usage-credits consent prompt in a session that may have nobody at the terminal. When no answer arrives before the deadline, Claude Code cancels the dialog and continues with its no-action default. Requires Claude Code v2.1.224 or later." + "en": "Set the deadline for dialogs Claude Code forwards to a remote client, such as a Remote Control or SDK host, and for the approval dialog for a held cross-session message. On Claude Code v2.1.236 or later, the same deadline bounds the mid-session Fable usage-credits consent prompt in a session that may have nobody at the terminal. When no answer arrives before the deadline, Claude Code cancels the dialog and continues with its no-action default. Requires Claude Code v2.1.224 or later.", + "zh": "Set the deadline for dialogs Claude Code forwards to a remote client, such as a Remote Control or SDK host, and for the approval dialog for a held cross-session message. On Claude Code v2.1.236 or later, the same deadline bounds the mid-session Fable usage-credits consent prompt in a session that may have nobody at the terminal. When no answer arrives before the deadline, Claude Code cancels the dialog and continues with its no-action default. Requires Claude Code v2.1.224 or later." } }, { @@ -1278,7 +1294,7 @@ "valueKind": "string", "enumValues": [], "description": { - "en": "Set the gateway URL the /login Cloud gateway screen connects to, so people reach your cloud gateway without typing its address. The screen has no URL field: with this key set, it shows your gateway URL and connects when the person presses Enter; without it, it tells them to contact their IT administrator. When forceLoginMethod is unset, this key alone opens the Cloud gateway screen. forceLoginMethod: \"gateway\" also opens it and removes the login-method picker, and a claudeai or console value there takes precedence over this key. Set both keys so the screen connects instead of showing an error.", + "en": "Set the gateway URL the /login Cloud gateway screen connects to, so people reach your cloud gateway without typing its address. The screen has no URL field: with this key set, it shows your gateway URL and connects when the person presses Enter; without it, it tells them to contact their IT administrator.", "zh": "在 /login 云网关屏幕上预填充并锁定网关 URL。此键或 forceLoginMethod: \"gateway\" 中的任一个都会显示该屏幕;同时设置两者以便 URL 被填充。仅在 managed 策略层受尊重;在用户和项目设置中被忽略。请参阅 Claude apps gateway" } }, @@ -1452,17 +1468,14 @@ "keybindingFlavor" ], "scope": "Any file", - "type": "string, one of:", - "default": "\"classic\"", - "example": "{\n \"keybindingFlavor\": \"readline\"\n}", + "type": "string, \"classic\" or \"readline\"", + "default": "unset", + "example": "value", "valueKind": "string", - "enumValues": [ - "classic", - "readline" - ], + "enumValues": [], "description": { - "en": "Choose which convention Ctrl+W follows in the prompt input. Set it to \"readline\" to make Ctrl+W delete back to the previous whitespace, as Bash does, so a path or a --flag=value goes in one press. Requires Claude Code v2.1.238 or later.", - "zh": "Choose which convention Ctrl+W follows in the prompt input. Set it to \"readline\" to make Ctrl+W delete back to the previous whitespace, as Bash does, so a path or a --flag=value goes in one press. Requires Claude Code v2.1.238 or later." + "en": "In v2.1.238 through v2.1.260, setting it to \"readline\" made Ctrl+W delete back to the previous whitespace instead of only the previous word.", + "zh": "In v2.1.238 through v2.1.260, setting it to \"readline\" made Ctrl+W delete back to the previous whitespace instead of only the previous word." } }, { @@ -1481,6 +1494,22 @@ "zh": "配置 Claude 的首选响应语言(例如 \"japanese\"、\"spanish\"、\"french\")。Claude 将默认以此语言响应。也设置语音听写语言和自动生成的会话标题。从 v2.1.176 开始,未设置时,会话标题与您的对话语言匹配" } }, + { + "key": "managedMcpServers", + "path": [ + "managedMcpServers" + ], + "scope": "Managed. Claude Code drops the key with a warning in user, project, and local settings, and doesn't read it in the Claude Desktop app's Code tab on a third-party deployment or in the app's Cowork sessions, where Claude Desktop supplies and locks those sessions' MCP servers itself.", + "type": "object keyed by server name. Each entry has the .mcp.json shape for an http or sse server: a required https:// url, and optionally headers, oauth, and the other HTTP and SSE options. Claude Code drops entries that fail validation, and What an entry can contain lists the conditions", + "default": "unset, so managed settings provide no servers", + "example": "{\n \"managedMcpServers\": {\n \"search\": {\n \"type\": \"http\",\n \"url\": \"https://search.example.com/mcp\"\n }\n }\n}", + "valueKind": "object", + "enumValues": [], + "description": { + "en": "Provide remote MCP servers to every user from managed settings. Users keep the servers they add themselves and can't edit or remove the ones you provide. Requires Claude Code v2.1.259 or later.", + "zh": "Provide remote MCP servers to every user from managed settings. Users keep the servers they add themselves and can't edit or remove the ones you provide. Requires Claude Code v2.1.259 or later." + } + }, { "key": "managedSourcesBehavior", "path": [ @@ -1500,6 +1529,22 @@ "zh": "Choose whether Claude Code applies only the highest-priority managed source your organization delivers, or combines every admin source it delivers. By default Claude Code takes the highest-priority source that carries a policy key and ignores the rest. A policy key is any settings key other than this one and wslInheritsWindowsSettings. So once server-managed settings or an MDM policy deliver a policy key, a managed-settings.json file contributes only the keys Claude Code reads from every admin source. With \"merge\", every admin source you deliver contributes its keys to one combined policy. Requires Claude Code v2.1.242 or later." } }, + { + "key": "maxEffortLevel", + "path": [ + "maxEffortLevel" + ], + "scope": "Any file. Deploy it in managed settings to enforce it for an organization. When several scopes set a cap, the lowest applies, so a cap set in one scope can't be raised from another", + "type": "string, one of \"low\", \"medium\", \"high\", \"xhigh\", or \"max\". A \"max\" value sets no cap", + "default": "unset, so no cap applies", + "example": "{\n \"maxEffortLevel\": \"medium\",\n \"modelSettings\": {\n \"claude-sonnet-4-6\": {\n \"maxEffortLevel\": \"max\"\n }\n }\n}", + "valueKind": "object", + "enumValues": [], + "description": { + "en": "Cap the effort level a session can use, leaving lower levels available. Any higher level runs at the cap instead, including one from /effort, the /model picker, --effort, CLAUDE_CODE_EFFORT_LEVEL, or the model's own default. Claude Code applies the cap itself before each request, so it holds on every provider, including Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry. Requires Claude Code v2.1.267 or later.", + "zh": "Cap the effort level a session can use, leaving lower levels available. Any higher level runs at the cap instead, including one from /effort, the /model picker, --effort, CLAUDE_CODE_EFFORT_LEVEL, or the model's own default. Claude Code applies the cap itself before each request, so it holds on every provider, including Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry. Requires Claude Code v2.1.267 or later." + } + }, { "key": "minimumVersion", "path": [ @@ -1586,14 +1631,14 @@ "modelSettings" ], "scope": "Any file", - "type": "object mapping a model name to an object with an effortLevel field, one of \"low\", \"medium\", \"high\", or \"xhigh\"", + "type": "object mapping a model name to an object with an effortLevel field, one of \"low\", \"medium\", \"high\", or \"xhigh\", a maxEffortLevel field, or both", "default": "unset", "example": "{\n \"modelSettings\": {\n \"claude-opus-5\": {\n \"effortLevel\": \"medium\"\n }\n }\n}", "valueKind": "object", "enumValues": [], "description": { - "en": "Requires Claude Code v2.1.251 or later. Save an effort level for each model you use. In an interactive session on your machine, when you run /effort low, medium, high, or xhigh or move the /model picker's effort slider, Claude Code saves that level here under the model you're using, so you rarely edit this key yourself. The effortLevel entry lists the sessions in which /effort applies to that session only. Edit the key by hand to change or remove a level you saved.", - "zh": "Requires Claude Code v2.1.251 or later. Save an effort level for each model you use. In an interactive session on your machine, when you run /effort low, medium, high, or xhigh or move the /model picker's effort slider, Claude Code saves that level here under the model you're using, so you rarely edit this key yourself. The effortLevel entry lists the sessions in which /effort applies to that session only. Edit the key by hand to change or remove a level you saved." + "en": "Save an effort level for each model you use. In an interactive session on your machine, when you save low, medium, high, or xhigh as your default with /effort or the /model picker's effort slider, Claude Code writes that level here under the model you're using, so you rarely edit this key yourself. The effortLevel entry lists the sessions where /effort applies to that session only. Requires Claude Code v2.1.251 or later.", + "zh": "Save an effort level for each model you use. In an interactive session on your machine, when you save low, medium, high, or xhigh as your default with /effort or the /model picker's effort slider, Claude Code writes that level here under the model you're using, so you rarely edit this key yourself. The effortLevel entry lists the sessions where /effort applies to that session only. Requires Claude Code v2.1.251 or later." } }, { @@ -1624,7 +1669,7 @@ "valueKind": "string", "enumValues": [], "description": { - "en": "Select an output style by name. An output style is a saved set of instructions that Claude Code adds to the system prompt to change Claude's role, tone, and output format, such as the built-in Explanatory and Learning styles or one you wrote yourself.", + "en": "Select an output style by name. An output style is a saved set of instructions that changes Claude's role, tone, and output format, such as the built-in Explanatory and Learning styles or one you wrote yourself.", "zh": "配置输出样式以调整系统提示。请参阅输出样式文档" } }, @@ -1653,7 +1698,7 @@ "permissions" ], "scope": "Any file", - "type": "object with allow, ask, deny, additionalDirectories, defaultMode, disableBypassPermissionsMode, and disableAutoMode", + "type": "object with allow, ask, deny, additionalDirectories, blockReadsOutsideWorkingDirectories, defaultMode, disableBypassPermissionsMode, and disableAutoMode", "default": "unset", "example": "{\n \"permissions\": {\n \"allow\": [\"Bash(npm run *)\"],\n \"ask\": [\"Bash(git push *)\"],\n \"deny\": [\"Read(./.env)\"],\n \"defaultMode\": \"acceptEdits\"\n }\n}", "valueKind": "object", @@ -1714,6 +1759,23 @@ "zh": "List the tool uses that prompt you for confirmation even in a permission mode that would otherwise approve them, such as acceptEdits or bypassPermissions. In dontAsk mode Claude Code denies a matching tool use instead of prompting." } }, + { + "key": "permissions.blockReadsOutsideWorkingDirectories", + "path": [ + "permissions", + "blockReadsOutsideWorkingDirectories" + ], + "scope": "Any file. If any settings source sets true, the block applies, so a repository's checked-in file can turn the block on for a project but can't lift a block you set.", + "type": "Boolean", + "default": "unset, so reads outside the working directories follow your permission mode and rules", + "example": "{\n \"permissions\": {\n \"blockReadsOutsideWorkingDirectories\": true\n }\n}", + "valueKind": "boolean", + "enumValues": [], + "description": { + "en": "Stop Claude from reading paths outside the session's working directories with the Read, Grep, Glob, and LSP tools, in every permission mode including bypassPermissions. A Bash command that reads a matching path through a file command Claude Code recognizes, such as cat, prompts you even in auto mode and bypassPermissions mode. Requires Claude Code v2.1.257 or later.", + "zh": "Stop Claude from reading paths outside the session's working directories with the Read, Grep, Glob, and LSP tools, in every permission mode including bypassPermissions. A Bash command that reads a matching path through a file command Claude Code recognizes, such as cat, prompts you even in auto mode and bypassPermissions mode. Requires Claude Code v2.1.257 or later." + } + }, { "key": "permissions.defaultMode", "path": [ @@ -1752,8 +1814,8 @@ "valueKind": "array", "enumValues": [], "description": { - "en": "List the tool uses Claude Code blocks. Use it for files that hold API keys, secrets, or environment values: Claude Code excludes matching files from file discovery and search results, denies reads of them, and blocks the Edit and Write tools on the matching paths. Read and Edit deny rules apply to Claude's built-in file tools and to file commands Claude Code recognizes in Bash, such as cat, head, tail, and sed; they don't apply to arbitrary subprocesses, so for OS-level enforcement enable the sandbox.", - "zh": "List the tool uses Claude Code blocks. Use it for files that hold API keys, secrets, or environment values: Claude Code excludes matching files from file discovery and search results, denies reads of them, and blocks the Edit and Write tools on the matching paths. Read and Edit deny rules apply to Claude's built-in file tools and to file commands Claude Code recognizes in Bash, such as cat, head, tail, and sed; they don't apply to arbitrary subprocesses, so for OS-level enforcement enable the sandbox." + "en": "List the tool uses Claude Code blocks. Use it for files that hold API keys, secrets, or environment values: Claude Code excludes matching files from file discovery and search results, denies reads of them, and blocks the Edit and Write tools on the matching paths. Read and Edit deny rules apply to Claude's built-in file tools, to file commands Claude Code recognizes in Bash, such as cat, head, tail, and sed, and to the targets of Bash redirections such as > file and < file; they don't apply to a command that reads files without naming them, such as grep -r pattern ., or to arbitrary subprocesses, so for OS-level enforcement enable the sandbox.", + "zh": "List the tool uses Claude Code blocks. Use it for files that hold API keys, secrets, or environment values: Claude Code excludes matching files from file discovery and search results, denies reads of them, and blocks the Edit and Write tools on the matching paths. Read and Edit deny rules apply to Claude's built-in file tools, to file commands Claude Code recognizes in Bash, such as cat, head, tail, and sed, and to the targets of Bash redirections such as > file and < file; they don't apply to a command that reads files without naming them, such as grep -r pattern ., or to arbitrary subprocesses, so for OS-level enforcement enable the sandbox." } }, { @@ -1842,7 +1904,7 @@ "path": [ "policyHelper" ], - "scope": "Managed. Read from the macOS plist, the Windows HKLM registry, or the managed settings file. Claude Code reads the key from the highest-priority managed source that delivers settings and runs the helper only when that source is one of those three; it ignores the key in server-managed settings, the HKCU registry, and host-supplied parent settings.", + "scope": "Managed. Read from the macOS plist, the Windows HKLM registry, or the managed settings file. Claude Code reads the key from the highest-priority managed source that carries a policy key and runs the helper only when that source is one of those three; it ignores the key in server-managed settings, the HKCU registry, and host-supplied parent settings.", "type": "object with path, timeoutMs, and refreshIntervalMs", "default": "unset, so no helper runs", "example": "{\n \"policyHelper\": {\n \"path\": \"/usr/local/bin/claude-policy\",\n \"timeoutMs\": 5000,\n \"refreshIntervalMs\": 300000\n }\n}", @@ -2002,12 +2064,12 @@ ], "scope": "Any file", "type": "string, a URL template using any of the five placeholders", - "default": "unset, so links use the gh-reported URL", + "default": "unset", "example": "{\n \"prUrlTemplate\": \"https://reviews.example.com/{owner}/{repo}/pull/{number}\"\n}", "valueKind": "string", "enumValues": [], "description": { - "en": "Point the PR links Claude Code renders, in the footer badge and in tool-result summaries, at an internal code-review tool instead of github.com. Claude Code substitutes {host}, {owner}, {repo}, {number}, and {url} from the gh-reported PR URL. The GitLab merge request badge keeps its GitLab URL.", + "en": "Point the PR links Claude Code renders, in the footer badge and in tool-result summaries, at an internal code-review tool instead of github.com. Claude Code substitutes {host}, {owner}, {repo}, {number}, and {url} from the PR URL. GitLab merge request links on both surfaces keep their GitLab URL.", "zh": "PR 徽章的 URL 模板,显示在页脚和工具结果摘要中。替换来自 gh 报告的 PR URL 中的 {host}、{owner}、{repo}、{number} 和 {url}。使用指向内部代码审查工具而不是 github.com 的 PR 链接。不影响 Claude 散文中的 #123 自动链接" } }, @@ -2154,8 +2216,8 @@ "valueKind": "boolean", "enumValues": [], "description": { - "en": "Let Claude retry a command outside the sandbox with the dangerouslyDisableSandbox parameter after the sandbox blocks it. Set it to false so Claude Code ignores that parameter completely and every command must run sandboxed or appear in excludedCommands, which the /sandbox Overrides tab shows as Strict sandbox mode. Use false in managed settings for policies that require strict sandboxing.", - "zh": "Let Claude retry a command outside the sandbox with the dangerouslyDisableSandbox parameter after the sandbox blocks it. Set it to false so Claude Code ignores that parameter completely and every command must run sandboxed or appear in excludedCommands, which the /sandbox Overrides tab shows as Strict sandbox mode. Use false in managed settings for policies that require strict sandboxing." + "en": "Let Claude retry a command outside the sandbox with the dangerouslyDisableSandbox parameter after the sandbox blocks it. Set it to false so Claude Code ignores that parameter completely and every command Claude runs must be sandboxed or appear in excludedCommands. The /sandbox Overrides tab shows that state as Strict sandbox mode. Use false in managed settings for policies that require strict sandboxing.", + "zh": "Let Claude retry a command outside the sandbox with the dangerouslyDisableSandbox parameter after the sandbox blocks it. Set it to false so Claude Code ignores that parameter completely and every command Claude runs must be sandboxed or appear in excludedCommands. The /sandbox Overrides tab shows that state as Strict sandbox mode. Use false in managed settings for policies that require strict sandboxing." } }, { @@ -2361,7 +2423,7 @@ ], "scope": "Any file", "type": "array of command patterns", - "default": "unset, so every command Claude Code can sandbox runs sandboxed", + "default": "unset, so no command is excluded", "example": "{\n \"sandbox\": {\n \"excludedCommands\": [\"docker *\"]\n }\n}", "valueKind": "array", "enumValues": [], @@ -2822,7 +2884,7 @@ "valueKind": "boolean", "enumValues": [], "description": { - "en": "Show or hide the turn duration message after each response, such as \"Cooked for 1m 6s\". Appears in /config as Show turn duration.", + "en": "Show or hide the turn duration message after each response, such as \"Cooked for 1m 6s · done 6:05 PM\". The clock after \"done\" shows when the turn finished; timeFormat and timeZone control its format and zone. Appears in /config as Show turn duration.", "zh": "默认:true。在响应后显示轮次持续时间消息,例如\"Cooked for 1m 6s\"。在 /config 中显示为显示轮次持续时间" } }, @@ -3121,8 +3183,8 @@ "valueKind": "array", "enumValues": [], "description": { - "en": "Lock the mcp surface. Claude Code stops loading MCP servers from ~/.claude.json and .mcp.json, and keeps loading plugin MCP servers and managed-mcp.json servers.", - "zh": "Lock the mcp surface. Claude Code stops loading MCP servers from ~/.claude.json and .mcp.json, and keeps loading plugin MCP servers and managed-mcp.json servers." + "en": "Lock the mcp surface. Claude Code stops loading MCP servers from ~/.claude.json and .mcp.json, and keeps loading plugin MCP servers, managed-mcp.json servers, and servers from managedMcpServers.", + "zh": "Lock the mcp surface. Claude Code stops loading MCP servers from ~/.claude.json and .mcp.json, and keeps loading plugin MCP servers, managed-mcp.json servers, and servers from managedMcpServers." } }, { @@ -3225,6 +3287,22 @@ "zh": "禁用 diffs、代码块和文件预览中的语法高亮" } }, + { + "key": "taskOutputMaxChars", + "path": [ + "taskOutputMaxChars" + ], + "scope": "Any file", + "type": "number of characters, a positive integer. Claude Code clamps the value into the range 4000 to 128000", + "default": "unset, so Claude receives up to 32,000 characters inline", + "example": "{\n \"taskOutputMaxChars\": 100000\n}", + "valueKind": "integer", + "enumValues": [], + "description": { + "en": "Set how many characters of a background task's output Claude receives inline when Claude reads the task with the TaskOutput tool. When a finished task's output is longer, Claude receives the most recent characters. Raise the limit when your background tasks routinely produce more output than the default. Requires Claude Code v2.1.261 or later.", + "zh": "Set how many characters of a background task's output Claude receives inline when Claude reads the task with the TaskOutput tool. When a finished task's output is longer, Claude receives the most recent characters. Raise the limit when your background tasks routinely produce more output than the default. Requires Claude Code v2.1.261 or later." + } + }, { "key": "teammateMode", "path": [ @@ -3258,7 +3336,7 @@ "valueKind": "boolean", "enumValues": [], "description": { - "en": "Some terminals can show a progress indicator on the tab or in the taskbar for the program running in them. While Claude is working, Claude Code reports an in-progress state to the terminal and clears it when the turn ends, so you can see from another tab or window whether Claude is still busy. It does so only in terminals that support the indicator: ConEmu, Ghostty 1.2.0 or later, and iTerm2 3.6.6 or later. Set this key to false to stop reporting it. Appears in /config as Terminal progress bar.", + "en": "Some terminals can show a progress indicator on the tab or in the taskbar for the program running in them. While Claude is working, Claude Code reports an in-progress state to the terminal, so you can see from another tab or window whether the session is still busy. The indicator stays visible after the turn ends while background subagents or dynamic workflows are still running, and clears once the session is idle.", "zh": "默认:true。在支持的终端中显示终端进度条:ConEmu、Ghostty 1.2.0+ 和 iTerm2 3.6.6+。在 /config 中显示为终端进度条" } }, @@ -3371,7 +3449,7 @@ "valueKind": "boolean", "enumValues": [], "description": { - "en": "Start sessions with ultracode on. With it on, Claude plans a workflow for each substantive task instead of waiting for you to ask. Claude plans workflows only when dynamic workflows are enabled for you and your model supports xhigh effort. Either way, ultracode: true runs the session at xhigh effort. Claude Code reads this key but never writes it: /effort ultracode turns ultracode on for the current session only.", + "en": "Start sessions with ultracode on. With it on, Claude plans a workflow for each substantive task instead of waiting for you to ask. Claude plans workflows only when dynamic workflows are enabled for you, your model supports xhigh effort, and no effort cap below xhigh applies. Either way, ultracode: true runs the session at xhigh effort, or at the cap when an effort cap is lower. Claude Code reads this key but never writes it: /effort ultracode turns ultracode on for the current session only.", "zh": "为会话打开 ultracode。此键不从 settings.json 读取。通过 /effort ultracode、--settings 或 Agent SDK 控制请求设置。要启动已打开 ultracode 的会话,使用 claude --effort ultracode 启动,需要 Claude Code v2.1.203 或更高版本" } }, @@ -3506,7 +3584,7 @@ "valueKind": "boolean", "enumValues": [], "description": { - "en": "Choose whether typing the keyword ultracode in a prompt triggers a dynamic workflow. Set it to false to type the word without triggering one. Requires Claude Code v2.1.157 or later.", + "en": "Choose whether typing the keyword ultracode in a prompt triggers a dynamic workflow. Set it to false to type the word without triggering one.", "zh": "默认:true。提示中的单词 ultracode 是否触发动态工作流。设置为 false 以键入单词而不触发一个。Ultracode 努力设置、/workflows 和保存的工作流命令不受影响。在 /config 中显示为Ultracode 关键字触发。在 v2.1.157 中添加;在 v2.1.160 之前触发关键字是 workflow" } }, @@ -3645,7 +3723,7 @@ "valueKind": "string", "description": { "en": "API key sent as X-Api-Key header. When set, this key is used instead of your Claude Pro, Max, Team, or Enterprise subscription even if you are logged in. In non-interactive mode (-p), the key is always used when present. In interactive mode, you are prompted to approve the key once before it overrides your subscription. To use your subscription instead, run unset ANTHROPIC_API_KEY", - "zh": "作为 X-Api-Key 标头发送的 API 密钥。设置后,即使您已登录,此密钥也会用于替代您的 Claude Pro、Max、Team 或 Enterprise 订阅。在非交互模式(-p)中,存在时始终使用该密钥。在交互模式中,系统会提示您在密钥覆盖订阅之前批准一次。要改用您的订阅,请运行 unset ANTHROPIC_API_KEY" + "zh": "作为 X-Api-Key 标头发送的 API 密钥。设置此密钥后,即使您已登录,也会使用此密钥而不是您的 Claude Pro、Max、Team 或 Enterprise 订阅。在非交互模式(-p)中,存在密钥时始终使用该密钥。在交互模式中,系统会提示您在密钥覆盖您的订阅之前批准一次。要改用您的订阅,请运行 unset ANTHROPIC_API_KEY" } }, { @@ -3654,7 +3732,7 @@ "valueKind": "string", "description": { "en": "Custom value for the Authorization header (the value you set here will be prefixed with Bearer )", - "zh": "Authorization 标头的自定义值(您在此处设置的值将以 Bearer 为前缀)" + "zh": "Authorization 标头的自定义值(您设置的值将以 Bearer 为前缀)" } }, { @@ -3663,7 +3741,7 @@ "valueKind": "string", "description": { "en": "Workspace API key for Claude Platform on AWS, generated in the AWS Console. Sent as x-api-key and takes precedence over AWS SigV4", - "zh": "Claude Platform on AWS 的工作区 API 密钥,在 AWS 控制台中生成。作为 x-api-key 发送,优先于 AWS SigV4" + "zh": "AWS 上的 Claude Platform 的工作区 API 密钥,在 AWS 控制台中生成。作为 x-api-key 发送,优先于 AWS SigV4" } }, { @@ -3672,7 +3750,7 @@ "valueKind": "string", "description": { "en": "Override the Claude Platform on AWS endpoint URL. Use for custom regions or when routing through an LLM gateway. Defaults to https://aws-external-anthropic.{region}.api.aws. Claude Code resolves the region with the same precedence as on Amazon Bedrock", - "zh": "覆盖 Claude Platform on AWS 端点 URL。用于自定义区域或通过 LLM 网关路由时。默认为 https://aws-external-anthropic.{AWS_REGION}.api.aws" + "zh": "覆盖 AWS 上的 Claude Platform 端点 URL。用于自定义区域或通过 LLM 网关 路由时。默认为 https://aws-external-anthropic.{region}.api.aws。Claude Code 使用 与 Amazon Bedrock 相同的优先级 解析区域" } }, { @@ -3681,7 +3759,7 @@ "valueKind": "string", "description": { "en": "Required for Claude Platform on AWS. Sent on every request as the anthropic-workspace-id header", - "zh": "Claude Platform on AWS 所需。在每个请求中作为 anthropic-workspace-id 标头发送" + "zh": "AWS 上的 Claude Platform 所需。在每个请求上作为 anthropic-workspace-id 标头发送" } }, { @@ -3690,7 +3768,7 @@ "valueKind": "string", "description": { "en": "Override the API endpoint to route requests through a proxy or gateway. When set to a non-first-party host, MCP tool search is disabled by default. Set ENABLE_TOOL_SEARCH=true if your proxy forwards tool_reference blocks. As of v2.1.196, Remote Control is disabled when this points at a host other than api.anthropic.com, matching its behavior on Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry", - "zh": "覆盖 API 端点以通过代理或网关路由请求。设置为非第一方主机时,MCP 工具搜索默认禁用。如果您的代理转发 tool_reference 块,请设置 ENABLE_TOOL_SEARCH=true。从 v2.1.196 开始,当此变量指向 api.anthropic.com 以外的主机时,Remote Control 被禁用,与其在 Amazon Bedrock、Google Cloud's Agent Platform 和 Microsoft Foundry 上的行为相匹配" + "zh": "覆盖 API 端点以通过代理或网关路由请求。设置为非第一方主机时,MCP 工具搜索 默认禁用。如果您的代理转发 tool_reference 块,设置 ENABLE_TOOL_SEARCH=true。从 v2.1.196 开始,当此指向除 api.anthropic.com 之外的主机时,Remote Control 被禁用,与其在 Amazon Bedrock、Google Cloud 的 Agent Platform 和 Microsoft Foundry 上的行为相匹配" } }, { @@ -3699,7 +3777,7 @@ "valueKind": "string", "description": { "en": "Override the Amazon Bedrock endpoint URL. Use for custom Amazon Bedrock endpoints or when routing through an LLM gateway. See Amazon Bedrock", - "zh": "覆盖 Amazon Bedrock 端点 URL。用于自定义 Amazon Bedrock 端点或通过 LLM 网关路由时。请参阅 Amazon Bedrock" + "zh": "覆盖 Amazon Bedrock 端点 URL。用于自定义 Amazon Bedrock 端点或通过 LLM 网关 路由时。请参阅 Amazon Bedrock" } }, { @@ -3717,7 +3795,7 @@ "valueKind": "string", "description": { "en": "Cross-region inference profile prefix (us, eu, apac, jp, au, or global) Claude Code tries first instead of the one derived from the AWS region. Ignored in AWS GovCloud regions. Requires Claude Code v2.1.224 or later. See Amazon Bedrock", - "zh": "Cross-region inference profile prefix (us, eu, apac, jp, au, or global) Claude Code tries first instead of the one derived from the AWS region. Ignored in AWS GovCloud regions. Requires Claude Code v2.1.224 or later. See Amazon Bedrock" + "zh": "跨区域推理配置文件前缀(us、eu、apac、jp、au 或 global)Claude Code 首先尝试而不是从 AWS 区域派生的前缀。在 AWS GovCloud 区域中被忽略。需要 Claude Code v2.1.224 或更高版本。请参阅 Amazon Bedrock" } }, { @@ -3735,7 +3813,7 @@ "valueKind": "string", "description": { "en": "Comma-separated list of additional anthropic-beta header values to include in API requests. Claude Code already sends the beta headers it needs; use this to opt into an Anthropic API beta before Claude Code adds native support. Unlike the --betas flag, which requires API key authentication, this variable works with all auth methods including Claude.ai subscription", - "zh": "逗号分隔的其他 anthropic-beta 标头值列表,以包含在 API 请求中。Claude Code 已发送其需要的 beta 标头;使用此选项可在 Claude Code 添加原生支持之前选择加入 Anthropic API beta。与需要 API 密钥身份验证的 --betas 标志不同,此变量适用于所有身份验证方法,包括 Claude.ai 订阅" + "zh": "逗号分隔的其他 anthropic-beta 标头值列表,包含在 API 请求中。Claude Code 已发送它需要的测试版标头;在 Claude Code 添加原生支持之前,使用此选项选择加入 Anthropic API 测试版。与 --betas 标志(需要 API 密钥身份验证)不同,此变量适用于所有身份验证方法,包括 Claude.ai 订阅" } }, { @@ -3744,7 +3822,7 @@ "valueKind": "string", "description": { "en": "Custom headers to add to requests (Name: Value format, newline-separated for multiple headers). If a name or value contains a character an HTTP header can't carry, such as a curly quote or a zero-width space, the request fails with an error that identifies the pair by position. Requires Claude Code v2.1.227 or later. Invalid request header value lists the exact character set and where the check runs. A value that sets a credential, org or tenant, routing, or API-behavior header, such as Authorization or Host, counts as a setting that needs approval when server-managed settings deliver it. From project or local settings, such a value follows the rules for when env values apply", - "zh": "要添加到请求的自定义标头(Name: Value 格式,多个标头用换行符分隔)" + "zh": "要添加到请求的自定义标头(Name: Value 格式,多个标头用换行符分隔)。如果名称或值包含 HTTP 标头无法携带的字符(如弯引号或零宽空格),请求将失败并显示按位置标识该对的错误。需要 Claude Code v2.1.227 或更高版本。无效的请求标头值 列出了确切的字符集和检查运行的位置。设置凭证、组织或租户、路由或 API 行为标头(如 Authorization 或 Host)的值在服务器管理的设置传递时计为 需要批准的设置。从项目或本地设置,此类值遵循 何时应用 env 值的规则" } }, { @@ -3753,7 +3831,7 @@ "valueKind": "string", "description": { "en": "Model ID to add as a custom entry in the /model picker. Use this to make a non-standard or gateway-specific model selectable without replacing built-in aliases. See Model configuration", - "zh": "要在 /model 选择器中添加为自定义条目的模型 ID。使用此选项可以使非标准或网关特定的模型可选择,而无需替换内置别名。请参阅模型配置" + "zh": "模型 ID,作为自定义条目添加到 /model 选择器中。使用此选项可以选择非标准或网关特定的模型,而无需替换内置别名。请参阅 模型配置" } }, { @@ -3770,8 +3848,8 @@ "example": "claude-sonnet-4-6", "valueKind": "string", "description": { - "en": "Display name for the custom model entry in the /model picker. Defaults to the model ID when not set", - "zh": "/model 选择器中自定义模型条目的显示名称。未设置时默认为模型 ID" + "en": "Display name for the custom model entry in the /model picker. When not set, the entry shows the model's name if Claude Code recognizes the ID, and the model ID otherwise", + "zh": "/model 选择器中自定义模型条目的显示名称。未设置时,如果 Claude Code 识别 ID,条目显示模型的名称,否则显示模型 ID" } }, { @@ -3780,7 +3858,7 @@ "valueKind": "string", "description": { "en": "Comma-separated list of capabilities the custom model supports, for example effort,thinking. See Model configuration", - "zh": "请参阅模型配置" + "zh": "逗号分隔的自定义模型支持的 功能 列表,例如 effort,thinking。请参阅 模型配置" } }, { @@ -3789,7 +3867,7 @@ "valueKind": "string", "description": { "en": "Model ID that the fable alias resolves to, and the ID Claude Code recognizes as a Fable model for automatic model fallback on third-party providers. See Model configuration", - "zh": "请参阅模型配置" + "zh": "fable 别名解析为的模型 ID,以及 Claude Code 识别为 Fable 模型的 ID,用于第三方提供商上的 自动模型回退。请参阅 模型配置" } }, { @@ -3797,8 +3875,8 @@ "example": "claude-sonnet-4-6", "valueKind": "string", "description": { - "en": "Display description for the pinned Fable model in the /model picker. Defaults to Custom Fable model when not set. See Model configuration", - "zh": "请参阅模型配置" + "en": "Display description for the pinned Fable model in the /model picker. When not set, the row shows a default description that begins Custom Fable model. See Model configuration", + "zh": "/model 选择器中固定 Fable 模型的显示描述。未设置时,行显示以 Custom Fable model 开头的默认描述。请参阅 模型配置" } }, { @@ -3806,8 +3884,8 @@ "example": "claude-sonnet-4-6", "valueKind": "string", "description": { - "en": "Display name for the pinned Fable model in the /model picker. Defaults to the model ID when not set. See Model configuration", - "zh": "请参阅模型配置" + "en": "Display name for the pinned Fable model in the /model picker. When not set, the row shows the model's name if Claude Code recognizes the pinned ID, and the pinned ID otherwise. See Model configuration", + "zh": "/model 选择器中固定 Fable 模型的显示名称。未设置时,如果 Claude Code 识别固定 ID,行显示模型的名称,否则显示固定 ID。请参阅 模型配置" } }, { @@ -3816,7 +3894,7 @@ "valueKind": "string", "description": { "en": "Comma-separated list of capabilities the pinned Fable model supports, for example effort,thinking. See Model configuration", - "zh": "请参阅模型配置" + "zh": "逗号分隔的固定 Fable 模型支持的 功能 列表,例如 effort,thinking。请参阅 模型配置" } }, { @@ -3825,7 +3903,7 @@ "valueKind": "string", "description": { "en": "Model ID that the haiku alias resolves to, also used for background functionality. See Model configuration", - "zh": "请参阅模型配置" + "zh": "haiku 别名解析为的模型 ID,也用于 后台功能。请参阅 模型配置" } }, { @@ -3833,8 +3911,8 @@ "example": "claude-sonnet-4-6", "valueKind": "string", "description": { - "en": "Display description for the pinned Haiku model in the /model picker. Defaults to Custom Haiku model when not set. See Model configuration", - "zh": "请参阅模型配置" + "en": "Display description for the pinned Haiku model in the /model picker. When not set, the row shows a default description that begins Custom Haiku model. See Model configuration", + "zh": "/model 选择器中固定 Haiku 模型的显示描述。未设置时,行显示以 Custom Haiku model 开头的默认描述。请参阅 模型配置" } }, { @@ -3842,8 +3920,8 @@ "example": "claude-sonnet-4-6", "valueKind": "string", "description": { - "en": "Display name for the pinned Haiku model in the /model picker. Defaults to the model ID when not set. See Model configuration", - "zh": "请参阅模型配置" + "en": "Display name for the pinned Haiku model in the /model picker. When not set, the row shows the model's name if Claude Code recognizes the pinned ID, and the pinned ID otherwise. See Model configuration", + "zh": "/model 选择器中固定 Haiku 模型的显示名称。未设置时,如果 Claude Code 识别固定 ID,行显示模型的名称,否则显示固定 ID。请参阅 模型配置" } }, { @@ -3852,7 +3930,7 @@ "valueKind": "string", "description": { "en": "Comma-separated list of capabilities the pinned Haiku model supports, for example effort,thinking. See Model configuration", - "zh": "请参阅模型配置" + "zh": "逗号分隔的固定 Haiku 模型支持的 功能 列表,例如 effort,thinking。请参阅 模型配置" } }, { @@ -3861,7 +3939,7 @@ "valueKind": "string", "description": { "en": "Model that new sessions start on by default. Requires Claude Code v2.1.236 or later. See Set a default model for new sessions", - "zh": "Model that new sessions start on by default. Requires Claude Code v2.1.236 or later. See Set a default model for new sessions" + "zh": "新会话默认启动的模型。需要 Claude Code v2.1.236 或更高版本。请参阅 为新会话设置默认模型" } }, { @@ -3870,7 +3948,7 @@ "valueKind": "string", "description": { "en": "Model ID that the opus alias resolves to, and that opusplan uses while Plan Mode is active. See Model configuration", - "zh": "请参阅模型配置" + "zh": "opus 别名解析为的模型 ID,以及 Plan Mode 活跃时 opusplan 使用的模型 ID。请参阅 模型配置" } }, { @@ -3878,8 +3956,8 @@ "example": "claude-sonnet-4-6", "valueKind": "string", "description": { - "en": "Display description for the pinned Opus model in the /model picker. When not set, defaults to Custom Opus model, or Custom Opus model (1M context) if the pinned model ID has the [1m] suffix and CLAUDE_CODE_DISABLE_1M_CONTEXT isn't turned on. See Model configuration", - "zh": "请参阅模型配置" + "en": "Display description for the pinned Opus model in the /model picker. When not set, the row shows a default description that begins Custom Opus model. See Model configuration", + "zh": "/model 选择器中固定 Opus 模型的显示描述。未设置时,行显示以 Custom Opus model 开头的默认描述。请参阅 模型配置" } }, { @@ -3887,8 +3965,8 @@ "example": "claude-sonnet-4-6", "valueKind": "string", "description": { - "en": "Display name for the pinned Opus model in the /model picker. Defaults to the model ID when not set. See Model configuration", - "zh": "请参阅模型配置" + "en": "Display name for the pinned Opus model in the /model picker. When not set, the row shows the model's name if Claude Code recognizes the pinned ID, and the pinned ID otherwise. See Model configuration", + "zh": "/model 选择器中固定 Opus 模型的显示名称。未设置时,如果 Claude Code 识别固定 ID,行显示模型的名称,否则显示固定 ID。请参阅 模型配置" } }, { @@ -3897,7 +3975,7 @@ "valueKind": "string", "description": { "en": "Comma-separated list of capabilities the pinned Opus model supports, for example effort,thinking. See Model configuration", - "zh": "请参阅模型配置" + "zh": "逗号分隔的固定 Opus 模型支持的 功能 列表,例如 effort,thinking。请参阅 模型配置" } }, { @@ -3906,7 +3984,7 @@ "valueKind": "string", "description": { "en": "Model ID that the sonnet alias resolves to, and that opusplan uses when Plan Mode is not active. See Model configuration", - "zh": "请参阅模型配置" + "zh": "sonnet 别名解析为的模型 ID,以及 Plan Mode 不活跃时 opusplan 使用的模型 ID。请参阅 模型配置" } }, { @@ -3914,8 +3992,8 @@ "example": "claude-sonnet-4-6", "valueKind": "string", "description": { - "en": "Display description for the pinned Sonnet model in the /model picker. When not set, defaults to Custom Sonnet model, or Custom Sonnet model (1M context) if the pinned model ID has the [1m] suffix and CLAUDE_CODE_DISABLE_1M_CONTEXT isn't turned on. See Model configuration", - "zh": "请参阅模型配置" + "en": "Display description for the pinned Sonnet model in the /model picker. When not set, the row shows a default description that begins Custom Sonnet model. See Model configuration", + "zh": "/model 选择器中固定 Sonnet 模型的显示描述。未设置时,行显示以 Custom Sonnet model 开头的默认描述。请参阅 模型配置" } }, { @@ -3923,8 +4001,8 @@ "example": "claude-sonnet-4-6", "valueKind": "string", "description": { - "en": "Display name for the pinned Sonnet model in the /model picker. Defaults to the model ID when not set. See Model configuration", - "zh": "请参阅模型配置" + "en": "Display name for the pinned Sonnet model in the /model picker. When not set, the row shows the model's name if Claude Code recognizes the pinned ID, and the pinned ID otherwise. See Model configuration", + "zh": "/model 选择器中固定 Sonnet 模型的显示名称。未设置时,如果 Claude Code 识别固定 ID,行显示模型的名称,否则显示固定 ID。请参阅 模型配置" } }, { @@ -3933,7 +4011,7 @@ "valueKind": "string", "description": { "en": "Comma-separated list of capabilities the pinned Sonnet model supports, for example effort,thinking. See Model configuration", - "zh": "请参阅模型配置" + "zh": "逗号分隔的固定 Sonnet 模型支持的 功能 列表,例如 effort,thinking。请参阅 模型配置" } }, { @@ -3942,7 +4020,7 @@ "valueKind": "string", "description": { "en": "Federation rule ID for Workload Identity Federation. When you set it together with ANTHROPIC_ORGANIZATION_ID, Claude Code selects federation credentials, which rank above your /login credential. See authentication precedence", - "zh": "Federation rule ID for Workload Identity Federation. When you set it together with ANTHROPIC_ORGANIZATION_ID, Claude Code selects federation credentials, which rank above your /login credential. See authentication precedence" + "zh": "工作负载身份联合 的联合规则 ID。当您将其与 ANTHROPIC_ORGANIZATION_ID 一起设置时,Claude Code 选择联合凭证,其优先级高于您的 /login 凭证。请参阅 身份验证优先级" } }, { @@ -3960,7 +4038,7 @@ "valueKind": "string", "description": { "en": "Bearer token for Microsoft Foundry authentication, such as a Microsoft Entra access token. Claude Code sends it as the Authorization: Bearer header. Takes precedence over ANTHROPIC_FOUNDRY_API_KEY and over the Azure default credential chain. See Microsoft Foundry. Requires Claude Code v2.1.203 or later", - "zh": "Microsoft Foundry 身份验证的 Bearer 令牌,例如 Microsoft Entra 访问令牌。Claude Code 将其作为 Authorization: Bearer 标头发送。优先于 ANTHROPIC_FOUNDRY_API_KEY 和 Azure 默认凭证链。请参阅 Microsoft Foundry。需要 Claude Code v2.1.203 或更高版本" + "zh": "Microsoft Foundry 身份验证的持有者令牌,例如 Microsoft Entra 访问令牌。Claude Code 将其作为 Authorization: Bearer 标头发送。优先于 ANTHROPIC_FOUNDRY_API_KEY 和 Azure 默认凭证链。请参阅 Microsoft Foundry。需要 Claude Code v2.1.203 或更高版本" } }, { @@ -3987,7 +4065,7 @@ "valueKind": "string", "description": { "en": "Name of the model setting to use (see Model Configuration)", - "zh": "要使用的模型设置的名称(请参阅模型配置)" + "zh": "要使用的模型设置的名称(请参阅 模型配置)" } }, { @@ -3996,7 +4074,7 @@ "valueKind": "string", "description": { "en": "Organization ID for Workload Identity Federation. Set it together with ANTHROPIC_FEDERATION_RULE_ID. See authentication precedence", - "zh": "Organization ID for Workload Identity Federation. Set it together with ANTHROPIC_FEDERATION_RULE_ID. See authentication precedence" + "zh": "工作负载身份联合 的组织 ID。将其与 ANTHROPIC_FEDERATION_RULE_ID 一起设置。请参阅 身份验证优先级" } }, { @@ -4005,7 +4083,7 @@ "valueKind": "string", "description": { "en": "Name of the Anthropic profile to authenticate with, such as one created by ant auth login or by signing in to a Console account without an API key. See authentication precedence", - "zh": "Name of the Anthropic profile to authenticate with, such as one created by ant auth login or by signing in to a Console account without an API key. See authentication precedence" + "zh": "要使用的 Anthropic 配置文件的名称,例如由 ant auth login 创建的或通过 在没有 API 密钥的情况下登录控制台帐户。请参阅 身份验证优先级" } }, { @@ -4014,7 +4092,7 @@ "valueKind": "string", "description": { "en": "\\[DEPRECATED] Name of Haiku-class model for background tasks", - "zh": "\\[已弃用] 用于后台任务的 Haiku 级模型的名称" + "zh": "\\[已弃用] 后台任务的 Haiku 级模型 的名称" } }, { @@ -4023,7 +4101,7 @@ "valueKind": "string", "description": { "en": "Override AWS region for the Haiku-class model when using Amazon Bedrock or Amazon Bedrock Mantle. On Amazon Bedrock, this only takes effect when ANTHROPIC_DEFAULT_HAIKU_MODEL or the deprecated ANTHROPIC_SMALL_FAST_MODEL is also set, since Amazon Bedrock otherwise runs background tasks on the default Sonnet model or the primary model in the session region", - "zh": "使用 Amazon Bedrock 或 Amazon Bedrock Mantle 时覆盖 Haiku 级模型的 AWS 区域。在 Amazon Bedrock 上,仅当同时设置 ANTHROPIC_DEFAULT_HAIKU_MODEL 或已弃用的 ANTHROPIC_SMALL_FAST_MODEL 时才生效,因为 Amazon Bedrock 否则会在默认 Sonnet 模型或会话区域中的主模型上运行后台任务" + "zh": "使用 Amazon Bedrock 或 Amazon Bedrock Mantle 时覆盖 Haiku 级模型的 AWS 区域。在 Amazon Bedrock 上,仅当也设置了 ANTHROPIC_DEFAULT_HAIKU_MODEL 或已弃用的 ANTHROPIC_SMALL_FAST_MODEL 时,此选项才生效,因为 Amazon Bedrock 否则会在 默认 Sonnet 模型或会话区域中的主模型 上运行后台任务" } }, { @@ -4032,7 +4110,7 @@ "valueKind": "string", "description": { "en": "Override Google Cloud's Agent Platform endpoint URL. Use for custom Google Cloud's Agent Platform endpoints or when routing through an LLM gateway. See Google Cloud's Agent Platform", - "zh": "覆盖 Google Cloud's Agent Platform 端点 URL。用于自定义 Google Cloud's Agent Platform 端点或通过 LLM 网关路由时。请参阅 Google Cloud's Agent Platform" + "zh": "覆盖 Google Cloud 的 Agent Platform 端点 URL。用于自定义 Google Cloud 的 Agent Platform 端点或通过 LLM 网关 路由时。请参阅 Google Cloud 的 Agent Platform" } }, { @@ -4040,8 +4118,8 @@ "example": "value", "valueKind": "string", "description": { - "en": "GCP project ID for Google Cloud's Agent Platform requests. Overridden by GCLOUD_PROJECT, GOOGLE_CLOUD_PROJECT, or the project in your GOOGLE_APPLICATION_CREDENTIALS credential file. See Google Cloud's Agent Platform", - "zh": "Google Cloud's Agent Platform 请求的 GCP 项目 ID。被 GCLOUD_PROJECT、GOOGLE_CLOUD_PROJECT 或您的 GOOGLE_APPLICATION_CREDENTIALS 凭证文件中的项目覆盖。请参阅 Google Cloud's Agent Platform" + "en": "GCP project ID that Google Cloud's Agent Platform requests are addressed to. See Configure GCP credentials", + "zh": "Google Cloud 的 Agent Platform 请求所针对的 GCP 项目 ID。请参阅 配置 GCP 凭证" } }, { @@ -4050,7 +4128,7 @@ "valueKind": "string", "description": { "en": "Workspace ID for workload identity federation. Set this when your federation rule is scoped to more than one workspace so the token exchange knows which workspace to target", - "zh": "工作负载身份联合的工作区 ID。当您的联合规则的范围超过一个工作区时设置此选项,以便令牌交换知道要针对哪个工作区" + "zh": "工作负载身份联合 的工作区 ID。当您的联合规则的范围涵盖多个工作区时设置此项,以便令牌交换知道要针对哪个工作区" } }, { @@ -4058,8 +4136,8 @@ "example": "0", "valueKind": "boolean-string", "description": { - "en": "Override the 5-minute body idle timeout that aborts a streaming model response when no bytes arrive. Set to 0 to turn the timeout off, for example when a slow gateway or local model pauses longer than 5 minutes between chunks, or 1 to keep it on for every provider. When unset, the timeout is active on providers other than the direct Anthropic API and Claude Platform on AWS. The stream watchdogs run independently of it and abort a long silent pause even when you set 0 here. Requires Claude Code v2.1.169 or later", - "zh": "覆盖 5 分钟空闲超时,该超时在没有字节到达时中止流式模型响应。设置为 0 以禁用超时,例如当缓慢的网关或本地模型在块之间暂停超过 5 分钟时。设置为 1 以在每个提供商上保持超时。未设置时,超时在直接 Anthropic API 和 Claude Platform on AWS 连接上不活跃,其中 Claude Code 自己的字节级流监视程序运行,在所有其他提供商上活跃,包括 Google Cloud's Agent Platform、Microsoft Foundry、Mantle、Amazon Bedrock 和网关连接,因此停滞的流会中止而不是挂起。从 v2.1.169 开始" + "en": "Override the 5-minute body idle timeout that aborts a streaming model response when no bytes arrive. Set to 0 to turn the timeout off, for example when a slow gateway or local model pauses longer than 5 minutes between chunks, or 1 to keep it on for every provider. When unset, the timeout is active on providers other than the direct Anthropic API and Claude Platform on AWS. The stream watchdogs run independently of it and abort a long silent pause even when you set 0 here", + "zh": "覆盖 5 分钟的正文空闲超时,当没有字节到达时中止流式模型响应。设置为 0 以关闭超时,例如当缓慢的 网关 或本地模型在块之间暂停超过 5 分钟时,或设置为 1 以为每个提供商保持打开。未设置时,超时在除直接 Anthropic API 和 AWS 上的 Claude Platform 之外的提供商上处于活跃状态。流监视狗 独立运行,即使您在此处设置 0,也会中止长时间的静默暂停" } }, { @@ -4068,7 +4146,7 @@ "valueKind": "number-string", "description": { "en": "Timeout for API requests in milliseconds (default: 600000, or 10 minutes; maximum: 2147483647). Increase this when requests time out on slow networks or when routing through a proxy. Values above the maximum overflow the underlying timer and cause requests to fail immediately", - "zh": "API 请求的超时时间(以毫秒为单位)(默认值:600000,或 10 分钟;最大值:2147483647)。在缓慢网络上请求超时或通过代理路由时增加此值。超过最大值的值会导致底层计时器溢出,导致请求立即失败" + "zh": "API 请求的超时时间(毫秒)(默认值:600000,或 10 分钟;最大值:2147483647)。在网络缓慢或通过代理路由时增加此值。超过最大值的值会导致底层计时器溢出,导致请求立即失败" } }, { @@ -4077,7 +4155,7 @@ "valueKind": "string", "description": { "en": "Amazon Bedrock API key for authentication (see Amazon Bedrock API keys)", - "zh": "用于身份验证的 Amazon Bedrock API 密钥(请参阅 Amazon Bedrock API 密钥)" + "zh": "Amazon Bedrock API 密钥用于身份验证(请参阅 Amazon Bedrock API 密钥)" } }, { @@ -4086,7 +4164,7 @@ "valueKind": "number-string", "description": { "en": "Default timeout for long-running bash commands (default: 120000, or 2 minutes)", - "zh": "长时间运行的 bash 命令的默认超时(默认值:120000,或 2 分钟)" + "zh": "长时间运行的 bash 命令的默认超时时间(默认值:120000,或 2 分钟)" } }, { @@ -4094,8 +4172,8 @@ "example": "value", "valueKind": "string", "description": { - "en": "Maximum number of characters of bash output that Claude Code reads back into a command's result (default: 30000; maximum: 150000). See Output limits", - "zh": "bash 输出中的最大字符数,超过此数字后将完整输出保存到文件,Claude 接收路径加上简短预览。请参阅 Bash 工具行为" + "en": "Maximum number of characters of bash output that Claude Code reads back into a command's result (default: 30000; maximum: 150000). If you set the bashOutputMaxChars setting, Claude Code ignores this variable. See Output limits", + "zh": "Claude Code 读回到命令结果中的 bash 输出的最大字符数(默认值:30000;最大值:150000)。如果您设置了 bashOutputMaxChars 设置,Claude Code 会忽略此变量。请参阅 输出限制" } }, { @@ -4104,7 +4182,7 @@ "valueKind": "number-string", "description": { "en": "Maximum timeout the model can set for long-running bash commands (default: 600000, or 10 minutes). The effective ceiling is the larger of this and BASH_DEFAULT_TIMEOUT_MS", - "zh": "模型可以为长时间运行的 bash 命令设置的最大超时(默认值:600000,或 10 分钟)" + "zh": "模型可以为长时间运行的 bash 命令设置的最大超时时间(默认值:600000,或 10 分钟)。有效的上限是此值和 BASH_DEFAULT_TIMEOUT_MS 中的较大者" } }, { @@ -4113,7 +4191,7 @@ "valueKind": "string", "description": { "en": "OTLP endpoint for detailed beta tracing: with ENABLE_BETA_TRACING_DETAILED=1, logs and traces go there instead of to the configured exporters. Set it in your shell, user settings, or managed settings. Ignored in project and local settings", - "zh": "OTLP endpoint for detailed beta tracing: with ENABLE_BETA_TRACING_DETAILED=1, logs and traces go there instead of to the configured exporters. Set it in your shell, user settings, or managed settings. Ignored in project and local settings" + "zh": "详细测试版跟踪 的 OTLP 端点:使用 ENABLE_BETA_TRACING_DETAILED=1,日志和跟踪转到那里而不是配置的导出器。在您的 shell、用户设置或托管设置中设置它。在 项目和本地设置 中被忽略" } }, { @@ -4131,7 +4209,7 @@ "valueKind": "number-string", "description": { "en": "How many milliseconds before auto-continue the on-screen countdown appears on an unanswered AskUserQuestion dialog. Default 20000 (20 seconds), capped at the auto-continue timeout. Has no effect unless auto-continue is on; see the askUserQuestionTimeout setting and CLAUDE_AFK_TIMEOUT_MS. Requires Claude Code v2.1.198 or later", - "zh": "自动继续前屏幕倒计时出现在未回答的 AskUserQuestion 对话框上的毫秒数。默认 20000(20 秒),上限为自动继续超时。除非启用自动继续,否则无效;请参阅 askUserQuestionTimeout 设置和 CLAUDE_AFK_TIMEOUT_MS。需要 Claude Code v2.1.198 或更高版本" + "zh": "在自动继续之前屏幕上的倒计时出现在未回答的 AskUserQuestion 对话框上的毫秒数。默认 20000(20 秒),上限为自动继续超时。除非自动继续打开,否则无效;请参阅 askUserQuestionTimeout 设置和 CLAUDE_AFK_TIMEOUT_MS。需要 Claude Code v2.1.198 或更高版本" } }, { @@ -4140,7 +4218,7 @@ "valueKind": "boolean-string", "description": { "en": "How many milliseconds of idle time before an unanswered AskUserQuestion dialog auto-continues without you. Auto-continue is off by default; opt in with the askUserQuestionTimeout setting. This variable is an override for demos and automated tests: when set, it takes precedence over that setting and turns auto-continue on even when the setting is unset or never. Setting 0 doesn't turn the timeout off; it closes the dialog immediately. In v2.1.198 and v2.1.199, auto-continue was on by default with a 60000 (60 seconds) timeout. Requires Claude Code v2.1.198 or later", - "zh": "未回答的 AskUserQuestion 对话框自动继续前的空闲时间(以毫秒为单位)。自动继续默认关闭;使用 askUserQuestionTimeout 设置选择加入。此变量是演示和自动化测试的覆盖:设置后,它优先于该设置并打开自动继续,即使设置未设置或为 never。设置 0 不会关闭超时;它会立即关闭对话框。在 v2.1.198 和 v2.1.199 中,自动继续默认启用,超时为 60000(60 秒)。需要 Claude Code v2.1.198 或更高版本" + "zh": "未回答的 AskUserQuestion 对话框在没有您的情况下自动继续之前的空闲时间(毫秒)。自动继续默认关闭;使用 askUserQuestionTimeout 设置选择加入。此变量是演示和自动化测试的覆盖:设置时,它优先于该设置并打开自动继续,即使设置未设置或为 never。设置 0 不会关闭超时;它立即关闭对话框。在 v2.1.198 和 v2.1.199 中,自动继续默认打开,超时为 60000(60 秒)。需要 Claude Code v2.1.198 或更高版本" } }, { @@ -4149,7 +4227,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable all built-in subagent types such as Explore and Plan. Only applies in non-interactive mode (the -p flag). Useful for SDK users who want a blank slate. This also removes general-purpose, the subagent Claude Code runs when an Agent tool call omits subagent_type. Such a call then fails with subagent_type is required", - "zh": "设置为 1 以禁用所有内置 subagent 类型,如 Explore 和 Plan。仅适用于非交互模式(-p 标志)。对于想要空白状态的 SDK 用户很有用" + "zh": "设置为 1 以禁用所有内置 子代理 类型,例如 Explore 和 Plan。仅适用于非交互模式(-p 标志)。对于想要空白板的 SDK 用户很有用。这也删除了 general-purpose,即当 Agent 工具调用省略 subagent_type 时 Claude Code 运行的子代理。这样的调用然后失败,显示 subagent_type is required" } }, { @@ -4158,7 +4236,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to skip the mcp____ prefix on tool names from SDK-created MCP servers. Tools use their original names. SDK usage only", - "zh": "设置为 1 以跳过 SDK 创建的 MCP 服务器中工具名称上的 mcp____ 前缀。工具使用其原始名称。仅限 SDK 使用" + "zh": "设置为 1 以跳过来自 SDK 创建的 MCP 服务器的工具名称上的 mcp____ 前缀。工具使用其原始名称。仅限 SDK 使用" } }, { @@ -4167,7 +4245,7 @@ "valueKind": "number-string", "description": { "en": "Stall timeout in milliseconds for subagents. Default 600000 (10 minutes); if you raise CLAUDE_STREAM_IDLE_TIMEOUT_MS while the stream watchdog is on, the default rises with it, as Handle slow or stalled API responses describes. The timer resets on each streaming progress event; if no progress arrives within the window, Claude Code aborts the subagent and reports the stall to the parent", - "zh": "后台 subagents 的停滞超时(以毫秒为单位)。默认 600000(10 分钟)。计时器在每个流式进度事件时重置;如果在窗口内没有进度到达,subagent 会被中止,任务被标记为失败,将任何部分结果呈现给父级" + "zh": "子代理的停滞超时时间(毫秒)。默认 600000(10 分钟);如果您在流监视狗打开时提高 CLAUDE_STREAM_IDLE_TIMEOUT_MS,默认值会随之上升,如 处理缓慢或停滞的 API 响应 所述。计时器在每个流式进度事件上重置;如果在窗口内没有进度到达,Claude Code 会中止子代理并向父级报告停滞" } }, { @@ -4176,7 +4254,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to force-enable automatic backgrounding of long-running agent tasks. When enabled, subagents are moved to the background after running for approximately two minutes. Also enables automatic backgrounding of long MCP tool calls in non-interactive mode on Claude Code v2.1.212 or later", - "zh": "设置为 1 以强制启用长时间运行的代理任务的自动后台处理。启用后,subagents 在运行约两分钟后会移到后台" + "zh": "设置为 1 以强制启用长时间运行的代理任务的自动后台处理。启用后,子代理在运行约两分钟后移到后台。还在 Claude Code v2.1.212 或更高版本的非交互模式下启用 长 MCP 工具调用的自动后台处理" } }, { @@ -4185,7 +4263,7 @@ "valueKind": "string", "description": { "en": "Set the percentage (1-100) of the auto-compact window at which auto-compaction triggers. Use lower values like 50 to compact earlier; the variable can't raise the threshold, so values above the default percentage are ignored. It applies only in sessions that compact before the model's context limit. Applies to both main conversations and subagents", - "zh": "设置触发自动压缩的上下文容量百分比(1-100)。使用较低的值(如 50)可更早进行压缩。此变量仅在 Claude Code 主动压缩时导致更早压缩:当设置 CLAUDE_CODE_AUTO_COMPACT_WINDOW 时、在云会话中、在没有扩展上下文的 Sonnet 4.6 和 Opus 4.6 上,默认在 200K 边界处压缩。在 Sonnet 5 上,主动压缩在模型的默认阈值处应用。在其他情况下,例如本地会话上的 Opus 4.8,当对话达到模型的上下文限制时自动压缩触发。覆盖只能降低阈值,因此高于默认值的值无效。适用于主对话和 subagents" + "zh": "设置自动压缩窗口的百分比(1-100),在该百分比处自动压缩触发。使用较低的值(如 50)以更早压缩;该变量无法提高阈值,因此高于默认百分比的值会被忽略。它仅适用于在模型的上下文限制之前 压缩的会话。适用于主对话和子代理" } }, { @@ -4194,7 +4272,7 @@ "valueKind": "boolean-string", "description": { "en": "In screen reader mode, how many milliseconds Claude Code waits, with the cursor at the start of the line, before it writes a new or changed line. Default 50. Set 0 to write immediately. Claude Code caps the wait at 5000. Requires Claude Code v2.1.233 or later", - "zh": "In screen reader mode, how many milliseconds Claude Code waits, with the cursor at the start of the line, before it writes a new or changed line. Default 50. Set 0 to write immediately. Claude Code caps the wait at 5000. Requires Claude Code v2.1.233 or later" + "zh": "在 屏幕阅读器模式 中,Claude Code 在行首等待光标后写入新行或更改行之前的毫秒数。默认 50。设置 0 以立即写入。Claude Code 将等待上限设置为 5000。需要 Claude Code v2.1.233 或更高版本" } }, { @@ -4212,7 +4290,7 @@ "valueKind": "boolean-string", "description": { "en": "In screen reader mode, how many milliseconds Claude Code holds the first interface render after the startup confirmation line, so your screen reader can speak the line in full before new output interrupts it. Default 3000. Set 0 to render immediately. Claude Code caps the hold at 600000 (10 minutes). Your first keystroke ends the hold early. Requires Claude Code v2.1.217 or later", - "zh": "In screen reader mode, how many milliseconds Claude Code holds the first interface render after the startup confirmation line, so your screen reader can speak the line in full before new output interrupts it. Default 3000. Set 0 to render immediately. Claude Code caps the hold at 600000 (10 minutes). Your first keystroke ends the hold early. Requires Claude Code v2.1.217 or later" + "zh": "在 屏幕阅读器模式 中,Claude Code 在启动确认行后保持第一个界面呈现的毫秒数,以便您的屏幕阅读器可以在新输出中断之前完整地说出该行。默认 3000。设置 0 以立即呈现。Claude Code 将保持上限设置为 600000(10 分钟)。您的第一次按键会提前结束保持。需要 Claude Code v2.1.217 或更高版本" } }, { @@ -4230,7 +4308,7 @@ "valueKind": "number-string", "description": { "en": "Timeout in milliseconds for the byte-level streaming idle watchdog; when set, it takes precedence over CLAUDE_STREAM_IDLE_TIMEOUT_MS for that watchdog and leaves the event-level watchdog unchanged. Claude Code clamps this variable to between 10 seconds and 30 minutes. Requires Claude Code v2.1.210 or later", - "zh": "Timeout in milliseconds for the byte-level streaming idle watchdog; when set, it takes precedence over CLAUDE_STREAM_IDLE_TIMEOUT_MS for that watchdog and leaves the event-level watchdog unchanged. Claude Code clamps this variable to between 10 seconds and 30 minutes. Requires Claude Code v2.1.210 or later" + "zh": "字节级流式空闲监视狗的超时时间(毫秒);设置时,它优先于 CLAUDE_STREAM_IDLE_TIMEOUT_MS 用于该监视狗,并保持事件级监视狗不变。Claude Code 将此变量限制在 10 秒到 30 分钟之间。需要 Claude Code v2.1.210 或更高版本" } }, { @@ -4239,7 +4317,7 @@ "valueKind": "string", "description": { "en": "Path to a file that an external tool, such as a screen-lock listener, creates when you unlock your screen and deletes when you lock it. While the file exists, Claude Code skips Remote Control mobile push notifications, so you stop getting pushes while you are actively using the computer. When the file is absent or unreadable, notifications are sent as normal. Claude Code checks the file once per push-triggering event rather than polling it. Requires Claude Code v2.1.181 or later", - "zh": "外部工具(如屏幕锁定侦听器)在您解锁屏幕时创建并在您锁定屏幕时删除的文件的路径。文件存在时,Claude Code 跳过远程控制移动推送通知,因此当您主动使用计算机时停止获取推送。文件不存在或不可读时,通知照常发送。Claude Code 每个推送触发事件检查一次文件,而不是轮询它。需要 Claude Code v2.1.181 或更高版本" + "zh": "外部工具(如屏幕锁定侦听器)在您解锁屏幕时创建并在您锁定屏幕时删除的文件路径。文件存在时,Claude Code 跳过 Remote Control 移动推送通知,因此您在主动使用计算机时停止接收推送。文件不存在或不可读时,通知照常发送。Claude Code 每次推送触发事件检查一次文件,而不是轮询它。需要 Claude Code v2.1.181 或更高版本" } }, { @@ -4248,7 +4326,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to keep the native terminal cursor visible and disable the inverted-text cursor indicator. Allows screen magnifiers like macOS Zoom to track cursor position", - "zh": "设置为 1 以保持原生终端光标可见并禁用反向文本光标指示器。允许 macOS Zoom 等屏幕放大镜跟踪光标位置" + "zh": "设置为 1 以保持本机终端光标可见并禁用反向文本光标指示器。允许 macOS Zoom 等屏幕放大镜跟踪光标位置" } }, { @@ -4266,7 +4344,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to repaint the entire screen on every frame in fullscreen rendering 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 on Windows", - "zh": "设置为 1 以在全屏渲染中的每一帧上重新绘制整个屏幕,而不是发送增量更新。如果全屏模式显示陈旧或错位的文本片段,请使用此选项。Claude Code 在 Windows 上的后台会话和代理视图中自动启用此选项" + "zh": "设置为 1 以在 全屏呈现 中的每一帧上重新绘制整个屏幕,而不是发送增量更新。如果全屏模式显示陈旧或错位的文本片段,请使用此选项。Claude Code 在 Windows 上的后台会话和 代理视图 上自动启用此功能" } }, { @@ -4275,7 +4353,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to send the effort parameter with every request, even when Claude Code does not recognize the model ID as effort-capable. Use this when routing through an LLM gateway or third-party provider that serves models under custom identifiers. Models that reject the effort parameter at the API, including Claude 3 models, Sonnet 4.0 and 4.5, Opus 4.0 and 4.1, and Haiku 4.5, are still excluded so requests do not fail", - "zh": "设置为 1 以在每个请求中发送努力参数,即使 Claude Code 不将模型 ID 识别为支持努力的。当通过 LLM 网关或第三方提供商路由时使用,这些提供商在自定义标识符下提供模型。拒绝 API 中努力参数的模型,包括 Claude 3 模型、Sonnet 4.0 和 4.5、Opus 4.0 和 4.1 以及 Haiku 4.5,仍被排除,以便请求不会失败" + "zh": "设置为 1 以在每个请求中发送 effort 参数,即使 Claude Code 不将模型 ID 识别为支持 effort 的。在通过 LLM 网关 或第三方提供商以自定义标识符提供模型时使用此选项。在 API 处拒绝 effort 参数的模型(包括 Claude 3 模型、Sonnet 4.0 和 4.5、Opus 4.0 和 4.1 以及 Haiku 4.5)仍被排除,因此请求不会失败" } }, { @@ -4284,7 +4362,7 @@ "valueKind": "number-string", "description": { "en": "Interval in milliseconds at which credentials should be refreshed (when using apiKeyHelper)", - "zh": "应刷新凭证的间隔(以毫秒为单位)(使用 apiKeyHelper 时)" + "zh": "应刷新凭证的间隔(毫秒)(使用 apiKeyHelper 时)" } }, { @@ -4292,8 +4370,8 @@ "example": "0", "valueKind": "boolean-string", "description": { - "en": "Set to 0 to stop Claude Code from opening the browser automatically when a new artifact is published. Republishing an existing artifact does not open the browser regardless of this setting", - "zh": "设置为 0 以停止 Claude Code 在发布新工件时自动打开浏览器。重新发布现有工件不会打开浏览器,无论此设置如何" + "en": "Set to 0 to stop Claude Code from opening the browser automatically when a new artifact is published", + "zh": "设置为 0 以停止 Claude Code 在发布新 artifact 时自动打开浏览器" } }, { @@ -4302,7 +4380,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 0 to stop Claude reading and replying to comments on an artifact. Has no effect when CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC has turned artifacts off. Requires Claude Code v2.1.221 or later", - "zh": "Set to 0 to stop Claude reading and replying to comments on an artifact. Has no effect when CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC has turned artifacts off. Requires Claude Code v2.1.221 or later" + "zh": "设置为 0 以停止 Claude 读取和回复 artifact 上的评论。当 CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC 关闭 artifact 时无效。需要 Claude Code v2.1.221 或更高版本" } }, { @@ -4311,7 +4389,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 0 to stop Claude replying on its own to comments sent to it. Requires Claude Code v2.1.228 or later", - "zh": "Set to 0 to stop Claude replying on its own to comments sent to it. Requires Claude Code v2.1.228 or later" + "zh": "设置为 0 以停止 Claude 自动回复发送给它的评论。需要 Claude Code v2.1.228 或更高版本" } }, { @@ -4320,7 +4398,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 0 to omit the attribution block, which carries the client version and a prompt fingerprint, from the start of the system prompt. Caching on a direct connection to the Anthropic API is unaffected either way. In some direct-connection setups, Claude Code keeps the block on auto mode classifier requests even when you set 0. In System prompt attribution block, check which connections and credentials this covers. Before v2.1.181 the block included a per-request token on custom base URLs and Microsoft Foundry connections, so on those versions set it to 0 when your LLM gateway caches on the request body or forwards requests to a third-party provider, or when you connect to Microsoft Foundry directly", - "zh": "设置为 0 以从系统提示的开头省略归属块(客户端版本和提示指纹)。禁用它会改善通过 LLM 网关路由时的 prompt caching 命中率。Anthropic API 缓存不受影响" + "zh": "设置为 0 以从系统提示的开头省略 归属块,该块携带客户端版本和提示指纹。直接连接到 Anthropic API 的缓存无论如何都不受影响。在某些直接连接设置中,Claude Code 在 自动模式 分类器请求上保持块,即使您设置 0。在 系统提示归属块 中,检查此覆盖的连接和凭证。在 v2.1.181 之前,该块在自定义基础 URL 和 Microsoft Foundry 连接上包含每个请求令牌,因此在这些版本上,当您的 LLM 网关在请求正文上缓存或将请求转发给第三方提供商,或当您直接连接到 Microsoft Foundry 时,将其设置为 0" } }, { @@ -4329,7 +4407,7 @@ "valueKind": "string", "description": { "en": "When CLAUDE_AUTO_BACKGROUND_TASKS is enabled, seconds between reminders to Claude to check on background subagents that are still running. Accepts a plain integer from 1 to 86400 only; any other value or spelling reads as unset. When unset, there are no check-in reminders. Requires Claude Code v2.1.248 or later", - "zh": "When CLAUDE_AUTO_BACKGROUND_TASKS is enabled, seconds between reminders to Claude to check on background subagents that are still running. Accepts a plain integer from 1 to 86400 only; any other value or spelling reads as unset. When unset, there are no check-in reminders. Requires Claude Code v2.1.248 or later" + "zh": "启用 CLAUDE_AUTO_BACKGROUND_TASKS 时,Claude 检查仍在运行的 后台子代理 的提醒之间的秒数。仅接受 1 到 86400 的纯整数;任何其他值或拼写读作未设置。未设置时,没有检查提醒。需要 Claude Code v2.1.248 或更高版本" } }, { @@ -4338,7 +4416,7 @@ "valueKind": "number-string", "description": { "en": "Set the auto-compact window in tokens, from 100000 to 1000000. Accepts a plain integer such as 500000 only: a value like 500k reads as 500 and clamps to the 100K minimum. The effective window is also capped at the model's context window. Takes precedence over the /autocompact command, the --autocompact flag, and the autoCompactWindow setting. The status line's used_percentage always measures against the model's full context window, so once this variable is set, that percentage no longer indicates when compaction will run", - "zh": "设置用于自动压缩计算的上下文容量(以令牌为单位)。默认为模型的上下文窗口,标准模型为 200K,或扩展上下文模型为 1M,除了 Sonnet 5,它有自己的默认阈值。在 1M 模型上使用较低的值(如 500000)可将窗口视为 500K 用于压缩目的。该值上限为模型的实际上下文窗口。CLAUDE_AUTOCOMPACT_PCT_OVERRIDE 作为此值的百分比应用。设置此变量会将压缩阈值与状态行的 used_percentage 解耦,后者始终使用模型的完整上下文窗口" + "zh": "设置 自动压缩窗口(令牌),从 100000 到 1000000。仅接受纯整数(如 500000):像 500k 这样的值读作 500 并限制到 100K 最小值。有效窗口也上限为模型的上下文窗口。优先于 /autocompact 命令、--autocompact 标志和 autoCompactWindow 设置。状态行的 used_percentage 始终针对模型的完整上下文窗口进行测量,因此一旦设置此变量,该百分比不再指示何时运行压缩" } }, { @@ -4347,7 +4425,7 @@ "valueKind": "boolean-string", "description": { "en": "Override automatic IDE connection. By default, Claude Code connects automatically when launched inside a supported IDE's integrated terminal. Set to false to prevent this. Set to true to force a connection attempt when auto-detection fails, such as when tmux obscures the parent terminal. Takes precedence over the autoConnectIde global config setting", - "zh": "覆盖自动 IDE 连接。默认情况下,在支持的 IDE 的集成终端内启动时,Claude Code 会自动连接。设置为 false 以防止这种情况。设置为 true 以在自动检测失败时强制连接尝试,例如当 tmux 遮挡父终端时。优先于 autoConnectIde 全局配置设置" + "zh": "覆盖自动 IDE 连接。默认情况下,在支持的 IDE 的集成终端内启动时 Claude Code 会自动连接。设置为 false 以防止这种情况。设置为 true 以在自动检测失败时强制连接尝试,例如当 tmux 隐藏父终端时。优先于 autoConnectIde 全局配置设置" } }, { @@ -4356,7 +4434,7 @@ "valueKind": "number-string", "description": { "en": "Time in milliseconds Claude Code waits for the AWS default credential provider chain to produce credentials before the request fails with AWS default-chain credential resolve timed out (default: 60000). Raise it when a step in your chain legitimately needs longer, such as a browser-based SSO sign-in with MFA through a wrapper like aws-vault. Applies wherever Claude Code signs with the default chain: Amazon Bedrock, Claude Platform on AWS, and the Mantle endpoint. Requires Claude Code v2.1.207 or later", - "zh": "Claude Code 等待 AWS 默认凭证提供商链生成凭证的时间(以毫秒为单位),然后请求失败并显示 AWS default-chain credential resolve timed out(默认值:60000)。当链中的步骤合法需要更长时间时提高此值,例如通过 aws-vault 等包装器进行基于浏览器的 SSO 登录和 MFA。适用于 Claude Code 使用默认链签署的任何地方:Amazon Bedrock、Claude Platform on AWS 和 Mantle 端点。需要 Claude Code v2.1.207 或更高版本" + "zh": "Claude Code 等待 AWS 默认凭证提供商链生成凭证的时间(毫秒),然后请求失败,显示 AWS default-chain credential resolve timed out(默认值:60000)。当链中的步骤合法需要更长时间时提高它,例如通过 aws-vault 等包装器进行基于浏览器的 SSO 登录和 MFA。适用于 Claude Code 使用默认链签名的任何地方:Amazon Bedrock、AWS 上的 Claude Platform 和 Mantle 端点。需要 Claude Code v2.1.207 或更高版本" } }, { @@ -4365,7 +4443,7 @@ "valueKind": "string", "description": { "en": "Set automatically in Bash tool and hook command subprocesses while the session has an active Remote Control connection, and removed when the connection ends. The value is the session's ID in session_ form, the same identifier that appears in the session's claude.ai/code URL, so a script can link back to the session that ran it. Requires Claude Code v2.1.199 or later. In cloud sessions, read CLAUDE_CODE_REMOTE_SESSION_ID instead", - "zh": "在会话具有活跃 Remote Control 连接时在 Bash 工具和 hook 命令子进程中自动设置,并在连接结束时移除。该值是会话的 ID,格式为 session_,与出现在会话的 claude.ai/code URL 中的标识符相同,因此脚本可以链接回运行它的会话。需要 Claude Code v2.1.199 或更高版本。在云会话中,改为读取 CLAUDE_CODE_REMOTE_SESSION_ID" + "zh": "在会话具有活跃 Remote Control 连接时在 Bash 工具和 hook 命令 子进程中自动设置,连接结束时删除。值是会话的 ID,采用 session_ 形式,与会话的 claude.ai/code URL 中出现的标识符相同,因此脚本可以链接回运行它的会话。需要 Claude Code v2.1.199 或更高版本。在 云会话 中,改为读取 CLAUDE_CODE_REMOTE_SESSION_ID" } }, { @@ -4374,7 +4452,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 0 to make Claude Code read the 0x08 byte, also written ^H, as plain Backspace, or 1 to read it as Ctrl+Backspace. Either value replaces the platform default. By default, Claude Code reads it as Ctrl+Backspace on Windows, except when TERM_PROGRAM is mintty or TERM is cygwin, and as plain Backspace on macOS and Linux. Set 0 in a Windows terminal where Backspace deletes a whole word", - "zh": "Set to 0 to make Claude Code read the 0x08 byte, also written ^H, as plain Backspace, or 1 to read it as Ctrl+Backspace. Either value replaces the platform default. By default, Claude Code reads it as Ctrl+Backspace on Windows, except when TERM_PROGRAM is mintty or TERM is cygwin, and as plain Backspace on macOS and Linux. Set 0 in a Windows terminal where Backspace deletes a whole word" + "zh": "设置为 0 以使 Claude Code 将 0x08 字节(也写作 ^H)读作纯 Backspace,或 1 以读作 Ctrl+Backspace。任一值都替换平台默认值。默认情况下,Claude Code 在 Windows 上将其读作 Ctrl+Backspace,除非 TERM_PROGRAM 是 mintty 或 TERM 是 cygwin,在 macOS 和 Linux 上读作纯 Backspace。在 Windows 终端中设置 0,其中 Backspace 删除整个单词" } }, { @@ -4383,7 +4461,7 @@ "valueKind": "string", "description": { "en": "Comma-separated list of CA certificate sources for TLS connections. bundled is the Mozilla CA set shipped with Claude Code. system is the operating system trust store, read only on runtimes with tls.getCACertificates: the native binary, or Node 22.15 or later for npm installs. See CA certificate store. Default is bundled,system", - "zh": "TLS 连接的 CA 证书源的逗号分隔列表。bundled 是 Claude Code 附带的 Mozilla CA 集。system 是操作系统信任存储,仅在具有 tls.getCACertificates 的运行时上读取:原生二进制文件或 npm 安装的 Node 22.15 或更高版本。请参阅 CA 证书存储。默认为 bundled,system" + "zh": "TLS 连接的 CA 证书源的逗号分隔列表。bundled 是随 Claude Code 一起提供的 Mozilla CA 集。system 是操作系统信任存储,仅在具有 tls.getCACertificates 的运行时上读取:本机二进制文件或 npm 安装的 Node 22.15 或更高版本。请参阅 CA 证书存储。默认为 bundled,system" } }, { @@ -4392,7 +4470,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 in subprocesses Claude Code spawns via the Bash, PowerShell, and Monitor tools, hook commands, and status line commands. Not set for stdio MCP server subprocesses, which are long-lived and outlive the session that spawned them. Unlike CLAUDECODE, this is only set by Claude Code itself when it launches a subprocess and not by IDE extensions, so it reliably distinguishes a nested session from a top-level claude launched in an IDE-integrated terminal. A nested interactive claude TUI started this way is automatically excluded from --resume, --continue, up-arrow history, and the claude agents list. Non-interactive claude -p sessions still persist. Set CLAUDE_CODE_FORCE_SESSION_PERSISTENCE=1 to override this exclusion. Requires Claude Code v2.1.172 or later", - "zh": "在 Claude Code 通过 Bash、PowerShell 和 Monitor 工具、hook 命令和状态行命令生成的子进程中设置为 1。不为 stdio MCP server 子进程设置,这些是长期存在的,超过生成它们的会话。与 CLAUDECODE 不同,这仅由 Claude Code 自己在启动子进程时设置,而不是由 IDE 扩展设置,因此它可靠地区分嵌套会话与在 IDE 集成终端中启动的顶级 claude。以这种方式启动的嵌套交互式 claude TUI 自动从 --resume、--continue、向上箭头历史和 claude agents 列表中排除。非交互式 claude -p 会话仍然持续。设置 CLAUDE_CODE_FORCE_SESSION_PERSISTENCE=1 以覆盖此排除。需要 Claude Code v2.1.172 或更高版本" + "zh": "在 Claude Code 通过 Bash、PowerShell 和 Monitor 工具、hook 命令和 状态行 命令生成的子进程中设置为 1。未为 stdio MCP 服务器 子进程设置,这些子进程是长期存在的并超过生成它们的会话。与 CLAUDECODE 不同,这仅在 Claude Code 启动子进程时由 Claude Code 本身设置,而不是由 IDE 扩展设置,因此它可靠地区分嵌套会话与在 IDE 集成终端中启动的顶级 claude。以这种方式启动的嵌套交互式 claude TUI 自动从 --resume、--continue、向上箭头历史和 claude agents 列表中排除。非交互式 claude -p 会话仍然持续。设置 CLAUDE_CODE_FORCE_SESSION_PERSISTENCE=1 以覆盖此排除。需要 Claude Code v2.1.172 或更高版本" } }, { @@ -4401,7 +4479,7 @@ "valueKind": "string", "description": { "en": "Path to client certificate file for mTLS authentication", - "zh": "用于 mTLS 身份验证的客户端证书文件的路径" + "zh": "mTLS 身份验证的客户端证书文件路径" } }, { @@ -4410,7 +4488,7 @@ "valueKind": "string", "description": { "en": "Path to client private key file for mTLS authentication", - "zh": "用于 mTLS 身份验证的客户端私钥文件的路径" + "zh": "mTLS 身份验证的客户端私钥文件路径" } }, { @@ -4419,7 +4497,7 @@ "valueKind": "string", "description": { "en": "Passphrase for encrypted CLAUDE\\_CODE\\_CLIENT\\_KEY (optional)", - "zh": "加密 CLAUDE\\_CODE\\_CLIENT\\_KEY 的密码短语(可选)" + "zh": "加密 CLAUDE\\_CODE\\_CLIENT\\_KEY 的密码(可选)" } }, { @@ -4428,7 +4506,7 @@ "valueKind": "number-string", "description": { "en": "Removed in v2.1.186 and now a no-op. Previously set a separate timeout for the connect, TLS, and response-header phase of a streaming API request. Use API_TIMEOUT_MS for the per-request timeout. For the response-header phase of a streaming request, see CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS", - "zh": "在 v2.1.186 中移除,现在是无操作。以前为流式 API 请求的连接、TLS 和响应标头阶段设置单独的超时。使用 API_TIMEOUT_MS 获取每个请求的超时" + "zh": "在 v2.1.186 中删除,现在是无操作。以前为流式 API 请求的连接、TLS 和响应标头阶段设置单独的超时。使用 API_TIMEOUT_MS 获取每个请求的超时。对于流式请求的响应标头阶段,请参阅 CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS" } }, { @@ -4455,7 +4533,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable 1M context window support. When set, 1M model variants are unavailable in the model picker, and Claude Code holds sessions on models with a native 1M window, such as Sonnet 5 and the Fable models, to a 200K window; see Extended context for how the hold is enforced. Useful for enterprise environments with compliance requirements. For its role in correcting the window for an unrecognized [1m] model ID, see Correct the window for a gateway or custom model ID", - "zh": "设置为 1 以禁用1M 上下文窗口支持。设置后,1M 模型变体在模型选择器中不可用,Sonnet 5 会话被视为具有 200K 窗口。对于具有合规要求的企业环境很有用" + "zh": "设置为 1 以禁用 1M 上下文窗口 支持。设置时,1M 模型变体在模型选择器中不可用,Claude Code 将具有本机 1M 窗口的模型上的会话保持在 200K 窗口,例如 Sonnet 5 和 Fable 模型;请参阅 扩展上下文 了解如何强制执行保持。对于具有合规要求的企业环境很有用。对于其在为无法识别的 [1m] 模型 ID 纠正窗口中的作用,请参阅 为网关或自定义模型 ID 纠正窗口" } }, { @@ -4464,7 +4542,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable adaptive reasoning on Opus 4.6 and Sonnet 4.6 and fall back to the fixed thinking budget controlled by MAX_THINKING_TOKENS. Has no effect on Fable models, Sonnet 5, or Opus 4.7 and later, which always use adaptive reasoning", - "zh": "设置为 1 以禁用 Opus 4.6 和 Sonnet 4.6 的自适应推理并回退到由 MAX_THINKING_TOKENS 控制的固定思考预算。从 v2.1.111 开始,对 Fable 5、Sonnet 5 或 Opus 4.7 及更高版本无效,它们始终使用自适应推理" + "zh": "设置为 1 以禁用 Opus 4.6 和 Sonnet 4.6 上的 自适应推理,并回退到由 MAX_THINKING_TOKENS 控制的固定思考预算。对 Fable 模型、Sonnet 5 或 Opus 4.7 及更高版本无效,它们始终使用自适应推理" } }, { @@ -4473,7 +4551,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to stop Claude Code from merging managed settings env blocks per key across admin sources, so only the highest-priority source's whole env block applies, as before v2.1.223. Set it in the environment that launches Claude Code, since Claude Code ignores a copy delivered through a settings env block. Requires Claude Code v2.1.223 or later", - "zh": "Set to 1 to stop Claude Code from merging managed settings env blocks per key across admin sources, so only the highest-priority source's whole env block applies, as before v2.1.223. Set it in the environment that launches Claude Code, since Claude Code ignores a copy delivered through a settings env block. Requires Claude Code v2.1.223 or later" + "zh": "设置为 1 以停止 Claude Code 从管理员源合并 托管设置 env 块(按键),因此仅应用最高优先级源的整个 env 块,如 v2.1.223 之前。在启动 Claude Code 的环境中设置它,因为 Claude Code 忽略通过设置 env 块传递的副本。需要 Claude Code v2.1.223 或更高版本" } }, { @@ -4482,7 +4560,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable the advisor tool. The /advisor command becomes unavailable, any configured advisorModel is ignored, and the --advisor flag is accepted but has no effect, so existing scripts that pass it continue to work without errors", - "zh": "设置为 1 以禁用顾问工具。/advisor 命令变为不可用,任何配置的 advisorModel 被忽略,--advisor 标志被接受但无效,因此传递它的现有脚本继续工作而不出错" + "zh": "设置为 1 以禁用 advisor 工具。/advisor 命令变为不可用,任何配置的 advisorModel 被忽略,--advisor 标志被接受但无效,因此传递它的现有脚本继续工作而不出错" } }, { @@ -4491,7 +4569,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to turn off background agents and agent view: claude agents, --bg, /background, and the on-demand supervisor. Equivalent to the disableAgentView setting", - "zh": "设置为 1 以关闭后台代理和代理视图:claude agents、--bg、/background 和按需监督员。等同于 disableAgentView 设置" + "zh": "设置为 1 以关闭 后台代理和代理视图:claude agents、--bg、/background 和按需主管。等同于 disableAgentView 设置" } }, { @@ -4500,7 +4578,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable fullscreen rendering and use the classic main-screen renderer. The conversation stays in your terminal's native scrollback so Cmd+f and tmux copy mode work as usual. Takes precedence over CLAUDE_CODE_NO_FLICKER and the tui setting. You can also switch with /tui default. Does not apply to background sessions opened from agent view, which always use fullscreen rendering", - "zh": "设置为 1 以禁用全屏渲染并使用经典主屏幕渲染器。对话保持在您的终端的原生滚动条中,因此 Cmd+f 和 tmux 复制模式可以正常工作。优先于 CLAUDE_CODE_NO_FLICKER 和 tui 设置。您也可以使用 /tui default 切换。不适用于从代理视图打开的后台会话,它们始终使用全屏渲染" + "zh": "设置为 1 以禁用 全屏呈现 并使用经典主屏幕渲染器。对话保留在终端的本机滚动条中,因此 Cmd+f 和 tmux 复制模式照常工作。优先于 CLAUDE_CODE_NO_FLICKER 和 tui 设置。您也可以使用 /tui default 切换。不适用于从 代理视图 打开的后台会话,它们始终使用全屏呈现" } }, { @@ -4509,7 +4587,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to turn off the Artifact tool, which publishes session output as a private web page on claude.ai. Once you set it, no settings file turns the tool back on. To turn the tool off from a settings file instead, set enableArtifact to false; the deprecated disableArtifact key also turns it off", - "zh": "设置为 1 以禁用工件工具,该工具将会话输出发布为 claude.ai 上的私有网页。等同于 disableArtifact 设置" + "zh": "设置为 1 以关闭 Artifact 工具,该工具将会话输出发布为 claude.ai 上的私有网页。一旦设置,没有设置文件会打开该工具。要改为从设置文件关闭该工具,请将 enableArtifact 设置为 false;已弃用的 disableArtifact 键也会关闭它" } }, { @@ -4527,7 +4605,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable auto memory. Set to 0 to force auto memory on even when --bare mode or autoMemoryEnabled: false would otherwise disable it. When disabled, Claude does not create or load auto memory files", - "zh": "设置为 1 以禁用自动内存。设置为 0 以在 --bare 模式或 autoMemoryEnabled: false 会禁用它时强制启用自动内存。禁用后,Claude 不会创建或加载自动内存文件" + "zh": "设置为 1 以禁用 自动内存。设置为 0 以强制启用自动内存,即使 --bare 模式或 autoMemoryEnabled: false 会禁用它。禁用时,Claude 不创建或加载自动内存文件" } }, { @@ -4536,7 +4614,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable all background task functionality, including the run_in_background parameter on Bash and subagent tools, auto-backgrounding, and the Ctrl+B shortcut", - "zh": "设置为 1 以禁用所有后台任务功能,包括 Bash 和 subagent 工具上的 run_in_background 参数、自动后台处理和 Ctrl+B 快捷键" + "zh": "设置为 1 以禁用所有后台任务功能,包括 Bash 和子代理工具上的 run_in_background 参数、自动后台处理和 Ctrl+B 快捷键" } }, { @@ -4545,7 +4623,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to stop Claude Code from treating an Amazon Bedrock streaming response with a missing or empty Content-Type header as Amazon Bedrock's binary event stream. By default, Claude Code assumes a gateway dropped the header from an otherwise unmodified response, so it decodes the body and streaming keeps working. Set this only for a gateway that also re-emits the stream as server-sent events; Claude Code then reads the header-less body as server-sent events instead. Requires Claude Code v2.1.239 or later", - "zh": "Set to 1 to stop Claude Code from treating an Amazon Bedrock streaming response with a missing or empty Content-Type header as Amazon Bedrock's binary event stream. By default, Claude Code assumes a gateway dropped the header from an otherwise unmodified response, so it decodes the body and streaming keeps working. Set this only for a gateway that also re-emits the stream as server-sent events; Claude Code then reads the header-less body as server-sent events instead. Requires Claude Code v2.1.239 or later" + "zh": "设置为 1 以停止 Claude Code 将 Amazon Bedrock 流式响应(缺少或空的 Content-Type 标头)视为 Amazon Bedrock 的二进制事件流。默认情况下,Claude Code 假设网关从其他未修改的响应中删除了标头,因此它解码正文并继续流式传输。仅为也将流重新发出为服务器发送事件的网关设置此选项;Claude Code 然后将无标头正文读作服务器发送事件。需要 Claude Code v2.1.239 或更高版本" } }, { @@ -4554,7 +4632,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to skip the check that an Amazon Bedrock streaming response carries the application/vnd.amazon.eventstream content-type. Without this variable, when a response carries a different content-type, Claude Code fails the request with an error naming that type, which means a gateway or proxy is transforming the response. Configure the gateway to forward the Content-Type header and body unmodified rather than setting this variable. Requires Claude Code v2.1.208 or later", - "zh": "设置为 1 以跳过检查 Amazon Bedrock 流式响应是否携带 application/vnd.amazon.eventstream 内容类型。没有此变量,具有不同内容类型的响应会失败并显示命名该内容类型的错误,这意味着网关或代理正在转换响应。仅当网关重写 Content-Type 标头但通过未修改的二进制事件流体时设置它;如果体本身被转换,请求会失败并显示 Truncated event message received。需要 Claude Code v2.1.208 或更高版本" + "zh": "设置为 1 以跳过检查 Amazon Bedrock 流式响应是否携带 application/vnd.amazon.eventstream 内容类型。没有此变量,当响应携带不同的内容类型时,Claude Code 会因命名该类型的错误而失败请求,这意味着 网关或代理正在转换响应。配置网关以转发 Content-Type 标头和正文不修改,而不是设置此变量。需要 Claude Code v2.1.208 或更高版本" } }, { @@ -4563,7 +4641,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to stop a background session's running background shell commands, dynamic workflows, and, as of v2.1.198, background subagents when the supervisor stops, restarts, or updates that session's process, instead of handing them to the session's next process. Affects only that handoff: backgrounding a session with ← or /background still carries in-flight work over, and CLAUDE_DISABLE_ADOPT turns off both. Requires Claude Code v2.1.196 or later", - "zh": "设置为 1 以在监督员停止、重启或更新该会话的进程时停止后台会话的运行后台 shell 命令、动态工作流和(从 v2.1.198 开始)后台 subagents,而不是将它们交给会话的下一个进程。仅影响该交接:使用 ← 或 /background 后台处理会话仍会进行中的工作,CLAUDE_DISABLE_ADOPT 关闭两者。需要 Claude Code v2.1.196 或更高版本" + "zh": "设置为 1 以停止 后台会话的 运行后台 shell 命令、动态工作流,以及从 v2.1.198 开始的后台子代理,当 主管 停止、重启或更新该会话的进程时,而不是将它们交给会话的下一个进程。仅影响该交接:使用 ← 或 /background 后台处理会话仍会进行中的工作,CLAUDE_DISABLE_ADOPT 关闭两者。需要 Claude Code v2.1.196 或更高版本" } }, { @@ -4572,7 +4650,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to stop Claude Code from terminating background shell commands when the operating system reports memory pressure. By default, on macOS and Linux, Claude Code terminates a background shell started in the main session on a memory-pressure signal once the session has been idle for 30 minutes and no turn or subagent is running. Windows has no memory-pressure signal, so this variable has no effect there. Requires Claude Code v2.1.193 or later", - "zh": "设置为 1 以停止 Claude Code 在操作系统报告内存压力时终止后台 shell 命令。默认情况下,在 macOS 和 Linux 上,Claude Code 在会话空闲 30 分钟且没有转换或 subagent 运行后,在内存压力信号上终止在主会话中启动的后台 shell。Windows 没有内存压力信号,因此此变量对其无效。需要 Claude Code v2.1.193 或更高版本" + "zh": "设置为 1 以停止 Claude Code 在操作系统报告内存压力时终止 后台 shell 命令。默认情况下,在 macOS 和 Linux 上,Claude Code 在会话空闲 30 分钟且没有转或子代理运行后,在内存压力信号上终止在主会话中启动的后台 shell。Windows 没有内存压力信号,因此此变量对其无效。需要 Claude Code v2.1.193 或更高版本" } }, { @@ -4581,7 +4659,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable the skills and workflows included with Claude Code: bundled skills and workflows are removed entirely, while built-in commands like /init stay typable but are hidden from the model. /doctor stays typable like the built-in commands; hide it with DISABLE_DOCTOR_COMMAND instead. Skills from plugins, .claude/skills/, and .claude/commands/ are unaffected. Equivalent to the disableBundledSkills setting", - "zh": "设置为 1 以禁用 Claude Code 附带的 skills 和工作流:捆绑的 skills 和工作流被完全删除,而内置的斜杠命令如 /init 保持可输入但对模型隐藏。/doctor 保持可输入,如内置命令;使用 DISABLE_DOCTOR_COMMAND 隐藏它。来自插件、.claude/skills/ 和 .claude/commands/ 的 skills 不受影响。等同于 disableBundledSkills 设置;0 不会覆盖它" + "zh": "设置为 1 以禁用 Claude Code 包含的 skills 和工作流:捆绑的 skills 和工作流被完全删除,而内置命令(如 /init)保持可输入但对模型隐藏。/doctor 保持可输入,如内置命令;使用 DISABLE_DOCTOR_COMMAND 隐藏它。来自插件、.claude/skills/ 和 .claude/commands/ 的 Skills 不受影响。等同于 disableBundledSkills 设置" } }, { @@ -4590,7 +4668,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to keep the Claude in Chrome browser tools available while omitting the Chrome section of the system prompt and the /claude-in-chrome bundled skill. For hosts that embed Claude Code and supply their own browser guidance. Requires Claude Code v2.1.257 or later", - "zh": "Set to 1 to keep the Claude in Chrome browser tools available while omitting the Chrome section of the system prompt and the /claude-in-chrome bundled skill. For hosts that embed Claude Code and supply their own browser guidance. Requires Claude Code v2.1.257 or later" + "zh": "设置为 1 以保持 Chrome 中的 Claude 浏览器工具可用,同时省略系统提示的 Chrome 部分和 /claude-in-chrome 捆绑 skill。对于嵌入 Claude Code 并提供自己的浏览器指导的主机。需要 Claude Code v2.1.257 或更高版本" } }, { @@ -4608,7 +4686,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable scheduled tasks. The /loop skill and cron tools become unavailable and any already-scheduled tasks stop firing, including tasks that are already running mid-session", - "zh": "设置为 1 以禁用计划任务。/loop skill 和 cron 工具变为不可用,任何已计划的任务停止触发,包括已在会话中运行的任务" + "zh": "设置为 1 以禁用 计划任务。/loop skill 和 cron 工具变为不可用,任何已计划的任务停止触发,包括已在会话中运行的任务" } }, { @@ -4617,7 +4695,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to strip Anthropic-specific anthropic-beta request headers and beta tool-schema fields (such as defer_loading and eager_input_streaming) from API requests. Use this when a proxy gateway rejects requests with errors like \"Unexpected value(s) for the anthropic-beta header\" or \"Extra inputs are not permitted\". Standard fields (name, description, input_schema, cache_control) are preserved. MCP tool search is disabled and all MCP tools load upfront, even when you set ENABLE_TOOL_SEARCH. On Claude Code v2.1.227 or later, managed settings can keep tool search on. Disable pre-release capabilities covers where the override applies", - "zh": "设置为 1 以从 API 请求中删除 Anthropic 特定的 anthropic-beta 请求标头和 beta 工具架构字段(如 defer_loading 和 eager_input_streaming)。当代理网关拒绝请求并出现\"Unexpected value(s) for the anthropic-beta header\"或\"Extra inputs are not permitted\"之类的错误时,请使用此选项。标准字段(name、description、input_schema、cache_control)被保留。MCP 工具搜索被禁用,所有 MCP 工具提前加载,即使设置了 ENABLE_TOOL_SEARCH" + "zh": "设置为 1 以从 API 请求中删除 Anthropic 特定的 anthropic-beta 请求标头和测试版工具模式字段(如 defer_loading 和 eager_input_streaming)。当代理网关拒绝带有\"Unexpected value(s) for the anthropic-beta header\"或\"Extra inputs are not permitted\"等错误的请求时使用此选项。标准字段(name、description、input_schema、cache_control)被保留。MCP 工具搜索 被禁用,所有 MCP 工具立即加载,即使您设置 ENABLE_TOOL_SEARCH。在 Claude Code v2.1.227 或更高版本上,托管设置 可以保持工具搜索打开。禁用预发布功能 涵盖覆盖应用的位置" } }, { @@ -4626,7 +4704,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable the built-in Explore and Plan subagents. Claude explores with its search tools or the general-purpose subagent instead, and plan mode reads files directly rather than launching Explore and Plan agents. Custom subagents named Explore or Plan are unaffected. To remove every built-in subagent type in the Agent SDK or non-interactive mode, use CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS instead. Requires Claude Code v2.1.198 or later", - "zh": "设置为 1 以禁用内置 Explore 和 Plan subagents。Claude 改为使用其搜索工具或通用 subagent 进行探索,plan mode 直接读取文件而不是启动 Explore 和 Plan agents。名为 Explore 或 Plan 的自定义 subagents 不受影响。要在 Agent SDK 或非交互模式中删除每个内置 subagent 类型,请改用 CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS。需要 Claude Code v2.1.198 或更高版本" + "zh": "设置为 1 以禁用内置 Explore 和 Plan 子代理。Claude 使用其搜索工具或通用子代理进行探索,plan mode 直接读取文件而不是启动 Explore 和 Plan 代理。名为 Explore 或 Plan 的自定义子代理不受影响。要在 Agent SDK 或非交互模式下删除每个内置子代理类型,请改用 CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS。需要 Claude Code v2.1.198 或更高版本" } }, { @@ -4635,7 +4713,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable fast mode", - "zh": "设置为 1 以禁用快速模式" + "zh": "设置为 1 以禁用 快速模式" } }, { @@ -4644,7 +4722,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable the \"How is Claude doing?\" session quality surveys. Surveys are also disabled when DISABLE_TELEMETRY, DO_NOT_TRACK, or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set, unless CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL opts back in. To set a sample rate instead of disabling outright, use the feedbackSurveyRate setting. See Session quality surveys", - "zh": "设置为 1 以禁用\"Claude 表现如何?\"会话质量调查。在设置 DISABLE_TELEMETRY、DO_NOT_TRACK 或 CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC 时也会禁用调查,除非 CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL 选择重新启用。要设置样本率而不是完全禁用,请使用 feedbackSurveyRate 设置。请参阅会话质量调查" + "zh": "设置为 1 以禁用\"Claude 做得怎么样?\"会话质量调查。当 DISABLE_TELEMETRY、DO_NOT_TRACK 或 CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC 被设置时,调查也被禁用,除非 CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL 选择重新加入。要设置样本率而不是完全禁用,请使用 feedbackSurveyRate 设置。请参阅 会话质量调查" } }, { @@ -4653,7 +4731,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable file checkpointing. The /rewind command will not be able to restore code changes. Overrides the fileCheckpointingEnabled setting", - "zh": "设置为 1 以禁用文件 checkpointing。/rewind 命令将无法恢复代码更改" + "zh": "设置为 1 以禁用文件 checkpointing。/rewind 命令将无法恢复代码更改。覆盖 fileCheckpointingEnabled 设置" } }, { @@ -4662,7 +4740,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to remove built-in commit and PR workflow instructions and the git status snapshot from Claude's system prompt. Useful when using your own git workflow skills. Takes precedence over the includeGitInstructions setting when set", - "zh": "设置为 1 以从 Claude 的系统提示中删除内置的提交和 PR 工作流说明和 git 状态快照。在使用您自己的 git 工作流 skills 时很有用。设置后优先于 includeGitInstructions 设置" + "zh": "设置为 1 以从 Claude 的系统提示中删除内置提交和 PR 工作流说明以及 git 状态快照。在使用自己的 git 工作流 skills 时很有用。当设置时优先于 includeGitInstructions 设置" } }, { @@ -4671,7 +4749,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to prevent automatic remapping of Opus 4.0 and 4.1 to the current Opus version on the Anthropic API. Use when you intentionally want to pin an older model. The remap does not run on Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry", - "zh": "设置为 1 以防止在 Anthropic API 上自动重新映射 Opus 4.0 和 4.1 到当前 Opus 版本。当您想要有意固定较旧的模型时使用。重新映射不在 Amazon Bedrock、Google Cloud's Agent Platform 或 Microsoft Foundry 上运行" + "zh": "设置为 1 以防止在 Anthropic API 上自动重新映射 Opus 4.0 和 4.1 到当前 Opus 版本。在您想有意固定较旧模型时使用。重新映射不在 Amazon Bedrock、Google Cloud 的 Agent Platform 或 Microsoft Foundry 上运行" } }, { @@ -4680,7 +4758,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable mouse tracking in fullscreen rendering. Keyboard scrolling with PgUp and PgDn still works. Use this to keep your terminal's native copy-on-select behavior", - "zh": "设置为 1 以禁用全屏渲染中的鼠标跟踪。使用 PgUp 和 PgDn 的键盘滚动仍然有效。使用此选项可保持终端的原生选择复制行为" + "zh": "设置为 1 以禁用 全屏呈现 中的鼠标跟踪。使用 PgUp 和 PgDn 的键盘滚动仍然有效。使用此选项保持终端的本机选择复制行为" } }, { @@ -4689,7 +4767,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable click, drag, and hover handling in fullscreen rendering while keeping mouse-wheel scrolling. Use this when you want wheel scroll to work inside Claude Code but don't want clicks to position the cursor, expand tool output, or open links. CLAUDE_CODE_DISABLE_MOUSE takes precedence when both are set. Requires Claude Code v2.1.195 or later", - "zh": "设置为 1 以禁用全屏渲染中的点击、拖动和悬停处理,同时保持鼠标滚轮滚动。当您希望滚轮滚动在 Claude Code 内工作但不希望点击定位光标、展开工具输出或打开链接时使用此选项。当两者都设置时,CLAUDE_CODE_DISABLE_MOUSE 优先。需要 Claude Code v2.1.195 或更高版本" + "zh": "设置为 1 以禁用 全屏呈现 中的点击、拖动和悬停处理,同时保持鼠标滚轮滚动。当您希望滚轮滚动在 Claude Code 内工作但不希望点击定位光标、展开工具输出或打开链接时使用此选项。设置两者时 CLAUDE_CODE_DISABLE_MOUSE 优先。需要 Claude Code v2.1.195 或更高版本" } }, { @@ -4698,7 +4776,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to stop Claude Code from re-reading the mTLS client certificate and key when an API request fails with a connection-level error, such as a connection reset or a TLS handshake error. With the reload disabled, Claude Code loads rotated files only when it next applies settings or at the next startup. Requires Claude Code v2.1.232 or later", - "zh": "Set to 1 to stop Claude Code from re-reading the mTLS client certificate and key when an API request fails with a connection-level error, such as a connection reset or a TLS handshake error. With the reload disabled, Claude Code loads rotated files only when it next applies settings or at the next startup. Requires Claude Code v2.1.232 or later" + "zh": "设置为 1 以停止 Claude Code 在 API 请求因连接级错误(如连接重置或 TLS 握手错误)失败时重新读取 mTLS 客户端证书和密钥。禁用重新加载后,Claude Code 仅在下次应用设置或下次启动时加载轮换的文件。需要 Claude Code v2.1.232 或更高版本" } }, { @@ -4706,8 +4784,8 @@ "example": "1", "valueKind": "boolean-string", "description": { - "en": "Set to any non-empty value, such as 1, to disable nonessential network traffic: auto-updates, telemetry, error reporting, the /feedback command, Claude-drafted feedback, release notes, gateway model discovery refreshes, and availability checks such as the fast mode check. It also stops the background runs of plugin command sources, which are local commands rather than network traffic, because they can trigger dependency installs. Setting it to 0 or false still disables this traffic, unlike most on/off variables; unset the variable to allow it again. Also disables feature-flag fetching, which makes Remote Control and the other features that need feature-flag fetching unavailable. Official plugin marketplace auto-install isn't covered; disable it with CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL", - "zh": "等同于设置 DISABLE_AUTOUPDATER、DISABLE_FEEDBACK_COMMAND、DISABLE_ERROR_REPORTING 和 DISABLE_TELEMETRY" + "en": "Set to any non-empty value, such as 1, to disable nonessential network traffic: auto-updates, telemetry, error reporting, the /feedback command, Claude-drafted feedback, release notes, the PR and MR status badge checks, and availability checks such as the fast mode check. It also stops the background runs of plugin command sources, which are local commands rather than network traffic, because they can trigger dependency installs. Setting it to 0 or false still disables this traffic, unlike most on/off variables; unset the variable to allow it again. Also disables feature-flag fetching, which makes Remote Control and the other features that need feature-flag fetching unavailable. Official plugin marketplace auto-install isn't covered; disable it with CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL. Doesn't affect gateway model discovery, which has its own opt-in", + "zh": "设置为任何非空值(如 1)以禁用非必要网络流量:自动更新、遥测、错误报告、/feedback 命令、Claude 起草的反馈、发行说明、PR 和 MR 状态徽章 检查以及可用性检查(如 快速模式 检查)。它还停止 插件 command 源的后台运行,这些是本地命令而不是网络流量,因为它们可能触发依赖项安装。将其设置为 0 或 false 仍会禁用此流量,与大多数打开/关闭变量不同;取消设置变量以再次允许它。还禁用功能标志获取,这使 Remote Control 和其他 需要功能标志获取的功能 不可用。官方插件市场自动安装不涵盖;使用 CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL 禁用它。不影响 网关模型发现,它有自己的选择加入" } }, { @@ -4716,7 +4794,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable the non-streaming fallback when a streaming request fails mid-stream. Streaming errors propagate to the retry layer instead. Useful when a proxy or gateway causes the fallback to produce duplicate tool execution", - "zh": "设置为 1 以禁用流式请求在中途失败时的非流式回退。流式错误会传播到重试层。当代理或网关导致回退产生重复的工具执行时很有用" + "zh": "设置为 1 以禁用流式请求在中途失败时的非流式回退。流式错误传播到重试层。当代理或网关导致回退产生重复工具执行时很有用" } }, { @@ -4725,7 +4803,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to send the PushNotification tool's desktop notification even while you are typing in or focused on the terminal. By default the tool skips both the desktop notification and the mobile push when it detects recent keyboard activity or terminal focus. This variable disables only that local check, so the server can still suppress the mobile push when it detects that you are active. Requires Claude Code v2.1.193 or later", - "zh": "设置为 1 以在您在终端中输入或聚焦时发送 PushNotification 工具的桌面通知。默认情况下,当工具检测到最近的键盘活动或终端焦点时,工具会跳过桌面通知和移动推送。此变量仅禁用该本地检查,因此服务器仍可在检测到您处于活跃状态时抑制移动推送。需要 Claude Code v2.1.193 或更高版本" + "zh": "设置为 1 以在您在终端中输入或专注时发送 PushNotification 工具的桌面通知。默认情况下,当工具检测到最近的键盘活动或终端焦点时,工具会跳过桌面通知和 移动推送。此变量仅禁用该本地检查,因此服务器在检测到您处于活跃状态时仍可以抑制移动推送。需要 Claude Code v2.1.193 或更高版本" } }, { @@ -4734,7 +4812,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable automatic registration of the official plugin marketplace. Claude Code reads the variable when it is about to register the marketplace, usually during a machine's first interactive launch. If the variable is set at that point, Claude Code skips the registration permanently. Unsetting the variable later doesn't undo the skip. Run claude plugin marketplace add anthropics/claude-plugins-official to register the marketplace at any time", - "zh": "设置为 1 以跳过首次运行时官方插件市场的自动添加" + "zh": "设置为 1 以禁用官方插件市场的自动注册。Claude Code 在即将注册市场时读取该变量,通常在机器的第一次交互启动期间。如果变量在该点设置,Claude Code 永久跳过注册。稍后取消设置变量不会撤销跳过。随时运行 claude plugin marketplace add anthropics/claude-plugins-official 以注册市场" } }, { @@ -4743,7 +4821,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to stop Claude Code from running your Notification hooks for unanswered permission requests in sessions where Claude Code sends them to the Agent SDK's canUseTool callback, which is how Claude Desktop and the VS Code extension host Claude Code. Has no effect in terminal sessions. Requires Claude Code v2.1.233 or later", - "zh": "Set to 1 to stop Claude Code from running your Notification hooks for unanswered permission requests in sessions where Claude Code sends them to the Agent SDK's canUseTool callback, which is how Claude Desktop and the VS Code extension host Claude Code. Has no effect in terminal sessions. Requires Claude Code v2.1.233 or later" + "zh": "设置为 1 以停止 Claude Code 在 Claude Code 将它们发送到 Agent SDK 的 canUseTool 回调的会话中运行您的 Notification 未回答权限请求的 hooks,这是 Claude Desktop 和 VS Code 扩展如何托管 Claude Code 的方式。在终端会话中无效。需要 Claude Code v2.1.233 或更高版本" } }, { @@ -4752,7 +4830,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to skip loading skills from the system-wide managed skills directory. Useful for container or CI sessions that should not load operator-provisioned skills", - "zh": "设置为 1 以跳过从系统范围的托管 skills 目录加载 skills。对于不应加载操作员配置的 skills 的容器或 CI 会话很有用" + "zh": "设置为 1 以跳过从系统范围托管 skills 目录加载 skills。对于不应加载操作员配置的 skills 的容器或 CI 会话很有用" } }, { @@ -4761,7 +4839,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable automatic terminal title updates based on conversation context. In Agent SDK and claude -p sessions, this also skips the background small/fast-model request that generates the session title", - "zh": "设置为 1 以禁用基于对话上下文的自动终端标题更新。在 Agent SDK 和 claude -p 会话中,这也会跳过生成会话标题的后台 Haiku 请求" + "zh": "设置为 1 以禁用基于对话上下文的自动终端标题更新。在 Agent SDK 和 claude -p 会话中,这也跳过生成会话标题的后台小/快速模型请求" } }, { @@ -4769,8 +4847,8 @@ "example": "1", "valueKind": "boolean-string", "description": { - "en": "Set to 1 to omit the thinking parameter from API requests entirely. This is a compatibility option for proxies and gateways that reject the parameter. The variable's behavior is unchanged from earlier versions; on models that think by default, omitting the parameter means the model may still think. To explicitly disable extended thinking on the Anthropic API, use MAX_THINKING_TOKENS=0 instead, which is also ineffective on Fable models since they can't have thinking turned off. On third-party providers, 0 likewise omits the parameter, so the two variables behave the same there", - "zh": "设置为 1 以从 API 请求中完全省略 thinking 参数。这是代理和网关拒绝该参数的兼容性选项。在默认思考的模型上,省略该参数意味着模型仍可能思考。要在 Anthropic API 上明确禁用扩展思考,请改用 MAX_THINKING_TOKENS=0,这在 Fable 5 上也无效,因为它无法关闭思考。在第三方提供商上,0 同样省略该参数,因此两个变量在那里的行为相同" + "en": "Set to 1 to omit the thinking parameter from API requests entirely. This is a compatibility option for proxies and gateways that reject the parameter. On models that think by default, omitting the parameter means the model may still think. To explicitly disable extended thinking on the Anthropic API, use MAX_THINKING_TOKENS=0 instead. Neither variable turns thinking off on Fable models, which can't have thinking turned off. On third-party providers, MAX_THINKING_TOKENS=0 likewise omits the parameter, so the two variables behave the same there", + "zh": "设置为 1 以从 API 请求中完全省略 thinking 参数。这是拒绝该参数的代理和网关的兼容性选项。在默认思考的模型上,省略参数意味着模型仍可能思考。要在 Anthropic API 上显式禁用 扩展思考,请改用 MAX_THINKING_TOKENS=0。两个变量都不会在 Fable 模型上关闭思考,Fable 模型无法关闭思考。在 第三方提供商 上,MAX_THINKING_TOKENS=0 同样省略参数,因此两个变量在那里的行为相同" } }, { @@ -4779,7 +4857,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to skip proactive auto-compaction when Claude Code doesn't recognize the model ID, such as an LLM gateway alias. Without this variable, Claude Code compacts at the context window it assumes for the ID. CLAUDE_CODE_MAX_CONTEXT_TOKENS can correct the assumed window instead; see Correct the window for a gateway or custom model ID for when each variable applies. Requires Claude Code v2.1.223 or later", - "zh": "Set to 1 to skip proactive auto-compaction when Claude Code doesn't recognize the model ID, such as an LLM gateway alias. Without this variable, Claude Code compacts at the context window it assumes for the ID. CLAUDE_CODE_MAX_CONTEXT_TOKENS can correct the assumed window instead; see Correct the window for a gateway or custom model ID for when each variable applies. Requires Claude Code v2.1.223 or later" + "zh": "设置为 1 以跳过当 Claude Code 不识别模型 ID(如 LLM 网关 别名)时的主动 自动压缩。没有此变量,Claude Code 在它为 ID 假设的上下文窗口处压缩。CLAUDE_CODE_MAX_CONTEXT_TOKENS 可以改为纠正假设的窗口;请参阅 为网关或自定义模型 ID 纠正窗口 了解何时应用每个变量。需要 Claude Code v2.1.223 或更高版本" } }, { @@ -4788,7 +4866,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable virtual scrolling in fullscreen rendering and render every message in the transcript. Use this if scrolling in fullscreen mode shows blank regions where messages should appear", - "zh": "设置为 1 以禁用全屏渲染中的虚拟滚动并渲染转录中的每条消息。如果全屏模式中的滚动显示应该出现消息的空白区域,请使用此选项" + "zh": "设置为 1 以禁用 全屏呈现 中的虚拟滚动并呈现转录中的每条消息。如果全屏模式中的滚动显示消息应出现的空白区域,请使用此选项" } }, { @@ -4797,7 +4875,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable workflows. Equivalent to the disableWorkflows setting", - "zh": "设置为 1 以禁用工作流。等同于 disableWorkflows 设置" + "zh": "设置为 1 以禁用 工作流。等同于 disableWorkflows 设置" } }, { @@ -4805,8 +4883,8 @@ "example": "value", "valueKind": "string", "description": { - "en": "Set the effort level for supported models. Values: low, medium, high, xhigh, max, or auto to use the model default. Available levels depend on the model. Takes precedence over --effort, /effort, and the modelSettings and effortLevel settings. See Adjust effort level", - "zh": "为支持的模型设置努力级别。值:low、medium、high、xhigh、max 或 auto 以使用模型默认值。可用级别取决于模型。优先于 /effort 和 effortLevel 设置。请参阅调整努力级别" + "en": "Set the effort level for supported models. Values: low, medium, high, xhigh, max, or auto to use the model default. Available levels depend on the model. Takes precedence over --effort, /effort, and the modelSettings and effortLevel settings. A maxEffortLevel cap still applies. See Adjust effort level", + "zh": "为支持的模型设置 effort 级别。值:low、medium、high、xhigh、max 或 auto 以使用模型默认值。可用级别取决于模型。优先于 --effort、/effort 和 modelSettings 和 effortLevel 设置。maxEffortLevel 上限仍然适用。请参阅 调整 effort 级别" } }, { @@ -4814,8 +4892,8 @@ "example": "1", "valueKind": "boolean-string", "description": { - "en": "Set to 1 to enable appending extra text to the end of the system prompt of every subagent other than a forked subagent. The --append-subagent-system-prompt flag supplies the appended text and sets this variable automatically, so you don't need to set it yourself. Requires Claude Code v2.1.205 or later", - "zh": "设置为 1 以启用将额外文本附加到每个 subagent 系统提示的末尾。--append-subagent-system-prompt 标志提供附加的文本并自动设置此变量,因此您不需要自己设置它。需要 Claude Code v2.1.205 或更高版本" + "en": "Set to 1 to enable appending extra text to the end of the system prompt of every subagent other than a forked subagent. The --append-subagent-system-prompt and --append-subagent-system-prompt-file flags supply the appended text and set this variable automatically, so you don't need to set it yourself. Requires Claude Code v2.1.205 or later", + "zh": "设置为 1 以启用将额外文本附加到除 forked 子代理 之外的每个 子代理 的系统提示末尾。--append-subagent-system-prompt 和 --append-subagent-system-prompt-file 标志提供附加的文本并自动设置此变量,因此您不需要自己设置它。需要 Claude Code v2.1.205 或更高版本" } }, { @@ -4824,7 +4902,7 @@ "valueKind": "string", "description": { "en": "Accepted for compatibility with older releases and has no effect. Auto mode is available by default on every provider, including Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and signed-in Claude apps gateway sessions. In v2.1.158 through v2.1.206, setting this to 1 was required to make auto mode available on those providers", - "zh": "为了与较旧版本兼容而接受,无效。自动模式在每个提供商上默认可用,包括 Amazon Bedrock、Google Cloud's Agent Platform、Microsoft Foundry 和已登录的 Claude apps 网关会话" + "zh": "为了与较旧版本兼容而接受,无效。自动模式在每个提供商上默认可用,包括 Amazon Bedrock、Google Cloud 的 Agent Platform、Microsoft Foundry 和已登录的 Claude 应用网关 会话。在 v2.1.158 到 v2.1.206 中,需要将此设置为 1 以在这些提供商上提供 自动模式" } }, { @@ -4833,7 +4911,7 @@ "valueKind": "boolean-string", "description": { "en": "Override session recap availability. Set to 0 to force recaps off regardless of the /config toggle. Set to 1 to force recaps on when awaySummaryEnabled is false. Takes precedence over the setting and /config toggle", - "zh": "覆盖会话回顾可用性。设置为 0 以强制关闭回顾,无论 /config 切换如何。设置为 1 以在 awaySummaryEnabled 为 false 时强制启用回顾。优先于设置和 /config 切换" + "zh": "覆盖 会话回顾 可用性。设置为 0 以强制关闭回顾,无论 /config 切换如何。设置为 1 以在 awaySummaryEnabled 为 false 时强制打开回顾。优先于设置和 /config 切换" } }, { @@ -4842,7 +4920,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to refresh plugin state at turn boundaries in non-interactive mode after a background install completes. Off by default because the refresh changes the system prompt mid-session, which invalidates prompt caching for that turn", - "zh": "设置为 1 以在非交互模式中的转换边界处刷新插件状态,在后台安装完成后。默认关闭,因为刷新会在会话中途更改系统提示,这会使该转换的 prompt caching 失效" + "zh": "设置为 1 以在后台安装完成后在 非交互模式 中的转边界处刷新插件状态。默认关闭,因为刷新在会话中期更改系统提示,这会使该转的 提示缓存 失效" } }, { @@ -4851,7 +4929,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to route the \"How is Claude doing?\" session quality survey to your own OpenTelemetry collector when Anthropic-bound nonessential traffic is blocked. Survey ratings are emitted only as OTEL events to your configured collector. No survey data is sent to Anthropic in this mode. Applies when CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, DISABLE_TELEMETRY, or DO_NOT_TRACK is set, and has no effect otherwise. CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY and the organization product feedback policy take precedence", - "zh": "设置为 1 以在 Anthropic 绑定的非必要流量被阻止时将\"Claude 表现如何?\"会话质量调查路由到您自己的 OpenTelemetry 收集器。调查评分仅作为 OTEL 事件发送到您配置的收集器。在此模式下,不会向 Anthropic 发送任何调查数据。在设置 CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC、DISABLE_TELEMETRY 或 DO_NOT_TRACK 时应用,否则无效。CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY 和组织产品反馈政策优先" + "zh": "设置为 1 以在 Anthropic 绑定的非必要流量被阻止时将\"Claude 做得怎么样?\"会话质量调查路由到您自己的 OpenTelemetry 收集器。调查评级仅作为 OTEL 事件发出到您配置的收集器。在此模式下,没有调查数据发送到 Anthropic。当 CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC、DISABLE_TELEMETRY 或 DO_NOT_TRACK 被设置时适用,否则无效。CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY 和组织产品反馈政策优先" } }, { @@ -4860,7 +4938,7 @@ "valueKind": "boolean-string", "description": { "en": "Controls whether tool call inputs stream from the API as Claude generates them. With this off, a large tool input such as a long file write arrives only after Claude finishes generating it, which can look like it's hanging. Enabled by default on the Anthropic API. On Amazon Bedrock and Google Cloud's Agent Platform, enabled per model where the deployed container supports it. Set to 0 to opt out. Set to 1 to force on when routing through a proxy via ANTHROPIC_BASE_URL, ANTHROPIC_VERTEX_BASE_URL, or ANTHROPIC_BEDROCK_BASE_URL. Off by default on Microsoft Foundry and gateway connections", - "zh": "控制工具调用输入是否在 API 生成时从 API 流式传输。关闭此选项时,大型工具输入(如长文件写入)仅在 Claude 完成生成后才到达,这可能看起来像是挂起。对于 Anthropic API 默认启用。在 Amazon Bedrock 和 Google Cloud's Agent Platform 上,按模型启用,其中部署的容器支持它。设置为 0 以选择退出。设置为 1 以在通过 ANTHROPIC_BASE_URL、ANTHROPIC_VERTEX_BASE_URL 或 ANTHROPIC_BEDROCK_BASE_URL 路由到代理时强制启用。对 Microsoft Foundry 和网关连接默认关闭" + "zh": "控制工具调用输入是否在 Claude 生成时从 API 流式传输。关闭此选项时,大型工具输入(如长文件写入)仅在 Claude 完成生成后到达,这可能看起来像它挂起了。在 Anthropic API 上默认启用。在 Amazon Bedrock 和 Google Cloud 的 Agent Platform 上,在部署的容器支持的每个模型上启用。设置为 0 以选择退出。设置为 1 以在通过 ANTHROPIC_BASE_URL、ANTHROPIC_VERTEX_BASE_URL 或 ANTHROPIC_BEDROCK_BASE_URL 通过代理路由时强制打开。在 Microsoft Foundry 和 网关 连接上默认关闭" } }, { @@ -4869,7 +4947,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to populate the /model picker from your gateway's /v1/models endpoint when ANTHROPIC_BASE_URL points at an Anthropic-compatible gateway such as LiteLLM, Kong, or an internal proxy. Off by default because gateways backed by a shared API key would otherwise show every user every model the key can access. Discovered models are still filtered by an availableModels allowlist the session receives; deliver the list through MDM or a managed settings file, since server-managed delivery is not available on gateway configurations", - "zh": "设置为 1 以在 ANTHROPIC_BASE_URL 指向 Anthropic 兼容网关(如 LiteLLM、Kong 或内部代理)时从网关的 /v1/models 端点填充 /model 选择器。默认关闭,因为由共享 API 密钥支持的网关会显示该密钥可以访问的每个用户的每个模型。发现的模型仍由 availableModels 允许列表过滤,会话接收;通过 MDM 或托管设置文件传递列表,因为服务器管理的交付在网关配置上不可用" + "zh": "设置为 1 以在 ANTHROPIC_BASE_URL 指向 Anthropic 兼容网关(如 LiteLLM、Kong 或内部代理)时从网关的 /v1/models 端点填充 /model 选择器。默认关闭,因为由共享 API 密钥支持的网关会向每个用户显示密钥可以访问的每个模型。发现的模型仍由会话接收的 availableModels 允许列表过滤;通过 MDM 或托管设置文件 传递列表,因为 服务器管理的传递在网关配置上不可用" } }, { @@ -4878,7 +4956,7 @@ "valueKind": "string", "description": { "en": "Removed in v2.1.142, when the fast mode default moved from Opus 4.6 to Opus 4.7", - "zh": "在 v2.1.142 中移除,当快速模式默认从 Opus 4.6 移至 Opus 4.7 时" + "zh": "在 v2.1.142 中删除,当 快速模式 默认从 Opus 4.6 移到 Opus 4.7 时" } }, { @@ -4887,7 +4965,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to false to turn off prompt suggestions, the grayed-out predictions that appear in your prompt input. Takes precedence over the promptSuggestionEnabled setting, which is what the Prompt suggestions toggle in /config writes. Claude Code also pauses suggestions while your account is close to or at its usage limit. Set to true to keep them on until you reach the limit. Requires Claude Code v2.1.238 or later. See Prompt suggestions", - "zh": "设置为 false 以禁用提示建议(/config 中的\"提示建议\"切换)。这些是在 Claude 响应后出现在提示输入中的灰显预测。请参阅提示建议" + "zh": "设置为 false 以关闭提示建议,即在提示输入中出现的灰显预测。优先于 promptSuggestionEnabled 设置,这是 /config 中的提示建议切换写入的。Claude Code 还 在您的帐户接近或达到使用限制时暂停建议。设置为 true 以在达到限制之前保持它们打开。需要 Claude Code v2.1.238 或更高版本。请参阅 提示建议" } }, { @@ -4896,7 +4974,7 @@ "valueKind": "boolean-string", "description": { "en": "Selects which task-tracking tools Claude Code provides in sessions that have them. By default, Claude Code provides the Task tools TaskCreate, TaskUpdate, TaskGet, and TaskList. Set to 0 to get the legacy TodoWrite tool instead. See Task list", - "zh": "控制会话是否使用结构化 Task 工具(TaskCreate、TaskUpdate、TaskGet、TaskList)或旧版 TodoWrite 工具。从 Claude Code v2.1.142 开始,Task 工具是所有模式中的默认工具。设置为 0 以恢复为 TodoWrite。请参阅任务列表和迁移到 Task 工具" + "zh": "选择 Claude Code 在 具有它们的会话 中提供哪些任务跟踪工具。默认情况下,Claude Code 提供 Task 工具 TaskCreate、TaskUpdate、TaskGet 和 TaskList。设置为 0 以改为获取旧版 TodoWrite 工具。请参阅 任务列表" } }, { @@ -4905,7 +4983,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to enable OpenTelemetry data collection for metrics and logging. Required before configuring OTel exporters. See Monitoring", - "zh": "设置为 1 以启用 OpenTelemetry 数据收集以获取指标和日志。在配置 OTel 导出器之前需要。请参阅监控" + "zh": "设置为 1 以启用指标和日志记录的 OpenTelemetry 数据收集。在配置 OTel 导出器之前需要。请参阅 监控" } }, { @@ -4914,7 +4992,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to get the task-tracking tools on the models listed under Task tool availability, where Claude Code otherwise leaves them out. CLAUDE_CODE_ENABLE_TASKS still selects the Task tools or TodoWrite. Requires Claude Code v2.1.233 or later", - "zh": "Set to 1 to get the task-tracking tools on the models listed under Task tool availability, where Claude Code otherwise leaves them out. CLAUDE_CODE_ENABLE_TASKS still selects the Task tools or TodoWrite. Requires Claude Code v2.1.233 or later" + "zh": "设置为 1 以在 任务工具可用性 下列出的模型上获取任务跟踪工具,Claude Code 否则会将其排除。CLAUDE_CODE_ENABLE_TASKS 仍选择 Task 工具或 TodoWrite。需要 Claude Code v2.1.233 或更高版本" } }, { @@ -4923,7 +5001,7 @@ "valueKind": "number-string", "description": { "en": "Time in milliseconds to wait after the query loop becomes idle before automatically exiting. Useful for automated workflows and scripts using SDK mode", - "zh": "查询循环变为空闲后自动退出前等待的时间(以毫秒为单位)。对于使用 SDK 模式的自动化工作流和脚本很有用" + "zh": "查询循环变为空闲后自动退出前等待的时间(毫秒)。对使用 SDK 模式的自动化工作流和脚本很有用" } }, { @@ -4932,7 +5010,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to enable agent teams. Agent teams are experimental and disabled by default", - "zh": "设置为 1 以启用代理团队。代理团队是实验性的,默认禁用" + "zh": "设置为 1 以启用 代理团队。代理团队是实验性的,默认禁用" } }, { @@ -4941,7 +5019,7 @@ "valueKind": "string", "description": { "en": "JSON object to merge into the top level of every API request body. Useful for passing provider-specific parameters that Claude Code doesn't expose directly. A value exported in your shell also applies to the background sessions you dispatch with claude agents or --bg. Before v2.1.206, background sessions ignored a shell-exported value and used whatever copy the background supervisor process inherited", - "zh": "JSON 对象以合并到每个 API 请求体的顶级。对于传递 Claude Code 不直接公开的提供商特定参数很有用。在您的 shell 中导出的值也适用于您使用 claude agents 或 --bg 分派的后台会话。在 v2.1.206 之前,后台会话忽略了 shell 导出的值,并使用了后台监督员进程继承的任何副本" + "zh": "JSON 对象以合并到每个 API 请求正文的顶级。对传递 Claude Code 不直接公开的提供商特定参数很有用。在您的 shell 中导出的值也适用于您使用 claude agents 或 --bg 调度的 后台会话。在 v2.1.206 之前,后台会话忽略了 shell 导出的值,并使用后台主管进程继承的任何副本" } }, { @@ -4959,7 +5037,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to force transcript persistence, prompt history, and claude agents registration even when this claude was launched from inside another Claude Code session. Use when an inherited CLAUDE_CODE_CHILD_SESSION value, for example from a screen session or a background launcher first started by Claude Code's Bash tool, causes a genuine top-level session to be misclassified as nested. As of v2.1.178, Claude Code detects the tmux case automatically and ignores the inherited marker, so tmux no longer needs this variable. Also honored on v2.1.169 and earlier; has no effect on v2.1.170 and v2.1.171, where the nested-session detection it overrides was removed", - "zh": "设置为 1 以强制转录持久化、提示历史和 claude agents 注册,即使此 claude 是从另一个 Claude Code 会话内启动的。当继承的 CLAUDE_CODE_CHILD_SESSION 值(例如来自 Claude Code 的 Bash 工具首次启动的 screen 会话)导致真正的顶级会话被误分类为嵌套时使用。从 v2.1.178 开始,Claude Code 自动检测 tmux 情况并忽略继承的标记,因此 tmux 不再需要此变量。也在 v2.1.169 及更早版本上受尊重;对 v2.1.170 和 v2.1.171 无效,其中它覆盖的嵌套会话检测被移除" + "zh": "设置为 1 以强制转录持久性、提示历史和 claude agents 注册,即使此 claude 是从另一个 Claude Code 会话内启动的。当继承的 CLAUDE_CODE_CHILD_SESSION 值(例如来自 screen 会话或由 Claude Code 的 Bash 工具首先启动的后台启动器)导致真正的顶级会话被误分类为嵌套时使用。从 v2.1.178 开始,Claude Code 自动检测 tmux 情况并忽略继承的标记,因此 tmux 不再需要此变量。也在 v2.1.169 及更早版本上受尊重;对 v2.1.170 和 v2.1.171 无效,其中它覆盖的嵌套会话检测被删除" } }, { @@ -4968,7 +5046,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to force strikethrough rendering for ~~text~~ in Claude's responses when your terminal supports it but is not auto-detected, such as over SSH without TERM_PROGRAM forwarded. Without this, undetected terminals show the literal ~~ markers instead of rendering the text as strikethrough. Requires Claude Code v2.1.186 or later", - "zh": "设置为 1 以在您的终端支持但未自动检测到时强制对 ~~text~~ 进行删除线渲染,例如通过 SSH 而不转发 TERM_PROGRAM。没有这个,未检测到的终端显示文字 ~~ 标记而不是将文本呈现为删除线。需要 Claude Code v2.1.186 或更高版本" + "zh": "设置为 1 以在您的终端支持但未自动检测时强制 ~~text~~ 的删除线呈现,例如通过 SSH 而不转发 TERM_PROGRAM。没有这个,未检测到的终端显示文字 ~~ 标记而不是将文本呈现为删除线。需要 Claude Code v2.1.186 或更高版本" } }, { @@ -4977,7 +5055,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to force-enable DEC private mode 2026 synchronized output when your terminal supports it but is not auto-detected. Useful for emulators such as Emacs eat that implement BSU/ESU but do not reply to the capability probe. Has no effect under tmux. Unlike CLAUDE_CODE_NO_FLICKER, which switches to fullscreen rendering, this doesn't change the renderer", - "zh": "设置为 1 以在您的终端支持但未自动检测到时强制启用 DEC 私有模式 2026 同步输出。对于实现 BSU/ESU 但不回复能力探针的模拟器(如 Emacs eat)很有用。在 tmux 下无效" + "zh": "设置为 1 以在您的终端支持但未自动检测时强制启用 DEC 私有模式 2026 同步输出。对于实现 BSU/ESU 但不回复功能探针的 Emacs eat 等模拟器很有用。在 tmux 下无效。与 CLAUDE_CODE_NO_FLICKER 不同,后者切换到 全屏呈现,这不会改变渲染器" } }, { @@ -4986,7 +5064,7 @@ "valueKind": "boolean-string", "description": { "en": "Controls fork mode, which lets Claude spawn forked subagents itself and is on by default in interactive sessions only. Set to 1 to turn it on in claude -p and the Agent SDK as well, or 0 to turn it off in every kind of session. You can run /subtask whether or not fork mode is on. The interactive default requires Claude Code v2.1.232 or later; on earlier versions, set the variable to 1 to turn fork mode on", - "zh": "设置为 1 以让 Claude 生成分叉 subagents,或 0 以禁用它们,覆盖任何服务器端推出。启用后,Claude 可以请求 fork subagent 类型以生成分叉,一个继承完整对话上下文而不是从头开始的 subagent。没有 subagent 类型的生成仍使用通用 subagent,所有 subagent 生成在后台运行。显式 /fork 命令无需此变量即可工作。在交互模式和通过 SDK 或 claude -p 中工作" + "zh": "控制 fork 模式,它让 Claude 生成 forked 子代理 本身,在交互式会话中默认打开。设置为 1 以在 claude -p 和 Agent SDK 中也打开它,或 0 以在每种会话中关闭它。无论 fork 模式是否打开,您都可以运行 /subtask。交互式默认需要 Claude Code v2.1.232 或更高版本;在较早的版本上,设置变量为 1 以打开 fork 模式" } }, { @@ -4995,7 +5073,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to emit subagent text and thinking blocks in claude -p --output-format stream-json output, the same behavior as the --forward-subagent-text flag. Use the variable when a harness invokes claude and can't pass the flag itself. Unlike the flag, which exits with an error outside non-interactive mode with stream-json output, the variable is ignored there so that nested invocations keep working when it's set process-wide. Requires Claude Code v2.1.211 or later", - "zh": "Set to 1 to emit subagent text and thinking blocks in claude -p --output-format stream-json output, the same behavior as the --forward-subagent-text flag. Use the variable when a harness invokes claude and can't pass the flag itself. Unlike the flag, which exits with an error outside non-interactive mode with stream-json output, the variable is ignored there so that nested invocations keep working when it's set process-wide. Requires Claude Code v2.1.211 or later" + "zh": "设置为 1 以在 claude -p --output-format stream-json 输出中发出 子代理 文本和思考块,与 --forward-subagent-text 标志相同的行为。当工具调用 claude 的工具无法自己传递标志时使用该变量。与标志不同,标志在非交互模式下使用 stream-json 输出时以错误退出,变量在那里被忽略,以便嵌套调用在设置进程范围时继续工作。需要 Claude Code v2.1.211 或更高版本" } }, { @@ -5004,7 +5082,7 @@ "valueKind": "string", "description": { "en": "Windows only: path to the Git Bash executable (bash.exe). Use when Git Bash is installed but not in your PATH. If the path doesn't exist or the file isn't named bash.exe, sh.exe, bash, or sh, Claude Code ignores the variable and auto-detects Git Bash as if it were unset, logging a warning visible with --debug. Before v2.1.219, Claude Code exited at startup when the path didn't exist, and used any existing file as the shell without checking that it was bash or sh. See Windows setup", - "zh": "仅限 Windows:Git Bash 可执行文件 (bash.exe) 的路径。当 Git Bash 已安装但不在您的 PATH 中时使用。请参阅 Windows 设置" + "zh": "仅限 Windows:Git Bash 可执行文件(bash.exe)的路径。当 Git Bash 已安装但不在您的 PATH 中时使用。如果路径不存在或文件未命名为 bash.exe、sh.exe、bash 或 sh,Claude Code 会忽略该变量并自动检测 Git Bash,就像它未设置一样,记录在 --debug 中可见的警告。在 v2.1.219 之前,当路径不存在时 Claude Code 在启动时退出,并使用任何现有文件作为 shell,而不检查它是否为 bash 或 sh。请参阅 Windows 设置" } }, { @@ -5013,7 +5091,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to false to exclude dotfiles from results when Claude invokes the Glob tool. Included by default. Does not affect @ file autocomplete, ls, Grep, or Read", - "zh": "设置为 false 以在 Claude 调用 Glob 工具时从结果中排除点文件。默认包含。不影响 @ 文件自动完成、ls、Grep 或 Read" + "zh": "设置为 false 以在 Claude 调用 Glob 工具 时从结果中排除点文件。默认包含。不影响 @ 文件自动完成、ls、Grep 或 Read" } }, { @@ -5022,7 +5100,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to false to make the Glob tool respect .gitignore patterns. By default, Glob returns all matching files including gitignored ones. Does not affect @ file autocomplete, which has its own respectGitignore setting", - "zh": "设置为 false 以使 Glob 工具尊重 .gitignore 模式。默认情况下,Glob 返回所有匹配的文件,包括被 gitignore 的文件。不影响 @ 文件自动完成,它有自己的 respectGitignore 设置" + "zh": "设置为 false 以使 Glob 工具 尊重 .gitignore 模式。默认情况下,Glob 返回所有匹配的文件,包括 gitignored 的文件。不影响 @ 文件自动完成,它有自己的 respectGitignore 设置" } }, { @@ -5031,7 +5109,7 @@ "valueKind": "number-string", "description": { "en": "Timeout in seconds for Glob tool file discovery. Defaults to 20 seconds on most platforms and 60 seconds on WSL", - "zh": "Glob 工具文件发现的超时时间(以秒为单位)。在大多数平台上默认为 20 秒,在 WSL 上默认为 60 秒" + "zh": "Glob 工具文件发现的超时时间(秒)。在大多数平台上默认为 20 秒,在 WSL 上为 60 秒" } }, { @@ -5040,7 +5118,7 @@ "valueKind": "boolean-string", "description": { "en": "How many minutes background work can keep an active goal waiting before Claude Code asks Claude to check on it. Default 30. Set 0 to turn check-ins off. Give whole minutes in plain digits, at most 10080, which is one week. Claude Code treats any other value as unset and uses the default. Requires Claude Code v2.1.234 or later", - "zh": "How many minutes background work can keep an active goal waiting before Claude Code asks Claude to check on it. Default 30. Set 0 to turn check-ins off. Give whole minutes in plain digits, at most 10080, which is one week. Claude Code treats any other value as unset and uses the default. Requires Claude Code v2.1.234 or later" + "zh": "后台工作可以让活跃目标等待多少分钟,然后 Claude Code 要求 Claude 检查它。默认 30。设置 0 以关闭检查。给出纯数字的整分钟,最多 10080,即一周。Claude Code 将任何其他值视为未设置并使用默认值。需要 Claude Code v2.1.234 或更高版本" } }, { @@ -5049,7 +5127,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to hide the working directory in the startup logo. Useful for screenshares or recordings where the path exposes your OS username", - "zh": "设置为 1 以在启动徽标中隐藏工作目录。对于屏幕共享或录制(其中路径暴露您的操作系统用户名)很有用" + "zh": "设置为 1 以在启动徽标中隐藏工作目录。对于屏幕共享或录制(其中路径暴露您的 OS 用户名)很有用" } }, { @@ -5058,7 +5136,7 @@ "valueKind": "string", "description": { "en": "Override the host address used to connect to the IDE extension. By default Claude Code auto-detects the correct address, including WSL-to-Windows routing", - "zh": "覆盖用于连接到 IDE 扩展的主机地址。默认情况下,Claude Code 自动检测正确的地址,包括 WSL 到 Windows 的路由" + "zh": "覆盖用于连接到 IDE 扩展的主机地址。默认情况下 Claude Code 自动检测正确的地址,包括 WSL 到 Windows 路由" } }, { @@ -5067,7 +5145,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to skip auto-installation of IDE extensions. Equivalent to setting autoInstallIdeExtension to false", - "zh": "跳过 IDE 扩展的自动安装。等同于将 autoInstallIdeExtension 设置为 false" + "zh": "设置为 1 以跳过 IDE 扩展的自动安装。等同于将 autoInstallIdeExtension 设置为 false" } }, { @@ -5076,7 +5154,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to skip validation of IDE lockfile entries during connection. Use when auto-connect fails to find your IDE despite it running", - "zh": "设置为 1 以跳过连接期间 IDE 锁定文件条目的验证。当自动连接无法找到您的 IDE 时使用,尽管它正在运行" + "zh": "设置为 1 以跳过连接期间 IDE 锁文件条目的验证。当自动连接无法找到您的 IDE 尽管它正在运行时使用" } }, { @@ -5085,7 +5163,7 @@ "valueKind": "string", "description": { "en": "How many subagents can be running in one session before the Agent tool refuses to spawn another (default: 20). Accepts a positive whole number in plain digits; anything else is ignored, so the variable can adjust the cap but can't disable it. Requires Claude Code v2.1.217 or later", - "zh": "How many subagents can be running in one session before the Agent tool refuses to spawn another (default: 20). Accepts a positive whole number in plain digits; anything else is ignored, so the variable can adjust the cap but can't disable it. Requires Claude Code v2.1.217 or later" + "zh": "在 Agent 工具拒绝生成另一个之前,一个会话中可以运行多少个 子代理(默认值:20)。接受纯数字的正整数;任何其他内容都被忽略,因此变量可以调整上限但不能禁用它。需要 Claude Code v2.1.217 或更高版本" } }, { @@ -5094,7 +5172,7 @@ "valueKind": "number-string", "description": { "en": "Override the context window size Claude Code assumes for the active model. As of v2.1.193, how it applies depends on how Claude Code resolves the model ID; see Correct the window for a gateway or custom model ID. Use this when routing to a model through ANTHROPIC_BASE_URL whose context window does not match the built-in size for its name", - "zh": "覆盖 Claude Code 为活动模型假设的上下文窗口大小。从 v2.1.193 开始,对于 Claude Code 不识别为 Claude 模型的模型名称直接应用;对于识别的 Claude 模型,仅当同时设置 DISABLE_COMPACT 时才生效。当通过 ANTHROPIC_BASE_URL 路由到上下文窗口与其名称的内置大小不匹配的模型时使用" + "zh": "覆盖 Claude Code 为活跃模型假设的上下文窗口大小。从 v2.1.193 开始,它的应用方式取决于 Claude Code 如何解析模型 ID;请参阅 为网关或自定义模型 ID 纠正窗口。当通过 ANTHROPIC_BASE_URL 路由到模型时使用此选项,其上下文窗口与其名称的内置大小不匹配" } }, { @@ -5103,7 +5181,7 @@ "valueKind": "number-string", "description": { "en": "Set the maximum number of output tokens for most requests. Defaults and caps vary by model; see max output tokens. Claude Code defaults to 32000 for model IDs it doesn't recognize, such as gateway-specific names, and lowers values above a model's cap to the cap. Increasing this value reduces the effective context window available before auto-compaction triggers", - "zh": "设置大多数请求的最大输出令牌数。默认值和上限因模型而异;请参阅最大输出令牌。增加此值会减少在自动压缩触发之前可用的有效上下文窗口" + "zh": "为大多数请求设置最大输出令牌数。默认值和上限因模型而异;请参阅 最大输出令牌。Claude Code 为它不识别的模型 ID(如网关特定的名称)默认为 32000,并将高于模型上限的值降低到上限。增加此值会减少 自动压缩 触发之前可用的有效上下文窗口" } }, { @@ -5112,7 +5190,7 @@ "valueKind": "string", "description": { "en": "Override the number of times to retry failed API requests (default: 10). Capped at 15 as of v2.1.186; as of v2.1.199, CLAUDE_CODE_RETRY_WATCHDOG raises the default and removes the cap. For unattended sessions that need to wait through longer outages, set CLAUDE_CODE_RETRY_WATCHDOG instead", - "zh": "覆盖重试失败 API 请求的次数(默认值:10)。从 v2.1.186 开始,上限为 15;从 v2.1.199 开始,CLAUDE_CODE_RETRY_WATCHDOG 提高默认值并移除上限。对于需要等待更长中断的无人值守会话,请改用 CLAUDE_CODE_RETRY_WATCHDOG" + "zh": "覆盖重试失败 API 请求的次数(默认值:10)。从 v2.1.186 开始上限为 15;从 v2.1.199 开始,CLAUDE_CODE_RETRY_WATCHDOG 提高默认值并删除上限。对于需要等待更长中断的无人值守会话,改为设置 CLAUDE_CODE_RETRY_WATCHDOG" } }, { @@ -5121,7 +5199,7 @@ "valueKind": "string", "description": { "en": "Number of subagent layers allowed below the main conversation (default: 3). At the default, subagents can spawn their own subagents, and a subagent at the third layer can't spawn further; set 1 to turn nesting off. In v2.1.217 through v2.1.218, the default was 1, so a subagent couldn't spawn its own unless you raised the limit; v2.1.219 raised the default to 3. Accepts a positive whole number in plain digits; anything else is ignored, so the limit can be adjusted but not removed. Requires Claude Code v2.1.217 or later", - "zh": "Number of subagent layers allowed below the main conversation (default: 3). At the default, subagents can spawn their own subagents, and a subagent at the third layer can't spawn further; set 1 to turn nesting off. In v2.1.217 through v2.1.218, the default was 1, so a subagent couldn't spawn its own unless you raised the limit; v2.1.219 raised the default to 3. Accepts a positive whole number in plain digits; anything else is ignored, so the limit can be adjusted but not removed. Requires Claude Code v2.1.217 or later" + "zh": "主对话下方允许的 子代理层 数(默认值:3)。在默认值处,子代理可以生成自己的子代理,第三层的子代理无法进一步生成;设置 1 以关闭嵌套。在 v2.1.217 到 v2.1.218 中,默认值为 1,因此子代理无法生成自己的,除非您提高限制;v2.1.219 将默认值提高到 3。接受纯数字的正整数;任何其他内容都被忽略,因此限制可以调整但不能删除。需要 Claude Code v2.1.217 或更高版本" } }, { @@ -5130,7 +5208,7 @@ "valueKind": "string", "description": { "en": "Removed in v2.1.224 and now a no-op. Previously capped the total number of subagents Claude could spawn with the Agent tool in one session (default: 200); spawning past the cap failed with Subagent spawn limit reached. The concurrent subagent limit and the depth limit still apply", - "zh": "Removed in v2.1.224 and now a no-op. Previously capped the total number of subagents Claude could spawn with the Agent tool in one session (default: 200); spawning past the cap failed with Subagent spawn limit reached. The concurrent subagent limit and the depth limit still apply" + "zh": "在 v2.1.224 中删除,现在是无操作。以前上限了 Claude 可以在一个会话中使用 Agent 工具生成的 子代理 总数(默认值:200);超过上限生成失败,显示 Subagent spawn limit reached。并发子代理限制 和 深度限制 仍然适用" } }, { @@ -5139,7 +5217,7 @@ "valueKind": "string", "description": { "en": "Maximum number of read-only tools and subagents that can execute in parallel (default: 10). Higher values increase parallelism but consume more resources", - "zh": "可以并行执行的只读工具和 subagents 的最大数量(默认值:10)。更高的值增加并行性但消耗更多资源" + "zh": "可以并行执行的只读工具和子代理的最大数量(默认值:10)。较高的值增加并行性但消耗更多资源" } }, { @@ -5148,7 +5226,7 @@ "valueKind": "string", "description": { "en": "Cap the number of agentic turns when no explicit limit is passed. Equivalent to passing --max-turns, which takes precedence when both are set. A value that is not a positive integer is rejected at startup with an error rather than treated as no cap", - "zh": "当未传递显式限制时,限制代理转换的数量。等同于传递 --max-turns,当两者都设置时优先。不是正整数的值在启动时被拒绝并显示错误,而不是被视为无限制" + "zh": "当没有传递显式限制时,限制代理转的数量。等同于传递 --max-turns,当两者都设置时优先。不是正整数的值在启动时被拒绝并显示错误,而不是视为无上限" } }, { @@ -5157,7 +5235,7 @@ "valueKind": "string", "description": { "en": "Cap on the total number of WebSearch calls one session can make (default: 200). When Claude reaches the cap, further WebSearch calls return a notice telling it to continue with the information it already gathered. Accepts a positive whole number with no upper bound. Anything else is ignored and the default applies, so the cap can be raised but not turned off. Requires Claude Code v2.1.212 or later", - "zh": "Cap on the total number of WebSearch calls one session can make (default: 200). When Claude reaches the cap, further WebSearch calls return a notice telling it to continue with the information it already gathered. Accepts a positive whole number with no upper bound. Anything else is ignored and the default applies, so the cap can be raised but not turned off. Requires Claude Code v2.1.212 or later" + "zh": "一个会话可以进行的 WebSearch 调用总数的上限(默认值:200)。当 Claude 达到上限时,进一步的 WebSearch 调用返回通知,告诉它继续使用已收集的信息。接受没有上限的正整数。任何其他内容都被忽略,默认值适用,因此上限可以提高但不能关闭。需要 Claude Code v2.1.212 或更高版本" } }, { @@ -5175,7 +5253,7 @@ "valueKind": "boolean-string", "description": { "en": "Elapsed time in milliseconds before a still-running MCP tool call moves to a background task (default: 120000, or 2 minutes). Set to 0 to turn automatic backgrounding off. Requires Claude Code v2.1.212 or later", - "zh": "Elapsed time in milliseconds before a still-running MCP tool call moves to a background task (default: 120000, or 2 minutes). Set to 0 to turn automatic backgrounding off. Requires Claude Code v2.1.212 or later" + "zh": "仍在运行的 MCP 工具调用 移到后台任务 之前的经过时间(毫秒)(默认值:120000,或 2 分钟)。设置为 0 以关闭自动后台处理。需要 Claude Code v2.1.212 或更高版本" } }, { @@ -5184,7 +5262,7 @@ "valueKind": "boolean-string", "description": { "en": "Idle timeout in milliseconds for MCP tool calls. When a stdio, HTTP, SSE, WebSocket, or claude.ai connector MCP server sends no response and no progress notification for this long, the tool call aborts with an error instead of waiting for the overall MCP_TOOL_TIMEOUT. Overrides the per-transport defaults of 300000 (5 minutes) for network servers and 1800000 (30 minutes) for stdio servers. Set to 0 to disable the idle check. Values below 1000 are raised to one second, and the value is capped at the effective MCP_TOOL_TIMEOUT. A per-server timeout in .mcp.json of at least 1000 raises that server's idle window to at least the timeout value. Doesn't apply to IDE servers or SDK in-process servers. Requires Claude Code v2.1.187 or later. Before v2.1.203, stdio servers were exempt from the idle timeout", - "zh": "MCP 工具调用的空闲超时(以毫秒为单位)。当 stdio、HTTP、SSE、WebSocket 或 claude.ai 连接器 MCP 服务器在这么长时间内没有发送响应和没有进度通知时,工具调用会中止并显示错误,而不是等待整体 MCP_TOOL_TIMEOUT。覆盖网络服务器的每个传输默认值 300000(5 分钟)和 stdio 服务器的 1800000(30 分钟)。设置为 0 以禁用空闲检查。低于 1000 的值被提高到一秒,该值上限为有效的 MCP_TOOL_TIMEOUT。.mcp.json 中的每个服务器 timeout 至少 1000 会将该服务器的空闲窗口提高到至少 timeout 值。不适用于 IDE 服务器或 SDK 进程内服务器。需要 Claude Code v2.1.187 或更高版本。在 v2.1.203 之前,stdio 服务器不受空闲超时限制" + "zh": "MCP 工具调用的空闲超时时间(毫秒)。当 stdio、HTTP、SSE、WebSocket 或 claude.ai 连接器 MCP 服务器在这么长时间内没有发送响应和进度通知时,工具调用中止并显示错误,而不是等待整体 MCP_TOOL_TIMEOUT。覆盖网络服务器 300000(5 分钟)和 stdio 服务器 1800000(30 分钟)的每个传输默认值。设置为 0 以禁用空闲检查。低于 1000 的值提高到一秒,值上限为有效 MCP_TOOL_TIMEOUT。.mcp.json 中的每个服务器 timeout 至少 1000 会将该服务器的空闲窗口提高到至少 timeout 值。不适用于 IDE 服务器或 SDK 进程内服务器。需要 Claude Code v2.1.187 或更高版本。在 v2.1.203 之前,stdio 服务器免除空闲超时" } }, { @@ -5193,7 +5271,7 @@ "valueKind": "string", "description": { "en": "Set by Claude Code, not by you: in sessions that bind an inbox socket, Claude Code exports that socket's path to hooks and Bash commands when it binds the socket. In a session that starts with messaging on, Claude Code binds the socket before any hook runs. Other sessions on the machine deliver messages to this path. Each session exports its own socket rather than one inherited from a parent, and messages arriving on it go through the session's inbound controls. Settings env blocks can't set it. Requires Claude Code v2.1.224 or later", - "zh": "Set by Claude Code, not by you: in sessions that bind an inbox socket, Claude Code exports that socket's path to hooks and Bash commands when it binds the socket. In a session that starts with messaging on, Claude Code binds the socket before any hook runs. Other sessions on the machine deliver messages to this path. Each session exports its own socket rather than one inherited from a parent, and messages arriving on it go through the session's inbound controls. Settings env blocks can't set it. Requires Claude Code v2.1.224 or later" + "zh": "由 Claude Code 设置,不由您设置:在绑定 收件箱套接字 的会话中,Claude Code 在绑定套接字时将该套接字的路径导出到 hooks 和 Bash 命令。在以消息打开的会话中,Claude Code 在任何 hook 运行之前绑定套接字。机器上的其他会话将消息传递到此路径。每个会话导出自己的套接字而不是从父级继承的套接字,到达它的消息通过会话的 入站控制 进行。设置 env 块无法设置它。需要 Claude Code v2.1.224 或更高版本" } }, { @@ -5202,7 +5280,7 @@ "valueKind": "string", "description": { "en": "Set by Claude Code, not by you: in sessions that bind an inbox socket, Claude Code exports this per-session token to hooks and Bash commands alongside CLAUDE_CODE_MESSAGING_SOCKET. A script posting to the socket can send {\"type\":\"auth\",\"token\":\"\"} as its first line to prove it belongs to the session. On native Windows, Claude Code requires this line and closes any connection that doesn't open with a valid one. The own-child rules say when Claude Code consults the token. Each session exports its own token, never one inherited from a parent session. Settings env blocks can't set it. Requires Claude Code v2.1.228 or later", - "zh": "Set by Claude Code, not by you: in sessions that bind an inbox socket, Claude Code exports this per-session token to hooks and Bash commands alongside CLAUDE_CODE_MESSAGING_SOCKET. A script posting to the socket can send {\"type\":\"auth\",\"token\":\"\"} as its first line to prove it belongs to the session. On native Windows, Claude Code requires this line and closes any connection that doesn't open with a valid one. The own-child rules say when Claude Code consults the token. Each session exports its own token, never one inherited from a parent session. Settings env blocks can't set it. Requires Claude Code v2.1.228 or later" + "zh": "由 Claude Code 设置,不由您设置:在绑定 收件箱套接字 的会话中,Claude Code 将此每个会话令牌与 CLAUDE_CODE_MESSAGING_SOCKET 一起导出到 hooks 和 Bash 命令。发布到套接字的脚本可以发送 {\"type\":\"auth\",\"token\":\"\"} 作为其第一行以证明它属于会话。在本机 Windows 上,Claude Code 需要此行并关闭任何不以有效行打开的连接。自有子规则 说明何时 Claude Code 查询令牌。每个会话导出自己的令牌,从不从父会话继承的令牌。设置 env 块无法设置它。需要 Claude Code v2.1.228 或更高版本" } }, { @@ -5211,7 +5289,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to show the terminal's own cursor at the input caret instead of a drawn block. The cursor respects the terminal's blink, shape, and focus settings", - "zh": "设置为 1 以在输入插入符处显示终端自己的光标,而不是绘制的块。光标尊重终端的闪烁、形状和焦点设置" + "zh": "设置为 1 以在输入插入符处显示终端自己的光标而不是绘制的块。光标尊重终端的闪烁、形状和焦点设置" } }, { @@ -5220,7 +5298,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to make /init run an interactive setup flow. The flow asks which files to generate, including CLAUDE.md, skills, and hooks, before exploring the codebase and writing them. Without this variable, /init generates a CLAUDE.md automatically without prompting", - "zh": "设置为 1 以使 /init 运行交互式设置流程。该流程会询问要生成哪些文件,包括 CLAUDE.md、skills 和 hooks,然后再探索代码库并编写它们。没有此变量,/init 会自动生成 CLAUDE.md 而不提示" + "zh": "设置为 1 以使 /init 运行交互式设置流程。流程在探索代码库和编写它们之前询问要生成哪些文件,包括 CLAUDE.md、skills 和 hooks。没有此变量,/init 自动生成 CLAUDE.md 而不提示" } }, { @@ -5229,7 +5307,16 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to enable fullscreen rendering, a research preview that reduces flicker and keeps memory flat in long conversations. Overrides the tui setting; you can also switch with /tui fullscreen", - "zh": "设置为 1 以启用全屏渲染,这是一个研究预览,可减少闪烁并在长对话中保持内存平坦。等同于 tui 设置;您也可以使用 /tui fullscreen 切换" + "zh": "设置为 1 以启用 全屏呈现,一个减少闪烁并在长对话中保持内存平坦的研究预览。覆盖 tui 设置;您也可以使用 /tui fullscreen 切换" + } + }, + { + "key": "CLAUDE_CODE_NONBLOCKING_STDOUT", + "example": "1", + "valueKind": "boolean-string", + "description": { + "en": "Set to 1 to write terminal output through a second non-blocking file descriptor, so a terminal that stops reading, such as a paused tmux control-mode pane or a stalled SSH connection, can't freeze Claude Code mid-session. Applies on macOS, Linux, and WSL when stdout is a terminal. Requires Claude Code v2.1.261 or later", + "zh": "设置为 1 以通过第二个非阻塞文件描述符写入终端输出,因此停止读取的终端(如暂停的 tmux 控制模式窗格或停滞的 SSH 连接)无法在会话中期冻结 Claude Code。在 macOS、Linux 和 WSL 上应用,当 stdout 是终端时。需要 Claude Code v2.1.261 或更高版本" } }, { @@ -5238,7 +5325,7 @@ "valueKind": "string", "description": { "en": "OAuth refresh token for Claude.ai authentication. When set, claude auth login exchanges this token directly instead of opening a browser. Requires CLAUDE_CODE_OAUTH_SCOPES. Useful for provisioning authentication in automated environments", - "zh": "Claude.ai 身份验证的 OAuth 刷新令牌。设置后,claude auth login 直接交换此令牌,而不是打开浏览器。需要 CLAUDE_CODE_OAUTH_SCOPES。对于在自动化环境中配置身份验证很有用" + "zh": "Claude.ai 身份验证的 OAuth 刷新令牌。设置时,claude auth login 直接交换此令牌而不是打开浏览器。需要 CLAUDE_CODE_OAUTH_SCOPES。对在自动化环境中配置身份验证很有用" } }, { @@ -5247,7 +5334,7 @@ "valueKind": "string", "description": { "en": "Space-separated OAuth scopes the refresh token was issued with, such as \"user:profile user:inference user:sessions:claude_code\". Required when CLAUDE_CODE_OAUTH_REFRESH_TOKEN is set", - "zh": "刷新令牌颁发时使用的空格分隔的 OAuth 作用域,例如 \"user:profile user:inference user:sessions:claude_code\"。设置 CLAUDE_CODE_OAUTH_REFRESH_TOKEN 时为必需" + "zh": "刷新令牌颁发的空格分隔 OAuth 范围,例如 \"user:profile user:inference user:sessions:claude_code\"。设置 CLAUDE_CODE_OAUTH_REFRESH_TOKEN 时需要" } }, { @@ -5256,7 +5343,7 @@ "valueKind": "string", "description": { "en": "OAuth access token for claude.ai authentication. Alternative to /login for SDK and automated environments. Takes precedence over keychain-stored credentials. Generate one with claude setup-token. Unless you run /login, Claude Code uses the token you set for the whole session. To replace an expired token, generate a new one and restart", - "zh": "Claude.ai 身份验证的 OAuth 访问令牌。/login 对于 SDK 和自动化环境的替代方案。优先于钥匙链存储的凭证。使用 claude setup-token 生成一个" + "zh": "claude.ai 身份验证的 OAuth 访问令牌。/login 对 SDK 和自动化环境的替代方案。优先于钥匙串存储的凭证。使用 claude setup-token 生成一个。除非您运行 /login,Claude Code 为整个会话使用您设置的令牌。要替换过期的令牌,生成一个新令牌并重启" } }, { @@ -5265,7 +5352,7 @@ "valueKind": "string", "description": { "en": "Removed in v2.1.160 and now a no-op. Previously pinned fast mode to Claude Opus 4.6 instead of the current default. Opus 4.6 no longer supports fast mode", - "zh": "在 v2.1.160 中移除,现在是无操作。以前将快速模式固定到 Claude Opus 4.6 而不是当前默认值。Opus 4.6 不再支持快速模式" + "zh": "在 v2.1.160 中删除,现在是无操作。以前将 快速模式 固定到 Claude Opus 4.6 而不是当前默认值。Opus 4.6 不再支持快速模式" } }, { @@ -5274,7 +5361,7 @@ "valueKind": "string", "description": { "en": "Maximum length of content-bearing OpenTelemetry attributes (model responses, tool content, system prompts, raw API bodies), truncation marker included, in UTF-16 code units (default: 61440, i.e. 60 KB). Raise it only if your telemetry backend accepts attribute values larger than 64 KB, or lower it to cut telemetry volume. Requires Claude Code v2.1.214 or later. See Monitoring", - "zh": "Maximum length of content-bearing OpenTelemetry attributes (model responses, tool content, system prompts, raw API bodies), truncation marker included, in UTF-16 code units (default: 61440, i.e. 60 KB). Raise it only if your telemetry backend accepts attribute values larger than 64 KB, or lower it to cut telemetry volume. Requires Claude Code v2.1.214 or later. See Monitoring" + "zh": "内容承载 OpenTelemetry 属性(模型响应、工具内容、系统提示、原始 API 正文)的最大长度,截断标记包括在内,以 UTF-16 代码单位为单位(默认值:61440,即 60 KB)。仅当您的遥测后端接受大于 64 KB 的属性值时才提高它,或降低它以减少遥测量。需要 Claude Code v2.1.214 或更高版本。请参阅 监控" } }, { @@ -5283,7 +5370,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to write OpenTelemetry exporter diagnostic errors to stderr. By default these errors only appear with --debug, so a misconfigured exporter such as a Prometheus port collision otherwise fails silently. Requires Claude Code v2.1.179 or later. See Monitoring", - "zh": "设置为 1 以将 OpenTelemetry 导出器诊断错误写入 stderr。默认情况下,这些错误仅在 --debug 时出现,因此配置错误的导出器(如 Prometheus 端口冲突)会以其他方式无声失败。需要 Claude Code v2.1.179 或更高版本。请参阅监控" + "zh": "设置为 1 以将 OpenTelemetry 导出器诊断错误写入 stderr。默认情况下,这些错误仅在 --debug 中出现,因此配置不当的导出器(如 Prometheus 端口冲突)否则会无声地失败。需要 Claude Code v2.1.179 或更高版本。请参阅 监控" } }, { @@ -5292,7 +5379,7 @@ "valueKind": "number-string", "description": { "en": "Timeout in milliseconds for flushing pending OpenTelemetry spans (default: 5000). See Monitoring", - "zh": "刷新待处理 OpenTelemetry spans 的超时时间(以毫秒为单位)(默认值:5000)。请参阅监控" + "zh": "刷新待处理 OpenTelemetry 跨度的超时时间(毫秒)(默认值:5000)。请参阅 监控" } }, { @@ -5301,7 +5388,7 @@ "valueKind": "number-string", "description": { "en": "Interval for refreshing dynamic OpenTelemetry headers in milliseconds (default: 1740000 / 29 minutes). See Dynamic headers", - "zh": "刷新动态 OpenTelemetry 标头的间隔(以毫秒为单位)(默认值:1740000 / 29 分钟)。请参阅动态标头" + "zh": "刷新动态 OpenTelemetry 标头的间隔(毫秒)(默认值:1740000 / 29 分钟)。请参阅 动态标头" } }, { @@ -5310,7 +5397,7 @@ "valueKind": "number-string", "description": { "en": "Timeout in milliseconds for the OpenTelemetry exporter to finish on shutdown (default: 2000). Increase if metrics are dropped at exit. See Monitoring", - "zh": "OpenTelemetry 导出器在关闭时完成的超时时间(以毫秒为单位)(默认值:2000)。如果在退出时丢弃指标,请增加此值。请参阅监控" + "zh": "OpenTelemetry 导出器在关闭时完成的超时时间(毫秒)(默认值:2000)。如果指标在退出时被删除,请增加。请参阅 监控" } }, { @@ -5319,7 +5406,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to let Claude Code run your package manager's upgrade command in the background when a new version is available. Applies to Homebrew and WinGet installations. Other package managers continue to show the upgrade command without running it. See Auto updates", - "zh": "设置为 1 以让 Claude Code 在新版本可用时在后台运行您的包管理器的升级命令。适用于 Homebrew 和 WinGet 安装。其他包管理器继续显示升级命令而不运行它。请参阅自动更新" + "zh": "设置为 1 以让 Claude Code 在新版本可用时在后台运行您的包管理器的升级命令。适用于 Homebrew 和 WinGet 安装。其他包管理器继续显示升级命令而不运行它。请参阅 自动更新" } }, { @@ -5328,7 +5415,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to enable Perforce-aware write protection. When set, Edit, Write, and NotebookEdit fail with a p4 edit hint if the target file lacks the owner-write bit, which Perforce clears on synced files until p4 edit opens them. This prevents Claude Code from bypassing Perforce change tracking", - "zh": "设置为 1 以启用 Perforce 感知的写入保护。设置后,如果目标文件缺少所有者写入位(Perforce 在同步文件上清除,直到 p4 edit 打开它们),Edit、Write 和 NotebookEdit 会失败并显示 p4 edit 提示。这可防止 Claude Code 绕过 Perforce 变更跟踪" + "zh": "设置为 1 以启用 Perforce 感知写入保护。设置时,如果目标文件缺少所有者写入位(Perforce 在同步文件上清除,直到 p4 edit 打开它们),Edit、Write 和 NotebookEdit 会失败并显示 p4 edit 提示。这防止 Claude Code 绕过 Perforce 更改跟踪" } }, { @@ -5337,7 +5424,7 @@ "valueKind": "string", "description": { "en": "Override the plugins root directory. Despite the name, this sets the parent directory, not the cache itself: marketplaces and the plugin cache live in subdirectories under this path. Defaults to ~/.claude/plugins", - "zh": "覆盖插件根目录。尽管名称如此,这设置的是父目录,而不是缓存本身:市场和插件缓存位于此路径下的子目录中。默认为 ~/.claude/plugins" + "zh": "覆盖插件根目录。尽管名称如此,这设置了父目录,而不是缓存本身:市场和插件缓存位于此路径下的子目录中。默认为 ~/.claude/plugins" } }, { @@ -5346,7 +5433,7 @@ "valueKind": "number-string", "description": { "en": "Timeout in milliseconds for git operations when installing or updating plugins (default: 120000). Increase this value for large repositories or slow network connections. See Git operations time out", - "zh": "安装或更新插件时 git 操作的超时(以毫秒为单位)(默认值:120000)。对于大型存储库或网络连接缓慢的情况,请增加此值。请参阅Git 操作超时" + "zh": "安装或更新插件时 git 操作的超时时间(毫秒)(默认值:120000)。对于大型存储库或缓慢的网络连接,增加此值。请参阅 Git 操作超时" } }, { @@ -5355,7 +5442,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to skip the re-clone attempt and keep using the existing marketplace cache when a git pull fails. Useful in offline or airgapped environments where re-cloning would fail the same way. See Marketplace updates fail in offline environments", - "zh": "设置为 1 以在 git pull 失败时保留现有市场缓存,而不是擦除并重新克隆。在离线或隔离环境中很有用,其中重新克隆会以相同方式失败。请参阅市场更新在离线环境中失败" + "zh": "设置为 1 以在 git pull 失败时跳过重新克隆尝试并继续使用现有市场缓存。在离线或隔离环境中很有用,其中重新克隆会以相同方式失败。请参阅 市场更新在离线环境中失败" } }, { @@ -5364,7 +5451,7 @@ "valueKind": "boolean-string", "description": { "en": "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", - "zh": "设置为 1 以通过 HTTPS 而不是 SSH 克隆 GitHub owner/repo 插件源。在 CI 运行器、容器或任何没有为 github.com 配置 SSH 密钥的环境中很有用" + "zh": "设置为 1 以通过 HTTPS 而不是 SSH 克隆 GitHub owner/repo 速记源。适用于插件安装和更新,以及 /plugin marketplace add 和 update。在 CI 运行器、容器或任何没有为 github.com 配置 SSH 密钥的环境中很有用" } }, { @@ -5373,7 +5460,7 @@ "valueKind": "string", "description": { "en": "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", - "zh": "一个或多个只读插件种子目录的路径,在 Unix 上用 : 分隔,在 Windows 上用 ; 分隔。使用此选项可将预填充的插件目录捆绑到容器镜像中。Claude Code 在启动时从这些目录注册市场,并使用预缓存的插件而无需重新克隆。请参阅为容器预填充插件" + "zh": "一个或多个只读插件种子目录的路径,在 Unix 上用 : 分隔,在 Windows 上用 ; 分隔。使用此选项将预填充的插件目录捆绑到容器镜像中。Claude Code 在启动时从这些目录注册市场,并使用预缓存的插件而不重新克隆。请参阅 为容器预填充插件" } }, { @@ -5382,7 +5469,7 @@ "valueKind": "boolean-string", "description": { "en": "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", - "zh": "设置为 1 以停止 Claude Code 在生成 PowerShell 以进行工具调用、hooks 和状态行命令时传递 -ExecutionPolicy Bypass,并改为尊重机器的有效执行策略。默认情况下,Claude Code 在进程范围内绕过执行策略,以便 .ps1 脚本和模块导入在默认受限的 Windows 安装上工作。无论此设置如何,进程范围的绕过永远不会覆盖组策略 MachinePolicy 或 UserPolicy" + "zh": "设置为 1 以停止 Claude Code 在为工具调用、hooks 和状态行命令生成 PowerShell 时传递 -ExecutionPolicy Bypass,并改为尊重机器的有效执行策略。默认情况下 Claude Code 在进程范围内绕过执行策略,以便 .ps1 脚本和模块导入在默认受限的 Windows 安装上工作。进程范围绕过永远不会覆盖组策略 MachinePolicy 或 UserPolicy,无论此设置如何" } }, { @@ -5390,8 +5477,8 @@ "example": "0", "valueKind": "boolean-string", "description": { - "en": "Ceiling in milliseconds on continuous idle waiting after the final turn in non-interactive mode with the -p flag, while background subagents and workflows whose result is part of the output finish. Each turn that handles queued background results starts the count again. Default: 600000, or 10 minutes. When idle waiting reaches the ceiling, Claude Code stops waiting for the remaining background tasks and exits. Set to 0 to wait indefinitely. This cap is separate from the five-second grace period that applies to plain background shells. Requires Claude Code v2.1.182 or later", - "zh": "非交互模式中带有 -p 标志的最大时间(以毫秒为单位),在最后一个转换后等待其结果是输出一部分的后台 subagents 和工作流。默认值:600000,或 10 分钟。超过上限时,剩余的后台任务被终止,进程退出。设置为 0 以无限期等待。此上限与适用于纯后台 shells 的 5 秒宽限期分开" + "en": "Ceiling in milliseconds on idle waiting for background subagents and workflows after the final turn in non-interactive mode with the -p flag. Idle waiting starts over each time Claude takes a turn to handle a background result. Default: 600000, or 10 minutes. When idle waiting reaches the ceiling, Claude Code stops waiting for the remaining background tasks and exits. Set to 0 to wait indefinitely. This cap is separate from the five-second grace period that applies to plain background shells. Requires Claude Code v2.1.182 or later", + "zh": "在 非交互模式 中使用 -p 标志后最终转后等待后台子代理和工作流的空闲等待上限(毫秒)。每次 Claude 采取转处理后台结果时,空闲等待重新开始。默认值:600000,或 10 分钟。当空闲等待达到上限时,Claude Code 停止等待剩余的后台任务并退出。设置为 0 以无限期等待。此上限与适用于纯后台 shells 的五秒宽限期分开。需要 Claude Code v2.1.182 或更高版本" } }, { @@ -5400,7 +5487,7 @@ "valueKind": "string", "description": { "en": "Launch the processes Claude Code starts from its own binary, such as the background service that hosts agent view sessions, through a corporate launcher given as an argv prefix like /opt/corp/launcher. Set it in the env block of user or managed settings, not as a shell export, so the detached background service inherits it; project and local settings can't set it. Equivalent to the processWrapper setting, which requires Claude Code v2.1.210 or later; this variable takes precedence when both are set. The VS Code extension configures its own launcher separately through its claudeProcessWrapper setting. Ignored on Windows. See Run Claude Code behind a corporate launcher for the value format, what the launcher covers, and the contract the launcher must satisfy. Requires Claude Code v2.1.208 or later", - "zh": "通过包装可执行文件启动 Claude Code 从其自己的二进制文件启动的进程,给定为 argv 前缀,例如 /opt/corp/launcher。涵盖托管代理视图会话的后台服务、它生成的每个会话以及 Claude Code 执行的自我重新启动以完成安装更新。第一个令牌必须是以 exec \"$@\" 结尾的可执行文件的绝对路径,大多数启动器就是那个单一路径。该值是参数列表,而不是 shell 命令:空格分隔令牌,双引号分组包含空格的路径,以 ` 开头的值作为 JSON 字符串数组读取。在用户或[托管设置的 env 块中设置它,而不是作为 shell 导出,以便分离的后台服务继承它;项目和本地设置无法设置它。VS Code 扩展通过其 claudeProcessWrapper 设置单独配置其启动器。在 Windows 上被忽略。CLAUDE_CODE_SHELL_PREFIX` 是一个单独的控制:它将 Claude Code 运行的 shell 命令包装为单个引用字符串,而此变量将 Claude Code 自己的进程包装为 argv 前缀。请参阅在企业启动器后面运行 Claude Code" + "zh": "通过给定为 argv 前缀的公司启动器(如 /opt/corp/launcher)启动 Claude Code 从其自己的二进制文件启动的进程,例如托管 代理视图 会话的后台服务。在用户或 托管设置 的 env 块中设置它,而不是作为 shell 导出,以便分离的后台服务继承它;项目和本地设置无法设置它。等同于 processWrapper 设置,需要 Claude Code v2.1.210 或更高版本;当两者都设置时此变量优先。VS Code 扩展通过其 claudeProcessWrapper 设置单独配置自己的启动器。在 Windows 上被忽略。请参阅 在公司启动器后面运行 Claude Code 了解值格式、启动器涵盖的内容以及启动器必须满足的合同。需要 Claude Code v2.1.208 或更高版本" } }, { @@ -5409,7 +5496,7 @@ "valueKind": "string", "description": { "en": "Set together with CLAUDE_CONFIG_DIR to choose the projects/ directory name Claude Code stores that session's transcripts and auto memory under, in place of one derived from the working directory path. For example, starting Claude Code with CLAUDE_CONFIG_DIR=/srv/tenant-a CLAUDE_CODE_PROJECT_DIR_NAME=work claude stores them under /srv/tenant-a/projects/work/. Claude Code ignores this variable when CLAUDE_CONFIG_DIR is unset, and reads it only from the environment you start claude from, never from a settings file env block. See Name the project directory yourself. Requires Claude Code v2.1.234 or later", - "zh": "Set together with CLAUDE_CONFIG_DIR to choose the projects/ directory name Claude Code stores that session's transcripts and auto memory under, in place of one derived from the working directory path. For example, starting Claude Code with CLAUDE_CONFIG_DIR=/srv/tenant-a CLAUDE_CODE_PROJECT_DIR_NAME=work claude stores them under /srv/tenant-a/projects/work/. Claude Code ignores this variable when CLAUDE_CONFIG_DIR is unset, and reads it only from the environment you start claude from, never from a settings file env block. See Name the project directory yourself. Requires Claude Code v2.1.234 or later" + "zh": "与 CLAUDE_CONFIG_DIR 一起设置以选择 projects/ 目录名称 Claude Code 在其下存储该会话的转录和自动内存,代替从工作目录路径派生的名称。例如,使用 CLAUDE_CONFIG_DIR=/srv/tenant-a CLAUDE_CODE_PROJECT_DIR_NAME=work claude 启动 Claude Code 将它们存储在 /srv/tenant-a/projects/work/ 下。当 CLAUDE_CONFIG_DIR 未设置时 Claude Code 忽略此变量,并仅从启动 claude 的环境读取它,从不从 设置文件 env 块。请参阅 自己命名项目目录。需要 Claude Code v2.1.234 或更高版本" } }, { @@ -5418,7 +5505,7 @@ "valueKind": "string", "description": { "en": "Set 5m or 1h, the only values Claude Code accepts, to choose the prompt cache TTL for the main conversation: your interactive, -p, and SDK turns, plus the helpers that run inline with them. Takes precedence over the promptCacheTtl setting and over ENABLE_PROMPT_CACHING_1H, and FORCE_PROMPT_CACHING_5M overrides it. The API bills 1-hour cache writes at a higher rate. Requires Claude Code v2.1.242 or later", - "zh": "Set 5m or 1h, the only values Claude Code accepts, to choose the prompt cache TTL for the main conversation: your interactive, -p, and SDK turns, plus the helpers that run inline with them. Takes precedence over the promptCacheTtl setting and over ENABLE_PROMPT_CACHING_1H, and FORCE_PROMPT_CACHING_5M overrides it. The API bills 1-hour cache writes at a higher rate. Requires Claude Code v2.1.242 or later" + "zh": "设置 5m 或 1h,Claude Code 接受的唯一值,为主对话选择 提示缓存 TTL:您的交互式、-p 和 SDK 转,加上与它们内联运行的帮助程序。优先于 promptCacheTtl 设置和 ENABLE_PROMPT_CACHING_1H,FORCE_PROMPT_CACHING_5M 覆盖它。1 小时缓存写入按更高费率计费。需要 Claude Code v2.1.242 或更高版本" } }, { @@ -5427,7 +5514,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to propagate W3C trace context when ANTHROPIC_BASE_URL points at a custom proxy. Propagation covers the traceparent header on model and HTTP MCP requests and the TRACEPARENT environment variable for Bash, PowerShell, and hook subprocesses. By default, propagation is enabled only when connected directly to the Anthropic API. Added in v2.1.152. See Traces (beta)", - "zh": "设置为 1 以在 ANTHROPIC_BASE_URL 指向自定义代理时传播 W3C 跟踪上下文。传播涵盖模型和 HTTP MCP 请求上的 traceparent 标头以及 Bash、PowerShell 和 hook 子进程的 TRACEPARENT 环境变量。默认情况下,仅当直接连接到 Anthropic API 时才启用传播。在 v2.1.152 中添加。请参阅跟踪(测试版)" + "zh": "设置为 1 以在 ANTHROPIC_BASE_URL 指向自定义代理时传播 W3C 跟踪上下文。传播涵盖模型和 HTTP MCP 请求上的 traceparent 标头以及 Bash、PowerShell 和 hook 子进程的 TRACEPARENT 环境变量。默认情况下,传播仅在直接连接到 Anthropic API 时启用。在 v2.1.152 中添加。请参阅 跟踪(测试版)" } }, { @@ -5436,7 +5523,7 @@ "valueKind": "string", "description": { "en": "Set by host platforms that embed Claude Code and manage model provider routing on its behalf. When set, Claude Code ignores provider-selection, endpoint, and authentication variables such as CLAUDE_CODE_USE_BEDROCK, ANTHROPIC_BASE_URL, and ANTHROPIC_API_KEY in settings files, so user settings can't override the host's routing. Claude Code also ignores model-selection keys such as model, fallbackModel, and modelOverrides in managed settings, whichever managed source delivers them, so the host's model configuration takes precedence over an out-of-date managed model pin. Claude Code also ignores model-selection variables such as ANTHROPIC_MODEL and the ANTHROPIC_DEFAULT_*_MODEL family in a managed env block; an availableModels allowlist in managed settings still applies unless the host supplies its own. Claude Code also skips the automatic telemetry opt-out it otherwise applies on third-party providers such as Amazon Bedrock, Claude Platform on AWS, Google Cloud's Agent Platform, and Microsoft Foundry, so telemetry follows the standard DISABLE_TELEMETRY opt-out. See Default behaviors by API provider", - "zh": "由嵌入 Claude Code 的主机平台设置,并代表其管理模型提供商路由。设置后,提供商选择、端点和身份验证变量(如 CLAUDE_CODE_USE_BEDROCK、ANTHROPIC_BASE_URL 和 ANTHROPIC_API_KEY)在设置文件中被忽略,以便用户设置无法覆盖主机的路由。Amazon Bedrock、Google Cloud's Agent Platform 和 Microsoft Foundry 的自动遥测选择退出也被跳过,因此遥测遵循标准 DISABLE_TELEMETRY 选择退出。请参阅按 API 提供商的默认行为" + "zh": "由代表 Claude Code 管理模型提供商路由的嵌入 Claude Code 的主机平台设置。设置时,Claude Code 在设置文件中忽略提供商选择、端点和身份验证变量(如 CLAUDE_CODE_USE_BEDROCK、ANTHROPIC_BASE_URL 和 ANTHROPIC_API_KEY),因此用户设置无法覆盖主机的路由。Claude Code 也忽略 托管设置 中的模型选择键(如 model、fallbackModel 和 modelOverrides),无论托管源传递它们,因此主机的模型配置优先于过时的托管模型固定。Claude Code 也忽略托管 env 块中的模型选择变量(如 ANTHROPIC_MODEL 和 ANTHROPIC_DEFAULT_*_MODEL 系列);托管设置中的 availableModels 允许列表仍然适用,除非主机提供自己的。Claude Code 也跳过它在第三方提供商(如 Amazon Bedrock、AWS 上的 Claude Platform、Google Cloud 的 Agent Platform 和 Microsoft Foundry)上应用的自动遥测选择退出,因此遥测遵循标准 DISABLE_TELEMETRY 选择退出。请参阅 按 API 提供商的默认行为" } }, { @@ -5454,7 +5541,7 @@ "valueKind": "string", "description": { "en": "Set automatically to true when Claude Code is running as a cloud session. Read this from a hook or setup script to detect whether you are in a cloud session", - "zh": "当 Claude Code 作为云会话运行时自动设置为 true。从 hook 或设置脚本读取此值以检测您是否在云环境中" + "zh": "当 Claude Code 作为 云会话 运行时自动设置为 true。从 hook 或设置脚本读取此项以检测您是否在云会话中" } }, { @@ -5463,7 +5550,7 @@ "valueKind": "string", "description": { "en": "Set automatically in cloud sessions to the current session's ID. Read this to construct a link back to the session transcript. See Link output back to the session", - "zh": "在云会话中自动设置为当前会话的 ID。读取此值以构造返回会话转录的链接。请参阅将输出链接回会话" + "zh": "在 云会话 中自动设置为当前会话的 ID。读取此项以构造回到会话转录的链接。请参阅 将输出链接回会话" } }, { @@ -5472,7 +5559,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to start the session in restricted mode, the same as passing --restricted. Claude Code ignores this variable in a settings file's env block. Requires Claude Code v2.1.248 or later", - "zh": "Set to 1 to start the session in restricted mode, the same as passing --restricted. Claude Code ignores this variable in a settings file's env block. Requires Claude Code v2.1.248 or later" + "zh": "设置为 1 以在受限模式下启动会话,与传递 --restricted 相同。Claude Code 在设置文件的 env 块中忽略此变量。需要 Claude Code v2.1.248 或更高版本" } }, { @@ -5481,7 +5568,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to automatically resume if the previous session ended mid-turn. Used in SDK mode so the model continues without requiring the SDK to re-send the prompt. To turn this off, unset the variable or set it to 0. Before v2.1.221, Claude Code ignored 0 and other falsy values, so setting 0 still triggered the resume in non-interactive mode and unsetting the variable was the only way to turn it off", - "zh": "设置为 1 以在上一个会话在中途结束时自动恢复。在 SDK 模式中使用,以便模型继续而无需 SDK 重新发送提示" + "zh": "设置为 1 以在前一个会话在转中期结束时自动恢复。在 SDK 模式中使用,以便模型继续而无需 SDK 重新发送提示。要关闭此功能,取消设置变量或将其设置为 0。在 v2.1.221 之前,Claude Code 忽略 0 和其他虚假值,因此在非交互模式下设置 0 仍会触发恢复,取消设置变量是关闭它的唯一方法" } }, { @@ -5490,7 +5577,7 @@ "valueKind": "boolean-string", "description": { "en": "Maximum age in milliseconds of the last transcript message for a session that ended mid-turn to continue automatically on resume. When the last message is older than this bound, Claude Code skips both the CLAUDE_CODE_RESUME_INTERRUPTED_TURN automatic resume and the injected CLAUDE_CODE_RESUME_PROMPT continuation message, and the session starts idle so you continue explicitly. Unset or 0 means no bound; a negative or non-numeric value applies a one-hour bound. Spawn scripts for long-running agents can set this so a restart against an old transcript doesn't re-run a stale prompt. Claude Code sets a one-hour bound itself when it restarts a crashed agent view session that inherited its conversation from an interactive session. Requires Claude Code v2.1.211 or later", - "zh": "Maximum age in milliseconds of the last transcript message for a session that ended mid-turn to continue automatically on resume. When the last message is older than this bound, Claude Code skips both the CLAUDE_CODE_RESUME_INTERRUPTED_TURN automatic resume and the injected CLAUDE_CODE_RESUME_PROMPT continuation message, and the session starts idle so you continue explicitly. Unset or 0 means no bound; a negative or non-numeric value applies a one-hour bound. Spawn scripts for long-running agents can set this so a restart against an old transcript doesn't re-run a stale prompt. Claude Code sets a one-hour bound itself when it restarts a crashed agent view session that inherited its conversation from an interactive session. Requires Claude Code v2.1.211 or later" + "zh": "在转中期结束的会话继续自动恢复的最后转录消息的最大年龄(毫秒)。当最后一条消息比此界限更旧时,Claude Code 跳过 CLAUDE_CODE_RESUME_INTERRUPTED_TURN 自动恢复和注入的 CLAUDE_CODE_RESUME_PROMPT 继续消息,会话启动空闲以便您显式继续。未设置或 0 表示无界限;负值或非数值值应用一小时界限。长时间运行的代理的生成脚本可以设置此项,以便针对旧转录的重启不会重新运行陈旧的提示。Claude Code 在重启崩溃的 代理视图 会话时自动设置一小时界限,该会话从交互式会话继承其对话。需要 Claude Code v2.1.211 或更高版本" } }, { @@ -5499,7 +5586,7 @@ "valueKind": "string", "description": { "en": "Override the continuation message injected when resuming a session that ended mid-turn. Defaults to Continue from where you left off.. Spawn scripts for long-running agents can set this to a more directive boot message. An empty string uses the default", - "zh": "覆盖在恢复在中途结束的会话时注入的继续消息。默认为 Continue from where you left off.。长时间运行的代理的生成脚本可以将其设置为更具指导性的启动消息。空字符串使用默认值" + "zh": "覆盖在恢复在转中期结束的会话时注入的继续消息。默认为 Continue from where you left off.。长时间运行的代理的生成脚本可以设置此项为更具指导性的启动消息。空字符串使用默认值" } }, { @@ -5508,7 +5595,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 for unattended sessions such as eval harnesses, CI jobs, or remote workers. Retries 429 and 529 capacity errors indefinitely instead of failing after CLAUDE_CODE_MAX_RETRIES attempts. Claude Code fails at once on a 429 that reports a spend limit or exhausted usage credits, even one from a gateway spend cap that resets on a schedule. Before v2.1.239, the watchdog retried these indefinitely. The watchdog backs off up to 5 minutes between attempts, or until the limit resets when the response carries a rate-limit reset time, so a session that hits a usage limit waits out the remaining window. On v2.1.199 or later it also raises the default retry count for other transient errors, such as server errors, timeouts, and dropped connections, to 300, roughly three hours of backoff, and removes the cap of 15 on CLAUDE_CODE_MAX_RETRIES if you set that variable explicitly. Requires Claude Code v2.1.186 or later", - "zh": "设置为 1 用于无人值守会话,如评估工具、CI 作业或远程工作人员。无限期重试 429 和 529 容量错误,而不是在 CLAUDE_CODE_MAX_RETRIES 尝试后失败。监视程序在尝试之间退避最多 5 分钟,或直到限制在响应携带速率限制重置时间时重置,因此命中使用限制的会话会等待剩余窗口。从 v2.1.199 开始,它也提高了其他瞬时错误(如服务器错误、超时和丢弃的连接)的默认重试计数至 300,大约三小时的退避,并在您明确设置该变量时移除 CLAUDE_CODE_MAX_RETRIES 的 15 上限。需要 Claude Code v2.1.186 或更高版本" + "zh": "对于无人值守的会话(如 eval 工具、CI 作业或远程工作者),设置为 1。重试 429 和 529 容量错误无限期而不是在 CLAUDE_CODE_MAX_RETRIES 尝试后失败。Claude Code 在报告支出限制或耗尽使用信用的 429 上立即失败,即使来自 网关支出上限 按计划重置的。在 v2.1.239 之前,监视狗无限期重试这些。监视狗在尝试之间退避最多 5 分钟,或直到限制重置(当响应携带速率限制重置时间时),因此达到使用限制的会话等待剩余窗口。在 v2.1.199 或更高版本上,它也为其他瞬时错误(如服务器错误、超时和丢弃的连接)提高默认重试计数为 300,大约三小时的退避,如果您显式设置该变量,则删除 CLAUDE_CODE_MAX_RETRIES 上的 15 上限。需要 Claude Code v2.1.186 或更高版本" } }, { @@ -5517,7 +5604,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to start in safe mode: CLAUDE.md, skills, plugins, hooks, MCP servers, custom commands and agents, output styles, workflows, custom themes, custom keybindings, status line and file-suggestion commands, LSP servers, and auto memory do not load, for troubleshooting a broken configuration. Managed settings policy still applies, including policy-configured hooks, status line, and file-suggestion commands; managed plugins, managed skills, managed CLAUDE.md, and policy-configured MCP servers do not. Equivalent to passing --safe-mode. Directly spawned child processes inherit the variable", - "zh": "设置为 1 以在安全模式下启动:CLAUDE.md、skills、plugins、hooks、MCP 服务器、自定义命令和代理、输出样式、工作流、自定义主题、自定义快捷键、状态行和文件建议命令、LSP 服务器和自动内存不加载,用于排除故障的破损配置。托管设置策略仍然适用,包括策略配置的 hooks、状态行和文件建议命令;托管插件、托管 skills、托管 CLAUDE.md 和策略配置的 MCP 服务器不适用。等同于传递 --safe-mode。直接生成的子进程继承该变量" + "zh": "设置为 1 以在安全模式下启动:CLAUDE.md、skills、插件、hooks、MCP 服务器、自定义命令和代理、输出样式、工作流、自定义主题、自定义快捷键、状态行和文件建议命令、LSP 服务器和自动内存不加载,用于故障排除破损的配置。托管设置策略仍然适用,包括策略配置的 hooks、状态行和文件建议命令;托管插件、托管 skills、托管 CLAUDE.md 和策略配置的 MCP 服务器不适用。等同于传递 --safe-mode。直接生成的子进程继承该变量" } }, { @@ -5526,7 +5613,7 @@ "valueKind": "string", "description": { "en": "JSON object limiting how many times specific scripts may be invoked per session when CLAUDE_CODE_SUBPROCESS_ENV_SCRUB is set. Keys are substrings matched against the command text; values are integer call limits. For example, {\"deploy.sh\": 2} allows deploy.sh to be called at most twice. Matching is substring-based so shell-expansion tricks like ./scripts/deploy.sh $(evil) still count against the cap. Runtime fan-out via xargs or find -exec is not detected; this is a defense-in-depth control", - "zh": "JSON 对象,当设置 CLAUDE_CODE_SUBPROCESS_ENV_SCRUB 时限制特定脚本在每个会话中可以调用的次数。键是与命令文本匹配的子字符串;值是整数调用限制。例如,{\"deploy.sh\": 2} 允许 deploy.sh 最多被调用两次。匹配是基于子字符串的,所以 shell 扩展技巧如 ./scripts/deploy.sh $(evil) 仍然计入上限。通过 xargs 或 find -exec 的运行时扇出不被检测;这是一个深度防御控制" + "zh": "JSON 对象限制当 CLAUDE_CODE_SUBPROCESS_ENV_SCRUB 设置时特定脚本在每个会话中可以调用多少次。键是与命令文本匹配的子字符串;值是整数调用限制。例如,{\"deploy.sh\": 2} 允许 deploy.sh 最多调用两次。匹配是基于子字符串的,因此 shell 扩展技巧(如 ./scripts/deploy.sh $(evil))仍然计入上限。通过 xargs 或 find -exec 的运行时扇出未被检测到;这是深度防御控制" } }, { @@ -5535,7 +5622,7 @@ "valueKind": "boolean-string", "description": { "en": "Set the mouse wheel scroll multiplier in fullscreen rendering. Accepts any positive value up to 20, including fractional values below 1 such as 0.5 to slow accelerated trackpad and wheel scrolling in terminals that already amplify wheel events. Set to 3 to match vim if your terminal sends one wheel event per notch without amplification. Ignored in the JetBrains IDE terminal, where Claude Code uses its own scroll handling", - "zh": "在全屏渲染中设置鼠标滚轮滚动倍数。接受 1 到 20 的值,以及低于 1 的分数值(如 0.5)以减慢终端上原生滚动路径中加速的触控板和滚轮滚动。设置为 3 以匹配 vim(如果您的终端每个刻度线发送一个滚轮事件而不进行放大)。在 JetBrains IDE 终端中被忽略,Claude Code 使用其自己的滚动处理" + "zh": "在 全屏呈现 中设置鼠标滚轮滚动乘数。接受任何正值最多 20,包括低于 1 的分数值(如 0.5)以减慢已经放大滚轮和轨迹板滚动的终端中的加速滚动。设置为 3 以匹配 vim(如果您的终端在没有放大的情况下每个凹口发送一个滚轮事件)。在 JetBrains IDE 终端中被忽略,Claude Code 在其中使用自己的滚动处理" } }, { @@ -5544,7 +5631,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 0 to turn off Claude-drafted feedback for a session. Set to 1 to turn it on where your account already has access; the variable can't grant access itself, and the other switches that turn feedback off, such as DISABLE_FEEDBACK_COMMAND and the feedbackDrafts setting's off value, still apply", - "zh": "Set to 0 to turn off Claude-drafted feedback for a session. Set to 1 to turn it on where your account already has access; the variable can't grant access itself, and the other switches that turn feedback off, such as DISABLE_FEEDBACK_COMMAND and the feedbackDrafts setting's off value, still apply" + "zh": "设置为 0 以关闭会话的 Claude 起草的反馈。设置为 1 以在您的帐户已有访问权限的地方打开它;变量本身无法授予访问权限,关闭反馈的其他开关(如 DISABLE_FEEDBACK_COMMAND 和 feedbackDrafts 设置的 off 值)仍然适用" } }, { @@ -5553,7 +5640,7 @@ "valueKind": "string", "description": { "en": "Set automatically to the current session ID in Bash and PowerShell tool subprocesses, hook command subprocesses, and stdio MCP server subprocesses. For Bash, PowerShell, and hooks this matches the session_id field in the hook JSON input and is updated on /clear. An MCP server subprocess retains the ID it was spawned with. On --resume it receives the resumed ID, matching hooks and Bash. On --continue or --resume without an explicit ID it may receive the initial startup ID instead. Use to correlate scripts and external tools with the Claude Code session that launched them", - "zh": "在 Bash 和 PowerShell 工具子进程中自动设置为当前会话 ID,hook 命令子进程和 stdio MCP server 子进程。对于 Bash、PowerShell 和 hooks,这与传递给 hooks 的 session_id 字段匹配,并在 /clear 时更新。MCP 服务器子进程保留它生成时的 ID。在 --resume 上它接收恢复的 ID,与 hooks 和 Bash 匹配。在 --continue 或 --resume 没有显式 ID 时它可能接收初始启动 ID。用于将脚本和外部工具与启动它们的 Claude Code 会话相关联" + "zh": "在 Bash 和 PowerShell 工具子进程、hook 命令 子进程和 stdio MCP 服务器 子进程中自动设置为当前会话 ID。对于 Bash、PowerShell 和 hooks,这与 hook JSON 输入中的 session_id 字段匹配,并在 /clear 上更新。MCP 服务器子进程保留它生成时的 ID。在 --resume 上它接收恢复的 ID,与 hooks 和 Bash 匹配。在 --continue 或 --resume 没有显式 ID 上它可能接收初始启动 ID。用于将脚本和外部工具与启动它们的 Claude Code 会话相关联" } }, { @@ -5562,7 +5649,7 @@ "valueKind": "number-string", "description": { "en": "Override the time budget in milliseconds for SessionEnd hooks. Applies to session exit, /clear, and switching sessions via interactive /resume. By default the budget is 1.5 seconds, automatically raised to the highest per-hook timeout configured in settings files, up to 60 seconds. Timeouts on plugin-provided hooks do not raise the budget", - "zh": "SessionEnd hooks 的时间预算(以毫秒为单位)。适用于会话退出、/clear 和通过交互式 /resume 切换会话。默认预算为 1.5 秒,自动提高到设置文件中配置的最高每个 hook timeout,最高 60 秒。插件提供的 hooks 上的超时不会提高预算" + "zh": "覆盖 SessionEnd hooks 的时间预算(毫秒)。适用于会话退出、/clear 和通过交互式 /resume 切换会话。默认情况下预算为 1.5 秒,自动提高到设置文件中配置的最高每个 hook timeout,最多 60 秒。插件提供的 hooks 上的超时不会提高预算" } }, { @@ -5571,7 +5658,7 @@ "valueKind": "string", "description": { "en": "Set the shell Claude Code uses to run Bash tool commands. Accepts a path to a bash or zsh binary, for example /opt/homebrew/bin/bash. Other shells such as fish are not supported. If the value is not a working bash or zsh path, Claude Code ignores it and falls back to auto-detection. Auto-detection uses your $SHELL when it points to bash or zsh, otherwise it picks the first working zsh then bash found on your PATH and standard install locations", - "zh": "设置 Claude Code 用于运行 Bash 工具命令的 shell。接受 bash 或 zsh 二进制文件的路径,例如 /opt/homebrew/bin/bash。不支持 fish 等其他 shells。如果该值不是有效的 bash 或 zsh 路径,Claude Code 会忽略它并回退到自动检测。自动检测在您的 $SHELL 指向 bash 或 zsh 时使用它,否则它会选择在您的 PATH 和标准安装位置上找到的第一个有效的 zsh 然后 bash" + "zh": "设置 Claude Code 用于运行 Bash 工具命令的 shell。接受 bash 或 zsh 二进制文件的路径,例如 /opt/homebrew/bin/bash。不支持 fish 等其他 shells。如果值不是工作的 bash 或 zsh 路径,Claude Code 会忽略它并回退到自动检测。自动检测在指向 bash 或 zsh 时使用您的 $SHELL,否则它选择在您的 PATH 和标准安装位置上找到的第一个工作 zsh 然后 bash" } }, { @@ -5580,7 +5667,7 @@ "valueKind": "string", "description": { "en": "Command prefix that wraps shell commands Claude Code spawns: Bash tool calls, hook commands, status line commands, and stdio MCP server startup commands. PowerShell hooks and exec-form hooks run without the prefix. Useful for logging or auditing. Setting a bare executable path such as /path/to/logger.sh runs each command as /path/to/logger.sh ''. The wrapper receives the command line as a single shell-quoted argument in $1, so the wrapper must re-evaluate $1 with a shell, for example exec bash -c \"$1\". Treating $1 as a bare executable path breaks stdio MCP servers that pass arguments such as npx -y . For Bash tool calls, $1 contains the full shell invocation Claude Code assembles, including environment setup, not only the command Claude ran", - "zh": "命令前缀以包装 Claude Code 生成的 shell 命令:Bash 工具调用、hook 命令、状态行命令和 stdio MCP server 启动命令。PowerShell hooks 和 exec 形式的 hooks 运行时不带前缀。对于日志记录或审计很有用。设置裸可执行文件路径如 /path/to/logger.sh 将每个命令作为 /path/to/logger.sh '' 运行。包装器在 $1 中接收命令行作为单个 shell 引用的参数,因此包装器必须使用 shell 重新评估 $1,例如 exec bash -c \"$1\"。将 $1 视为裸可执行文件路径会破坏传递参数的 stdio MCP 服务器,如 npx -y 。对于 Bash 工具调用,$1 包含 Claude Code 组装的完整 shell 调用,包括环境设置,而不仅仅是 Claude 运行的命令" + "zh": "包装 Claude Code 生成的 shell 命令的命令前缀:Bash 工具调用、hook 命令、状态行 命令和 stdio MCP 服务器 启动命令。PowerShell hooks 和 exec 形式 hooks 运行而不带前缀。对日志记录或审计很有用。设置裸可执行文件路径(如 /path/to/logger.sh)将每个命令作为 /path/to/logger.sh '' 运行。包装器在 $1 中接收命令行作为单个 shell 引用的参数,因此包装器必须使用 shell 重新评估 $1,例如 exec bash -c \"$1\"。将 $1 视为裸可执行文件路径会破坏传递参数的 stdio MCP 服务器,例如 npx -y 。对于 Bash 工具调用,$1 包含 Claude Code 组装的完整 shell 调用,包括环境设置,而不仅仅是 Claude 运行的命令" } }, { @@ -5589,7 +5676,7 @@ "valueKind": "boolean-string", "description": { "en": "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, custom commands, subagents, plugins, MCP servers, auto memory, and CLAUDE.md. Skills in a directory you pass with --add-dir still load. 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", - "zh": "设置为 1 以使用最小系统提示和仅 Bash、文件读取和文件编辑工具运行。MCP 工具来自 --mcp-config 仍然可用。禁用 hooks、skills、plugins、MCP servers、自动内存和 CLAUDE.md 的自动发现。OAuth 令牌和钥匙链凭证不被读取,所以 Anthropic 身份验证必须来自 ANTHROPIC_API_KEY 或 --settings 中的 apiKeyHelper。等同于传递 --bare" + "zh": "设置为 1 以使用最小系统提示和仅 Bash、文件读取和文件编辑工具运行。来自 --mcp-config 的 MCP 工具仍然可用。禁用 hooks、skills、自定义命令、子代理、插件、MCP 服务器、自动内存和 CLAUDE.md 的自动发现。您使用 --add-dir 传递的目录中的 Skills 仍然加载。OAuth 令牌和钥匙串凭证不被读取,因此 Anthropic 身份验证必须来自 ANTHROPIC_API_KEY 或 --settings 中的 apiKeyHelper。等同于传递 --bare" } }, { @@ -5598,7 +5685,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to use a shorter system prompt and abbreviated tool descriptions on any model. Set to 0, false, no, or off to opt out even on models where the experiment or server configuration would otherwise enable it. The full tool set, hooks, MCP servers, and CLAUDE.md discovery remain enabled", - "zh": "设置为 1 以在任何模型上使用较短的系统提示和缩写的工具描述。设置为 0、false、no 或 off 以选择退出,即使在实验或服务器配置会以其他方式启用它的模型上。完整的工具集、hooks、MCP 服务器和 CLAUDE.md 发现保持启用" + "zh": "设置为 1 以在任何模型上使用较短的系统提示和缩写的工具描述。设置为 0、false、no 或 off 以选择退出,即使在实验或服务器配置会启用它的模型上。完整的工具集、hooks、MCP 服务器和 CLAUDE.md 发现保持启用" } }, { @@ -5607,7 +5694,7 @@ "valueKind": "string", "description": { "en": "Skip client-side authentication for Claude Platform on AWS, for gateways that sign requests themselves", - "zh": "跳过 Claude Platform on AWS 的客户端身份验证,用于自己签署请求的网关" + "zh": "跳过 AWS 上的 Claude Platform 的客户端身份验证,用于自己签署请求的网关" } }, { @@ -5616,7 +5703,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to turn off the in-process cache of credentials resolved from the AWS default credential provider chain, so Claude Code resolves the chain on every API request. With the cache off, an SSO-backed profile requests credentials from IAM Identity Center on every request. See credential caching and resolution timeout. Requires Claude Code v2.1.207 or later", - "zh": "设置为 1 以关闭从 AWS 默认凭证提供商链解析的凭证的进程内缓存,以便 Claude Code 在每个 API 请求上解析链。关闭缓存后,由 SSO 支持的配置文件在每个请求时从 IAM Identity Center 请求凭证。请参阅凭证缓存和解析超时。需要 Claude Code v2.1.207 或更高版本" + "zh": "设置为 1 以关闭从 AWS 默认凭证提供商链解析的凭证的进程内缓存,以便 Claude Code 在每个 API 请求上解析链。禁用缓存后,SSO 支持的配置文件在每个请求上从 IAM Identity Center 请求凭证。请参阅 凭证缓存和解析超时。需要 Claude Code v2.1.207 或更高版本" } }, { @@ -5634,7 +5721,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to treat a failed fast mode availability check as available, for networks that block the check's direct request to api.anthropic.com. Claude Code still honors a \"disabled by your organization\" response", - "zh": "Set to 1 to treat a failed fast mode availability check as available, for networks that block the check's direct request to api.anthropic.com. Claude Code still honors a \"disabled by your organization\" response" + "zh": "设置为 1 以将失败的 快速模式 可用性检查视为可用,用于阻止检查对 api.anthropic.com 的直接请求的网络。Claude Code 仍然尊重\"您的组织禁用了快速模式\"响应" } }, { @@ -5643,7 +5730,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to skip the client-side fast mode availability check, for proxies that intercept the check's request rather than refuse it. The API still rejects fast mode requests when your organization has fast mode disabled", - "zh": "Set to 1 to skip the client-side fast mode availability check, for proxies that intercept the check's request rather than refuse it. The API still rejects fast mode requests when your organization has fast mode disabled" + "zh": "设置为 1 以跳过客户端 快速模式 可用性检查,用于拦截检查请求的代理而不是拒绝它。当您的组织禁用了快速模式时 API 仍然拒绝快速模式请求" } }, { @@ -5652,7 +5739,7 @@ "valueKind": "string", "description": { "en": "Skip Azure authentication for Microsoft Foundry, for a proxy or gateway that injects its own Authorization header. Claude Code sends requests without an Azure credential and preserves the Authorization header you supply, for example through ANTHROPIC_CUSTOM_HEADERS. Ignored when ANTHROPIC_FOUNDRY_API_KEY or ANTHROPIC_FOUNDRY_AUTH_TOKEN is set. Before v2.1.203, this variable left the Microsoft Foundry client unable to send requests unless an API key was also set", - "zh": "跳过 Microsoft Foundry 的 Azure 身份验证,用于代理或网关,这些代理或网关注入自己的 Authorization 标头。Claude Code 发送没有 Azure 凭证的请求,并保留您提供的 Authorization 标头,例如通过 ANTHROPIC_CUSTOM_HEADERS。当设置 ANTHROPIC_FOUNDRY_API_KEY 或 ANTHROPIC_FOUNDRY_AUTH_TOKEN 时被忽略。在 v2.1.203 之前,此变量使 Microsoft Foundry 客户端无法在没有同时设置 API 密钥的情况下发送请求" + "zh": "跳过 Microsoft Foundry 的 Azure 身份验证,用于代理或网关注入自己的 Authorization 标头。Claude Code 发送没有 Azure 凭证的请求并保留您提供的 Authorization 标头,例如通过 ANTHROPIC_CUSTOM_HEADERS。当 ANTHROPIC_FOUNDRY_API_KEY 或 ANTHROPIC_FOUNDRY_AUTH_TOKEN 被设置时被忽略。在 v2.1.203 之前,此变量使 Microsoft Foundry 客户端无法发送请求,除非也设置了 API 密钥" } }, { @@ -5670,7 +5757,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to skip writing prompt history and session transcripts to disk. Sessions started with this variable set do not appear in --resume, --continue, or up-arrow history. Useful for ephemeral scripted sessions", - "zh": "设置为 1 以跳过将提示历史和会话转录写入磁盘。使用此变量启动的会话不会出现在 --resume、--continue 或向上箭头历史中。对于临时脚本会话很有用" + "zh": "设置为 1 以跳过将提示历史和会话转录写入磁盘。使用此变量启动的会话不出现在 --resume、--continue 或向上箭头历史中。对临时脚本会话很有用" } }, { @@ -5679,7 +5766,7 @@ "valueKind": "string", "description": { "en": "Skip Google authentication for Google Cloud's Agent Platform (for example, when using an LLM gateway)", - "zh": "跳过 Google Cloud's Agent Platform 的 Google 身份验证(例如,使用 LLM 网关时)" + "zh": "跳过 Google Cloud 的 Agent Platform 的 Google 身份验证(例如,使用 LLM 网关时)" } }, { @@ -5688,7 +5775,7 @@ "valueKind": "boolean-string", "description": { "en": "Maximum number of consecutive times a Stop or 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", - "zh": "Stop 或 SubagentStop hook 可能在 Claude Code 覆盖它并无论如何结束转换之前阻止转换结束的最大连续次数(默认值:8)。设置为 0 以禁用上限。如果您的 hook 合法需要更多迭代来解决,请提高此值" + "zh": "Stop 或 SubagentStop hook 可以在 Claude Code 覆盖它并无论如何结束转之前连续阻止转结束的最大次数(默认值:8)。设置为 0 以禁用上限。如果您的 hook 合法需要更多迭代来解决,请提高此值" } }, { @@ -5697,7 +5784,7 @@ "valueKind": "string", "description": { "en": "The default model for subagents, agent team teammates, and workflow agents that aren't assigned a model another way. Accepts an alias such as haiku or a full model name. Two sources take precedence over it: a model Claude passes when it spawns the agent, and a model field in the agent's definition, including inherit. To change that, set CLAUDE_CODE_SUBAGENT_MODEL_FORCE. See Choose a model for the full order. Setting it to inherit is the same as leaving it unset. Before v2.1.251, this variable overrode both the per-invocation model and the definition's model field", - "zh": "请参阅模型配置。从 v2.1.196 开始,将其设置为 inherit 与不设置相同;较早的版本将 inherit 视为覆盖,强制每个 subagent 进入主对话的模型" + "zh": "子代理、代理团队 队友和 工作流 代理的默认模型,这些代理没有以其他方式分配模型。接受别名(如 haiku)或完整模型名称。两个源优先于它:Claude 生成代理时传递的模型和代理定义中的 model 字段,包括 inherit。要改变这一点,设置 CLAUDE_CODE_SUBAGENT_MODEL_FORCE。请参阅 选择模型 了解完整顺序。将其设置为 inherit 与保留其未设置相同。在 v2.1.251 之前,此变量覆盖了每个调用模型和定义的 model 字段" } }, { @@ -5705,8 +5792,8 @@ "example": "1", "valueKind": "boolean-string", "description": { - "en": "Set to 1 to force one model onto subagents, teammates, and workflow agents. Choose a model says which model that is. Requires Claude Code v2.1.257 or later", - "zh": "Set to 1 to force one model onto subagents, teammates, and workflow agents. Choose a model says which model that is. Requires Claude Code v2.1.257 or later" + "en": "Set to 1 to force one model onto subagents, teammates, and workflow agents. Run every subagent on one model says which model that is. Requires Claude Code v2.1.257 or later", + "zh": "设置为 1 以强制一个模型到子代理、队友和工作流代理。在一个模型上运行每个子代理 说明那是哪个模型。需要 Claude Code v2.1.257 或更高版本" } }, { @@ -5715,7 +5802,7 @@ "valueKind": "string", "description": { "en": "Set 5m or 1h, the only values Claude Code accepts, to choose the prompt cache TTL for requests outside the main conversation, such as subagents, workflows, and background work. Takes precedence over the subagentPromptCacheTtl setting and over ENABLE_PROMPT_CACHING_1H, and FORCE_PROMPT_CACHING_5M overrides it. The API bills 1-hour cache writes at a higher rate. Requires Claude Code v2.1.242 or later", - "zh": "Set 5m or 1h, the only values Claude Code accepts, to choose the prompt cache TTL for requests outside the main conversation, such as subagents, workflows, and background work. Takes precedence over the subagentPromptCacheTtl setting and over ENABLE_PROMPT_CACHING_1H, and FORCE_PROMPT_CACHING_5M overrides it. The API bills 1-hour cache writes at a higher rate. Requires Claude Code v2.1.242 or later" + "zh": "设置 5m 或 1h,Claude Code 接受的唯一值,为主对话外的请求选择 提示缓存 TTL,例如 子代理、工作流和后台工作。优先于 subagentPromptCacheTtl 设置和 ENABLE_PROMPT_CACHING_1H,FORCE_PROMPT_CACHING_5M 覆盖它。1 小时缓存写入按更高费率计费。需要 Claude Code v2.1.242 或更高版本" } }, { @@ -5724,7 +5811,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to strip credentials from subprocess environments (Bash tool, hooks, MCP stdio servers): Anthropic and cloud provider credentials, any other variable that Claude Code recognizes as a credential, and credentials embedded in package registry URLs. The parent Claude process keeps these credentials for API calls, but child processes cannot read them, reducing exposure to prompt injection attacks that attempt to exfiltrate secrets via shell expansion. On Linux, this also runs Bash subprocesses in an isolated PID namespace so they cannot read host process environments via /proc; as a side effect, ps, pgrep, and kill cannot see or signal host processes. claude-code-action sets this automatically when allowed_non_write_users is configured", - "zh": "设置为 1 以从子进程环境(Bash 工具、hooks、MCP stdio 服务器)中删除 Anthropic 和云提供商凭证。父 Claude 进程为 API 调用保留这些凭证,但子进程无法读取它们,减少了通过 shell 扩展尝试窃取机密的提示注入攻击的暴露。在 Linux 上,这也在隔离的 PID 命名空间中运行 Bash 子进程,以便它们无法通过 /proc 读取主机进程环境;作为副作用,ps、pgrep 和 kill 无法看到或信号主机进程。当配置了 allowed_non_write_users 时,claude-code-action 会自动设置此选项" + "zh": "设置为 1 以从子进程环境中删除凭证(Bash 工具、hooks、MCP stdio 服务器):Anthropic 和云提供商凭证、Claude Code 识别为凭证的任何其他变量以及包含在包注册表 URL 中的凭证。父 Claude 进程保留这些凭证用于 API 调用,但子进程无法读取它们,减少了试图通过 shell 扩展窃取秘密的提示注入攻击的暴露。在 Linux 上,这也在隔离的 PID 命名空间中运行 Bash 子进程,以便它们无法通过 /proc 读取主机进程环境;作为副作用,ps、pgrep 和 kill 无法看到或信号主机进程。claude-code-action 在配置 allowed_non_write_users 时自动设置此项" } }, { @@ -5733,7 +5820,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 in non-interactive mode (the -p flag) to wait for plugin installation to complete before the first query. Without this, plugins install in the background and may not be available on the first turn. Combine with CLAUDE_CODE_SYNC_PLUGIN_INSTALL_TIMEOUT_MS to bound the wait", - "zh": "设置为 1 在非交互模式(-p 标志)中等待插件安装完成后再进行第一个查询。没有这个,插件在后台安装,可能在第一个回合不可用。与 CLAUDE_CODE_SYNC_PLUGIN_INSTALL_TIMEOUT_MS 结合以限制等待时间" + "zh": "在非交互模式(-p 标志)中设置为 1 以等待插件安装完成,然后再进行第一个查询。没有这个,插件在后台安装,可能在第一个转上不可用。与 CLAUDE_CODE_SYNC_PLUGIN_INSTALL_TIMEOUT_MS 结合以限制等待" } }, { @@ -5742,7 +5829,7 @@ "valueKind": "number-string", "description": { "en": "Timeout in milliseconds for synchronous plugin installation. When exceeded, Claude Code proceeds without plugins and logs an error. No default: without this variable, synchronous installation waits until complete", - "zh": "同步插件安装的超时时间(以毫秒为单位)。超过时,Claude Code 继续而不使用插件并记录错误。无默认值:没有此变量,同步安装会等待直到完成" + "zh": "同步插件安装的超时时间(毫秒)。超过时,Claude Code 继续而不使用插件并记录错误。无默认值:没有此变量,同步安装等待直到完成" } }, { @@ -5751,7 +5838,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to download your enabled claude.ai skills into ~/.claude/skills/synced/ and resync every 10 minutes. Before it runs the first query, Claude Code waits up to CLAUDE_CODE_SYNC_SKILLS_WAIT_TIMEOUT_MS for the list of your skills. The downloads themselves finish in the background, and Claude waits for a skill's download when it invokes that skill. The synced folder name is reserved for this download. Before v2.1.227, the skills downloaded into ~/.claude/skills/ directly. Applies only in non-interactive mode with the -p flag. Requires claude.ai authentication. Claude Code on the web sessions receive your enabled claude.ai skills automatically; you don't need to set this there. Claude Code applies extra rules to the downloaded skills, such as not running their ! commands on your machine", - "zh": "设置为 1 以在第一个查询之前将您启用的 claude.ai skills 下载到 ~/.claude/skills/ 中,并每 10 分钟重新同步一次。仅适用于非交互模式,带有 -p 标志。需要 claude.ai 身份验证。Claude Code on the web 会话自动接收您启用的 claude.ai skills;您不需要在那里设置此选项" + "zh": "设置为 1 以将您启用的 claude.ai skills 下载到 ~/.claude/skills/synced/ 并每 10 分钟重新同步一次。在运行第一个查询之前,Claude Code 等待最多 CLAUDE_CODE_SYNC_SKILLS_WAIT_TIMEOUT_MS 以获取您的 skills 列表。下载本身在后台完成,Claude 在调用 skill 时等待 skill 的下载。synced 文件夹名称是 为此下载保留的。在 v2.1.227 之前,skills 直接下载到 ~/.claude/skills/ 中。仅适用于非交互模式,使用 -p 标志。需要 claude.ai 身份验证。Claude Code on the web 会话自动接收您启用的 claude.ai skills;您不需要在那里设置此项。Claude Code 对下载的 skills 应用 额外规则,例如不在您的机器上运行它们的 ! 命令" } }, { @@ -5760,7 +5847,7 @@ "valueKind": "number-string", "description": { "en": "Timeout in milliseconds for a mid-session skills resync when CLAUDE_CODE_SYNC_SKILLS is set (default: 30000). Bounds the download triggered when the host requests a skill reload during the session. When exceeded, the resync stops and remaining downloads continue in the background", - "zh": "当设置 CLAUDE_CODE_SYNC_SKILLS 时,中会话 skills 重新同步的超时时间(以毫秒为单位)(默认值:30000)。限制在主机请求 skill 重新加载期间触发的下载。超过时,重新同步停止,剩余下载在后台继续" + "zh": "当 CLAUDE_CODE_SYNC_SKILLS 被设置时,会话中期 skills 重新同步的超时时间(毫秒)(默认值:30000)。限制在 skill 重新加载期间触发的下载。超过时,重新同步停止,剩余下载在后台继续" } }, { @@ -5769,7 +5856,7 @@ "valueKind": "number-string", "description": { "en": "Timeout in milliseconds for the first query to wait for the initial skill list when CLAUDE_CODE_SYNC_SKILLS is set (default: 5000). When exceeded, the first query runs with whichever skills have arrived. The downloads finish in the background either way, and Claude waits for a skill's download when it invokes that skill", - "zh": "当设置 CLAUDE_CODE_SYNC_SKILLS 时,第一个查询等待初始 skills 同步的超时时间(以毫秒为单位)(默认值:5000)。超过时,查询继续进行,剩余的 skill 下载在后台继续" + "zh": "当 CLAUDE_CODE_SYNC_SKILLS 被设置时,第一个查询等待初始 skill 列表的超时时间(毫秒)(默认值:5000)。超过时,第一个查询使用已到达的任何 skills 运行。下载无论如何都在后台完成,Claude 在调用 skill 时等待 skill 的下载" } }, { @@ -5778,7 +5865,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to false to disable syntax highlighting in diff output. Useful when colors interfere with your terminal setup. To also disable highlighting in code blocks and file previews, use the syntaxHighlightingDisabled setting", - "zh": "设置为 false 以禁用 diff 输出中的语法突出显示。当颜色干扰您的终端设置时很有用。要同时禁用代码块和文件预览中的突出显示,请使用 syntaxHighlightingDisabled 设置" + "zh": "设置为 false 以禁用 diff 输出中的语法突出显示。当颜色干扰您的终端设置时很有用。要也禁用代码块和文件预览中的突出显示,请使用 syntaxHighlightingDisabled 设置" } }, { @@ -5787,7 +5874,7 @@ "valueKind": "string", "description": { "en": "Share a task list across sessions. Set the same ID in multiple Claude Code instances to coordinate on a shared task list, in sessions that have the Task tools. See Task list", - "zh": "跨会话共享任务列表。在多个 Claude Code 实例中设置相同的 ID 以协调共享任务列表。请参阅任务列表" + "zh": "跨会话共享任务列表。在多个 Claude Code 实例中设置相同的 ID 以在 具有 Task 工具的会话 中协调共享任务列表。请参阅 任务列表" } }, { @@ -5796,7 +5883,7 @@ "valueKind": "number-string", "description": { "en": "Override, in milliseconds, how long a non-interactive session waits at exit for its agent team to finish tearing down. Accepts 1000 to 60000; an out-of-range value is ignored and the default of 10000 applies. Requires Claude Code v2.1.206 or later", - "zh": "覆盖非交互式会话在退出时等待其代理团队完成拆卸的时间(以毫秒为单位)。接受 1000 到 60000;超出范围的值被忽略,应用默认值 10000。需要 Claude Code v2.1.206 或更高版本" + "zh": "覆盖非交互式会话在退出时等待其 代理团队 完成拆卸的时间(毫秒)。接受 1000 到 60000;超出范围的值被忽略,默认值 10000 适用。需要 Claude Code v2.1.206 或更高版本" } }, { @@ -5804,8 +5891,8 @@ "example": "value", "valueKind": "string", "description": { - "en": "Override the temp directory used for internal temp files. Claude Code appends /claude-{uid}/ on Unix or /claude/ on Windows to this path. Default: /tmp on macOS, os.tmpdir() on Linux and Windows. As of v2.1.161, on macOS and Linux, sandboxed Bash subprocesses receive a short fallback $TMPDIR under the system default when your override is a long path, since some tools fail when temp paths get too long. Unsandboxed Bash commands inherit your shell's $TMPDIR unchanged. Claude Code's own temp files always use your override. Set it in your shell, user settings, or managed settings. Ignored in project and local settings", - "zh": "覆盖用于内部临时文件的临时目录。Claude Code 将 /claude-{uid}/(Unix)或 /claude/(Windows)附加到此路径。默认值:macOS 上为 /tmp,Linux/Windows 上为 os.tmpdir()。从 v2.1.161 开始,在 macOS 和 Linux 上,沙箱化 Bash 子进程在系统默认值下接收短回退 $TMPDIR,当您的覆盖是长路径时,因为某些工具在临时路径过长时会失败。未沙箱化的 Bash 命令继承您的 shell 的 $TMPDIR 不变。Claude Code 自己的临时文件始终使用您的覆盖" + "en": "Override the temp directory used for internal temp files. Claude Code appends /claude-{uid}/ on Unix or /claude/ on Windows to this path. Default: /tmp on macOS, os.tmpdir() on Linux and Windows. On macOS and Linux, sandboxed Bash subprocesses receive a short fallback $TMPDIR under the system default when your override is a long path, since some tools fail when temp paths get too long. Unsandboxed Bash commands inherit your shell's $TMPDIR unchanged. Claude Code's own temp files always use your override. Set it in your shell, user settings, or managed settings. Ignored in project and local settings", + "zh": "覆盖用于内部临时文件的临时目录。Claude Code 在 Unix 上附加 /claude-{uid}/ 或在 Windows 上附加 /claude/ 到此路径。默认值:macOS 上 /tmp,Linux 和 Windows 上 os.tmpdir()。在 macOS 和 Linux 上,当您的覆盖是长路径时,沙箱化 Bash 子进程在系统默认值下接收短回退 $TMPDIR,因为某些工具在临时路径变得太长时失败。未沙箱化的 Bash 命令继承您的 shell 的 $TMPDIR 不变。Claude Code 自己的临时文件始终使用您的覆盖。在您的 shell、用户设置或托管设置中设置它。在 项目和本地设置 中被忽略" } }, { @@ -5814,7 +5901,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to any non-empty value, such as 1, to allow 24-bit truecolor output inside tmux. Setting it to 0 or false still allows truecolor, unlike most on/off variables; unset the variable to restore the 256-color clamp. By default, Claude Code clamps to 256 colors when $TMUX is set because tmux does not pass through truecolor escape sequences unless configured to. Set this after adding set -ga terminal-overrides ',*:Tc' to your ~/.tmux.conf. See Terminal configuration for other tmux settings", - "zh": "设置为 1 以允许 tmux 内的 24 位真彩色输出。默认情况下,当设置 $TMUX 时,Claude Code 限制为 256 色,因为 tmux 不会通过真彩色转义序列,除非配置为这样做。在将 set -ga terminal-overrides ',*:Tc' 添加到您的 ~/.tmux.conf 后设置此选项。请参阅终端配置了解其他 tmux 设置" + "zh": "设置为任何非空值(如 1)以允许 tmux 内的 24 位真彩色输出。将其设置为 0 或 false 仍允许真彩色,与大多数打开/关闭变量不同;取消设置变量以恢复 256 色限制。默认情况下,当 $TMUX 被设置时 Claude Code 限制到 256 色,因为 tmux 不通过真彩色转义序列,除非配置为这样做。在将 set -ga terminal-overrides ',*:Tc' 添加到您的 ~/.tmux.conf 后设置此项。请参阅 终端配置 了解其他 tmux 设置" } }, { @@ -5823,7 +5910,7 @@ "valueKind": "string", "description": { "en": "On Linux and WSL, set to a comma-separated list of the kinds of processes Claude Code excludes from the tool memory cap, such as mcp or lsp. Set none to cap every kind, or all-new to cap only Bash, PowerShell, and Monitor tool commands. Claude Code keeps Bash, PowerShell, and Monitor tool commands under the cap whatever you list. Requires Claude Code v2.1.246 or later", - "zh": "On Linux and WSL, set to a comma-separated list of the kinds of processes Claude Code excludes from the tool memory cap, such as mcp or lsp. Set none to cap every kind, or all-new to cap only Bash, PowerShell, and Monitor tool commands. Claude Code keeps Bash, PowerShell, and Monitor tool commands under the cap whatever you list. Requires Claude Code v2.1.246 or later" + "zh": "在 Linux 和 WSL 上,设置为 Claude Code 从工具内存上限排除 的进程类型的逗号分隔列表,例如 mcp 或 lsp。设置 none 以限制每种类型,或 all-new 以仅限制 Bash、PowerShell 和 Monitor 工具命令。Claude Code 无论您列出什么都将 Bash、PowerShell 和 Monitor 工具命令保持在上限下。需要 Claude Code v2.1.246 或更高版本" } }, { @@ -5832,7 +5919,7 @@ "valueKind": "boolean-string", "description": { "en": "On Linux and WSL, set to a size such as 4G to cap the memory that Bash and PowerShell tool commands can use, and Monitor tool commands on v2.1.246 or later. Write the size in plain digits, alone for a number of bytes or with a K, M, G, or T suffix. Set 0 or off to turn the cap off. Once the first process Claude Code starts has turned the cap on or off, a changed value takes effect the next time you launch claude. Requires Claude Code v2.1.233 or later", - "zh": "On Linux and WSL, set to a size such as 4G to cap the memory that Bash and PowerShell tool commands can use, and Monitor tool commands on v2.1.246 or later. Write the size in plain digits, alone for a number of bytes or with a K, M, G, or T suffix. Set 0 or off to turn the cap off. Once the first process Claude Code starts has turned the cap on or off, a changed value takes effect the next time you launch claude. Requires Claude Code v2.1.233 or later" + "zh": "在 Linux 和 WSL 上,设置为大小(如 4G)以 限制 Bash 和 PowerShell 工具命令可以使用的内存,以及 v2.1.246 或更高版本上的 Monitor 工具命令。用纯数字单独写入大小(字节数)或带 K、M、G 或 T 后缀。设置 0 或 off 以关闭上限。一旦 Claude Code 启动的第一个进程打开或关闭了上限,更改的值在您下次启动 claude 时生效。需要 Claude Code v2.1.233 或更高版本" } }, { @@ -5841,7 +5928,7 @@ "valueKind": "string", "description": { "en": "Use Claude Platform on AWS", - "zh": "使用 Claude Platform on AWS" + "zh": "使用 AWS 上的 Claude Platform" } }, { @@ -5877,7 +5964,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to discover custom commands, subagents, and output styles using Node.js file APIs instead of ripgrep. Set this if the bundled ripgrep binary is unavailable or blocked in your environment. Does not affect the Grep or file search tools", - "zh": "设置为 1 以使用 Node.js 文件 API 而不是 ripgrep 发现自定义命令、subagents 和输出样式。如果捆绑的 ripgrep 二进制文件在您的环境中不可用或被阻止,请设置此选项。不影响 Grep 或文件搜索工具" + "zh": "设置为 1 以使用 Node.js 文件 API 而不是 ripgrep 发现自定义命令、子代理和输出样式。如果捆绑的 ripgrep 二进制文件在您的环境中不可用或被阻止,请设置此项。不影响 Grep 或文件搜索工具" } }, { @@ -5886,7 +5973,7 @@ "valueKind": "boolean-string", "description": { "en": "Controls the PowerShell tool. On Windows without Git Bash, the tool is enabled automatically; set to 0 to disable it. On Windows with Git Bash installed, the tool is on by default for claude.ai and Console accounts; set to 1 to enable it in Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry sessions, or 0 to turn it off. On Linux, macOS, and WSL, set to 1 to enable it, which requires pwsh on your PATH. When enabled on Windows, Claude can run PowerShell commands natively instead of routing through Git Bash. See PowerShell tool", - "zh": "控制 PowerShell 工具。在没有 Git Bash 的 Windows 上,该工具会自动启用;设置为 0 以禁用它。在安装了 Git Bash 的 Windows 上,该工具正在逐步推出:设置为 1 以选择加入或 0 以选择退出。在 Linux、macOS 和 WSL 上,设置为 1 以启用它,这需要您的 PATH 上有 pwsh。在 Windows 上启用时,Claude 可以本地运行 PowerShell 命令,而不是通过 Git Bash 路由。请参阅 PowerShell 工具" + "zh": "控制 PowerShell 工具。在没有 Git Bash 的 Windows 上,工具自动启用;设置为 0 以禁用它。在安装了 Git Bash 的 Windows 上,工具对 claude.ai 和 Console 帐户默认打开;设置为 1 以在 Amazon Bedrock、Google Cloud 的 Agent Platform 和 Microsoft Foundry 会话中启用它,或 0 以关闭它。在 Linux、macOS 和 WSL 上,设置为 1 以启用它,这需要您的 PATH 上的 pwsh。在 Windows 上启用时,Claude 可以本地运行 PowerShell 命令,而不是通过 Git Bash 路由。请参阅 PowerShell 工具" } }, { @@ -5895,16 +5982,16 @@ "valueKind": "string", "description": { "en": "Use Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform" + "zh": "使用 Google Cloud 的 Agent Platform" } }, { "key": "CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS", "example": "0", - "valueKind": "number-string", + "valueKind": "boolean-string", "description": { - "en": "Deadline in milliseconds for dialogs Claude Code forwards to a remote client, such as a Remote Control or SDK host, and for the approval dialog for a held cross-session message, before Claude Code cancels them; permission prompts and AskUserQuestion questions use their own flows and aren't governed by it. Also bounds the mid-session Fable usage-credits consent prompt in a session that may be running unattended. Control inbound messages and non-interactive sessions cover the full held-message expiry rules, including the cases where the deadline doesn't apply. Overrides the dialogExpiry setting; 0 or a negative value disables the deadline", - "zh": "Deadline in milliseconds for dialogs Claude Code forwards to a remote client, such as a Remote Control or SDK host, and for the approval dialog for a held cross-session message, before Claude Code cancels them; permission prompts and AskUserQuestion questions use their own flows and aren't governed by it. Also bounds the mid-session Fable usage-credits consent prompt in a session that may be running unattended. Control inbound messages and non-interactive sessions cover the full held-message expiry rules, including the cases where the deadline doesn't apply. Overrides the dialogExpiry setting; 0 or a negative value disables the deadline" + "en": "Deadline in milliseconds before Claude Code cancels a dialog it forwards to a remote client such as a Remote Control or SDK host, or the approval dialog for a held cross-session message; permission prompts and AskUserQuestion questions use their own flows and aren't governed by it. On Claude Code v2.1.236 or later, it also bounds the mid-session Fable usage-credits consent prompt in a session that may be running unattended. Control inbound messages and non-interactive sessions cover the full held-message expiry rules, including the cases where the deadline doesn't apply. Overrides the dialogExpiry setting. 0 or a negative value disables the deadline", + "zh": "Claude Code 取消转发给远程客户端(如 Remote Control 或 SDK 主机)的对话框的截止时间(毫秒),或 保持的跨会话消息 的批准对话框;权限提示和 AskUserQuestion 问题使用自己的流程,不受其管理。在 Claude Code v2.1.236 或更高版本上,它也限制会话中期 Fable 使用信用同意提示,该会话可能无人值守。控制入站消息 和 非交互式会话 涵盖完整的保持消息过期规则,包括截止时间不适用的情况。覆盖 dialogExpiry 设置。0 或负值禁用截止时间" } }, { @@ -5913,7 +6000,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to the number of milliseconds WebFetch keeps each fetched URL's response cached. The default is 900000, which is 15 minutes. Takes plain digits only; 0, a decimal, or any other spelling keeps the default. Claude Code reads the value once per launch, so a change in a settings env block applies when you next launch claude. Requires Claude Code v2.1.233 or later", - "zh": "Set to the number of milliseconds WebFetch keeps each fetched URL's response cached. The default is 900000, which is 15 minutes. Takes plain digits only; 0, a decimal, or any other spelling keeps the default. Claude Code reads the value once per launch, so a change in a settings env block applies when you next launch claude. Requires Claude Code v2.1.233 or later" + "zh": "设置为 WebFetch 保持每个获取 URL 响应缓存的毫秒数。默认值为 900000,即 15 分钟。仅接受纯数字;0、小数或任何其他拼写保持默认值。Claude Code 每次启动读取一次值,因此设置 env 块中的更改在您下次启动 claude 时适用。需要 Claude Code v2.1.233 或更高版本" } }, { @@ -5922,7 +6009,7 @@ "valueKind": "boolean-string", "description": { "en": "Upper bound in milliseconds on how long a workflow agent waits for a same-prefix sibling's first response to begin before sending its own first request. When a fan-out starts several agents that share a prompt-cache prefix, Claude Code holds all but the first agent for up to this long so the rest read the cached prefix instead of each processing it uncached. Default 5000. Set to 0 to disable the wait. When DISABLE_PROMPT_CACHING is set, agents never wait. Requires Claude Code v2.1.229 or later", - "zh": "Upper bound in milliseconds on how long a workflow agent waits for a same-prefix sibling's first response to begin before sending its own first request. When a fan-out starts several agents that share a prompt-cache prefix, Claude Code holds all but the first agent for up to this long so the rest read the cached prefix instead of each processing it uncached. Default 5000. Set to 0 to disable the wait. When DISABLE_PROMPT_CACHING is set, agents never wait. Requires Claude Code v2.1.229 or later" + "zh": "工作流 代理等待同前缀兄弟的第一个响应开始的时间上限(毫秒),然后发送自己的第一个请求。当扇出启动共享 提示缓存前缀 的多个代理时,Claude Code 将除第一个代理外的所有代理保持最多这么长时间,以便其余代理读取缓存的前缀而不是每个未缓存处理它。默认 5000。设置为 0 以禁用等待。当 DISABLE_PROMPT_CACHING 被设置时,代理永远不会等待。需要 Claude Code v2.1.229 或更高版本" } }, { @@ -5931,7 +6018,7 @@ "valueKind": "string", "description": { "en": "Override the configuration directory (default: ~/.claude). All settings, session history, and plugins are stored under this path. For credentials, see where Claude Code stores credentials. Useful for running multiple accounts side by side: for example, alias claude-work='CLAUDE_CONFIG_DIR=~/.claude-work claude'. Set it in your shell, user settings, or managed settings. Ignored in project and local settings", - "zh": "覆盖配置目录(默认值:~/.claude)。所有设置、凭证、会话历史和插件都存储在此路径下。对于并行运行多个帐户很有用:例如,alias claude-work='CLAUDE_CONFIG_DIR=~/.claude-work claude'" + "zh": "覆盖配置目录(默认值:~/.claude)。所有设置、会话历史和插件都存储在此路径下。对于凭证,请参阅 Claude Code 存储凭证的位置。对于并行运行多个帐户很有用:例如,alias claude-work='CLAUDE_CONFIG_DIR=~/.claude-work claude'。在您的 shell、用户设置或托管设置中设置它。在 项目和本地设置 中被忽略" } }, { @@ -5940,7 +6027,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to stop in-flight background work instead of carrying it over when you background a session by pressing ← or with /background. Claude Code asks you to confirm before backgrounding, then stops the tasks that would otherwise carry over. Requires Claude Code v2.1.195 or later", - "zh": "设置为 1 以在您通过按 ← 或使用 /background 后台处理会话时停止进行中的后台工作,而不是进行中的工作。Claude Code 要求您在后台处理前确认,然后停止会以其他方式进行的任务。需要 Claude Code v2.1.195 或更高版本" + "zh": "设置为 1 以在通过按 ← 或使用 /background 后台处理会话时停止进行中的后台工作,而不是将其进行。Claude Code 要求您在后台处理前确认,然后停止会进行的任务。需要 Claude Code v2.1.195 或更高版本" } }, { @@ -5949,7 +6036,7 @@ "valueKind": "string", "description": { "en": "Set automatically in Bash tool subprocesses and hook commands to the effort level in effect when the subprocess starts: low, medium, high, xhigh, or max. Ultracode is not a distinct level and reports as xhigh. Matches the effort.level field passed to hooks. Only set when the current model supports the effort parameter", - "zh": "在 Bash 工具子进程和 hook 命令中自动设置为该转换的活动努力级别:low、medium、high、xhigh 或 max。Ultracode 不是一个不同的级别,报告为 xhigh。与传递给 hooks 的 effort.level 字段匹配。仅在当前模型支持努力参数时设置" + "zh": "在 Bash 工具子进程和 hook 命令中自动设置为子进程启动时生效的 effort 级别:low、medium、high、xhigh 或 max。Ultracode 不是不同的级别,报告为 xhigh。与传递给 hooks 的 effort.level 字段匹配。仅当当前模型支持 effort 参数时设置" } }, { @@ -5958,7 +6045,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to force-enable the byte-level streaming idle watchdog, or set to 0 to force-disable it. 0 also turns off the first-byte deadline on the connections where that deadline runs. When unset, the watchdog is enabled by default for direct Anthropic API and Claude Platform on AWS connections, and for streaming responses on gateway connections reached through ANTHROPIC_BASE_URL or ANTHROPIC_AWS_BASE_URL; before v2.1.222 it didn't run on those gateway connections, so the event-level watchdog could report a stall there even while keep-alive pings were arriving. For timeouts and how the timers interact, see Streaming idle watchdogs", - "zh": "设置为 1 以强制启用字节级流式空闲监视程序,或设置为 0 以强制禁用它。未设置时,监视程序对 Anthropic API 和 Claude Platform on AWS 连接默认启用。字节监视程序在 180 秒(直接 Anthropic API 连接)、300 秒(Claude Platform on AWS 和其他提供商)或 CLAUDE_STREAM_IDLE_TIMEOUT_MS 设置的值(限制为最少 5 分钟)内没有字节到达线路时中止连接,独立于事件级监视程序" + "zh": "设置为 1 以强制启用字节级流式空闲监视狗,或设置为 0 以强制禁用它。0 也关闭 第一字节截止时间 在运行该截止时间的连接上。未设置时,监视狗在直接 Anthropic API 和 AWS 上的 Claude Platform 连接上默认启用,以及通过 ANTHROPIC_BASE_URL 或 ANTHROPIC_AWS_BASE_URL 到达的 网关 连接上的流式响应;在 v2.1.222 之前,它在这些网关连接上不运行,因此事件级监视狗可能在那里报告停滞,即使保活 ping 正在到达。对于超时以及计时器如何交互,请参阅 流式空闲监视狗" } }, { @@ -5967,7 +6054,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to enable the byte-level streaming idle watchdog on Amazon Bedrock vnd.amazon.eventstream responses, which also enables the first-byte deadline on Bedrock streaming requests. Off by default. Configure the timeout with CLAUDE_STREAM_IDLE_TIMEOUT_MS", - "zh": "设置为 1 以在 Amazon Bedrock vnd.amazon.eventstream 响应上启用字节级流式空闲监视程序。默认关闭。使用 CLAUDE_STREAM_IDLE_TIMEOUT_MS 配置超时" + "zh": "设置为 1 以在 Amazon Bedrock vnd.amazon.eventstream 响应上启用字节级流式空闲监视狗,这也启用 第一字节截止时间 在 Bedrock 流式请求上。默认关闭。使用 CLAUDE_STREAM_IDLE_TIMEOUT_MS 配置超时" } }, { @@ -5976,7 +6063,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 0 to force-disable the event-level streaming idle watchdog, or set to 1 to force-enable it. When unset, the watchdog is on by default for all providers. Before v2.1.196, the unset default was server-controlled on the direct Anthropic API and off on other providers. Configure the timeout with CLAUDE_STREAM_IDLE_TIMEOUT_MS; for the other stall timers that run alongside this one, see Streaming idle watchdogs", - "zh": "设置为 0 以强制禁用事件级流式空闲监视程序,或设置为 1 以强制启用它。未设置时,监视程序对所有提供商默认启用。在 v2.1.196 之前,未设置的默认值在直接 Anthropic API 上由服务器控制,在其他提供商上关闭。从 v2.1.169 开始,直接 Anthropic API 和 Claude Platform on AWS 以外的提供商也有默认启用的 5 分钟体空闲超时,独立于此变量;请参阅 API_FORCE_IDLE_TIMEOUT。在 Amazon Bedrock 上,您也可以使用 CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCK 启用独立的字节级监视程序;当两者都设置时,它们一起运行。使用 CLAUDE_STREAM_IDLE_TIMEOUT_MS 配置超时" + "zh": "设置为 0 以强制禁用事件级流式空闲监视狗,或设置为 1 以强制启用它。未设置时,监视狗在所有提供商上默认打开。在 v2.1.196 之前,未设置的默认值在直接 Anthropic API 上由服务器控制,在其他提供商上关闭。使用 CLAUDE_STREAM_IDLE_TIMEOUT_MS 配置超时;对于与此一起运行的其他停滞计时器,请参阅 流式空闲监视狗" } }, { @@ -5985,7 +6072,16 @@ "valueKind": "string", "description": { "en": "Path to a shell script whose contents Claude Code runs before each Bash command in the same shell process, so exports in the file are visible to the command. Use to persist virtualenv or conda activation across commands. Also populated dynamically by SessionStart, Setup, CwdChanged, and FileChanged hooks", - "zh": "Claude Code 在每个 Bash 命令之前在同一 shell 进程中运行的 shell 脚本的路径,因此文件中的导出对命令可见。用于在命令之间保持 virtualenv 或 conda 激活。也由 SessionStart、Setup、CwdChanged 和 FileChanged hooks 动态填充" + "zh": "shell 脚本的路径,其内容 Claude Code 在同一 shell 进程中的每个 Bash 命令之前运行,因此文件中的导出对命令可见。用于在命令之间保持 virtualenv 或 conda 激活。也由 SessionStart、Setup、CwdChanged 和 FileChanged hooks 动态填充" + } + }, + { + "key": "CLAUDE_JOB_DIR", + "example": "value", + "valueKind": "string", + "description": { + "en": "Set by Claude Code in each background session to that session's ~/.claude/jobs/ directory. Shell commands that the session runs inherit it. Write scratch files to $CLAUDE_JOB_DIR/tmp. Claude's Write and Edit calls there don't prompt for permission, and the directory is removed when the session is deleted", + "zh": "由 Claude Code 在每个 后台会话 中设置为该会话的 ~/.claude/jobs/ 目录。会话运行的 shell 命令继承它。将暂存文件写入 $CLAUDE_JOB_DIR/tmp。Claude 的 Write 和 Edit 调用在那里不提示权限,目录在会话被删除时被删除" } }, { @@ -5994,7 +6090,7 @@ "valueKind": "string", "description": { "en": "Claude Code sets this to its own process ID in the subprocesses it spawns: Bash and PowerShell tool commands and hook commands. On Linux, the Bash tool's shell integration uses it to refuse a pkill pattern that would match the Claude Code process itself; see the error reference. Read it from your own scripts to identify or signal the parent Claude Code process deliberately. Requires Claude Code v2.1.214 or later", - "zh": "Claude Code sets this to its own process ID in the subprocesses it spawns: Bash and PowerShell tool commands and hook commands. On Linux, the Bash tool's shell integration uses it to refuse a pkill pattern that would match the Claude Code process itself; see the error reference. Read it from your own scripts to identify or signal the parent Claude Code process deliberately. Requires Claude Code v2.1.214 or later" + "zh": "Claude Code 在它生成的子进程中将其设置为自己的进程 ID:Bash 和 PowerShell 工具命令和 hook 命令。在 Linux 上,Bash 工具的 shell 集成使用它来拒绝与 Claude Code 进程本身匹配的 pkill 模式;请参阅 错误参考。从您自己的脚本读取它以有意识地识别或信号父 Claude Code 进程。需要 Claude Code v2.1.214 或更高版本" } }, { @@ -6003,7 +6099,7 @@ "valueKind": "string", "description": { "en": "Prefix for auto-generated Remote Control session names when no explicit name is provided. Defaults to your machine's hostname, producing names like myhost-graceful-unicorn. The --remote-control-session-name-prefix CLI flag sets the same value for a single invocation", - "zh": "当未提供显式名称时,自动生成的远程控制会话名称的前缀。默认为您的机器的主机名,生成名称如 myhost-graceful-unicorn。--remote-control-session-name-prefix CLI 标志为单个调用设置相同的值" + "zh": "当没有提供显式名称时,自动生成的 Remote Control 会话名称的前缀。默认为您的机器的主机名,生成名称如 myhost-graceful-unicorn。--remote-control-session-name-prefix CLI 标志为单个调用设置相同的值" } }, { @@ -6012,7 +6108,7 @@ "valueKind": "number-string", "description": { "en": "Deadline in milliseconds for the first response byte of a streaming request, on the connections where the first-byte deadline runs. For how Claude Code clamps it, the extra time it adds for large request bodies, and how it picks the deadline when you leave this unset, see No response from API. Requires Claude Code v2.1.242 or later", - "zh": "Deadline in milliseconds for the first response byte of a streaming request, on the connections where the first-byte deadline runs. For how Claude Code clamps it, the extra time it adds for large request bodies, and how it picks the deadline when you leave this unset, see No response from API. Requires Claude Code v2.1.242 or later" + "zh": "流式请求的第一个响应字节的截止时间(毫秒),在 第一字节截止时间 运行的连接上。对于 Claude Code 如何限制它、它为大型请求正文添加的额外时间以及当您保留此未设置时如何选择截止时间,请参阅 来自 API 的无响应。需要 Claude Code v2.1.242 或更高版本" } }, { @@ -6021,16 +6117,16 @@ "valueKind": "number-string", "description": { "en": "Timeout in milliseconds before the event- and byte-level streaming idle watchdogs close a stalled connection. When you set this variable explicitly, the minimum is 300000 (5 minutes); lower values are silently clamped to absorb extended thinking pauses and proxy buffering, and the byte-level watchdog caps the value at 30 minutes. CLAUDE_BYTE_STREAM_IDLE_TIMEOUT_MS takes precedence over this variable for the byte-level watchdog. For the per-watchdog unset defaults, see Streaming idle watchdogs", - "zh": "流式空闲监视程序关闭停滞连接前的超时(以毫秒为单位)。当您明确设置此变量时,最小值为 300000(5 分钟);较低的值被静默限制以吸收扩展思考暂停和代理缓冲。未设置时,事件级监视程序默认为 300 秒,字节级监视程序在直接 Anthropic API 连接上默认为 180 秒(Claude Platform on AWS 和其他提供商上为 300 秒)。未设置的 180 秒字节监视程序默认值是一个单独的值,不受 5 分钟限制。体空闲超时在 API_FORCE_IDLE_TIMEOUT 下描述,独立应用。在 Amazon Bedrock 上,也在 CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCK=1 时应用" + "zh": "事件级和字节级流式空闲监视狗在关闭停滞连接之前的超时时间(毫秒)。当您显式设置此变量时,最小值为 300000(5 分钟);较低的值无声地限制到吸收扩展思考暂停和代理缓冲,字节级监视狗将值上限为 30 分钟。CLAUDE_BYTE_STREAM_IDLE_TIMEOUT_MS 优先于此变量用于字节级监视狗。对于每个监视狗未设置的默认值,请参阅 流式空闲监视狗" } }, { "key": "CLAUDE_SUBAGENT_BG_SHELL_MAX_MS", - "example": "3600000", + "example": "300000", "valueKind": "number-string", "description": { - "en": "Maximum lifetime in milliseconds for a background shell command that a subagent started. Default 3600000 (60 minutes). When you set 0, Claude Code applies the default instead of removing the cap. When the subagent runs in the foreground, Claude Code also ends the command when that subagent gives its final response, regardless of this cap. See the background command lifetime rules. Claude Code doesn't cap main-session background commands this way. For the memory-pressure limit that covers them, see How backgrounding works", - "zh": "Maximum lifetime in milliseconds for a background shell command that a subagent started. Default 3600000 (60 minutes). When you set 0, Claude Code applies the default instead of removing the cap. When the subagent runs in the foreground, Claude Code also ends the command when that subagent gives its final response, regardless of this cap. See the background command lifetime rules. Claude Code doesn't cap main-session background commands this way. For the memory-pressure limit that covers them, see How backgrounding works" + "en": "Removed in v2.1.260 and now a no-op. Previously capped how long a background shell command that a subagent started could run, in milliseconds, with a 60-minute default. See the background command lifetime rules", + "zh": "在 v2.1.260 中删除,现在是无操作。以前上限了 子代理 启动的 后台 shell 命令 可以运行多长时间(毫秒),默认 60 分钟。请参阅 后台命令生命周期规则" } }, { @@ -6039,7 +6135,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 in subprocesses Claude Code spawns (Bash and PowerShell tools, tmux sessions, hook commands, status line commands, stdio MCP server subprocesses). IDE extensions also set this in their integrated terminals. Use to detect when a script is running inside a subprocess spawned by Claude Code. To check whether the current process was spawned directly by a tool call or hook, rather than inside a stdio MCP server that Claude Code started, use CLAUDE_CODE_CHILD_SESSION instead", - "zh": "在 Claude Code 生成的子进程中设置为 1(Bash 和 PowerShell 工具、tmux 会话、hook 命令、状态行命令、stdio MCP server 子进程)。IDE 扩展也在其集成终端中设置此选项。用于检测脚本何时在 Claude Code 生成的子进程内运行。要检查当前进程是否由工具调用或 hook 直接生成,而不是在 Claude Code 启动的 stdio MCP 服务器内,请改用 CLAUDE_CODE_CHILD_SESSION" + "zh": "在 Claude Code 生成的子进程中设置为 1(Bash 和 PowerShell 工具、tmux 会话、hook 命令、状态行 命令、stdio MCP 服务器 子进程)。IDE 扩展也在其集成终端中设置此项。用于检测脚本何时在 Claude Code 生成的子进程内运行。要检查当前进程是由工具调用或 hook 直接生成的,而不是在 Claude Code 启动的 stdio MCP 服务器内,请改用 CLAUDE_CODE_CHILD_SESSION" } }, { @@ -6048,7 +6144,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to enable debug mode, equivalent to launching with --debug. Debug logs are written to ~/.claude/debug/.txt, or to the path set by CLAUDE_CODE_DEBUG_LOGS_DIR. Only the truthy values 1, true, yes, and on enable debug mode, so namespace patterns like DEBUG=express:* set for other tools do not trigger it", - "zh": "设置为 1 以启用调试模式,等同于使用 --debug 启动。调试日志写入 ~/.claude/debug/.txt,或写入 CLAUDE_CODE_DEBUG_LOGS_DIR 设置的路径。仅真值 1、true、yes 和 on 启用调试模式,因此为其他工具设置的命名空间模式如 DEBUG=express:* 不会触发它" + "zh": "设置为 1 以启用调试模式,等同于使用 --debug 启动。调试日志写入 ~/.claude/debug/.txt,或写入 CLAUDE_CODE_DEBUG_LOGS_DIR 设置的路径。仅真值 1、true、yes 和 on 启用调试模式,因此为其他工具设置的命名空间模式(如 DEBUG=express:*)不会触发它" } }, { @@ -6057,7 +6153,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable automatic compaction when approaching the context limit. The manual /compact command remains available. Use when you want explicit control over when compaction occurs. Overrides the autoCompactEnabled setting", - "zh": "设置为 1 以禁用接近上下文限制时的自动压缩。手动 /compact 命令仍然可用。当您想要明确控制何时进行压缩时使用" + "zh": "设置为 1 以禁用接近上下文限制时的自动压缩。手动 /compact 命令保持可用。当您想明确控制何时进行压缩时使用。覆盖 autoCompactEnabled 设置" } }, { @@ -6093,7 +6189,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to hide the /doctor setup checkup skill and its /checkup alias. Useful for managed deployments where users shouldn't run setup diagnostics from a session. Doesn't affect the claude doctor terminal command. Before v2.1.205, this variable hid the /doctor diagnostics screen command", - "zh": "设置为 1 以隐藏 /doctor 设置检查 skill 及其 /checkup 别名。对于用户不应运行设置诊断的托管部署很有用。不影响 claude doctor 终端命令。在 v2.1.205 之前,此变量隐藏了 /doctor 诊断屏幕命令" + "zh": "设置为 1 以隐藏 /doctor 设置检查 skill 及其 /checkup 别名。对于用户不应从会话运行设置诊断的托管部署很有用。不影响 claude doctor 终端命令。在 v2.1.205 之前,此变量隐藏了 /doctor 诊断屏幕命令" } }, { @@ -6102,7 +6198,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to any non-empty value, such as 1, to opt out of error reporting. Setting it to 0 or false still opts out, unlike most on/off variables; unset the variable to turn error reporting back on", - "zh": "设置为 1 以选择退出错误报告" + "zh": "设置为任何非空值(如 1)以选择退出错误报告。将其设置为 0 或 false 仍会选择退出,与大多数打开/关闭变量不同;取消设置变量以重新打开错误报告" } }, { @@ -6111,7 +6207,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to hide the /usage-credits command that lets users purchase additional usage beyond rate limits", - "zh": "设置为 1 以隐藏 /usage-credits 命令,该命令允许用户购买超过速率限制的额外使用量" + "zh": "设置为 1 以隐藏 /usage-credits 命令,让用户购买超过速率限制的额外使用" } }, { @@ -6120,7 +6216,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable the /feedback command and Claude-drafted feedback. Also disables /bug and /share, which report through the same path; before v2.1.212 they were aliases of /feedback, so the command was disabled under every name. The older name DISABLE_BUG_COMMAND is also accepted", - "zh": "设置为 1 以禁用 /feedback 命令。也接受较旧的名称 DISABLE_BUG_COMMAND" + "zh": "设置为 1 以禁用 /feedback 命令和 Claude 起草的反馈。也禁用 /bug 和 /share,它们通过相同的路径报告;在 v2.1.212 之前它们是 /feedback 的别名,因此命令在每个名称下被禁用。较旧的名称 DISABLE_BUG_COMMAND 也被接受" } }, { @@ -6129,7 +6225,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 or true to disable GrowthBook feature-flag fetching and use code defaults for every flag. This makes Remote Control and the other features that need feature-flag fetching unavailable. Setting it to 0 or false leaves fetching on. Telemetry event logging stays on unless DISABLE_TELEMETRY is also set", - "zh": "设置为 1 以禁用 GrowthBook 功能标志获取并对每个标志使用代码默认值。除非同时设置 DISABLE_TELEMETRY,否则遥测事件日志记录保持启用" + "zh": "设置为 1 或 true 以禁用 GrowthBook 功能标志获取并为每个标志使用代码默认值。这使 Remote Control 和其他 需要功能标志获取的功能 不可用。将其设置为 0 或 false 保持获取打开。遥测事件日志记录保持打开,除非 DISABLE_TELEMETRY 也被设置" } }, { @@ -6138,7 +6234,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to hide the /install-github-app command. Already hidden when using third-party providers (Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry)", - "zh": "设置为 1 以隐藏 /install-github-app 命令。使用第三方提供商(Amazon Bedrock、Google Cloud's Agent Platform 或 Microsoft Foundry)时已隐藏" + "zh": "设置为 1 以隐藏 /install-github-app 命令。当使用第三方提供商(Amazon Bedrock、Google Cloud 的 Agent Platform 或 Microsoft Foundry)时已隐藏" } }, { @@ -6147,7 +6243,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable installation warnings. Use only when manually managing the installation location, as this can mask issues with standard installations", - "zh": "设置为 1 以禁用安装警告。仅在手动管理安装位置时使用,因为这可能会掩盖标准安装的问题" + "zh": "设置为 1 以禁用安装警告。仅在手动管理安装位置时使用,因为这可能掩盖标准安装的问题" } }, { @@ -6156,7 +6252,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to prevent sending the interleaved-thinking beta header. Useful when your LLM gateway or provider does not support interleaved thinking", - "zh": "设置为 1 以防止发送交错思考 beta 标头。当您的 LLM 网关或提供商不支持交错思考时很有用" + "zh": "设置为 1 以防止发送交错思考测试版标头。当您的 LLM 网关或提供商不支持 交错思考 时很有用" } }, { @@ -6183,7 +6279,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable prompt caching for all models (takes precedence over per-model settings)", - "zh": "设置为 1 以禁用所有模型的 prompt caching(优先于每个模型的设置)" + "zh": "设置为 1 以为所有模型禁用 提示缓存(优先于每个模型设置)" } }, { @@ -6192,7 +6288,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable prompt caching for Fable models", - "zh": "设置为 1 以禁用 Fable 模型的 prompt caching" + "zh": "设置为 1 以为 Fable 模型禁用提示缓存" } }, { @@ -6201,7 +6297,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable prompt caching for Haiku models", - "zh": "设置为 1 以禁用 Haiku 模型的 prompt caching" + "zh": "设置为 1 以为 Haiku 模型禁用提示缓存" } }, { @@ -6210,7 +6306,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable prompt caching for Opus models", - "zh": "设置为 1 以禁用 Opus 模型的 prompt caching" + "zh": "设置为 1 以为 Opus 模型禁用提示缓存" } }, { @@ -6219,7 +6315,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to disable prompt caching for Sonnet models", - "zh": "设置为 1 以禁用 Sonnet 模型的 prompt caching" + "zh": "设置为 1 以为 Sonnet 模型禁用提示缓存" } }, { @@ -6228,7 +6324,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to any non-empty value, such as 1, to opt out of telemetry. Setting it to 0 or false still opts out, unlike most on/off variables; unset the variable to turn telemetry back on. Telemetry events don't include user data like code, file paths, or bash commands. Also disables feature-flag fetching with the same effect as DISABLE_GROWTHBOOK, which makes Remote Control and the other features that need feature-flag fetching unavailable. See Turn telemetry off for your organization", - "zh": "设置为 1 以选择退出遥测。遥测事件不包括用户数据,如代码、文件路径或 bash 命令。也禁用功能标志获取,因此仍在推出的某些功能可能不可用" + "zh": "设置为任何非空值(如 1)以选择退出遥测。将其设置为 0 或 false 仍会选择退出,与大多数打开/关闭变量不同;取消设置变量以重新打开遥测。遥测事件不包括用户数据,如代码、文件路径或 bash 命令。也禁用功能标志获取,效果与 DISABLE_GROWTHBOOK 相同,这使 Remote Control 和其他 需要功能标志获取的功能 不可用。请参阅 为您的组织关闭遥测" } }, { @@ -6237,7 +6333,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to block all updates including manual claude update and claude install. Stricter than DISABLE_AUTOUPDATER. Use when distributing Claude Code through your own channels and users should not self-update", - "zh": "设置为 1 以阻止所有更新,包括手动 claude update 和 claude install。比 DISABLE_AUTOUPDATER 更严格。当通过您自己的渠道分发 Claude Code 且用户不应自行更新时使用" + "zh": "设置为 1 以阻止所有更新,包括手动 claude update 和 claude install。比 DISABLE_AUTOUPDATER 更严格。当通过您自己的渠道分发 Claude Code 且用户不应自我更新时使用" } }, { @@ -6255,7 +6351,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to opt out of telemetry, with the same effect as DISABLE_TELEMETRY, including making Remote Control and the other features that need feature-flag fetching unavailable. Claude Code reads this variable as a standard boolean, so 0 leaves telemetry on, and honors it as the cross-tool convention recognized by many developer CLIs", - "zh": "设置为 1 以选择退出遥测。等同于设置 DISABLE_TELEMETRY。作为跨工具约定被遵守,被许多开发者 CLI 识别" + "zh": "设置为 1 以选择退出遥测,效果与 DISABLE_TELEMETRY 相同,包括使 Remote Control 和其他 需要功能标志获取的功能 不可用。Claude Code 将此变量读作标准布尔值,因此 0 保持遥测打开,并尊重许多开发者 CLI 识别的跨工具约定" } }, { @@ -6264,7 +6360,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1, together with BETA_TRACING_ENDPOINT, to turn on detailed beta tracing, which adds content-bearing span attributes and the claude_code.hook span. Interactive CLI sessions also require your organization to be allowlisted for the beta. Both variables are ignored in project and local settings", - "zh": "Set to 1, together with BETA_TRACING_ENDPOINT, to turn on detailed beta tracing, which adds content-bearing span attributes and the claude_code.hook span. Interactive CLI sessions also require your organization to be allowlisted for the beta. Both variables are ignored in project and local settings" + "zh": "设置为 1,与 BETA_TRACING_ENDPOINT 一起,以打开 详细测试版跟踪,它添加内容承载跨度属性和 claude_code.hook 跨度。交互式 CLI 会话也需要您的组织被列入测试版白名单。两个变量在 项目和本地设置 中被忽略" } }, { @@ -6273,7 +6369,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to false to stop Claude Code from fetching claude.ai MCP servers. Enabled by default for logged-in users. To disable per-project or per-org, set disableClaudeAiConnectors in settings instead", - "zh": "设置为 false 以禁用 Claude Code 中的 claude.ai MCP servers。对于已登录的用户默认启用。要按项目或按组织禁用,请改用设置中的 disableClaudeAiConnectors" + "zh": "设置为 false 以停止 Claude Code 从 claude.ai MCP 服务器 获取。对于已登录的用户默认启用。要按项目或按组织禁用,改为在设置中设置 disableClaudeAiConnectors" } }, { @@ -6282,7 +6378,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to request a 1-hour prompt cache TTL instead of the default 5 minutes. Intended for API key, Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and Claude Platform on AWS users. Subscription users within included usage receive the 1-hour TTL automatically on the main conversation. Subscription users drawing on usage credits can set it to keep the 1-hour TTL. 1-hour cache writes are billed at a higher rate. To choose the TTL per request bucket instead, use CLAUDE_CODE_PROMPT_CACHE_TTL and CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL, which take precedence over this variable", - "zh": "设置为 1 以请求 1 小时的 prompt cache TTL 而不是默认的 5 分钟。适用于 API 密钥、Amazon Bedrock、Google Cloud's Agent Platform、Microsoft Foundry 和 Claude Platform on AWS 用户。订阅用户自动获得 1 小时 TTL。1 小时缓存写入按更高费率计费" + "zh": "设置为 1 以请求 1 小时 提示缓存 TTL 而不是默认 5 分钟。针对 API 密钥、Amazon Bedrock、Google Cloud 的 Agent Platform、Microsoft Foundry 和 AWS 上的 Claude Platform 用户。订阅用户在包含的使用范围内在 主对话 上自动接收 1 小时 TTL。订阅用户从 使用信用 中提取可以设置它以保持 1 小时 TTL。1 小时缓存写入按更高费率计费。要按请求桶选择 TTL,请改用 CLAUDE_CODE_PROMPT_CACHE_TTL 和 CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL,它们优先于此变量" } }, { @@ -6300,7 +6396,7 @@ "valueKind": "boolean-string", "description": { "en": "Controls MCP tool search. Unset, Claude Code defers all MCP tools by default. It still loads them upfront on Google Cloud's Agent Platform models earlier than the Claude 4.5 generation, on a Microsoft Foundry deployment hosted on Azure, and when ANTHROPIC_BASE_URL points to a non-first-party host. true always defers and sends the beta header, except on those same Agent Platform models and Microsoft Foundry deployments; requests fail on proxies that don't support tool_reference. auto loads upfront when tool definitions fit within 10% of context. auto:N sets a custom threshold, such as auto:5 for 5%. false loads all tools upfront. A value you set yourself is ignored when CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS is set. Before v2.1.221, Claude Code disabled tool search for all models on Google Cloud's Agent Platform unless you set this variable to true", - "zh": "控制 MCP 工具搜索。未设置:默认延迟所有 MCP 工具,但在 Google Cloud's Agent Platform 上或当 ANTHROPIC_BASE_URL 指向非第一方主机时提前加载。值:true(始终延迟并发送 beta 标头,在 Google Cloud's Agent Platform 上支持 Sonnet 4.5 及更高版本或 Opus 4.5 及更高版本的请求失败,或在不支持 tool_reference 的代理上)、auto(阈值模式:如果工具适合在上下文的 10% 内则提前加载)、auto:N(自定义阈值,例如 auto:5 表示 5%)、false(提前加载所有)" + "zh": "控制 MCP 工具搜索。未设置时,Claude Code 默认延迟所有 MCP 工具。它仍在 Google Cloud 的 Agent Platform 模型上早于 Claude 4.5 代、Microsoft Foundry 部署托管在 Azure 上以及当 ANTHROPIC_BASE_URL 指向非第一方主机时立即加载它们。true 始终延迟并发送测试版标头,除了在这些相同的 Agent Platform 模型和 Microsoft Foundry 部署上;请求在不支持 tool_reference 的代理上失败。auto 在工具定义适合上下文的 10% 内时立即加载。auto:N 设置自定义阈值,例如 auto:5 为 5%。false 立即加载所有工具。您自己设置的值在 CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS 被设置时被忽略。在 v2.1.221 之前,Claude Code 在 Google Cloud 的 Agent Platform 上为所有模型禁用工具搜索,除非您将此变量设置为 true" } }, { @@ -6308,8 +6404,8 @@ "example": "1", "valueKind": "boolean-string", "description": { - "en": "Set to any non-empty value, such as 1, to make every model stop retrying with a repeated-overload error when no fallback model is configured. Setting it to 0 or false still enables this, unlike most on/off variables; unset the variable to restore the default retry behavior. Without it, models Claude Code recognizes as Opus, Fable, or Mythos models stop retrying this way when you authenticate with an API key or a third-party provider rather than a Claude subscription. As of v2.1.160, a configured fallback model chain triggers on repeated overload errors for any primary model, so this variable does not affect switching to a fallback model", - "zh": "设置为任何非空值以在任何主模型上重复过载错误后触发回退。从 v2.1.160 开始,配置的回退模型链在任何主模型的重复过载错误时触发,因此此变量不影响切换到回退模型" + "en": "Set to any non-empty value, such as 1, to make Claude Code stop retrying on repeated overload errors for every model when no fallback model is configured. Setting it to 0 or false still enables this, unlike most on/off variables; unset the variable to restore the default retry behavior. Without it, Claude Code stops retrying this way on models it recognizes as Opus, Fable, or Mythos models when you authenticate with an API key or a third-party provider rather than a Claude subscription. On Claude Code v2.1.160 or later, Claude Code switches to your configured fallback model chain on repeated overload errors for any primary model, so this variable doesn't affect switching to a fallback model", + "zh": "设置为任何非空值(如 1)以使 Claude Code 在没有配置回退模型时停止对每个模型的重复过载错误重试。将其设置为 0 或 false 仍会启用此,与大多数打开/关闭变量不同;取消设置变量以恢复默认重试行为。没有它,Claude Code 在您使用 API 密钥或 第三方提供商 而不是 Claude 订阅进行身份验证时,停止对它识别为 Opus、Fable 或 Mythos 模型的重复过载错误重试。在 Claude Code v2.1.160 或更高版本上,Claude Code 在重复过载错误时切换到您配置的 回退模型链,用于任何主模型,因此此变量不影响切换到回退模型" } }, { @@ -6318,7 +6414,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to force plugin auto-updates even when the main auto-updater is disabled via DISABLE_AUTOUPDATER", - "zh": "设置为 1 以强制插件自动更新,即使主自动更新程序通过 DISABLE_AUTOUPDATER 禁用" + "zh": "设置为 1 以强制插件自动更新,即使主自动更新器通过 DISABLE_AUTOUPDATER 禁用" } }, { @@ -6326,8 +6422,8 @@ "example": "1", "valueKind": "boolean-string", "description": { - "en": "Set to 1 to enable clickable OSC 8 hyperlinks when your terminal supports them but isn't auto-detected, or 0 to disable them. When unset, Claude Code enables hyperlinks only when it detects terminal support. Claude Code parses this value as a number, not a Boolean, so a value such as false, no, or off enables hyperlinks rather than disabling them. Claude Code renders the footer PR or merge request badge as a hyperlink even when it can't detect terminal support, such as over SSH. Set 0 to render the badge as plain text", - "zh": "设置为 1 以在您的终端支持但未自动检测到时启用可点击的 OSC 8 超链接,或 0 以禁用它们" + "en": "Set to 1 to enable clickable OSC 8 hyperlinks when your terminal supports them but isn't auto-detected, or 0 to disable them. When unset, Claude Code enables hyperlinks only when it detects terminal support. Claude Code parses this value as a number, not a Boolean, so a value such as false, no, or off enables hyperlinks rather than disabling them. The footer PR or merge request badge renders as a hyperlink even when Claude Code can't detect terminal support, such as over SSH. Set 0 to render the badge as plain text", + "zh": "设置为 1 以在您的终端支持但未自动检测时启用可点击的 OSC 8 超链接,或 0 以禁用它们。未设置时,Claude Code 仅在检测到终端支持时启用超链接。Claude Code 将此值解析为数字,而不是布尔值,因此 false、no 或 off 等值启用超链接而不是禁用它们。页脚 PR 或合并请求徽章 即使 Claude Code 无法检测到终端支持(如通过 SSH)也呈现为超链接。设置 0 以将徽章呈现为纯文本" } }, { @@ -6336,7 +6432,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to force the 5-minute prompt cache TTL even when 1-hour TTL would otherwise apply. Overrides CLAUDE_CODE_PROMPT_CACHE_TTL, CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL, ENABLE_PROMPT_CACHING_1H, and the promptCacheTtl and subagentPromptCacheTtl settings", - "zh": "设置为 1 以强制 5 分钟的 prompt cache TTL,即使 1 小时 TTL 会以其他方式应用。覆盖 ENABLE_PROMPT_CACHING_1H" + "zh": "设置为 1 以强制 5 分钟提示缓存 TTL,即使 1 小时 TTL 会以其他方式适用。覆盖 CLAUDE_CODE_PROMPT_CACHE_TTL、CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL、ENABLE_PROMPT_CACHING_1H 和 promptCacheTtl 和 subagentPromptCacheTtl 设置" } }, { @@ -6363,7 +6459,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to any non-empty value, such as 1, to enable demo mode: hides your email and organization name from the header and /status output, and skips onboarding. Setting it to 0 or false still enables demo mode, unlike most on/off variables; unset the variable to turn it off. Useful when streaming or recording a session", - "zh": "设置为 1 以启用演示模式:隐藏标头中的电子邮件和组织名称以及 /status 输出,并跳过入门。对于流式传输或录制会话很有用" + "zh": "设置为任何非空值(如 1)以启用演示模式:从标头和 /status 输出中隐藏您的电子邮件和组织名称,并跳过入职。将其设置为 0 或 false 仍会启用演示模式,与大多数打开/关闭变量不同;取消设置变量以关闭它。在流式传输或录制会话时很有用" } }, { @@ -6372,7 +6468,7 @@ "valueKind": "number-string", "description": { "en": "Maximum number of tokens allowed in MCP tool responses. Claude Code displays a warning when output exceeds 10,000 tokens. Tools that declare anthropic/maxResultSizeChars use that character limit for text content instead, but image content from those tools is still subject to this variable (default: 25000)", - "zh": "MCP 工具响应中允许的最大令牌数。Claude Code 在输出超过 10,000 个令牌时显示警告。声明 anthropic/maxResultSizeChars 的工具对文本内容使用该字符限制,但来自这些工具的图像内容仍受此变量约束(默认值:25000)" + "zh": "MCP 工具响应中允许的最大令牌数。当输出超过 10,000 令牌时 Claude Code 显示警告。声明 anthropic/maxResultSizeChars 的工具对文本内容使用该字符限制,但来自这些工具的图像内容仍受此变量约束(默认值:25000)" } }, { @@ -6380,8 +6476,8 @@ "example": "300000", "valueKind": "number-string", "description": { - "en": "Number of times Claude Code retries when the model's response fails validation against the --json-schema in non-interactive mode with the -p flag. The same retry count applies when a workflow subagent's structured output fails validation. Defaults to 5", - "zh": "当模型的响应无法针对非交互模式(-p 标志)中的 --json-schema 进行验证时重试的次数。默认为 5" + "en": "Number of attempts Claude Code allows when the model's response fails validation against the --json-schema in non-interactive mode with the -p flag; after that many failed attempts with no valid output, the run fails. The same cap applies when a workflow subagent's structured output fails validation. Defaults to 5, a first attempt plus four retries", + "zh": "当模型的响应在非交互模式下使用 -p 标志的 --json-schema 验证失败时 Claude Code 允许的尝试次数;在那么多失败的尝试后没有有效输出,运行失败。当 工作流 子代理的结构化输出验证失败时应用相同的上限。默认为 5,第一次尝试加四次重试" } }, { @@ -6389,8 +6485,8 @@ "example": "0", "valueKind": "boolean-string", "description": { - "en": "Fixed token budget for extended thinking. Claude Code caps it at one token below the request's max output tokens and never below 1,024; see CLAUDE_CODE_MAX_OUTPUT_TOKENS for how that limit is set. When unset and thinking is enabled, models with adaptive reasoning choose their own thinking depth, and other models use the cap. Set to 0 to disable thinking on the Anthropic API, except on Fable models, which can't have thinking turned off; on third-party providers, 0 omits the thinking parameter instead. With thinking turned off on the Anthropic API, Claude Code sends effort high instead of a higher level to models it knows don't accept that combination, such as Opus 5. Nonzero values are ignored on adaptive reasoning models unless CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING is set", - "zh": "覆盖扩展思考令牌预算。上限是模型的最大输出令牌减一。设置为 0 以在 Anthropic API 上禁用思考,除了 Fable 5,它无法关闭思考。在第三方提供商上,0 同样省略该参数,具有自适应推理的模型仍可能思考。对于非零值在自适应推理模型上,预算被忽略,除非通过 CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING 禁用自适应推理" + "en": "Fixed token budget for extended thinking. Claude Code caps it at one token below the request's max output tokens and never below 1,024. See CLAUDE_CODE_MAX_OUTPUT_TOKENS for how that limit is set. When unset and thinking is enabled, models with adaptive reasoning choose their own thinking depth, and other models use the cap. Set to 0 to disable thinking on the Anthropic API, except on Fable models, which can't have thinking turned off. On third-party providers, 0 omits the thinking parameter instead. With thinking turned off on the Anthropic API, Claude Code sends effort high instead of a higher level to models it knows don't accept that combination, such as Opus 5. Claude Code ignores nonzero values on adaptive reasoning models, except on the models where CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING turns adaptive reasoning off", + "zh": "扩展思考 的固定令牌预算。Claude Code 将其上限设置为请求的最大输出令牌下方一个令牌,从不低于 1,024。请参阅 CLAUDE_CODE_MAX_OUTPUT_TOKENS 了解如何设置该限制。未设置时,启用思考的模型使用 自适应推理 选择自己的思考深度,其他模型使用上限。设置为 0 以在 Anthropic API 上禁用思考,除了 Fable 模型,无法关闭思考。在 第三方提供商 上,0 改为省略 thinking 参数。在 Anthropic API 上关闭思考时,Claude Code 向它知道 不接受该组合 的模型(如 Opus 5)发送 effort high 而不是更高级别。Claude Code 忽略自适应推理模型上的非零值,除了在 CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING 关闭自适应推理的模型上" } }, { @@ -6399,7 +6495,7 @@ "valueKind": "string", "description": { "en": "OAuth client secret for MCP servers that require pre-configured credentials. Avoids the interactive prompt when adding a server with --client-secret", - "zh": "需要预配置凭证的 MCP 服务器的 OAuth 客户端密钥。在使用 --client-secret 添加服务器时避免交互式提示" + "zh": "需要 预配置凭证 的 MCP 服务器的 OAuth 客户端密钥。在使用 --client-secret 添加服务器时避免交互式提示" } }, { @@ -6408,7 +6504,7 @@ "valueKind": "boolean-string", "description": { "en": "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. Servers still pending at the deadline keep connecting in the background. Distinct from MCP_TIMEOUT, which bounds an individual server's connect attempt", - "zh": "阻塞 MCP 启动等待连接批处理的时间(以毫秒为单位),然后快照工具列表(默认值:5000)。在 MCP_CONNECTION_NONBLOCKING=0 时应用或对于标记为 alwaysLoad: true 的服务器。在截止时间处仍待处理的服务器继续在后台连接,但在下一个查询之前不会出现。与 MCP_TIMEOUT 不同,后者限制单个服务器的连接尝试" + "zh": "阻塞 MCP 启动等待连接批次的时间(毫秒),然后快照工具列表(默认值:5000)。当 MCP_CONNECTION_NONBLOCKING=0 或对于标记为 alwaysLoad: true 的服务器时适用。仍待处理的服务器在截止时间处继续在后台连接。与 MCP_TIMEOUT 不同,后者限制单个服务器的连接尝试" } }, { @@ -6417,7 +6513,7 @@ "valueKind": "boolean-string", "description": { "en": "Controls whether startup waits for MCP servers to connect before the first query. MCP startup is non-blocking by default: servers connect in the background and their tools become available as they finish. Set to 0 to make Claude Code wait for servers to connect before the first query. Servers configured with alwaysLoad: true still make startup wait regardless, except when served from the discovery cache, since their tools must be present when the first prompt is built. In non-interactive mode (-p), Claude Code also waits for still-pending servers before the first turn regardless of this variable, with a longer deadline when you pass --mcp-config explicitly; see that flag's entry for the cached-server exception", - "zh": "控制启动是否等待 MCP 服务器在第一个查询之前连接。从 Claude Code v2.1.142 开始,MCP 启动默认为非阻塞:服务器在后台连接,其工具在完成时变为可用。设置为 0 以恢复阻塞 5 秒连接等待。配置为 alwaysLoad: true 的服务器始终阻止启动,无论此变量如何,因为它们的工具必须在构建第一个提示时存在" + "zh": "控制启动是否在第一个查询之前等待 MCP 服务器连接。MCP 启动默认非阻塞:服务器在后台连接,它们的工具在完成时变为可用。设置为 0 以使 Claude Code 在第一个查询之前等待服务器连接。配置为 alwaysLoad: true 的服务器仍使启动等待,除非从 发现缓存 提供,因为它们的工具必须在构建第一个提示时存在。在非交互模式(-p)中,Claude Code 也在第一个转之前等待仍待处理的服务器,当您显式传递 --mcp-config 时有更长的截止时间;请参阅该标志的条目了解缓存服务器异常" } }, { @@ -6426,7 +6522,7 @@ "valueKind": "boolean-string", "description": { "en": "Turns the MCP discovery cache on or off. With the cache on, a remote HTTP or SSE server you've used before can show the cached status, and Claude Code connects it on its first tool call instead of at startup. The cache is off by default unless a gradual rollout has enabled it for your account. Set to 1 to turn it on, or 0 to keep it off even when the rollout has enabled it. Before v2.1.238, the cache was on by default. The cached status requires Claude Code v2.1.221 or later", - "zh": "Turns the MCP discovery cache on or off. With the cache on, a remote HTTP or SSE server you've used before can show the cached status, and Claude Code connects it on its first tool call instead of at startup. The cache is off by default unless a gradual rollout has enabled it for your account. Set to 1 to turn it on, or 0 to keep it off even when the rollout has enabled it. Before v2.1.238, the cache was on by default. The cached status requires Claude Code v2.1.221 or later" + "zh": "打开或关闭 MCP 发现缓存。启用缓存后,您之前使用过的远程 HTTP 或 SSE 服务器可以显示 cached 状态,Claude Code 在其第一个工具调用时连接它,而不是在启动时。缓存默认关闭,除非逐步推出已为您的帐户启用它。设置为 1 以打开它,或 0 以即使推出已启用它也保持关闭。在 v2.1.238 之前,缓存默认打开。cached 状态需要 Claude Code v2.1.221 或更高版本" } }, { @@ -6435,7 +6531,7 @@ "valueKind": "string", "description": { "en": "Maximum age, in seconds, of a discovery-cache entry (default: 14400, or 4 hours). At a start where the entry is older than that, Claude Code discards it and connects the server at startup, as it does with the cache off. Claude Code caps the value at 7 days. Before v2.1.238, the default was 86400, or 24 hours, and Claude Code didn't cap the value", - "zh": "Maximum age, in seconds, of a discovery-cache entry (default: 14400, or 4 hours). At a start where the entry is older than that, Claude Code discards it and connects the server at startup, as it does with the cache off. Claude Code caps the value at 7 days. Before v2.1.238, the default was 86400, or 24 hours, and Claude Code didn't cap the value" + "zh": "发现缓存 条目的最大年龄(秒)(默认值:14400,或 4 小时)。在条目比那更旧的启动处,Claude Code 丢弃它并在启动时连接服务器,就像缓存关闭一样。Claude Code 将值上限为 7 天。在 v2.1.238 之前,默认值为 86400,或 24 小时,Claude Code 没有上限值" } }, { @@ -6444,7 +6540,7 @@ "valueKind": "string", "description": { "en": "At a start where a discovery-cache entry is older than MCP_DISCOVERY_CACHE_TTL_S, Claude Code refreshes it in the background. This variable sets how many refreshes in a row can fail before Claude Code discards the entry and connects the server at the next start instead (default: 1). Raise it if your network connection drops occasionally, so that one failed refresh doesn't discard the entry. Requires Claude Code v2.1.238 or later", - "zh": "At a start where a discovery-cache entry is older than MCP_DISCOVERY_CACHE_TTL_S, Claude Code refreshes it in the background. This variable sets how many refreshes in a row can fail before Claude Code discards the entry and connects the server at the next start instead (default: 1). Raise it if your network connection drops occasionally, so that one failed refresh doesn't discard the entry. Requires Claude Code v2.1.238 or later" + "zh": "在 发现缓存 条目比 MCP_DISCOVERY_CACHE_TTL_S 更旧的启动处,Claude Code 在后台刷新它。此变量设置在 Claude Code 丢弃条目并在下一个启动时连接服务器之前可以连续失败多少次刷新(默认值:1)。如果您的网络连接偶尔断开,请提高它,以便一次失败的刷新不会丢弃条目。需要 Claude Code v2.1.238 或更高版本" } }, { @@ -6453,7 +6549,7 @@ "valueKind": "string", "description": { "en": "Seconds for which Claude Code uses a discovery-cache entry without refreshing it (default: 900). At a start where the entry is older than that, Claude Code still uses it but refreshes it in the background. Once the entry is older than MCP_DISCOVERY_CACHE_MAX_STALE_S, Claude Code discards it instead. Claude Code caps the value at MCP_DISCOVERY_CACHE_MAX_STALE_S, which is 4 hours by default. Before v2.1.238, Claude Code didn't cap the value", - "zh": "Seconds for which Claude Code uses a discovery-cache entry without refreshing it (default: 900). At a start where the entry is older than that, Claude Code still uses it but refreshes it in the background. Once the entry is older than MCP_DISCOVERY_CACHE_MAX_STALE_S, Claude Code discards it instead. Claude Code caps the value at MCP_DISCOVERY_CACHE_MAX_STALE_S, which is 4 hours by default. Before v2.1.238, Claude Code didn't cap the value" + "zh": "Claude Code 使用 发现缓存 条目而不刷新它的秒数(默认值:900)。在条目比那更旧的启动处,Claude Code 仍使用它但在后台刷新它。一旦条目比 MCP_DISCOVERY_CACHE_MAX_STALE_S 更旧,Claude Code 改为丢弃它。Claude Code 将值上限为 MCP_DISCOVERY_CACHE_MAX_STALE_S,默认为 4 小时。在 v2.1.238 之前,Claude Code 没有上限值" } }, { @@ -6462,7 +6558,7 @@ "valueKind": "string", "description": { "en": "Fixed port for the OAuth redirect callback, as an alternative to --callback-port when adding an MCP server with pre-configured credentials", - "zh": "OAuth 重定向回调的固定端口,作为在使用预配置凭证添加 MCP 服务器时 --callback-port 的替代方案" + "zh": "OAuth 重定向回调的固定端口,作为在使用 预配置凭证 添加 MCP 服务器时 --callback-port 的替代方案" } }, { @@ -6471,7 +6567,7 @@ "valueKind": "string", "description": { "en": "On the v2 MCP client runtime only, whether Claude Code probes servers for MCP protocol revision 2026-07-28. Set auto to probe HTTP, claude.ai connector, and stdio servers; a server that doesn't answer the probe connects on the earlier protocol instead, as SSE and WebSocket servers always do. Set legacy to skip the probe for every server. Without the variable, Claude Code probes HTTP and claude.ai connector servers on Claude Code v2.1.232 or later, with the exceptions the MCP client runtimes section lists. Any other value is ignored with a warning in the debug log. Requires Claude Code v2.1.221 or later", - "zh": "On the v2 MCP client runtime only, whether Claude Code probes servers for MCP protocol revision 2026-07-28. Set auto to probe HTTP, claude.ai connector, and stdio servers; a server that doesn't answer the probe connects on the earlier protocol instead, as SSE and WebSocket servers always do. Set legacy to skip the probe for every server. Without the variable, Claude Code probes HTTP and claude.ai connector servers on Claude Code v2.1.232 or later, with the exceptions the MCP client runtimes section lists. Any other value is ignored with a warning in the debug log. Requires Claude Code v2.1.221 or later" + "zh": "仅在 v2 MCP 客户端运行时 上,Claude Code 是否探测服务器以获取 MCP 协议修订版 2026-07-28。设置 auto 以探测 HTTP、claude.ai 连接器和 stdio 服务器;不回答探测的服务器在较早的协议上连接,SSE 和 WebSocket 服务器始终这样做。设置 legacy 以跳过每个服务器的探测。没有变量,Claude Code 在 Claude Code v2.1.232 或更高版本上探测 HTTP 和 claude.ai 连接器服务器,除了 MCP 客户端运行时 部分列出的异常。任何其他值被忽略并在调试日志中显示警告。需要 Claude Code v2.1.221 或更高版本" } }, { @@ -6489,7 +6585,7 @@ "valueKind": "boolean-string", "description": { "en": "Pin which MCP client runtime this process connects to MCP servers with: v1, built on MCP TypeScript SDK 1.x, or v2, built on MCP TypeScript SDK 2.0. Without the variable, Claude Code uses v2 on Claude Code v2.1.232 or later, except where that section says it uses v1. On Claude Code v2.1.221 or later, the v2 runtime checks the issuer an MCP OAuth server returns in its authorization response and fails the sign-in with an error that begins Issuer mismatch in authorization response when it doesn't match. The v1 runtime doesn't run this check. If you set an unrecognized value, Claude Code ignores it and writes a warning to the debug log. Claude Code reads the value once per process. Requires Claude Code v2.1.218 or later", - "zh": "Pin which MCP client runtime this process connects to MCP servers with: v1, built on MCP TypeScript SDK 1.x, or v2, built on MCP TypeScript SDK 2.0. Without the variable, Claude Code uses v2 on Claude Code v2.1.232 or later, except where that section says it uses v1. On Claude Code v2.1.221 or later, the v2 runtime checks the issuer an MCP OAuth server returns in its authorization response and fails the sign-in with an error that begins Issuer mismatch in authorization response when it doesn't match. The v1 runtime doesn't run this check. If you set an unrecognized value, Claude Code ignores it and writes a warning to the debug log. Claude Code reads the value once per process. Requires Claude Code v2.1.218 or later" + "zh": "固定此进程连接到 MCP 服务器的 MCP 客户端运行时:v1,基于 MCP TypeScript SDK 1.x,或 v2,基于 MCP TypeScript SDK 2.0。没有变量,Claude Code 在 Claude Code v2.1.232 或更高版本上使用 v2,除了该部分说它使用 v1 的地方。在 Claude Code v2.1.221 或更高版本上,v2 运行时检查 MCP OAuth 服务器在其授权响应中返回的发行者,当它不匹配时以以 Issuer mismatch in authorization response 开头的错误失败登录。v1 运行时不运行此检查。如果您设置无法识别的值,Claude Code 忽略它并写入调试日志的警告。Claude Code 每个进程读取一次值。需要 Claude Code v2.1.218 或更高版本" } }, { @@ -6507,7 +6603,7 @@ "valueKind": "number-string", "description": { "en": "Timeout in milliseconds for MCP server startup (default: 30000, or 30 seconds)", - "zh": "MCP 服务器启动的超时(以毫秒为单位)(默认值:30000,或 30 秒)" + "zh": "MCP 服务器启动的超时时间(毫秒)(默认值:30000,或 30 秒)" } }, { @@ -6516,7 +6612,7 @@ "valueKind": "number-string", "description": { "en": "Timeout in milliseconds for MCP tool execution (default: 100000000, about 28 hours). For an HTTP, SSE, or claude.ai connector server, each request also times out after 60 seconds by default; set this variable, or the per-server timeout, above 60000 to raise that per-request limit. A lower value still shortens the overall tool-execution timeout but leaves the per-request limit at 60 seconds. Stdio and WebSocket servers have no per-request timer. A per-server timeout field in .mcp.json overrides this for that server. A per-server timeout of at least 1000 also sets the minimum idle window for that server's tool calls, so CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT never aborts them sooner; this floor requires Claude Code v2.1.203 or later. For the env variable, values below 1000 are floored to one second; for the per-server field, values below 1000 are ignored", - "zh": "MCP 工具执行的超时(以毫秒为单位)(默认值:100000000,约 28 小时)。对于 HTTP、SSE 或 claude.ai 连接器服务器,每个请求也在 60 秒后超时(默认);设置此变量或每个服务器 timeout 超过 60000 以提高该每个请求的限制。较低的值仍会缩短整体工具执行超时,但将每个请求的限制保留在 60 秒。Stdio 和 WebSocket 服务器没有每个请求的计时器。.mcp.json 中的每个服务器 timeout 字段会覆盖该服务器的此值。从 v2.1.203 开始,.mcp.json 中至少 1000 的每个服务器 timeout 也会将该服务器的工具调用的最小空闲窗口设置为至少 timeout 值,因此 CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT 永远不会更早中止它们;此下限需要 Claude Code v2.1.203 或更高版本。对于 env 变量,低于 1000 的值被限制为一秒;对于每个服务器字段,低于 1000 的值被忽略" + "zh": "MCP 工具执行的超时时间(毫秒)(默认值:100000000,约 28 小时)。对于 HTTP、SSE 或 claude.ai 连接器服务器,每个请求也默认在 60 秒后超时;将此变量或每个服务器 timeout 设置为 60000 以上以提高该每个请求限制。较低的值仍会缩短整体工具执行超时,但保持每个请求限制为 60 秒。Stdio 和 WebSocket 服务器没有每个请求计时器。.mcp.json 中的每个服务器 timeout 字段覆盖此项用于该服务器。至少 1000 的每个服务器 timeout 也为该服务器的工具调用设置最小空闲窗口,因此 CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT 永远不会更早中止它们;此下限需要 Claude Code v2.1.203 或更高版本。对于 env 变量,低于 1000 的值提高到一秒;对于每个服务器字段,低于 1000 的值被忽略" } }, { @@ -6525,7 +6621,7 @@ "valueKind": "string", "description": { "en": "List of domains and IPs to which requests will be directly issued, bypassing proxy", - "zh": "域和 IP 列表,对其的请求将直接发出,绕过代理" + "zh": "请求将直接发出的域和 IP 列表,绕过代理" } }, { @@ -6534,7 +6630,7 @@ "valueKind": "string", "description": { "en": "Standard OpenTelemetry SDK limit on attribute value length. Claude Code caps content-bearing telemetry attributes at the smaller of this and CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH, so the truncation marker stays within the SDK limit. Claude Code reads the OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT and OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT variants the same way, and the smallest set value applies to all signals. Requires Claude Code v2.1.214 or later. See Monitoring", - "zh": "Standard OpenTelemetry SDK limit on attribute value length. Claude Code caps content-bearing telemetry attributes at the smaller of this and CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH, so the truncation marker stays within the SDK limit. Claude Code reads the OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT and OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT variants the same way, and the smallest set value applies to all signals. Requires Claude Code v2.1.214 or later. See Monitoring" + "zh": "标准 OpenTelemetry SDK 属性值长度限制。Claude Code 将内容承载遥测属性上限为此和 CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH 中的较小者,因此截断标记保持在 SDK 限制内。Claude Code 以相同方式读取 OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT 和 OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT 变体,最小设置值适用于所有信号。需要 Claude Code v2.1.214 或更高版本。请参阅 监控" } }, { @@ -6543,7 +6639,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to include the model's response text on assistant_response OpenTelemetry log events. When unset, the value of OTEL_LOG_USER_PROMPTS is used instead. Set to 0 to keep responses redacted even when OTEL_LOG_USER_PROMPTS is set. Requires Claude Code v2.1.193 or later. See Monitoring", - "zh": "设置为 1 以在 assistant_response OpenTelemetry 日志事件中包含模型的响应文本。未设置时,使用 OTEL_LOG_USER_PROMPTS 的值。设置为 0 以在设置 OTEL_LOG_USER_PROMPTS 时保持响应编辑。需要 Claude Code v2.1.193 或更高版本。请参阅监控" + "zh": "设置为 1 以在 assistant_response OpenTelemetry 日志事件上包含模型的响应文本。未设置时,使用 OTEL_LOG_USER_PROMPTS 的值。设置为 0 以即使 OTEL_LOG_USER_PROMPTS 被设置也保持响应被编辑。需要 Claude Code v2.1.193 或更高版本。请参阅 监控" } }, { @@ -6552,7 +6648,7 @@ "valueKind": "boolean-string", "description": { "en": "Emit Anthropic Messages API request and response JSON as api_request_body / api_response_body log events. Set to 1 for inline bodies truncated at the content limit, or file: to write untruncated bodies to disk and emit a body_ref path instead. CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH configures the content limit, 60 KB by default. Disabled by default; bodies include the entire conversation history. Set it in your shell, user settings, or managed settings. Ignored in project and local settings. See Monitoring", - "zh": "设置为 1 以将完整的 Anthropic Messages API 请求和响应 JSON 作为 api_request_body / api_response_body 日志事件发出,截断为 60 KB,或 file: 以将未截断的主体写入磁盘并发出 body_ref 路径。默认禁用;主体包括整个对话历史。请参阅监控" + "zh": "发出 Anthropic Messages API 请求和响应 JSON 作为 api_request_body / api_response_body 日志事件。设置为 1 用于在内容限制处截断的内联正文,或 file: 以将未截断的正文写入磁盘并改为发出 body_ref 路径。CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH 配置内容限制,默认 60 KB。默认禁用;正文包括整个对话历史。在您的 shell、用户设置或托管设置中设置它。在 项目和本地设置 中被忽略。请参阅 监控" } }, { @@ -6561,7 +6657,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to include tool input and output content in OpenTelemetry span events. Disabled by default to protect sensitive data. See Monitoring", - "zh": "设置为 1 以在 OpenTelemetry span 事件中包含工具输入和输出内容。默认禁用以保护敏感数据。请参阅监控" + "zh": "设置为 1 以在 OpenTelemetry 跨度事件中包含工具输入和输出内容。默认禁用以保护敏感数据。请参阅 监控" } }, { @@ -6570,7 +6666,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to include tool input arguments, MCP server names, user-authored workflow names, raw error strings on tool failures, the refusal category on api_refusal events, and other tool details in OpenTelemetry traces and logs. Disabled by default to protect PII. See Monitoring", - "zh": "设置为 1 以在 OpenTelemetry 跟踪和日志中包含工具输入参数、MCP 服务器名称、用户创作的工作流名称、工具失败时的原始错误字符串、api_refusal 事件上的拒绝 category 和其他工具详情。默认禁用以保护 PII。请参阅监控" + "zh": "设置为 1 以在 OpenTelemetry 跟踪和日志中包含工具输入参数、MCP 服务器名称、用户创作的工作流名称、工具失败上的原始错误字符串、api_refusal 事件上的拒绝 category 和其他工具详情。默认禁用以保护 PII。请参阅 监控" } }, { @@ -6579,7 +6675,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 1 to include user prompt text in OpenTelemetry traces and logs. Disabled by default (prompts are redacted). See Monitoring", - "zh": "设置为 1 以在 OpenTelemetry 跟踪和日志中包含用户提示文本。默认禁用(提示被编辑)。请参阅监控" + "zh": "设置为 1 以在 OpenTelemetry 跟踪和日志中包含用户提示文本。默认禁用(提示被编辑)。请参阅 监控" } }, { @@ -6588,7 +6684,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to false to exclude account UUID from metrics attributes (default: included). See Monitoring", - "zh": "设置为 false 以从指标属性中排除帐户 UUID(默认值:包含)。请参阅监控" + "zh": "设置为 false 以从指标属性中排除帐户 UUID(默认值:包含)。请参阅 监控" } }, { @@ -6597,7 +6693,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to true to include the session entrypoint in metrics attributes (default: excluded). Added in v2.1.152. See Monitoring", - "zh": "设置为 true 以在指标属性中包含会话入口点(默认值:排除)。在 v2.1.152 中添加。请参阅监控" + "zh": "设置为 true 以在指标属性中包含会话入口点(默认值:排除)。在 v2.1.152 中添加。请参阅 监控" } }, { @@ -6606,7 +6702,7 @@ "valueKind": "boolean-string", "description": { "en": "As of v2.1.161, Claude Code attaches OTEL_RESOURCE_ATTRIBUTES keys to metric datapoint labels. Set to false to exclude them (default: included). See Monitoring", - "zh": "从 v2.1.161 开始,Claude Code 将 OTEL_RESOURCE_ATTRIBUTES 密钥附加到指标数据点标签。设置为 false 以排除它们(默认值:包含)。请参阅监控" + "zh": "从 v2.1.161 开始,Claude Code 将 OTEL_RESOURCE_ATTRIBUTES 键附加到指标数据点标签。设置为 false 以排除它们(默认值:包含)。请参阅 监控" } }, { @@ -6615,7 +6711,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to false to exclude session ID from metrics attributes (default: included). See Monitoring", - "zh": "设置为 false 以从指标属性中排除会话 ID(默认值:包含)。请参阅监控" + "zh": "设置为 false 以从指标属性中排除会话 ID(默认值:包含)。请参阅 监控" } }, { @@ -6624,7 +6720,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to true to include Claude Code version in metrics attributes (default: excluded). See Monitoring", - "zh": "设置为 true 以在指标属性中包含 Claude Code 版本(默认值:排除)。请参阅监控" + "zh": "设置为 true 以在指标属性中包含 Claude Code 版本(默认值:排除)。请参阅 监控" } }, { @@ -6633,7 +6729,7 @@ "valueKind": "string", "description": { "en": "Override the character budget for skill metadata shown to the Skill tool. The budget scales dynamically at 1% of the context window, with a fallback of 8,000 characters. Legacy name kept for backwards compatibility", - "zh": "覆盖显示给 Skill tool 的 skill 元数据的字符预算。预算在上下文窗口的 1% 处动态扩展,回退为 8,000 个字符。为了向后兼容而保留的旧名称" + "zh": "覆盖 Skill 工具 显示的 skill 元数据的字符预算。预算在上下文窗口的 1% 处动态缩放,回退为 8,000 字符。为向后兼容性保留的旧名称" } }, { @@ -6641,8 +6737,8 @@ "example": "value", "valueKind": "string", "description": { - "en": "Maximum number of characters in subagent output before truncation (default: 32000, maximum: 160000). When truncated, the full output is saved to disk and the path is included in the truncated response", - "zh": "subagent 输出中的最大字符数,超过此数字后将进行截断(默认值:32000,最大值:160000)。截断时,完整输出保存到磁盘,路径包含在截断的响应中" + "en": "Maximum number of characters of a background task's output that the TaskOutput tool keeps (default: 32000; maximum: 160000). If you set the taskOutputMaxChars setting, Claude Code ignores this variable", + "zh": "后台任务 输出的最大字符数,TaskOutput 工具保持(默认值:32000;最大值:160000)。如果您设置了 taskOutputMaxChars 设置,Claude Code 会忽略此变量" } }, { @@ -6651,7 +6747,7 @@ "valueKind": "boolean-string", "description": { "en": "Set to 0 to use system-installed rg instead of rg included with Claude Code", - "zh": "设置为 0 以使用系统安装的 rg 而不是 Claude Code 附带的 rg" + "zh": "设置为 0 以使用系统安装的 rg 而不是 Claude Code 包含的 rg" } }, { @@ -6660,7 +6756,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude 3.5 Haiku when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude 3.5 Haiku 的区域" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude 3.5 Haiku 的区域" } }, { @@ -6669,7 +6765,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude 3.5 Sonnet when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude 3.5 Sonnet 的区域" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude 3.5 Sonnet 的区域" } }, { @@ -6678,7 +6774,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude 3.7 Sonnet when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude 3.7 Sonnet 的区域" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude 3.7 Sonnet 的区域" } }, { @@ -6687,7 +6783,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude 4.0 Opus when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude 4.0 Opus 的区域" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude 4.0 Opus 的区域" } }, { @@ -6696,7 +6792,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude 4.0 Sonnet when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude 4.0 Sonnet 的区域" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude 4.0 Sonnet 的区域" } }, { @@ -6705,7 +6801,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude 4.1 Opus when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude 4.1 Opus 的区域" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude 4.1 Opus 的区域" } }, { @@ -6714,7 +6810,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude Opus 4.5 when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude Opus 4.5 的区域" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude Opus 4.5 的区域" } }, { @@ -6723,7 +6819,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude Sonnet 4.5 when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude Sonnet 4.5 的区域" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude Sonnet 4.5 的区域" } }, { @@ -6732,7 +6828,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude Opus 4.6 when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude Opus 4.6 的区域" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude Opus 4.6 的区域" } }, { @@ -6741,7 +6837,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude Sonnet 4.6 when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude Sonnet 4.6 的区域" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude Sonnet 4.6 的区域" } }, { @@ -6750,7 +6846,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude Opus 4.7 when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude Opus 4.7 的区域。在 v2.1.111 中添加" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude Opus 4.7 的区域" } }, { @@ -6758,8 +6854,8 @@ "example": "us-east-1", "valueKind": "string", "description": { - "en": "Override region for Claude Opus 4.8 when using Google Cloud's Agent Platform. Added in v2.1.154", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude Opus 4.8 的区域。在 v2.1.154 中添加" + "en": "Override region for Claude Opus 4.8 when using Google Cloud's Agent Platform", + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude Opus 4.8 的区域" } }, { @@ -6768,7 +6864,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude Opus 5 when using Google Cloud's Agent Platform. Added in v2.1.219", - "zh": "Override region for Claude Opus 5 when using Google Cloud's Agent Platform. Added in v2.1.219" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude Opus 5 的区域。在 v2.1.219 中添加" } }, { @@ -6777,7 +6873,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude Sonnet 5 when using Google Cloud's Agent Platform. Added in v2.1.197", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude Sonnet 5 的区域。在 v2.1.197 中添加" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude Sonnet 5 的区域。在 v2.1.197 中添加" } }, { @@ -6786,7 +6882,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude Fable 5 when using Google Cloud's Agent Platform. Added in v2.1.170", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude Fable 5 的区域。在 v2.1.170 中添加" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude Fable 5 的区域。在 v2.1.170 中添加" } }, { @@ -6794,8 +6890,8 @@ "example": "us-east-1", "valueKind": "string", "description": { - "en": "Override region for Claude Fable 5.1 when using Google Cloud's Agent Platform. Added in v2.1.255", - "zh": "Override region for Claude Fable 5.1 when using Google Cloud's Agent Platform. Added in v2.1.255" + "en": "Override region for Claude Fable 5.1 when using Google Cloud's Agent Platform. Added in v2.1.257", + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude Fable 5.1 的区域。在 v2.1.257 中添加" } }, { @@ -6804,7 +6900,7 @@ "valueKind": "string", "description": { "en": "Override region for Claude Haiku 4.5 when using Google Cloud's Agent Platform", - "zh": "使用 Google Cloud's Agent Platform 时覆盖 Claude Haiku 4.5 的区域" + "zh": "使用 Google Cloud 的 Agent Platform 时覆盖 Claude Haiku 4.5 的区域" } } ]