← All reports

Changes on 2026-11-04

17 total changes in 2 runs

17:20 EST

🤖 AI Batch Analysis

## 文档变更分析 ### 1. 总体概要 本次变更以 **Claude Code v2.6.0 发布**及**全语言 SDK 小版本升级**为主线,同时对 Bedrock 服务层级、bare 模式 hooks、Desktop 登录生命周期、配置错误处理等多个行为细节做了重要澄清与修正。 ### 2. 关键主题 - **SDK 全线升级**:Python 2.4→2.5、TypeScript 1.4→1.5、C# 13.4→13.5、Go 2.5→2.6、Java 3.4→3.5、PHP 1.4→1.5、Ruby 2.4→2.5、ant CLI 2.5→2.6 - **Bedrock Service Tier 行为边界明确化**:`ANTHROPIC_BEDROCK_SERVICE_TIER` 仅作用于 Invoke API 请求,不影响 model access check、Mantle 端点及 Claude apps gateway;后台会话需在 `env` 块中设置 - **Bare 模式 hooks 限制**:明确声明 hooks 在 bare 模式下不运行(包括 `--settings` 传入和插件 manifest 中的 hooks) - **配置错误处理变更**:`claude -p` 遇到 `~/.claude.json` 解析失败时现在**直接退出且不修改文件**,而非静默跳过继续执行;空文件启动时使用默认设置 - **Desktop 登录生命周期**:任务续签现在要求 Desktop 处于"已登录"状态;新增登录页面检测和 Enterprise 计划强制登出场景说明 - **权限模式优先级澄清**:按文件夹记住的模式仅覆盖项目级 `.claude/` 中的 `defaultMode`,用户全局和托管设置仍可能生效 - **Java 示例代码简化**:流式响应遍历从 iterator 模式改为增强 for-each 循环 ### 3. 影响级别:**Medium** - SDK 升级为小版本,通常向后兼容,但开发者应验证 - `claude -p` 配置错误行为从"跳过继续"变为"退出",**可能影响 CI/CD 流水线**——此前被静默忽略的错误现在会导致非零退出码 - Bare 模式 hooks 不运行的明确声明,可能影响依赖 hooks 的自动化场景 ### 4. 开发者行动项 - **升级 SDK**:将项目中的 Anthropic SDK 更新至最新小版本,关注 changelog 中的 breaking changes - **检查 CI 流水线**:`claude -p` 现在在配置解析失败时退出而非跳过——确认流水线对非零退出码的处理是否符合预期 - **审查 bare 模式使用**:若在 bare 模式下依赖 hooks(`--settings` 或插件),需改用非 bare 模式或寻找替代方案 - **Bedrock 用户更新环境变量配置**:若使用 `ANTHROPIC_BEDROCK_SERVICE_TIER`,确保在 `env` 块而非仅 shell export 中设置以覆盖后台会话;Mantle 启用需同时设置 AWS region - **Desktop 长时任务用户**:确保 Desktop 保持登录状态,注意 Enterprise 计划可能强制登出导致任务中断
💭 Model Reasoning
Let me analyze all the documentation changes across these 12 pages. 1. **amazon-bedrock.md**: Clarification on `ANTHROPIC_BEDROCK_SERVICE_TIER` - it only applies to Invoke API requests, not model access checks, Mantle endpoint, or Claude apps gateway. Added info about background sessions needing `env` block settings. Mantle endpoint now requires AWS region. Removed statement about not supporting Converse API. Clarified Mantle model lineup behavior. 2. **desktop.md**: Permission mode default behavior clarified - per-folder mode outranks `defaultMode` in project's `.claude/` settings, but `defaultMode` from `~/.claude/settings.json` or managed settings can still apply. Desktop sign-in renewal now requires "signed in" state. Added sign-in page as a recovery check item, with Enterprise plan sign-out behavior explanation. 3. **headless.md**: Added note that hooks don't run in bare mode even when passed via `--settings` or plugin hooks. This is a behavioral clarification/limitation. 4. **settings.md**: Configuration error handling changed - `claude -p` run now exits and leaves file unchanged (instead of silently continuing). Added link to restore earlier copy. Blank file now starts with default settings. Clarified `-p` run behavior for broken settings. 5. **skills.md** and **slash-commands.md**: Added link to "Effort level of subagents and teammates" for fork on another model. 6. **get-started.md**: Version bump from 2.5.0 to 2.6.0 for CLI, and Java SDK from 3.4.0 to 3.5.0. 7. **api/client-sdks.md**: All SDK versions bumped (minor version bumps across all languages). 8. **build-with-claude/claude-on-vertex-ai.md**: Java SDK version bump to 3.5.0. 9. **build-with-claude/claude-in-microsoft-foundry.md**: Java SDK version bump to 3.5.0. 10. **agents-and-tools/tool-use/fine-grained-tool-streaming.md**: Java code simplified - replaced iterator-based loop with enhanced for-each loop over `streamResponse`. 11. **agents-and-tools/mcp-connector.md**: Java SDK version bump to 3.5.0. Key themes: - SDK version bumps (all languages, minor version) - Claude Code v2.6.0 release - Behavioral clarifications for Bedrock service tier, bare mode hooks, permission modes, config error handling - Desktop sign-in lifecycle improvements - Java code example simplification

📚 Claude Code

11:45 EST

🤖 AI Batch Analysis

## 文档变更批量分析 ### 1. 总体概述 本次更新以**快速入门指南的认证流程重构**为核心,将 CLI OAuth 认证提升为推荐的首选方式,同时扩展了多平台安装支持;其余变更涉及 Prompt Caching 计费逻辑澄清、SDK 依赖项导入修正及文档格式优化。 ### 2. 关键主题 - **认证流程双路径化**:快速入门将 CLI 登录(`ant auth login`)与 API Key 两条路径前置并列,CLI 方式被推荐用于本地开发,步骤编号跨路径连续统一 - **CLI 安装多平台覆盖**:新增 Linux/WSL(curl 二进制下载)和 `go install` 两种安装方式,不再仅限 Homebrew - **Prompt Caching 混合 TTL 计费逻辑修正**:Position A/B 定义从"highest"改为"last",并明确 5 分钟 TTL 命中在后续 1 小时块未命中时不计入 A - **SDK 依赖精简与去版本锁定**:Go Vertex SDK 需显式导入 `vertex` 子包;Azure Identity 库不再内联固定版本,改为引用 Maven Central 最新版 - **文档组件与格式优化**:Java 代码组从 `CodeGroup` 迁移到 `Tabs`;UI 路径加粗等微调 ### 3. 影响等级:**Medium** **理由**:快速入门的结构性重构显著改变了新开发者的上手路径,但不影响已有代码;Prompt Caching 计费描述的修正可能影响开发者对混合 TTL 场景下费用的理解和调试;Go Vertex SDK 新增 `vertex` 子包导入是对现有用户的破坏性变更(缺少则编译失败),但范围有限。 ### 4. 开发者行动项 - **Go Vertex SDK 用户**:立即在项目中添加 `go get github.com/anthropics/anthropic-sdk-go/v2/vertex`,否则构建会失败 - **使用混合 TTL Prompt Caching 的用户**:重新审视计费逻辑——Position A 现在是"last cache hit"而非"highest cache hit",5 分钟命中可能不再计入 A - **Azure Foundry Java 用户**:移除硬编码的 `azure-identity:1.18.3` 依赖,改为从 Maven Central 获取最新版本 - **新项目启动**:优先考虑 `ant auth login` CLI 认证方式,可免去手动管理 API Key,SDK 和 CLI 自动拾取凭证 - **Linux/WSL 用户**:可使用新增的 curl 二进制安装方式或 `go install`,不再需要 Homebrew 替代方案
💭 Model Reasoning
Let me analyze the documentation changes across all 5 pages. 1. **get-started.md (+72/-21)**: Major restructuring of the quickstart guide. The authentication flow now presents two paths upfront: CLI auth (OAuth-based `ant auth login`) and API key auth. CLI installation instructions are moved earlier and expanded with Linux/WSL and `go install` options. Step numbering is unified across auth paths. The API key setup steps are consolidated into the "Before you begin" section instead of being repeated per-tab. 2. **prompt-caching.md (+4/-4)**: Clarification on mixed TTL billing logic. Position A definition changed from "highest cache hit" to "last cache hit in your prompt", with added nuance that a 5-minute TTL hit doesn't count if a subsequent 1-hour block is a miss. Position B changed from "highest" to "last". Simplified the note about B/C > A. 3. **claude-on-vertex-ai.md (+17/-11)**: Go SDK now requires explicit `vertex` sub-package import. Java section switched from `CodeGroup` to `Tabs` component (formatting change). 4. **claude-in-microsoft-foundry.md (+1/-6)**: Azure Identity library dependency removed from inline Gradle/Maven snippets; replaced with a note saying to add it at the latest version from Maven Central. This is a DRY improvement and avoids pinning a specific version. 5. **agents-and-tools/agent-skills/overview.md (+1/-1)**: Minor formatting - bolded "Settings > Features" for Custom Skills. Key themes: - Authentication restructuring (CLI-first approach) - Multi-platform CLI installation expansion - SDK dependency clarity improvements - Billing logic clarification for prompt caching - Minor formatting/DRY improvements Impact: Medium - the get-started restructuring significantly changes the onboarding flow, but existing code doesn't break. The prompt caching billing clarification could affect how developers reason about costs. The Go Vertex SDK now requires an additional import.