← All reports

Changes on 2026-10-26

10 total changes in 3 runs

20:10 EST

🤖 AI Batch Analysis

### 1. Overall Summary 本次更新显著增强了开发者对 AI 上下文和插件行为的控制能力,扩展了 MCP(Model Context Protocol)服务在旧协议版本下的功能支持,并引入了 VS Code 扩展中针对代码选中和文件附件的精细化设置。同时,版本 2.1.311 修复了大量影响稳定性的关键 Bug,特别是针对大文件编辑和 MCP 服务器交互的性能问题。 ### 2. Key Themes * **插件建议管理**:新增功能允许 Claude 自动推荐插件,并提供了通过权限规则(`SearchPlugins`, `SuggestPluginInstall`)彻底禁用此行为的配置方法。 * **MCP 协议能力扩展**:Claude Code 现在在旧版协议(2025-11-25 及更早)的本地连接中也支持 `form` 和 `url` 两种 Elicitation 模式,但给出了针对 Java MCP SDK 0.17.0 及更早版本的兼容性警告。 * **VS Code 扩展上下文控制**:新增 `attachSelection` 设置(v2.1.300+),允许开发者关闭编辑器选中代码自动附加到上下文的行为,进一步减少隐私泄露或上下文冗余。 * **交互体验优化**:改进了桌面端 Diff 视图的评论交互(Hover 显示 "+"),并支持在提示中引用终端输出(`@terminal:name`)和 PDF 特定页面阅读。 ### 3. Impact Level **High** (高) * **理由**: * **MCP 开发者**:协议能力的声明变更直接影响 MCP 服务器的构建逻辑,特别是 Java SDK 用户需关注兼容性问题。 * **默认行为变更**:VS Code 中引入了新的 `attachSelection` 默认开启行为,改变了用户与代码上下文的交互方式。 * **稳定性修复**:Changelog 显示修复了会导致启动/编辑“卡死”的严重 Bug,直接影响生产环境的使用体验。 ### 4. Action items for developers * **MCP 服务开发者**:检查您的服务器实现,确保能正确处理包含 `form` 和 `url` 的 `elicitation` 能力声明;若使用 Java SDK 0.17.0 或更早版本,需升级以避免连接被拒。 * **VS Code 用户**:检查设置中的 `attachSelection` 和 `attachOpenFile`,根据需要调整代码自动附加行为,以避免敏感代码被意外发送。 * **配置管理员**:如果不想让 Claude 自动推荐插件,请在 `.claude/settings.json` 中添加相应的 `permissions.deny` 规则。 * **升级建议**:尽快升级至 v2.1.311,以解决处理 `CLAUDE.md` 长列表时的卡顿问题以及大文件编辑时的延迟问题。
💭 Model Reasoning
1. **Analyze the Request:** * **Role:** World-class programmer/doc expert. * **Task:** Analyze documentation changes (batch of 7 pages). * **Output Format:** Concise, insightful analysis in Markdown. Chinese language required. * **Components:** Overall Summary, Key Themes, Impact Level, Action Items. 2. **Analyze the Input Data (Page by Page):** * **Page 1: `claude-code-on-the-web.md` (+13/-0)** * *Change:* Added section "Plugin suggestions in the conversation". Explains how Claude suggests plugins (Add button), how to manage them (Add/Remove), and how to disable suggestions using permission rules (`SearchPlugins`, `SuggestPluginInstall`). * *Developer Implication:* Need to know how to control/override plugin suggestions via config files if they are intrusive. * **Page 2: `desktop.md` (+4/-4)** * *Change 1:* Diff view interaction: Now "hover over a line and click the +" instead of just clicking any line. * *Change 2:* Keyboard shortcut clarification: "Shortcuts that start with Ctrl stay the same on every platform." Changed `Ctrl+Tab` description to "Switch between sessions". * *Change 3:* Updated shortcut table text. * *Developer Implication:* Minor UI/UX changes for diff commenting and keyboard navigation. * **Page 3: `mcp.md` (+6/-1)** * *Change:* Refined the "Elicitation modes" section. * *Detail:* Claude Code now declares `elicitation: {form: {}, url: {}}` for both the new protocol (2026-07-28) AND older protocols (2025-11-25 and older) for local stdio/sse/http/ws servers (requires v2.1.287+). However, for connections to `claude.ai` connectors on older protocols, it only declares `elicitation: {}` (form mode only). * *Warning:* Java MCP SDK 0.17.0 or earlier might reject the declaration if it has both form and url. * *Developer Implication:* Crucial for MCP server builders. Compatibility notes regarding Java SDK and protocol versions. * **Page 4: `vs-code.md` (+19/-8)** * *Change 1:* Added "Read specific pages of a PDF" section. * *Change 2:* Reorganized "Automatic context" sections. Moved "Attach images/files", "Include terminal output", "Paste text", and "Automatic context" around. * *Change 3:* Clarified "Keep your selection and open file out of your messages" using explicit settings `attachSelection` and `attachOpenFile`. Added `attachSelection` to the settings table (default `true`, requires v2.1.300). * *Change 4:* Clarified behavior for excluded/ignored files (chat panel vs terminal). * *Developer Implication:* Better control over context attachment (`attachSelection` setting is new). Workflow improvements for PDFs and terminal output. * **Page 5 & 6: `claude-on-vertex-ai.md` & `claude-in-microsoft-foundry.md` (+4/-7 each)** * *Change:* Simplified the model migration tip. Removed the `<Tip>` block wrapper and made the `/claude-api migrate` command more direct. * *Developer Implication:* Documentation formatting cleanup. Easier to see the migration command. * **Page 7: `CHANGELOG.md` (+93/-0)** * *Change:* Added changelog for version 2.1.311. * *Key Fixes:* `self-hosted-runner` flags added. Fixed freeze on long list items in CLAUDE.md. Fixed timeouts with MCP servers/skills. Fixed context limit issues (compaction). Fixed Write/Edit stalling. Fixed subagent MCP tool usage. Fixed `claude mcp` commands. Improved `/teleport` warning. Improved artifacts. * *Developer Implication:* Stability improvements, performance fixes, and specific bug fixes for MCP/Agents. 3. **Synthesize and Structure (in Chinese):** * **Overall Summary:** Focus on the addition of Plugin Suggestion controls, refined MCP Elicitation capabilities for server builders, new VS Code context settings, and significant stability/performance fixes in version 2.1.311. * **Key Themes:** * *Plugin/Context Control:* New features to manage suggestions and fine-tune context attachment (VS Code). * *MCP Ecosystem:* Updated client capabilities for elicitation (form vs URL) across protocol versions, with specific compatibility warnings for Java SDK. * *UX Refinements:* Diff commenting, PDF reading, terminal output references. * *Stability/Performance:* Changelog 2.1.311 fixes freezing, large file edits, and subagent issues. * **Impact Level:** High. (Why? MCP changes affect server implementers. New settings change default behavior in VS Code context attachment. Bug fixes address critical stability issues like freezing and context limits). * **Action Items:** * Review and update permission rules if plugin suggestions are unwanted. * MCP Server builders: Check protocol versions and Java SDK compatibility regarding elicitation capabilities. * VS Code users: Check new `attachSelection` setting if context leakage is a concern. * Update to v2.1.311 for stability fixes (especially large file edits/CLAUDE.md handling). 4. **Drafting the Response (Iterative refinement for "World-class programmer" tone):** * *Drafting Summary:* 本次更新主要增强了开发者对上下文和插件的控制力,特别是针对 MCP 服务构建者的能力扩展,以及 VS Code 扩展中上下文附件行为的精细化调整。同时,2.1.311 版本修复了大量影响稳定性的 Bug。 * *Drafting Themes:* * 新增插件建议控制机制。 * MCP Elicitation 能力扩展及兼容性说明。 * VS Code 扩展引入 `attachSelection` 设置。 * 性能与稳定性大幅提升(Changelog)。 * *Drafting Impact:* High (高)。涉及协议层面的行为变更(MCP)和默认交互逻辑的改变。 * *Drafting Action Items:* * MCP 开发者注意 Java SDK 兼容性。 * 检查新的 VS Code 设置。 * 升级版本以解决卡死和编辑延迟问题。 5. **Final Polish (Markdown formatting):** Ensure strict adherence to the requested format. * *Self-Correction during drafting:* Make sure to emphasize the MCP changes for *builders* specifically, as that's a technical detail in `mcp.md`. For VS Code, highlight the `attachSelection` toggle as it changes the default behavior of automatic context inclusion. 6. **Final Output Generation** (translating thoughts to the final Chinese response).

📚 Claude Code

📚 Claude Code GitHub

16:50 EST

🤖 AI Batch Analysis

## 文档变更分析 ### 1. 总体概述 文档新增了一项关于 Hooks `permissionDecision: "allow"` 行为的例外说明:当 Agent SDK 应用将工具标记为 `always_ask` 时,Hook 的 `"allow"` 决定**不会**跳过权限提示,除非当前权限模式(permission mode)明确批准了该调用。 ### 2. 关键主题 - **Agent SDK 集成与权限交互**:Hook 自动审批机制与 Agent SDK 的 `always_ask` 工具标记之间存在新的交互规则,开发者需要理解两者之间的优先级关系。 - **`"allow"` 的限制边界更清晰**:文档持续细化 Hook `"allow"` 无法绕过的场景列表,此前已有网络路径读取、MCP `requiresUserInteraction`、组织级 `ask` 设置等,现在新增了 Agent SDK `always_ask` 工具。 - **权限模式可作为豁免通道**:如果权限模式(permission mode)本身批准了该调用,则 `always_ask` 的限制可以被提升,这提供了一条合理的逃生路径。 ### 3. 影响级别:**Medium** **理由**:这不是 Breaking Change——行为本身已经存在,此次只是补充文档说明。但对于使用 Hooks + Agent SDK 的开发者而言,如果他们依赖 `"allow"` 来自动审批 `always_ask` 工具的调用,可能会发现实际行为与预期不符,这可能导致自动化流水线中意外的权限弹窗或阻塞。 ### 4. 开发者行动项 - 如果你在 Hook 中使用 `"allow"` 自动审批工具调用,请检查目标工具是否被 Agent SDK 标记为 `always_ask`,确认不会因此被意外拦截。 - 对于需要自动审批 `always_ask` 工具的场景,考虑配置合适的**权限模式**(permission mode),使其能够批准该调用以绕过限制。 - 在编写或审查 Hook 逻辑时,将 `always_ask` 工具纳入 `"allow"` 不可绕过的场景清单,与网络路径读取、MCP `requiresUserInteraction` 等同等对待。 - 如果你正在构建 Agent SDK 自定义工具,评估 `always_ask` 标记是否真的必要——它会阻止所有 Hook 级别的自动审批,除非权限模式明确允许。
💭 Model Reasoning
Let me analyze the documentation changes across both pages. Both changes are about the same topic: clarifying that hook's `permissionDecision: "allow"` does NOT skip approval for tools marked `always_ask` by Agent SDK apps (unless the permission mode approves the call). In `hooks.md`: The `permissionDecision` field description was updated to add a new exception clause about Agent SDK `always_ask` tools. In `hooks-guide.md`: Two locations (the list of exceptions where `"allow"` doesn't skip prompts) got a new bullet point added about Agent SDK `always_ask` tools. This is essentially the same conceptual change reflected in two documents - documenting a new exception to when hooks can auto-approve tool calls.

📚 Claude Code

04:24 EST

🤖 AI Batch Analysis

### Overall Summary 新增了关于 SSH 主机密钥验证的详细文档,重点涵盖了如何通过指纹验证远程机器身份以确保连接安全,并提供了针对 Windows 环境及“密钥验证失败”错误的故障排查指南。 ### Key Themes * **安全验证流程**: 详细说明了如何识别和验证主机密钥指纹,区分目标主机与跳板机,以防止中间人攻击。 * **故障排查指南**: 针对常见的“验证失败”、“密钥变更”或“主机不受信任”错误提供了具体的处理步骤。 * **跨平台兼容性**: 明确了在 Windows 上使用时,必须安装 Microsoft OpenSSH 客户端才能正常处理主机密钥。 * **底层工具交互**: 解释了 Desktop 如何与 `known_hosts` 文件及终端 SSH 命令交互以管理信任关系。 ### Impact Level **Medium** 虽然仅为文档更新,但涉及远程连接的核心安全机制和关键环境配置(特别是 Windows 依赖项),直接影响用户能否安全、顺畅地建立远程开发会话。 ### Action items * **Windows 用户**: 若遇到“Host key changed or not trusted”错误,请检查是否安装了 OpenSSH 客户端。 * **安全验证**: 在信任新主机密钥前,务必通过 `ssh-keygen` 或管理员独立获取指纹进行比对,不要盲目信任。 * **手动排查**: 当 Desktop 无法显示新密钥或反复拒绝密钥时,使用终端命令 `ssh -v -S none` 检查受信任的密钥列表。 * **配置检查**: 如果遇到密钥路径问题,请检查 `~/.ssh/config` 中的 `UserKnownHostsFile` 设置是否正确指向 `~/.ssh/known_hosts`。
💭 Model Reasoning
1. **Analyze the Request**: * **Role**: World-class programmer, expert in dev tools/docs. * **Task**: Analyze documentation changes (single batch). * **Format**: Markdown, concise, insightful. * **Language**: Chinese (requested "请用中文回复"). * **Input**: A diff from `desktop.md`, adding about 39 lines regarding SSH host key verification. 2. **Analyze the Diff (`desktop.md`)**: * **Section 1: New content under SSH connection requirements (lines +994 to +1021)**: * Title: "Check a remote machine's host key". * Content: Explains what a host key/fingerprint is. Explains how to verify which machine a key belongs to (desktop prompt vs. jump host vs. terminal). Provides steps to get the fingerprint from the machine itself (using `ssh-keygen` or asking admins). Explains the comparison logic (match = trust, differ = cancel). * **Section 2: New troubleshooting section (lines +2157 to end)**: * Title: "SSH host key verification failed". * Context: Desktop refused a host key. * Scenarios: Host key changed, not trusted, Windows specific issues. * Steps: * Rule out missing OpenSSH client on Windows. * Check `UserKnownHostsFile` setting. * "Review new key" button workflow. * Fallback to terminal checking if GUI fails. * Subsection: "Check the host key from a terminal". * Running `ssh` manually. * Handling different terminal responses (ask to continue, warning changed, unknown key). * Editing `known_hosts` manually. * Subsection: "Check the keys that ssh already trusts". * Using `ssh -v -S none`. * Jump host handling. * Removing keys via `ssh-keygen -R`. * Title: "SSH host key refused on Windows without an OpenSSH client". * Explains that Desktop needs the OpenSSH client to verify keys on Windows. 3. **Synthesize Findings**: * **What changed?**: Addition of extensive documentation on SSH host key verification, security best practices for identifying machines (MITM protection), and specific troubleshooting steps for connection failures related to host keys (including Windows OpenSSH client dependency). * **Why does it matter?**: Security is paramount here. Users connecting to remote machines via Claude Code need to ensure they aren't connecting to a compromised machine (Man-in-the-Middle attacks). Also, it provides a concrete troubleshooting path for common connection errors ("verification failed", "host key changed"). 4. **Draft the Response (Iterative Refinement in Chinese)**: * *Overall Summary*: Needs to be 1-2 sentences. * Draft: 文档新增了关于 SSH 主机密钥验证的详细指南,包括如何验证远程机器身份、解决密钥验证失败的问题,以及在 Windows 上处理 OpenSSH 客户端的依赖。 * Refinement: 文档新增了详细的 SSH 主机密钥验证与故障排查指南。重点强调了如何验证远程机器身份以防止中间人攻击,并提供了针对 Windows OpenSSH 客户端缺失问题的解决方案。 * *Key Themes*: * Security (Host Key Verification). * Troubleshooting (Failed connections). * Windows compatibility (OpenSSH client). * Jump hosts. * *Impact Level*: * Is it Breaking? No, it's just docs. * Is it High? It touches security and connectivity, which are high importance, but the *change* is just docs. "Medium" seems appropriate for the visibility of the content. It helps users fix things. Let's go with "Medium" because it addresses critical security/trust workflows and debugging steps for remote connections. * *Action Items*: * Developers should check if they run into "Host key verification failed". * Windows users need OpenSSH. * Need to verify fingerprints before trusting. * Manage `known_hosts`. 5. **Final Polish (Chinese)**: * **Overall Summary**: 新增了关于 SSH 主机密钥验证的文档,重点涵盖了如何通过指纹验证远程机器身份以确保安全,以及如何排查因密钥变更或缺失 OpenSSH 客户端导致的连接失败问题。 * **Key Themes**: * **安全验证流程**: 详细介绍了如何获取和对比主机密钥指纹,以区分目标主机和跳板机,防止中间人攻击。 * **连接故障排查**: 针对常见的“验证失败”、“密钥变更”或“不受信任”错误提供了具体的排查步骤。 * **跨平台兼容性**: 明确了 Windows 上运行需要 Microsoft OpenSSH 客户端才能正确处理主机密钥。 * **底层工具依赖**: 解释了 Desktop 如何依赖 SSH 终端行为和 `known_hosts` 文件。 * **Impact Level**: **Medium**. 虽然仅为文档更新,但涉及核心的安全连接机制和关键的环境配置,直接影响用户能否安全地使用远程开发功能。 * **Action items**: * Windows 用户若遇到“Host key changed or not trusted”错误,需检查是否安装了 OpenSSH 客户端。 * 在信任新主机密钥前,务必按照文档指引独立验证指纹,而非直接信任提示。 * 当 Desktop 无法显示新密钥时,需手动使用 `ssh -v` 命令在终端排查受信任的密钥列表。 * 若遇到 `UserKnownHostsFile` 问题,需检查 `~/.ssh/config` 配置。 6. **Review against constraints**: * Markdown format? Yes. * Chinese? Yes. * Concise? Yes. * Insightful? Yes, highlights the security aspect. 7. **Final Output Generation**.

📚 Claude Code