← All reports

Changes on 2026-11-19

54 total changes in 2 runs

19:11 EST

🤖 AI Batch Analysis

# 文档变更分析 ## 总体总结 本次批量更新主要围绕 **v2.1.328** 版本,对 Claude Code 的 hooks 系统、认证管理、沙箱网络配置、云会话安全模型、插件系统以及桌面工作区布局进行了功能增强和文档精简。 ## 关键主题 - **Hooks `onFailure: "block"` 扩展至 `mcp_tool`**:此前仅 `command` 和 `http` 类型支持失败阻断,现在 MCP 工具 hook 也支持,且服务器未连接时也会触发失败逻辑(v2.1.328+) - **登录过期时间可见化**:`claude auth status` 新增 `loginExpiresAt` 字段(v2.1.318+),`--text` 输出显示登录截止日期范围,`-p` 模式在临近过期时输出 stderr 警告 - **沙箱与网络超时改进**:body idle timeout 不再硬编码 5 分钟,可通过 `CLAUDE_STREAM_IDLE_TIMEOUT_MS` 调整(v2.1.328+,上限 30 分钟);feature flag 检查逻辑变更影响 MCP 工具 schema 验证 - **插件 manifest 新增 `network` 字段**:声明插件访问的网络主机(v2.1.328+),`claude plugin validate` 可校验,但该字段本身不授权或阻断访问 - **桌面工作区布局重构**:pane 操作方式从标题栏按钮改为侧面板模式,`Changes` 可作为独立 pane 打开,拖拽方式改为 tab/handle - **文档措辞精简**:移除了大量冗余说明(如 `Successfully installed` → `Installed`、cloud session 安全描述简化),安装命令代码块出现 `theme={null}` 重复 bug - **Skill `paths` 语义明确化**:pattern 始终相对于主工作目录,`cd` 到子目录后不会改变基准路径 ## 影响等级:**Medium** **理由**:hooks `onFailure` 扩展到 MCP tool 是行为变更,可能影响已有的 `mcp_tool` hook 配置(服务器未连接时从"非阻断错误"变为"可阻断");feature flag 检查逻辑变更影响 air-gapped 环境的 MCP 工具可用性;网络超时可配置化是功能增强但改变了默认行为预期。 ## 开发者行动项 1. **检查 `mcp_tool` hooks 配置**:如果你的 `PreToolUse` hook 依赖 MCP server,评估 `onFailure` 默认行为变化对流程的影响,必要时显式设置 `"onFailure": "continue"` 2. **升级到 v2.1.328+** 以获得 `CLAUDE_STREAM_IDLE_TIMEOUT_MS` 对 body idle timeout 的控制,避免长连接在 5 分钟后被意外中断 3. **在 CI/CD 中加入登录过期检查**:用 `claude auth status` 的 `loginExpiresAt` 字段或 stderr 警告自动化登录续期流程 4. **插件开发者**:在 manifest 中添加 `network` 字段声明访问的主机,运行 `claude plugin validate` 验证 5. **注意 quickstart.md 安装命令代码块的 `theme={null}` 重复问题**——这可能是文档生成工具的 bug,实际安装命令不受影响
💭 Model Reasoning
Let me analyze these documentation changes across 35 pages to identify key themes and impacts.

📚 Claude Code GitHub

03:19 EST

🤖 AI Batch Analysis

# Claude Code 文档变更分析 ## 总体摘要 本次更新主要优化了文档的清晰度(特别是 GitHub Actions 的设置流程),扩展了对 Google Cloud 平台的工具和模型支持,并记录了 v2.1.328 版本中针对 Code Mode、远程控制(Remote Control)和 CLI 稳定性的大量重要修复。 ## 关键主题 * **GitHub Actions 指南重构** (`github-actions.md`):将快速安装流程彻底重写为分步操作指南,从安装 GitHub CLI 到创建 PR,大幅提升了设置的可读性和易用性。 * **平台兼容性扩展**:在多个工具(如 Web Search、Web Fetch、Tool Use)和模型(如 Fable 5.2、Mythos 5.2、Opus 5.5)的可用性表中,新增了 "Claude Models on Google Cloud (Anthropic managed)" 支持。 * **v2.1.328 稳定性修复** (`CHANGELOG.md.md`):包含大量修复,重点解决了 zsh 兼容性(`=` 符号处理)、Code Mode 脚本执行(变量作用域、await/return 混用)、远程控制连接断开以及会话恢复等问题。 * **CLI 增强功能** (`mcp.md`):新增了通过管道传输 JSON 配置 MCP 服务器的能力(`cat server.json | claude mcp add-json <name> -`)及新的环境变量 `CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME`。 * **措辞与错误信息修正**:统一并修正了多处文档描述以匹配实际 UI 行为,例如将 "disabled by your organization" 改为 "turned off by your organization",更新了沙箱和 WSL2 相关的错误提示。 ## 影响等级 **中等** **理由**:虽然没有明显的 API 破坏性变更,但 v2.1.328 包含了广泛的 Bug 修复,特别是针对 Code Mode 和远程控制的稳定性改进,这将显著提升开发者的日常使用体验。GitHub Actions 文档的全面重写对配置 CI/CD 的用户价值很高。Google Cloud 平台的支持扩展也为企业用户提供了更多部署选择。 ## 开发者行动项 1. **查看 GitHub Actions 设置**:如果你正在配置或维护 GitHub Actions,请阅读更新后的 `/install-github-app` 分步指南。 2. **检查 Code Mode 脚本**:如果你的 Code Mode 脚本使用了顶层的 `await` 和 `return` 混用,或者依赖之前的变量作用域行为,请测试 v2.1.328 的修复效果。 3. **利用新 CLI 功能**:在编写脚本添加 MCP 服务器时,可以使用新的管道输入功能 `claude mcp add-json <name> -`。 4. **审查 Hooks 更新**:注意 `mcp_tool` hooks 新增的 `"onFailure": "block"` 选项,以及与 OpenTelemetry 相关的新警告。 5. **更新 Google Cloud 集成**:如果你使用 Google Cloud (Anthropic managed),查看新增的工具(如 MCP 连接器)和模型支持情况。
💭 Model Reasoning
1. **Understand the Goal:** The user wants a concise, insightful analysis of a batch of documentation changes for Claude Code. I need to summarize what changed and why it matters to developers in Chinese. The format must be markdown. 2. **Analyze the Input Data:** I have diffs for 19 pages. Let's scan through them to identify patterns and specific changes. * `chrome.md`: Minor wording changes. "Select browser..." -> "choose another browser". "Enabled by default" -> "turn Chrome on by default". Goal: Simplify language, clarify UI interactions (perhaps UI labels changed or documentation became more generic). Warning message wording change. * `discover-plugins.md`: Wording changes. "Plugin is now active." -> "note that starts Its bundled MCP server". "The plugin couldn't" -> "summary includes The plugin couldn't". "Successfully added marketplace" -> "run /plugin... look for the marketplace". "Last used line" removed. "Enable auto-update" instruction clarified ("open its menu"). *Impact: Aligning docs with actual UI output or behavior changes.* * `github-actions.md`: **Major rewrite.** `/install-github-app` section expanded significantly. Step-by-step guide (Sign in, Start setup, Install App, Select workflows, Choose credential, Confirm, Create PR). Moved from a general paragraph to a numbered list. Added details about "Update workflow file with latest version" and handling existing `claude.yml`. *Impact: Improved usability and clarity for setting up CI/CD.* * `hooks.md`: Small clarification. Removed a specific detail about `ExitWorktree` prompts vs `remote-control` cleanup prompt behavior. * `interactive-mode.md`: Wording change. "answers Plugin... is not installed" -> "says the plugin isn't installed". * `mcp.md`: Wording changes. "runs on the server; survives exiting" -> "says the call keeps running after you exit". "disabled by your organization" -> "turned off by your organization". Added a new tip: `cat server.json | claude mcp add-json <name> -` (pipe JSON in). *Feature: New CLI capability.* * `monitoring-usage.md`: Wording change. "Machines with the same digest run the same policy" -> "resolved the same managed settings". * `sandboxing.md`: Wording changes. "Sandboxing needs WSL2 or requires WSL2" (updated error message). "Sandbox settings can't be changed here" (updated error message). "Start Claude Code in a project directory" vs "project folder". * `sub-agents.md`: Wording change. Removed "without reporting it in the session" (implied behavior change or simplification). * `vs-code.md`: Added tip: Right-click Explorer to "Claude Code: Add to Chat" (v2.1.327). Clarified "Only two of the server's tools are visible". * `build-with-claude/batch-processing.md`: Removed note about AWS availability (maybe redundant or formatting change). * `build-with-claude/effort.md`: Table formatting change (Google Cloud link wrap). * `agents-and-tools/tool-use/implement-tool-use.md`: Table formatting change (added Google Cloud Anthropic managed link). * `agents-and-tools/tool-use/computer-use-tool.md`: Table formatting change (added Claude Mythos 5.1/5.2 in Google Cloud Anthropic managed). *Feature: Model availability updates.* * `agents-and-tools/tool-use/web-search-tool.md`: Table formatting change (added Google Cloud Anthropic managed link). * `agents-and-tools/tool-use/web-fetch-tool.md`: Table formatting change (added Google Cloud Anthropic managed link). * `agents-and-tools/tool-use/programmatic-tool-calling.md`: Table formatting change (added Claude Mythos 5.1/5.2 in Google Cloud Anthropic managed). * `agents-and-tools/mcp-connector.md`: Table update. Added Google Cloud support to `mcp-client-2026-09-15` or `mcp-client-2025-11-20`. Removed Google Cloud from the `mcp-client-2025-11-20` specific row logic (or consolidated). * `CHANGELOG.md.md`: **Huge list of fixes and features for v2.1.328.** * Added auto mode for Opus/Sonnet 4.6. * `"onFailure": "block"` for MCP tool hooks. * Warning when message held/dropped. * `/status` notice for OpenTelemetry endpoint missing. * `CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME`. * Self-hosted runner improvements (`--repository-folder`, metrics). * **Many Bug Fixes:** zsh `=` bug, auto compaction, markdown rendering freeze, Esc key loss, paste issues, scheduled tasks file corruption, cloud session compaction, token counts, Code Mode fixes (script behavior, variable scope, @-mentions, return await), Remote Control fixes (disconnects, cross-session messaging), Desktop app fixes. 3. **Synthesize and Structure:** * **Overall Summary:** This batch focuses on improving documentation clarity (especially for GitHub Actions setup), updating platform support (Google Cloud availability), and documenting a significant number of bug fixes in version 2.1.328, particularly around Code Mode, Remote Control, and CLI stability. * **Key Themes:** * *GitHub Actions Setup:* Completely restructured the quick start guide into a step-by-step walkthrough. * *Platform Support:* Updated availability tables to include "Claude Models on Google Cloud (Anthropic managed)" for various tools (Web Search, Fetch, Tool Use, etc.) and models (Fable, Mythos, Opus). * *Bug Fixes & Stability (v2.1.328):* Extensive changelog highlighting fixes for zsh compatibility, Code Mode script execution, Remote Control reliability, and session management. * *CLI Enhancements:* New ability to pipe JSON into `claude mcp add-json` and new environment variables like `CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME`. * *Wording & Error Messages:* Consistent updates to error messages and UI descriptions across the docs to match actual implementation (e.g., "turned off by your organization" instead of "disabled"). * **Impact Level:** **Medium**. * *Reasoning:* While no "breaking changes" are obvious in the API sense, the sheer volume of bug fixes (especially in Code Mode and Remote Control) significantly improves developer experience. The GitHub Actions documentation overhaul is a high-value usability improvement. The platform additions (Google Cloud) are important for enterprise users. * **Action Items:** * Review the updated GitHub Actions setup guide (`/install-github-app`) if you are setting up CI/CD. * Update Code Mode scripts if you were affected by the specific fixes regarding variable scope, `await/return`, or script cutoffs. * Check `CHANGELOG.md` for specific hooks updates (e.g., `mcp_tool` `"onFailure": "block"`). * Utilize the new pipe feature for `claude mcp add-json` for scripting server additions. * Verify your Google Cloud integrations if using the new model/tool availability. 4. **Refine Language (Chinese):** Translate the synthesized points accurately and concisely. * *Overall:* 本次更新主要优化了文档的清晰度(特别是 GitHub Actions 设置),更新了平台支持信息(Google Cloud),并记录了 v2.1.328 版本的大量 Bug 修复,重点涉及 Code Mode、远程控制和 CLI 稳定性。 * *Themes:* GitHub Actions 指南重构, 平台兼容性扩展, v2.1.328 稳定性修复, CLI 增强功能, 措辞与错误信息修正. * *Impact:* Medium. (Bug fixes + usability improvements). * *Action Items:* Check GitHub Actions guide, review Code Mode scripts, check hooks, use new pipe feature. 5. **Final Polish:** Ensure markdown formatting is clean. * *Self-Correction during drafting:* Make sure to mention the specific version 2.1.328 as the source of the fixes. Highlight the specific Code Mode fixes as they affect developer workflows directly. 6. **Final Output Generation.** (Proceed to generate response based on these steps).

📚 Claude Code

📚 Claude Code GitHub