← All reports

Changes on 2026-10-09

65 total changes in 3 runs

20:27 EST

🤖 AI Batch Analysis

## 文档变更分析 ### 1. 总体概要 本次更新主要涵盖 **Chrome 集成的安全加固与故障排查**、**API thinking/prefill 机制的模型差异化说明**,以及**自托管环境的多处特殊行为标注**,同时为多个页面添加了稳定的锚点 ID 以改善跨文档链接。 ### 2. 关键主题 - **Chrome 安全增强**:新增凭据文件名拒绝规则(`.env`/`.pem`/`.key`/`.ssh`),禁止项目配置开启 Chrome(防止恶意仓库自动连接浏览器),新增多组织登录不一致的排查指引 - **API Thinking 机制重构**:从 "extended thinking" 重命名为 "thinking",新增 `{"type": "adaptive"}` 模式(Claude 自主决定何时思考),`display` 默认值改为模型相关而非固定 `"summarized"` - **Prefill 模型兼容性**:明确标注并非所有模型都支持 prefill,不支持时返回 400 错误 - **自托管环境差异**:MCP 启动等待时间更短、部分 session 不加载账户级 skills,多处文档新增对应说明 - **Headless 模式可观测性**:stderr 在等待后台任务超过 5 秒时输出 `Waiting for background work to finish` 提示 - **VS Code 新配置**:`spinnerVerbs` 设置项,与 CLI 的同名设置对齐 - **锚点 ID 规范化**:为 setup、mcp、jetbrains、monitoring 等页面的标题添加 `<span id>` 锚点,改善深链接稳定性 ### 3. 影响级别:**Medium** - **无 Breaking Change**,但 API 调用方需注意:使用 prefill 的代码在不支持该功能的模型上现在会返回 400(行为未变,只是正式文档化了) - Thinking API 的 `type` 字段新增 `"adaptive"` 值,属于新增能力,不影响现有调用 - Chrome 凭据文件拒绝是新增限制(v2.1.293+),可能影响现有文件上传流程 ### 4. 开发者行动项 - **检查文件上传逻辑**:若代码中依赖 Claude Code 上传 `.env`、`.pem`、`.key` 或 `.ssh` 下的文件,需改为上传副本到非敏感路径 - **API 用户:适配 thinking 配置**:评估是否采用新的 `{"type": "adaptive"}` 模式;注意 `display` 默认值不再固定为 `"summarized"`,需查阅模型对应行为 - **API 用户:处理 prefill 400 错误**:若使用 assistant 角色消息做 prefill,需对不支持的模型添加 fallback 或错误处理 - **Chrome 多组织用户**:若遇到 "Browser extension is not connected",检查 `/status` 中的组织是否与扩展一致,必要时登出切换 - **自托管环境部署者**:确认 MCP 连接超时配置与较短的等待时间兼容;确认 skills 加载策略符合预期
💭 Model Reasoning
Let me analyze this batch of documentation changes across 15 pages. Let me categorize the changes: 1. **Chrome integration (chrome.md)**: Major additions about security and troubleshooting - New restriction: Credential names - Claude refuses files with credential-related names (.env, .pem, .key, .ssh) - New section: Project settings can't turn on Chrome - security measure preventing repos from enabling Chrome - New section: Extension signed in to different organization - troubleshooting for multi-org users - Improved error table entry for "Browser extension is not connected" - Reconnection behavior improvements for v2.1.290+ 2. **API Messages (api/messages.md, count_tokens.md, batches/create.md)**: Significant API doc updates - Prefill: Now documented that not all models support prefill, returns 400 if unsupported - Thinking: Changed from "extended thinking" to "thinking" with two modes: `adaptive` and `enabled` - `thinking` config now supports `{"type": "adaptive"}` where Claude decides when/how much to think - `display` default for thinking now depends on model, not always "summarized" - Removed "Fastest model with near-frontier intelligence" description from haiku-4-5 3. **Section anchor IDs added** (multiple pages): Added `<span id="..." />` anchors for better linking - claude-code-on-the-web.md, jetbrains.md, mcp.md, monitoring-usage.md, setup.md 4. **Self-hosted environment references**: New mentions across multiple pages - `--mcp-config` flag: shorter wait in self-hosted environments - Skills: some self-hosted sessions don't load account skills - headless.md: same MCP timing note 5. **CLI reference changes**: - `claude mcp login`: different auth flow for claude.ai connectors vs HTTP/SSE - `--mcp-config`: shorter wait in self-hosted environments 6. **Headless mode**: New stderr output for waiting background work 7. **VS Code**: New `spinnerVerbs` setting 8. **Troubleshooting**: Fixed link from errors page to troubleshoot-install page 9. **Skills/slash-commands**: Self-hosted environment note about skills not loading
16:28 EST

🤖 AI Batch Analysis

## 文档变更分析 ### 1. 总体概览 本次更新围绕 Hooks 系统的重大文档重构(新增 `onFailure` 配置、厘清退出码语义)、v2.1.296 大版本变更日志发布,以及 Java SDK 版本升级(2.70.0 → 2.71.0)展开,同时包含多处文档措辞修正和功能说明补充。 ### 2. 关键主题 - **Hooks 系统增强**:新增 `onFailure: "block"` 配置项(v2.1.295+),允许 hook 失败时阻止操作;退出码输出语义全面重写为清晰的三结果模型(Success / Blocking error / Non-blocking error),并配以决策矩阵表格 - **HTTP Hook 状态码行为明确化**:非 2xx 响应现在明确为 non-blocking error,可配合 `onFailure: "block"` 改为阻止 - **Java SDK 版本升级**:所有平台(Bedrock、Vertex AI、Microsoft Foundry、MCP Connector)的 `anthropic-java` 从 2.70.0 升至 2.71.0 - **v2.1.296 变更日志**:包含大量 bug 修复(Windows PowerShell 权限、UTF-8 编辑损坏、plugin 命名冲突、self-hosted runner 等)及新功能(`allow_large` Read 选项、`autoCompactWindow`、`CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL` 环境变量等) - **文档精确性修正**:Vim motion 限定为"当前行"、会话名称匹配不再要求"running"、@-mention 事件日志上限 100、超长回复中的 issue 引用不自动链接 ### 3. 影响等级:**Medium** `onFailure: "block"` 是一个行为变更选项,可能影响现有 hook 的错误处理策略;退出码语义文档重写意味着开发者需要重新理解 hook 的决策逻辑,但实际运行时行为未改变(只是文档更精确了)。其余为文档澄清、SDK 版本更新和 bug 修复,无破坏性变更。 ### 4. 开发者行动项 - **审查现有 Hooks 配置**:评估是否需要为关键 hook 添加 `onFailure: "block"`,防止 hook 崩溃时操作静默通过 - **升级 Java SDK 至 2.71.0**:如使用 Anthropic Java SDK,更新依赖版本 - **重读退出码决策矩阵**:hook 退出码与 stdout 组合的完整语义已重写,尤其注意"非零退出码 + 有效 JSON = 成功"这一容易混淆的行为 - **升级至 v2.1.296**:修复了多项重要问题(非 UTF-8 文件编辑损坏、Windows PowerShell 命令权限、`/code-review` 输出格式等),建议尽快升级 - **注意 Web 版 `/loop` 不会自动恢复**:VM 回收后 pending loop 的唤醒丢失,需手动重新运行 `/loop`
💭 Model Reasoning
Let me analyze all the documentation changes across these 15 pages. Key changes: 1. **hooks.md** - Major rewrite of exit code output documentation, new `onFailure` field for hooks 2. **hooks-guide.md** - Restructured debug section, HTTP hook status code behavior clarified 3. **CHANGELOG.md** - v2.1.296 changelog with extensive bug fixes and features 4. **claude-code-on-the-web.md** - Loop restoration behavior documented 5. **cli-reference.md** - Minor wording fix (removed "running" qualifier for session name matching) 6. **discover-plugins.md** - Added marketplace success message documentation 7. **interactive-mode.md** - Vim motion clarifications (scope to current line), issue link exclusion for long replies 8. **monitoring-usage.md** - Event logging limits for mentions (100 per type) 9. **plugins-reference.md** - Minor formatting fix 10. **vs-code.md** - New "Files Claude sends you" feature in Remote Control 11. **get-started.md** + 3 platform pages + mcp-connector.md - Java SDK version bump 2.70.0 → 2.71.0 Key themes: - Hook system refinement: `onFailure: "block"` option, clearer exit code semantics, HTTP status handling - Java SDK version bump across all platforms - Bug fixes galore in v2.1.296 - Minor documentation clarifications Impact: Medium - the `onFailure` hook feature and the clarified hook exit code semantics are meaningful for developers using hooks, but most changes are documentation clarifications and bug fixes.

📚 Claude Code GitHub

11:45 EST

🤖 AI Batch Analysis

### 文档变更分析报告 #### 1. 总体摘要 本次更新主要集中在模型版本迭代与术语规范化,明确了对新模型(如 Claude Haiku 5.5 和 Claude Sonnet 5.5)的行为要求,并强调了从旧版工具和模型参数的迁移路径。 #### 2. 关键主题 * **术语统一:** 将“Extended thinking”统一更改为“thinking”,涉及多页面文档及 API 描述。 * **模型迁移路径变更:** 旧版 Sonnet 模型的推荐替代版本从 `claude-sonnet-4-6` 更新为 `claude-sonnet-5-5`。 * **工具版本废弃:** 在 Claude API 和 Google Cloud 上,Opus 5.5、Sonnet 5.5 和 Haiku 5.5 将拒绝旧版 Computer Use 工具(如 `computer_20250124`),仅支持 `computer_toolset_20260801`。 * **新模型行为细节:** 明确了 Haiku 5.5 的默认 `effort` 为 `medium`,且在 4.7+ 版本模型上设置 `budget_tokens` 将返回 400 错误。 * **API 文档完善:** 为 Messages API、Batches API 等多个端点补充了 `anthropic-version` 请求头的文档说明。 #### 3. 影响级别 **中 (Medium)** **理由:** 虽然大部分变更属于文档澄清和术语更新,但包含了对旧版工具版本的破坏性变更(报 400 错误)以及关键模型替代建议的更新。特别是对于依赖特定工具版本的代理工作流和正在进行迁移计划的开发者,这些变更需要立即关注。 #### 4. 开发者行动项 * **更新迁移目标:** 如果正在规划从旧版 Sonnet 模型(如 3.5, 3.7)迁移,请将目标版本调整为 `claude-sonnet-5-5`。 * **升级工具定义:** 检查代码中使用 Opus 5.5、Sonnet 5.5 或 Haiku 5.5 的部分,确保将 `computer_20250124` 等旧工具替换为 `computer_toolset_20260801`,以避免 API 报错。 * **移除无效参数:** 在针对 Claude 4.7 及以上版本模型的请求中移除 `budget_tokens` 参数(改为使用 `effort` 控制思考深度)。 * **调整监控逻辑:** 更新 `claude_code.api_error` 事件的监控逻辑,注意 `attempt` 计数器在流式传输失败重发时会重置为 1,而非持续累加。 * **检查 Sub-agent 配置:** 如果使用了 Sub-agents,请确保预加载的技能列表不超过 32 个不同的名称,超出部分将被忽略。
💭 Model Reasoning
1. **Analyze the Request:** * **Role:** World-class programmer analyzing documentation changes. * **Task:** Analyze a single batch of documentation changes (35 pages provided, though the prompt only lists specific diffs for a subset of them, around 20 pages). * **Output Format:** Markdown. * **Language:** Chinese (per "请用中文回复"). * **Specific Sections:** 1. Overall Summary (1-2 sentences). 2. Key Themes (bullets). 3. Impact Level (Low/Medium/High/Breaking) with reasoning. 4. Action Items (max 5 bullets). 2. **Analyze the Diffs (Page by Page):** * `headless.md`: Clarifies behavior of background work outputs. Now prints every turn's result with default `text` output (previously only last turn). Clarifies retry logic (`max_retries` vs session budget). * `mcp.md`: Clarifies that Claude asks connector servers (claude.ai) about newer revisions. * `monitoring-usage.md`: Refines how `attempt` count works (resets on streaming failure re-issues). Clarifies retry exhaustion logic. * `sub-agents.md`: Adds limit to preloaded skills (up to 32 distinct names). * `intro.md`: Terminology change ("extended thinking" -> "thinking"). * `about-claude/models/overview.md`: Terminology tweak ("Anthropic-operated platforms" -> "platforms that Anthropic operates"). * `about-claude/pricing.md`: * Google Cloud regional endpoints clarified. * Data residency pricing clarified (Haiku 5.5 included). * Bash tool token overhead updated (model versions grouped differently). * Text editor tool token overhead updated (new version `text_editor_20250728`). * Computer/Browser use tool overhead updated (models grouped differently). * `about-claude/model-deprecations.md`: **Major Change.** Recommended replacements for Sonnet 3.5/3.7/3-Sonnet models changed from `claude-sonnet-4-6` to `claude-sonnet-5-5`. * `api/messages.md`: Adds header documentation for `"anthropic-version"` across multiple endpoints (Messages, Batches, etc.). * `api/messages/count_tokens.md`: Adds header documentation for `"anthropic-version"`. * `api/messages/batches/create.md`: Adds header documentation for `"anthropic-version"`. * `api/models/list.md`: Adds header documentation for `"anthropic-version"`. * `api/beta/files/upload.md`: Adds header documentation for `"anthropic-version"`. * `api/errors.md`: Updates error messages/behavior for Haiku 5.5 (rejects `"enabled"` thinking), computer use tool version rejection logic (includes `computer_20250124`), and `block_binding` behavior for Haiku 5.5. * `build-with-claude/extended-thinking.md`: Clarifies default `effort` levels vary by model (Sonnet 4.6 vs Opus 5.5/Haiku 5.5). * `build-with-claude/streaming.md`: Terminology change ("extended thinking" -> "thinking"). * `build-with-claude/prompt-caching.md`: Clarifies that cache read/write counts toward prompt length for length-priced models. Corrects table. * `build-with-claude/context-windows.md`: Terminology change ("extended thinking" -> "thinking"). * `build-with-claude/context-editing.md`: Terminology change ("extended thinking" -> "thinking"). * `build-with-claude/effort.md`: Clarifies default effort for Haiku 5.5. Clarifies placement of system messages for `output_config.effort`. Clarifies behavior on Fable 5.1. * `build-with-claude/files.md`: Removes "not available" tags for Amazon Bedrock and Google Cloud (implies Files API might be rolling out or supported there now, or just documentation cleanup). *Self-correction: Actually, looking at the diff, it removes the "not available" lines, implying support or availability has changed.* * `build-with-claude/working-with-messages.md`: Clarifies that a system message *with content* cannot be the first entry (previously just "A system message cannot be the first entry"). * `build-with-claude/claude-on-vertex-ai.md`: Updates Java SDK usage examples for Google Cloud (explicitly setting region/project). * `build-with-claude/claude-in-microsoft-foundry.md`: Updates "Earlier tool versions" note. * `build-with-claude/prompt-engineering/prompting-tools.md`: Clarifies `budget_tokens` error on 4.7+ models. 3. **Synthesize Key Themes:** * **Terminology Shift:** Moving away from "Extended Thinking" to just "Thinking". * **Deprecation/Migration:** Strong push to migrate older Sonnet models to `claude-sonnet-5-5`. Rejection of older tool versions (`computer_20250124`). * **New Headers:** Standardizing API docs with `"anthropic-version"`. * **Model Specifics:** Clarifying defaults and behaviors for specific new models (Haiku 5.5, Sonnet 5.5, Fable 5.1, etc.), particularly regarding `effort`, `thinking`, and token overhead. * **Pricing & Costs:** Updates to token overhead for tools (bash, text editor) and data residency pricing. 4. **Determine Impact Level:** * *Reasoning:* * The change in recommended replacement models (`sonnet-4-6` -> `sonnet-5-5`) is significant for long-term planning but isn't a breaking change right *now*. * The rejection of `computer_20250124` on newer models is breaking if you use those specific versions. * The terminology shift is low impact but noticeable. * New header docs are informational. * Sub-agent skill limit (32 names) is a potential runtime constraint. * *Verdict:* **Medium**. There are breaking changes regarding tool versions and specific parameter errors (like `budget_tokens` on 4.7+), plus significant guidance changes on migration paths. 5. **Draft Action Items:** * Update migration plans to target `claude-sonnet-5-5` instead of 4.6. * Check code using computer use tools to ensure compatibility with `computer_toolset_20260801` (rejection of older versions on new models). * Review `effort` parameter usage, specifically regarding defaults on Haiku 5.5 vs Sonnet 4.6. * If using sub-agents, verify preloaded skill lists don't exceed 32 items. * Update monitoring logic for `api_error` events as `attempt` counters now reset on streaming failure re-issues. 6. **Translate to Chinese and Format:** * *Overall Summary:* 此次更新主要围绕模型版本迭代、术语规范化以及对新模型(如 Haiku 5.5 和 Sonnet 5.5)行为的澄清。文档强调了向新版本模型的迁移路径,并明确了旧版计算机使用工具的废弃情况。 * *Key Themes:* * **术语统一:** "Extended thinking" 更名为 "thinking"。 * **模型迁移指南:** 旧版 Sonnet 模型的推荐替代版本更新为 `claude-sonnet-5-5`。 * **工具版本兼容性:** 新模型(如 Opus 5.5, Haiku 5.5)不再支持旧版 Computer Use 工具 (`computer_20250124`),必须使用 `computer_toolset_20260801`。 * **新模型行为细节:** 明确了 Haiku 5.5 的默认 `effort` 级别、`budget_tokens` 的报错行为以及 token 开销的计算方式。 * **API 规范化:** 为多个 API 端点补充了 `anthropic-version` 请求头的文档。 * *Impact Level:* **Medium**. 原因:虽然大多数是文档澄清,但包含了关于旧版工具版本的破坏性变更报错信息,以及模型替代建议的重大变更,这对正在迁移的用户和依赖特定工具版本的代理工作流有直接影响。 * *Action Items:* * **更新迁移策略:** 如果计划迁移旧版 Sonnet 模型,请将目标版本更新为 `claude-sonnet-5-5` 而非 `claude-sonnet-4-6`。 * **检查工具版本:** 如果使用 Opus 5.5、Sonnet 5.5 或 Haiku 5.5,请确保使用 `computer_toolset_20260801`,避免使用已被弃用的 `computer_20250124`,否则会遇到 400 错误。 * **审查代码参数:** 移除对 4.7 及以上版本模型的 `budget_tokens` 设置(现报 400 错误),并根据模型类型调整 `effort` 参数(Haiku 5.5 默认为 `medium`)。 * **调整监控逻辑:** 更新 API 错误监控代码,注意 `attempt` 计数器在流式传输失败重发时会重置为 1,而非累加。 * **检查 Sub-agent 配置:** 确保预加载技能列表不超过 32 个不同的名称。 7. **Final Review:** The logic holds up. The translation is professional. The formatting is clean.

📚 Claude Code