← All reports

Changes on 2026-11-10

38 total changes in 3 runs

18:51 EST

🤖 AI Batch Analysis

# 文档变更分析 ## 1. 总体摘要 本次文档更新主要涉及**安全收紧**(云环境默认网络降级、`safety_event` 遥测事件弃用、网关需转发 `Authorization`)以及**可观测性架构调整**(用 `tool_decision` 替代 `safety_event` 监控安全事件),同时包含若干行为澄清和一个疑似文档构建缺陷。 ## 2. 关键主题 - **安全默认值收紧**:新云环境默认网络访问从 **Trusted** 降为 **Limited** - **遥测事件弃用**:`claude_code.safety_event` 在 v2.1.312 起停止发送,安全监控需迁移到 `tool_decision` 事件 - **网关认证要求增强**:转发至 Anthropic 的网关现需同时转发 `Authorization` 头和 `anthropic-beta` 中的 OAuth capability - **MCP 命名细化**:官方市场插件的远程服务器名称以 `plugin_<plugin>_<server>` 格式明文呈现,非官方来源统一为 `"custom"` - **设置管理行为变化**:Server-managed settings 改为"跟随成员而非设备",`paths` 字段规则在附加目录中不加载 - **疑似文档构建 bug**:`quickstart.md` 中 `theme={null}` 被重复约 100 次 ## 3. 影响等级:**Medium** - **安全/合规团队**受影响最大——`safety_event` 弃用意味着现有监控看板和告警规则必须迁移到 `tool_decision` - **网关运维人员**需更新代理逻辑以转发 `Authorization` 头 - **云环境用户**需注意新环境默认网络更受限,可能需要手动调整 - 无 Breaking API 变更,但遥测数据结构变化对下游消费者有实质影响 ## 4. 开发者行动项 1. **迁移安全监控**:如果你的告警/看板依赖 `safety_event`,立即迁移到查询 `tool_decision`(`decision="reject"`, `source="hook"` 等),v2.1.312+ 将不再有 `safety_event` 2. **更新 LLM 网关配置**:确保自定义网关在转发到 Anthropic 时同时转发 `Authorization` 头和 `anthropic-beta` OAuth capability 3. **审查云环境网络策略**:新建的 Default 环境网络访问为 **Limited** 而非 Trusted,如需更开放访问需手动配置 4. **适配 MCP 遥测解析**:v2.1.312+ 起官方插件远程服务器名以 `plugin_<plugin>_<server>` 格式出现,更新日志解析逻辑 5. **注意附加目录规则加载**:通过 `CLAUDE_MD_DIRS` 加载的附加目录中,设置了 `paths` 字段的规则将被跳过
💭 Model Reasoning
Let me analyze these documentation changes across 7 pages. 1. **claude-code-on-the-web.md**: Default environment changed from "Trusted" network access to "Limited" network access. This is a security tightening change. 2. **llm-gateway.md**: Gateways forwarding to Anthropic must now forward both `Authorization` and OAuth capability in `anthropic-beta`, not just OAuth capability. This is an additional requirement for gateway implementations. 3. **memory.md**: When using additional directory via env var, rules with a `paths` field are now excluded. This is a behavioral clarification/refinement. 4. **monitoring-usage.md**: Major changes: - `mcp_server.name` now shows plugin remote server names verbatim (v2.1.312+) as `plugin_<plugin>_<server>` - `mcp_tool.name` can read `"custom"` when `mcp_server.name` shows a plugin name - `safety_event` is being deprecated/removed in v2.1.312+ - `tool_decision` now has `classifier_verdict` info - Security mapping table updated to reflect safety_event deprecation - Hook-related queries now split between `hook_execution_complete` and `tool_decision` 5. **quickstart.md**: Bizarre change - `theme={null}` repeated ~100 times in code blocks. This looks like a bug/regression in the documentation generation system. 6. **sandboxing.md**: Server-managed settings now "follow the member, not the device" instead of "apply to all users in the organization". This is a behavioral change. 7. **settings.md**: Minor wording change - removed "and your file is unchanged" from the configuration error description for `claude -p` runs. Key themes: - Security tightening (default network access downgraded, safety_event deprecated, Authorization forwarding required) - Observability changes (safety_event removal, new MCP server/tool naming) - A possible docs build bug (quickstart.md theme attributes) Impact: Medium - the safety_event deprecation affects monitoring dashboards, the network access change affects cloud environment defaults, and the gateway Authorization requirement affects custom gateway implementations. Action items: 1. Update monitoring dashboards that rely on `safety_event` to use `tool_decision` instead (v2.1.312+) 2. If you run an LLM gateway to Anthropic, ensure it forwards `Authorization` headers 3. Be aware that new cloud environments default to "Limited" (not "Trusted") network access 4. If you use `CLAUDE.md` additional directories, note that `paths`-specific rules are excluded 5. Update MCP server name parsing logic for the new `plugin_<plugin>_<server>` format
13:24 EST

🤖 AI Batch Analysis

## 文档变更批量分析 ### 1. 总体概述 本次更新主要包含 **SDK 全面版本升级(跨 8 种语言/平台)**、Claude Code 多项功能增强文档(后台进程 hooks、vim 快捷键、面板最小化、历史搜索)以及监控/安全相关的重要说明修正。 ### 2. 关键主题 - **SDK 版本全线升级**:Python 2.8.0、TypeScript 1.8.0、Java 3.8.0、C# 13.8.0、Go 2.9.0、PHP 1.8.0、Ruby 2.8.0、ant CLI 2.9.0、Claude Code 2.9.0 - **Hooks 能力扩展**:新增"启动后台进程(如 dev server)"的用法文档;hook 错误信息增加 `stdio went quiet` 提示 - **成本优化示例简化**:测试输出过滤从 `grep ERROR/FAIL` 改为 `tail -n 100`,逻辑更简单直接 - **交互体验改善**:vim 模式新增 `P`(大写粘贴);新增 `Ctrl+R` 历史搜索提示(适用于查找长粘贴内容) - **监控/安全修正**:OTel 指标端点需加 `/v1/metrics` 路径;**重要变更**——原来声明"原始文件内容不会包含在事件中",现改为"默认不包含,但设置 `OTEL_LOG_TOOL_DETAILS` 或 `OTEL_LOG_RAW_API_BODIES` 后会包含" - **IP 白名单限制移除**:删除了 Organization IP allowlist 对云会话限制的整个段落 - **新增 Ultra 套餐**:Fable 模型自动迁移别名支持 Ultra 计划 - **插件路径校验**:`mcpServers`/`lspServers` 的绝对路径或含 `..` 的路径将触发 `path not read` 错误 ### 3. 影响等级:**Medium** - SDK 版本升级是常规迭代,非破坏性变更 - 监控安全说明的修正是**语义重要**的——之前文档暗示原始内容永远不会泄露到 OTel,现在明确存在可配置的泄露路径,安全团队需审查 - IP 白名单段落被删除,可能意味着该限制已解除或文档重构,影响使用 IP allowlist 的组织 - Hooks 后台进程和交互功能均为增量增强 ### 4. 开发者行动项 - **升级 SDK**:将所有 Anthropic SDK 依赖更新至最新版本(Java 3.8.0、Python 2.8.0 等),Claude Code 升级至 2.9.0 - **审查 OTel 安全配置**:确认是否有人设置了 `OTEL_LOG_TOOL_DETAILS` 或 `OTEL_LOG_RAW_API_BODIES`,如有则原始代码内容会被发送到你的遥测后端,需评估合规性 - **修复 OTel 端点**:检查 `OTEL_EXPORTER_OTLP_METRICS_ENDPOINT` 是否包含 `/v1/metrics` 路径后缀,旧配置可能导致指标丢失 - **利用新 Hooks 能力**:如需在 hook 中启动 dev server 等长驻进程,参考新文档确保正确重定向 stdout/stderr 并后台运行 - **简化测试过滤 hook**:如现有 hook 使用 `grep -A 5 -E '(FAIL|ERROR)'` 过滤测试输出,可考虑改用更简洁的 `tail -n 100` 方案
💭 Model Reasoning
Let me analyze the documentation changes across all 13 pages. 1. **SDK Version Bumps** (get-started.md, api/client-sdks.md, claude-on-vertex-ai.md, claude-in-microsoft-foundry.md, mcp-connector.md): All SDK versions bumped (Java 3.7→3.8, Python 2.7→2.8, TypeScript 1.7→1.8, C# 13.7→13.8, Go 2.8→2.9, PHP 1.7→1.8, Ruby 2.7→2.8, ant CLI 2.8→2.9, Claude Code 2.8→2.9) 2. **claude-code-on-the-web.md**: Removed the entire "Organization IP allowlist" section (3 lines removed) about IP allowlisting conflicts with cloud sessions. 3. **costs.md**: Restructured the hooks example - changed from filtering test output by ERROR/FAIL grep to simply keeping last 100 lines with `tail -n 100`. Also reordered content (skills paragraph moved after the hook example). 4. **desktop.md**: Added "side chat" to the list of panes that can be minimized. 5. **hooks.md**: Added documentation about hooks that start background processes (like dev servers). Added error message `stdio went quiet` alongside existing `refusing to honor the suspect capture`. 6. **interactive-mode.md**: Added `P` (uppercase) as a vim-like command alongside `p` for replacing selection. Added `Ctrl+R` reverse search tip for finding pasted content in history. 7. **model-config.md**: Added "Ultra" plan alongside Pro and Max for Fable model auto-migration. 8. **monitoring-usage.md**: - Fixed OTel metrics endpoint to include `/v1/metrics` path - Simplified retention sweep event documentation with clearer structure - Added `settings.read` hook influence on `period_days` - Updated `used_default` description - Important security note: raw file contents CAN now be included in events if `OTEL_LOG_TOOL_DETAILS` or `OTEL_LOG_RAW_API_BODIES` is set (previously said they were not included) 9. **plugins-reference.md**: Added note about `path not read` error for absolute paths or paths with `..` in mcpServers/lspServers files. Now let me synthesize this.
05:41 EST

🤖 AI Batch Analysis

# 文档变更批量分析 ## 1. 总体概要 本次更新宣布了两个新模型(`claude-fable-5-2` 和 `claude-mythos-5-2`)、大量新的 API 错误类型(compaction 和 thread 相关),并增强了 hooks、监控遥测和桌面端 SSH 策略控制能力,同时清理了多处过时的最低版本要求。 ## 2. 关键主题 - **新模型发布**:`claude-fable-5-2`(编码/企业/科学)和 `claude-mythos-5-2`(网络安全/生命科学研究,需验证计划)已加入 Messages API 所有端点 - **Compaction 错误体系**:新增 9 种 compaction 相关错误类型(签名无效、内容不匹配、块位置错误、工具引用过多等),表明 compaction 功能正在成熟 - **Thread 错误体系**:新增 4 种 thread 延续错误(已继续、进行中、指纹不匹配、未找到),为 thread 多轮对话提供更精确的错误处理 - **Hooks 增强**:MCP 工具返回过大时的错误处理说明;Cowork 会话中 `updatedToolOutput` 对 `AskUserQuestion`/`ExitPlanMode` 的忽略规则;权限规则解析字段 `toolName`/`ruleContent` 的文档化 - **监控遥测扩展**:`OTEL_METRICS_INCLUDE_*` 变量现在同时控制 metrics 和 events;`app.entrypoint` 新增 `claude-desktop`、`claude-desktop-3p`、`remote`、`remote_desktop`、`remote_mobile` 等值;新增跨端点活跃用户计数指导 - **版本门槛清理**:移除了多处 "Requires v2.1.221/222/223/224" 限制,说明这些功能已成为基线 - **Vertex 快速模式**:v2.1.322 在 Vertex global/us/eu 区域新增 fast mode ## 3. 影响等级:**Medium** **理由**:新模型和大量新错误类型对 API 消费者有直接影响,但无破坏性变更;hooks 和监控的增强是增量式的,不需要修改现有代码;版本要求的移除对开发者是纯正面影响。 ## 4. 开发者行动项 - **评估新模型适用场景**:如果涉及大规模编码/企业工作流,考虑 `claude-fable-5-2`;如需网络安全/生命科学领域的高能力模型,申请 Mythos 验证计划 - **处理新增 API 错误**:在 Messages API 集成中增加对 compaction 和 thread 错误码的识别与重试逻辑(特别是 `compaction_unavailable` 和 `thread_continue_in_flight`) - **更新 hooks 逻辑**:若使用 MCP 工具 hook,增加对工具返回过大错误的处理;若在 Cowork 环境中使用 `PostToolUse` hook 修改 `AskUserQuestion`/`ExitPlanMode` 输出,需知该修改会被忽略 - **优化监控看板**:启用 `OTEL_METRICS_INCLUDE_ENTRYPOINT=true` 以区分桌面/移动/CLI 等端点来源,按新指导使用 `claude_code.user_prompt` 事件计算活跃用户数而非依赖 `session.count`
💭 Model Reasoning
Let me analyze these documentation changes across 18 pages to identify the key themes and impacts. Key changes I see: 1. **New models announced**: `claude-fable-5-2` and `claude-mythos-5-2` added to the API messages documentation across multiple endpoints (messages, count_tokens, batches/create). Fable is for coding/enterprise/sciences, Mythos is for cybersecurity/life sciences research. 2. **Version requirement removals**: Several pages removed minimum version requirements (e.g., "Requires Claude Code v2.1.224 or later", "Requires v2.1.221", "Requires v2.1.222 or later", "Requires v2.1.223 or later"). This suggests the features have been available long enough that version gates are no longer needed. 3. **Hooks enhancements**: - New documentation about MCP tool hook errors when tool answers are too large - `updatedToolOutput` behavior in Cowork cloud sessions (ignored for AskUserQuestion/ExitPlanMode) - Permission rule parsing in hooks (`toolName` and `ruleContent`) - `updatedMCPToolOutput` clarification - now says "which also works for built-in tools" instead of "which works for all tools" 4. **Monitoring/telemetry updates**: - Cardinality control env vars now affect both metrics AND events (not just metrics) - `app.entrypoint` expanded with new values: `claude-desktop`, `claude-desktop-3p`, `remote`, `remote_desktop`, `remote_mobile` - Guidance on counting active users vs sessions using `user_prompt` events - Session count metric description simplified 5. **New API error types**: - `AvailableToolsLimitExceededErrorDetails` - Multiple compaction-related errors: `CompactionBlockAmbiguous`, `CompactionBlockMisplaced`, `CompactionContentMismatch`, `CompactionIncompleteTurn`, `CompactionNothingToSummarize`, `CompactionSignatureInvalid`, `CompactionTooManyToolReferences`, `CompactionToolChangesMismatch`, `CompactionUnavailable` - Thread-related errors: `ThreadAlreadyContinued`, `ThreadContinueInFlight`, `ThreadFingerprintMismatch`, `ThreadNotFound` 6. **Desktop SSH settings**: New note about `permissions.disableBypassPermissionsMode` or `disableAutoMode` in local managed settings affecting SSH session mode selectors. 7. **Plugin project scope clarification**: "Each collaborator also runs... once per clone" instead of just "once" 8. **New beta header**: `admin-user-sign-out-2026-10-08` 9. **Changelog**: v2.1.322 adds fast mode on Vertex in global, us, and eu regions 10. **Minor wording changes**: Various documentation clarifications and simplifications. Let me categorize the impact level. The new models and new API error types are significant for API users. The hooks changes are important for hook developers. The monitoring changes affect observability setups. Overall this is Medium impact - important new features but not breaking.

📚 Claude Code GitHub