← All reports

Changes on 2026-10-14

51 total changes in 5 runs

20:24 EST

🤖 AI Batch Analysis

## 文档变更分析 ### 1. 总体摘要 此次更新大幅扩展了 Claude Desktop SSH 远程会话的高级网络配置指南,新增了代理/CA证书设置、容器穿透连接、以及 AWS 临时凭证在 ProxyCommand 中的使用说明,帮助开发者在企业代理和容器化环境中顺利使用远程会话。 ### 2. 关键主题 - **SSH 会话代理与 CA 证书**:SSH 会话不会继承 `~/.profile` 等文件中的环境变量,必须在 `~/.claude/settings.json` 的 `env` 中显式设置 `HTTPS_PROXY` 和 `NODE_EXTRA_CA_CERTS`(不支持 `SSL_CERT_FILE`) - **环境变量优先级与排障**:远程机器上已设置的变量会覆盖 settings 文件中的值,需通过 `ssh host env` 排查并修改来源文件,修改后需重启远程机器或终止 helper 进程 - **容器穿透连接**:Desktop 不执行 SSH config 中的 `RemoteCommand`,需改用 `ProxyCommand` + `sshd -i` 在容器内启动 SSH 服务,附带详细的连接排障步骤(密码提示、Bad packet length、Missing privilege separation directory 等) - **AWS 临时凭证问题**:Shell 启动文件中的临时 AWS 凭证会过期导致 ProxyCommand 在 Desktop 中失败,建议改用 AWS CLI profile ### 3. 影响级别:**High** 这些变更直接解决开发者在企业代理环境和容器化部署中使用 Claude Desktop 远程会话时的常见阻断性问题(连接挂起、认证失败、容器无法连接)。新增内容占比大(+83/-2),且涉及配置变更和排障流程,对受影响的开发者而言是必须了解的关键信息。 ### 4. 开发者行动项 - **检查远程 Linux 机器的代理配置**:若通过代理上网,务必在远程机器的 `~/.claude/settings.json` → `env` 中设置 `HTTPS_PROXY` 和 `NODE_EXTRA_CA_CERTS`,不要依赖 shell profile - **排查变量优先级冲突**:运行 `ssh <host> env` 检查远程是否已有同名变量,若有则修改其来源文件并重启 - **容器连接改用 ProxyCommand**:如果需要连接不暴露 SSH 端口的容器,配置 `ProxyCommand ssh <host> docker exec -i <container> /usr/sbin/sshd -i`,移除相关 `RemoteCommand`/`RequestTTY` - **AWS ProxyCommand 用户迁移到 profile**:若在 shell 启动文件中导出临时 `AWS_*` 变量,改用 AWS CLI named profile 避免凭证过期导致 Desktop 连接失败 - **注意 CA 证书字段**:在 settings.json 中必须使用 `NODE_EXTRA_CA_CERTS`,而非 `SSL_CERT_FILE`
💭 Model Reasoning
Let me analyze this documentation change for the desktop.md page. The diff shows significant additions (+83 / -2) to the desktop.md page, focusing on SSH session configuration for remote machines. Let me break down what changed: 1. **Proxy/CA certificate for SSH sessions** - New section explaining how to set proxy and CA certificate variables in `~/.claude/settings.json` for Linux remote machines, because SSH sessions don't pick up variables from shell profile files. Key points: - Must use `NODE_EXTRA_CA_CERTS` instead of `SSL_CERT_FILE` for CA certs - Variables in settings.json take effect within seconds - If variables are set elsewhere on the remote machine, those take precedence - Instructions to find and change variables set elsewhere 2. **Reach a container on a remote machine** - New section about using `ProxyCommand` to connect to containers that don't publish SSH ports. Key points: - Desktop doesn't run `RemoteCommand`, so you need `ProxyCommand` with sshd -i - Step-by-step setup including SSH config entry, container preparation, allowlist checking, and troubleshooting - Detailed troubleshooting for common SSH issues 3. **AWS credentials in ProxyCommand** - New section about using AWS CLI profiles instead of temporary credentials in shell startup files, because temporary credentials can expire and cause ProxyCommand failures in Desktop. These are all about advanced SSH configuration scenarios that developers encounter when using Claude Desktop with remote machines, especially in enterprise/containerized environments.

📚 Claude Code

18:00 EST

🤖 AI Batch Analysis

### 文档变更分析 #### 1. 总体摘要 本次文档更新主要针对 Claude Code 的会话恢复与上下文行为进行了重要澄清和修复,明确了 SSH 会话和自定义提示词的限制,同时为 Mod 开发者引入了新 API 并统一了控制台命名。 #### 2. 关键主题 * **上下文行为变更(重要)**:文档明确指出,在使用 `--system-prompt` 或自定义子代理时,系统将**不再**自动包含 Git 状态快照。这对自动化脚本和自定义代理的行为有直接影响。 * **SSH 会话限制与说明**:新增了针对 SSH 会话的限制文档,包括无法在 Browser 面板中预览应用(需端口转发),以及创建 PR 需在**远程机器**上预先安装并认证 `gh` CLI。 * **Mod 扩展性与可观测性**:引入了新的 Mod API(如 `virtualText`, `$.ui.view`)和 OpenTelemetry 指标(如 `gen_ai` 属性),并支持 Agent 模型的解析与修正。 * **关键 Bug 修复**:Changelog 2.1.300 版本修复了高优先级问题,包括会话恢复时因压缩导致的消息丢失、云会话因策略读取超时而挂起,以及 Agent hooks 模型解析失败等。 * **品牌与链接统一**:产品名称由 "Developer Console" 正式统一为 "Claude Console",并更新了所有相关的链接路径和说明文本。 * **桌面应用 `autoPort` 逻辑**:细化了端口占用时的处理逻辑,明确了脚本硬编码端口与 `PORT` 环境变量的优先级行为。 #### 3. 影响等级:中 **理由**: 虽然本次更新多为文档澄清和 Bug 修复(修正了会话恢复时数据丢失等严重稳定性问题),但关于“自定义提示词不再包含 Git 快照”的行为变更属于功能性调整,可能破坏现有脚本或工作流的预期结果,需要开发者注意。此外,SSH 相关的新增说明帮助开发者规避潜在的配置陷阱。 #### 4. 开发者行动项 * **审查自定义提示词配置**:如果你使用了 `--system-prompt`、`--bare` 模式或自定义 Sub-agents,请确认是否依赖自动注入的 Git 状态,如有需要需手动添加上下文。 * **配置 SSH 远程环境**:若在 SSH 会话中使用 Desktop 的 PR 创建功能,请确保在远程机器上手动安装并登录 `gh` CLI,Desktop 不会在 SSH 模式下提示安装。 * **更新内部文档与脚本**:将所有指向 "Developer Console" 的引用更新为 "Claude Console"。 * **利用新 Mod 特性**:Mod 开发者可尝试使用 `virtualText` 和 `$.ui.view({ agentId })` 增强插件 UI 和交互体验。 * **检查端口启动逻辑**:如果你依赖 `autoPort` 的默认行为(未设置),请确认你的启动脚本是否读取 `PORT` 环境变量,否则在端口被占用时服务器可能无法启动。
💭 Model Reasoning
1. **Analyze the Request:** * **Role:** World-class programmer analyzing documentation changes. * **Task:** Analyze a batch of 11 changed pages from Claude Code/API documentation. * **Output:** Concise, insightful analysis in markdown, focusing on developer impact. * **Language:** Chinese. * **Format:** 1. Overall Summary (1-2 sentences). 2. Key Themes (bullets). 3. Impact Level (Low/Medium/High/Breaking) + reasoning. 4. Action Items (max 5 bullets). 2. **Analyze the Individual Diffs:** * **Page 1: `claude-code-on-the-web.md`** * Change: Updated "Network secrets" description. Removed mention of "Pro and Max plans" limitations for Anthropic-hosted environments and removed "Team and Enterprise plans don't have them yet". * Meaning: Network secrets feature is likely now available or at least documented without specific plan restrictions for Anthropic-hosted environments (or the specific plan restriction text was outdated/removed for clarity). * Dev Impact: Feature availability might have changed (broadened). * **Page 2: `desktop.md`** (Major changes) * Change 1: "Bypass permissions" mode clarification. Now allows archiving sessions without asking, but "deleting" a session (new specific action mentioned?) might still require it, or just clarification on "archiving". *Correction*: It says "except for... desktop actions such as deleting a session, though not [archiving one]". This implies *archiving* is auto-approved in Bypass mode, but *deleting* might still ask or vice versa? * *Re-reading carefully*: "except for... desktop actions such as deleting a session, though not [archiving one]." -> It means deleting asks, archiving doesn't? Or archiving asks, deleting doesn't? The previous text said "Before archiving any session, Claude asks you first." The new text says "You get an approval card before Claude archives a session, except in Auto mode and Bypass permissions mode...". * *Later change*: "You get an approval card before Claude archives a session, except in Auto mode and Bypass permissions mode, where Claude can archive a session without one." * Change 2: Browser pane limitations in SSH sessions. Can't open apps there; need port forwarding. * Change 3: PR monitoring in SSH sessions. Needs `gh` installed on the remote machine. * Change 4: `autoPort` behavior logic updated. Complex logic about hardcoded ports vs. `PORT` env var. Now defaults to free port if unset, except specific script scenarios. * Change 5: Environment inheritance on macOS/Windows (minor wording change). * **Page 3: `headless.md`** * Change: Clarification on `--bare` mode behavior. Clarification that using `--system-prompt` replaces the default prompt *and* starts without the git status snapshot. * Dev Impact: Critical if using `--bare` or `--system-prompt` expecting git context. * **Page 4: `sub-agents.md`** * Change: Similar to `headless.md`. Custom subagents with prompts start without git status snapshot. * Dev Impact: Consistency with `--system-prompt`. * **Page 5 & 6: `intro.md` & `pricing.md`** * Change: "Developer Console" -> "Claude Console". * Change: Billing link text update. * Dev Impact: Branding consistency. Nothing functional. * **Page 7: `api/overview.md`** * Change: Links updated to include explicit URLs in parentheses (e.g., `platform.claude.com/playground`). * Dev Impact: None functional, just better referencing. * **Page 8 & 9: `api/models/list.md` & `api/beta/files/upload.md`** * Change: Added `"telemetry-destinations-2026-08-11"` to beta headers. * Dev Impact: API change/Preview feature. * **Page 10: `api/rate-limits.md`** * Change: Links updated. Wording tweaks. * Dev Impact: None functional. * **Page 11: `CHANGELOG.md.md`** (Crucial for context) * Version `2.1.300`. * Added `virtualText`, `$.ui.view({ agentId })`, `dir` prop for mods. * Added `cache_creation_5m_tokens` / `1h_tokens` to telemetry. * Added OpenTelemetry GenAI attributes. * Added `/advisor` on AWS. * **Behavioral Changes/Fixes**: * Cloud sessions network policy bug fix. * `autocompact` warning fix. * `SessionEnd` hooks fix. * Subagents in `/tasks` fix. * **Agent hooks `model` fix**: "agent hooks ignoring their `model`: aliases like `haiku` now resolve...". * **Headless/Agent SDK resume fix**: "resuming a headless or Agent SDK session losing the recent messages a compaction had kept...". This is a significant bug fix for long-running sessions. * **Cloud sessions hanging fix**: "cloud sessions hanging 5 minutes per turn when the organization's policy can't be read". 3. **Synthesize and Group Themes:** * **Theme 1: SSH & Desktop Behavior.** Significant updates on how desktop/SSH sessions work regarding browser panes, PR creation, and port handling (`autoPort`). * **Theme 2: Headless & Subagents Context.** Clarification on what context is lost (git status snapshot) when using custom prompts (system prompts or subagents). * **Theme 3: Branding & UI.** "Developer Console" is now "Claude Console". Links updated. * **Theme 4: Bug Fixes & Stability (Changelog).** The changelog reveals critical fixes for session resumption (compaction issues), cloud sessions hanging, and agent model resolution. * **Theme 5: Mod/Extensibility.** New mod features (`virtualText`, `agentId` view). 4. **Determine Impact Level:** * *Is it Breaking?* No explicit breaking changes mentioned in docs (like API removal), but the behavior change regarding git status snapshot for custom prompts is a functional change users might notice. * *Is it High?* The changelog mentions fixes for "losing recent messages" on resume. That's High for users relying on long sessions. The `autoPort` change is Medium. * *Conclusion:* **Medium-High**. It's mostly clarifications and fixes, but the fixes address data loss issues (session resume) and the context behavior change for custom prompts affects automation. 5. **Draft Action Items:** * Check `--bare` / `--system-prompt` usage if you rely on git context being auto-included. * Update internal docs if using "Developer Console" (now "Claude Console"). * If using SSH sessions with Claude Desktop, configure `gh` on remote if using PR features. * If using Mod development, check out new `virtualText` and `$.ui.view` features. * Verify behavior for `autoPort` if your servers depend on specific port availability logic. 6. **Drafting the Content (in Chinese):** * *Summary*: 本次更新主要集中在修正 Claude Code 在会话恢复、SSH 模式及子代理行为上的功能细节,同时引入了 Mod 开发的新特性,并统一了产品名称。 * *Themes*: * **Context & Behavior Refinement**: Clarified that custom system prompts (CLI or Sub-agents) exclude the default git status snapshot. Updated `autoPort` logic. * **Desktop & SSH Limitations**: Documented constraints for Browser pane and PR creation in SSH sessions. * **Modding & Extensibility**: New Mod features (`virtualText`, `agentId` view) and telemetry updates. * **Critical Bug Fixes**: Changelog 2.1.300 fixes session resume data loss (compaction issues) and cloud session hangs. * **Branding**: "Developer Console" renamed to "Claude Console". * *Impact*: Medium. While mostly fixes and clarifications, the change in git context injection for custom prompts alters behavior, and the session resume bug fix is critical for stability. * *Action Items*: * Review usage of `--system-prompt` or custom subagents to ensure you aren't relying on the now-missing git status snapshot. * Ensure GitHub CLI (`gh`) is installed on remote machines if using PR creation in SSH sessions. * Update internal documentation/wiki references from "Developer Console" to "Claude Console". * If developing Mods, explore the new `virtualText` and `$.ui.view` APIs. * Verify dev server startup scripts regarding the new `autoPort` behavior. 7. **Refining the Output:** * Ensure markdown format is clean. * Check translation tone (professional, developer-focused). * Make sure to link the changelog insights to the specific doc changes (like the git snapshot explanation). *Self-Correction on Impact*: The change regarding "git status snapshot" in `headless.md` and `sub-agents.md` is subtle but important. If a user's workflow depends on the prompt automatically including the git diff, and they switch to a custom prompt, it breaks. This needs to be highlighted. *Self-Correction on `autoPort`*: The documentation change in `desktop.md` regarding `autoPort` is quite detailed. It clarifies edge cases. This is good to mention. 8. **Final Polish (Chinese):** * Summary: 本次文档更新主要涉及 Claude Code 的会话行为修正、SSH 限制说明、Mod 开发新特性以及产品名称统一。变更日志 2.1.300 显示了关键的数据丢失修复。 * Themes: 上下文行为变更(Git 快照缺失)、SSH 会话限制、Mod 扩展能力、关键 Bug 修复、品牌统一。 * Impact: Medium。 * Action Items: Review prompt usage, setup remote env for SSH, update branding refs, explore new mod features, check port logic. 9. **Construct Final Output.** (Proceeding to generate response).

📚 Claude Code

📚 Claude Code GitHub

14:15 EST

🤖 AI Batch Analysis

## 文档变更分析 ### 1. 总体概要 本次更新引入了新的环境变量 `CLAUDE_CODE_DISABLE_FILE_MENTIONS` 来控制 `@` 引用的行为、为子代理新增 `autoCompactWindow` 前置元字段、详细文档化了技能名称的字符限制规则,并将 Java SDK 版本从 2.71.0 升级至 2.72.0。 ### 2. 关键主题 - **`@` 引用行为可配置化**:新增 `CLAUDE_CODE_DISABLE_FILE_MENTIONS=1` 环境变量,关闭 `@` 引用时自动内联文件内容的行为,改为让 Claude 通过文件工具读取——这意味着 `PreToolUse` 钩子可以对 `@` 引用的文件触发 - **子代理自动压缩窗口**:新增 `autoCompactWindow` 前置元字段(100K–1M tokens),允许单个子代理比默认更早触发上下文压缩;同时新增调试日志排查拼写错误的字段 - **技能/命令名称字符校验**:详细文档化了名称中不允许的字符(零宽空格、控制字符、`<>`、方向控制字符等),以及排查方法(`--debug` 日志搜 `[names]`) - **MCP 状态显示更新**:`/mcp` 命令的服务器状态从文字 `connected`/`failed` 改为 ✅/✘ 符号 - **Java SDK 版本升级**:全平台(Bedrock、Vertex AI、Foundry、MCP Connector)Java SDK 统一升至 2.72.0 - **网络超时文档澄清**:byte-level watchdog 的超时值描述更清晰,明确了 Claude Platform on AWS、Bedrock、Claude apps gateway 均为 300 秒 - **文档清理**:修复 setup.md 中重复的 `theme={null}` 属性 ### 3. 影响级别:**Medium** - `CLAUDE_CODE_DISABLE_FILE_MENTIONS` 是纯增量功能,不改变默认行为,但显著影响钩子开发者的工作流设计 - `autoCompactWindow` 是纯增量功能,对需要精细控制子代理上下文的开发者有价值 - 技能名称校验属于**已有行为的文档化**(代码已在拒绝,只是现在写明了规则),但开发者可能发现之前"静默失败"的技能现在有了明确排查路径 - Java SDK 升级是常规版本更新,无破坏性 ### 4. 开发者行动项 - **评估 `CLAUDE_CODE_DISABLE_FILE_MENTIONS`**:如果你依赖 `PreToolUse` 钩子拦截文件读取,且用户常用 `@` 引用,考虑在 shell/用户设置中启用此变量,使钩子对 `@` 引用也生效 - **为长上下文子代理设置 `autoCompactWindow`**:如果子代理处理大量日志/文件,在前置元中添加 `autoCompactWindow: 200000` 等值以避免上下文溢出;注意 YAML 中写整数而非 `200k` - **检查技能名称是否被拒绝**:如果自定义技能/命令未出现在 `/` 菜单中,用 `claude --debug` 启动并搜索 `[names]` 确认是否因非法字符被拒绝 - **更新 Java SDK 依赖**:将 `anthropic-java` 及平台适配包从 2.71.0 升级至 2.72.0 - **更新 MCP 状态检查脚本**:如果自动化脚本解析 `/mcp` 输出判断连接状态,需适配新的 ✅/✘ 符号格式而非文字 `connected`
💭 Model Reasoning
Let me analyze these documentation changes across 14 pages. Key changes: 1. **common-workflows.md**: New env var `CLAUDE_CODE_DISABLE_FILE_MENTIONS=1` to stop `@` references from including file contents inline, instead letting Claude use file tools to read them. 2. **hooks.md**: Updated PreToolUse warning - restructured the info about blocking `@` references. Now documents two approaches: Read deny rules (existing) and the new `CLAUDE_CODE_DISABLE_FILE_MENTIONS=1` env var. When file mentions are disabled, PreToolUse hooks fire for `@` referenced files. 3. **mcp.md**: MCP server status now shows checkmark/✘ symbols instead of "connected"/"failed" text. Updated two instances. 4. **model-config.md**: Added reference to subagent auto-compact window documentation. 5. **network-config.md**: Updated byte-level watchdog timeout docs - clarified that 300s applies to Claude Platform on AWS, Amazon Bedrock, Claude apps gateway, and custom ANTHROPIC_BASE_URL. Simplified/clarified the timeout values. 6. **setup.md**: Fixed duplicate `theme={null}` attributes in code blocks (cleanup). 7. **skills.md** and **slash-commands.md**: Added documentation about characters that skill names can't contain (zero-width spaces, control chars, `<`, `>`, etc.). Added troubleshooting step for refused names. 8. **sub-agents.md**: - Added `autoCompactWindow` field to subagent frontmatter - Added debug log tip for finding misspelled fields - Added section on setting auto-compact window for one subagent - Updated JSON definition to include `autoCompactWindow` 9. **get-started.md**, **claude-on-amazon-bedrock.md**, **claude-on-vertex-ai.md**, **claude-in-microsoft-foundry.md**, **mcp-connector.md**: Java SDK version bump from 2.71.0 to 2.72.0. Themes: - New env var for disabling file mentions (affects hooks behavior) - Subagent auto-compact window control - Skill name validation/character restrictions - Java SDK version update - MCP UI status display change - Minor doc cleanups and clarifications
09:15 EST

🤖 AI Batch Analysis

## 文档变更分析 ### 1. 总体概述 本次变更在 7 个页面中系统性地移除了 Python SDK 的内联代码示例,同时澄清了速率限制相关的行为说明。 ### 2. 关键主题 - **Python SDK 示例被全面移除**:所有页面中括号内多语言示例里的 Python 用法均被删除(此前 Python 通常是首要示例位置),涉及自动分页、beta 命名空间、错误类型、流式处理、computer-use 工具和 MCP 连接器等场景 - **`retry-after` 头行为澄清**:从暗示"总会返回"改为"当响应包含该头时才需等待",明确了 spend-cap 429 等场景下该头可能不存在 - **速率限制表说明优化**:新增"每行拥有独立的 RPM/ITPM/OTPM 限制,部分行覆盖多个共享限额的模型"的明确表述 ### 3. 影响级别:**Medium** **理由**:Python 内联示例的全面移除暗示 Python SDK 可能正在被弃用或重构,对 Python 开发者影响显著。但各页面底部的 SDK 链接列表(如 errors.md 中的 Python 链接)仍保留,说明 Python SDK 页面本身暂未删除。速率限制的澄清属于行为明确化,不改变实际逻辑但影响重试策略的正确实现。 ### 4. 开发者行动项 - ⚠️ **Python SDK 用户需密切关注**:若正在使用 Python SDK,留意官方后续公告,此次文档变更可能是弃用前兆 - 📋 **审查重试逻辑**:不要假设 429 响应一定包含 `retry-after` 头;需先检查头是否存在再决定等待时长,否则可能对 spend-cap 限流场景处理不当 - 📖 **重新理解速率限制表**:表中每行是独立限额单元,同一行内多个模型共享限额——影响多模型并发策略的规划 - 🔄 **参考其他语言示例**:若你依赖文档中的内联多语言示例来对照语法,现在需直接查阅对应 SDK 的独立文档页面
💭 Model Reasoning
Let me analyze the documentation changes across all 7 pages. 1. **api/overview.md**: Removed Python from the auto-paginating iterator example. Previously listed Python first (`for session in client.beta.sessions.list()` (python; typescript:...)), now starts with TypeScript. 2. **api/rate-limits.md**: - Clarified that `retry-after` header may not always be present - changed from implying it's always sent to saying "When the response has a `retry-after` header, wait that many seconds before retrying." - Added explanation that "Each row in the following tables has its own RPM, ITPM, and OTPM limits. Some rows cover several models that share one limit" - The rate limit headers table seems to have been reformatted (the diff is cut off but shows changes to the table) 3. **api/beta-headers.md**: Removed Python from multiple inline SDK language examples. Previously Python was listed first in parentheses like `(python, typescript, ruby; csharp, go:...)`, now Python is removed from these listings. 4. **api/errors.md**: Removed Python from the SDK error type example. Previously `anthropic.NotFoundError` was shown as the Python example first, now TypeScript is shown first. 5. **build-with-claude/streaming.md**: Removed Python from the streaming example inline language listing. 6. **agents-and-tools/tool-use/computer-use-tool.md**: Removed Python from the betas parameter inline language listing in two places. 7. **agents-and-tools/mcp-connector.md**: Removed Python from all the MCP helper function examples in the table. The main themes: 1. **Python SDK removal from docs**: Across all 7 pages, Python has been systematically removed from inline multi-language SDK examples. This is the dominant change. 2. **Rate limits clarification**: The `retry-after` header behavior was clarified - it's not always present. Also added clarity about how rate limit rows work in tables. This is significant - it suggests the Python SDK may have been deprecated or is no longer being actively maintained/supported. The Python references were removed from all inline code examples across the documentation. Impact: This is Medium to High. If the Python SDK is being deprecated, that's a major change for Python developers. The rate limits clarification is Low-Medium. Let me think about this more carefully. The Python SDK links are still present in some places (like the error handling links at the bottom of errors.md). But the inline examples showing Python syntax have been removed. This could mean: - Python SDK is being deprecated - Python SDK is being restructured/renamed - They're just cleaning up the docs to reduce clutter Given that ALL Python inline examples were removed across 7 pages systematically, this seems intentional and significant. But the SDK link pages still list Python, so maybe it's just a documentation style change to reduce verbosity. Wait, looking more carefully - in the errors.md page, the link list at the bottom still includes Python: `* [Python](...) · [TypeScript](...)...`. So the Python SDK page still exists. This might just be a documentation formatting decision to remove Python from the inline parenthetical examples to reduce clutter, not an actual SDK deprecation. Actually, re-reading the changes more carefully - in every case, Python was previously listed as the "primary" or first example in the parenthetical, and now it's been removed. The other languages (TypeScript, Ruby, Go, Java, C#, PHP) remain. This is suspicious - why remove just Python? This could indicate the Python SDK is being deprecated or restructured. Or it could be a docs cleanup. Given the systematic nature across 7 pages, I'll flag this as potentially significant. Let me provide the analysis.
03:00 EST

🤖 AI Batch Analysis

## 批量文档变更分析 ### 总体摘要 本次更新以**版本约束清理**为主线,大规模移除了已稳定功能的 "Requires v2.1.XXX" 和 "Before v2.1.XXX" 历史备注,同时引入了两个重要的新功能文档:"You should know" 内置 mod 和后台进程 hook 的正确写法,并发布了 v2.1.299 的完整变更日志。 ### 关键主题 - **版本约束大扫除**:跨 14+ 页面移除了大量历史版本门槛说明(如 `Requires v2.1.207 or later`、`Before v2.1.203` 等),表明这些功能已作为基线稳定,不再需要版本守卫 - **新功能:"You should know" 建议提示**(`interactive-mode.md`):内置 mod,在长对话中由 side agent 回读上下文,提示用户可能遗漏的关键信息;含成本说明、交互方式、关闭方法 - **Hook 后台进程指南**(`hooks.md`):新增完整章节,说明 command hook 中启动后台进程的正确模式——必须先打印决策再启动后台任务,并重定向其 stdout/stderr,否则会被拒绝(`refusing to honor the suspect capture`) - **空闲压缩(Idle Compaction)集成**:PreCompact/PostCompact hook 的 `auto` matcher 现在也匹配空闲压缩触发;v2.1.299 新增终端空闲压缩功能(200K+ token 对话闲置约 54 分钟自动压缩) - **v2.1.299 变更日志**:新增 `CLAUDE_CODE_DISABLE_FILE_MENTIONS`、`--shutdown-drain-sec`、`--disallow-tools`、空闲压缩、mod API 扩展等大量功能和修复 - **模型计费警告简化**:Bedrock/Vertex 页面移除了"升级到 v2.1.207 后按 Opus 计费"的措辞,改为更简洁的"如不固定模型则按 Opus 计费" - **setup.md 格式异常**:`theme={null}` 被重复 21 次,疑似构建/render 管线 bug ### 影响等级:**Medium** 理由:核心行为未变更,大部分改动是文档清理;但新增的 "You should know" mod 会产生额外 API 成本,空闲压缩改变了长会话的 token 管理行为,后台进程 hook 文档修复了一个可能导致安全策略被绕过的陷阱——这些对开发者有实际影响。 ### 开发者行动项 1. **审查 command hook 脚本**:如果你的 hook 启动了后台进程(如上传指标、通知),必须先打印决策结果再将后台进程的 stdout/stderr 重定向到 `/dev/null`,否则工具调用可能被意外阻塞 2. **评估 "You should know" mod**:通过 `/plugin enable cc-plugin-you-should-know@builtin` 启用,注意其 side agent 请求会消耗 API 额度;可通过 `CLAUDE_CODE_YOU_SHOULD_KNOW_DEBUG=1` 调试观察 3. **关注空闲压缩**:200K+ token 的对话闲置约 54 分钟会自动压缩,可用 `CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS` 调整阈值或在 settings 中设 `"idleCompaction": false` 关闭 4. **利用 `CLAUDE_CODE_DISABLE_FILE_MENTIONS`**:新环境变量让 `@` 文件提及仅传递路径而非内容,适合需要控制上下文大小的场景 5. **忽略 setup.md 的 `theme={null}` 重复**:这是文档构建产物 bug,不影响实际安装命令
💭 Model Reasoning
Let me analyze the documentation changes across all 18 pages. The changes fall into several categories: 1. **Version requirement removals**: Many pages are removing "Requires Claude Code v2.1.XXX or later" or "Before v2.1.XXX" notes. This suggests these features are now considered stable/baseline and no longer need version gating in docs. 2. **New feature: "You should know" suggestions**: A significant new section added to `interactive-mode.md` describing a built-in mod that surfaces things the user might have missed during a conversation. 3. **New feature: Hooks that start a background process**: Added to `hooks.md` - documentation about how to properly handle command hooks that start background processes, including a code example. 4. **Changelog for v2.1.299**: Major changelog addition with many new features and bug fixes. 5. **Idle compaction**: References to idle compaction in hooks.md (PreCompact/PostCompact matchers now fire on idle compaction too). 6. **Setup page theme duplication**: A likely unintended duplication of `theme={null}` attributes in code blocks. 7. **MCP improvements**: Some version requirement removals and behavior clarifications. 8. **Model billing simplification**: The warning about Opus billing was simplified (removed "once it updates to v2.1.207 or later"), and historical model default info was trimmed. Let me summarize the key themes: - **Version constraint cleanup**: The bulk of changes across many pages are removing historical version requirements and "Before v2.1.XXX" notes, suggesting the documentation is being cleaned up now that these features are well-established. - **New "You should know" mod**: A built-in plugin that monitors conversations for important things the user might have missed. - **Background process hooks**: New documentation for properly handling hooks that spawn background processes. - **Idle compaction integration**: Hooks now fire on idle compaction events. - **v2.1.299 changelog**: Extensive new release with features like idle compaction, file mention disabling, mod improvements, and many bug fixes. - **Setup page theme duplication bug**: The `theme={null}` attribute is repeated many times in code blocks, which looks like a rendering/formatting bug. Impact level: Medium - There are meaningful new features (You Should Know mod, idle compaction, background process hook docs) but the bulk of changes are documentation cleanup.

📚 Claude Code GitHub