← All reports

Changes on 2026-04-30

9 total changes in 3 runs

22:36 EST

🤖 AI Batch Analysis

1. Overall Summary (整体摘要) 版本 2.1.126 主要增强了企业级网关集成与 Windows/PowerShell 的支持体验,修复了多项连接稳定性与安全漏洞,并引入了项目数据清理命令以提升开发者的控制力。 2. Key Themes across pages (关键主题) * **企业级与网关集成增强**:`/model` 选择器现在能直接从 Anthropic 兼容网关的 `/v1/models` 端点获取模型列表;优化了托管部署下的分析策略。 * **Windows 与 PowerShell 体验大幅提升**:改进了 PowerShell 7 的检测机制,使其成为首选 Shell;修复了 Windows 下剪贴板内容的隐私泄露问题(不再暴露给 EDR/SIEM)以及中日韩文本的乱码渲染问题。 * **连接性与授权稳定性修复**:解决了在 WSL2、SSH 容器及 IPv6 环境下的 OAuth 登录超时与回调失败问题;修复了令牌并发写入导致的竞态条件。 * **UX 与开发者工具改进**:新增 `claude project purge` 命令用于彻底清理项目状态;自动模式下的权限检查阻塞会有红色提示;修复了 VS Code/Cursor 终端下的滚动问题。 * **安全性与漏洞修复**:修复了 `allowManagedDomainsOnly` 在特定配置下被忽略的安全问题;增强了图片粘贴处理机制,防止大图导致会话中断。 3. Impact level (影响级别) **Medium** (中) 尽管没有破坏性变更,但本次更新包含重要的安全修复(托管域权限和 Windows 剪贴板隐私)、关键的平台兼容性改进(Windows/WSL2)以及影响用户体验的多个 Bug 修复。 4. Action items for developers (开发者行动项) * 如果你使用 Windows,建议更新以获得更好的 PowerShell 支持并修复剪贴板隐私问题。 * 若在 WSL2、SSH 或容器环境中遇到 OAuth 登录困难,请立即更新。 * 尝试使用新增的 `claude project purge [path] --dry-run` 命令来管理旧项目的状态数据。 * 检查企业环境下的 `allowManagedDomainsOnly` 配置,确保安全策略按预期生效。 * 如果你的工作流涉及通过自定义网关使用 Claude,请测试新的 `/model` 模型选择器功能。
💭 Model Reasoning
1. **Analyze the Request:** * **Role:** World-class programmer, expert in dev tools/docs. * **Task:** Analyze documentation changes in a single batch (Changelog). * **Input:** Diff for `CHANGELOG.md.md` (version 2.1.126 vs previous 2.1.123). * **Output Format:** Markdown with specific sections: Overall Summary, Key Themes, Impact Level, Action Items. * **Language:** Chinese (as requested in the initial prompt "请用中文回复"). 2. **Analyze the Input Data (The Diff):** * **File:** `CHANGELOG.md.md`. * **Version:** `2.1.126`. * **Change Count:** 34 lines added. * **Specific Changes:** * *Gateway Integration:* `/model` picker uses gateway's `/v1/models` endpoint. * *Project Management:* Added `claude project purge [path]` command to clear state (transcripts, tasks, etc.). Supports flags like `--dry-run`, `-y`. * *Permissions:* `--dangerously-skip-permissions` now bypasses prompts for protected paths (`.claude/`, `.git/`, etc.), though catastrophic removal still prompts. * *Auth/OAuth:* Terminal paste support for OAuth code (WSL2, SSH), fixed timeout/login errors on slow/proxied connections/IPv6. * *Telemetry:* Added `claude_code.skill_activated` event with `invocation_trigger` attribute. * *UI/UX:* Spinner turns red on permission stall. Fixed text rendering (JP/KR/CN) on Windows. Fixed scrolling in VS Code/Cursor. Fixed `Ctrl+L` to redraw screen instead of clearing input. * *Deployment:* Host-managed deployments no longer auto-disable analytics on Bedrock/Vertex/Foundry. * *Windows Support:* Detects PS7 (MSI, .NET tool). PowerShell is primary shell when tool is enabled. Clipboard writes fix security issue (EDR/SIEM visibility) and size limit. * *Read Tool:* Removed malware assessment reminder (reduced false refusals). * *Security:* Fixed `allowManagedDomainsOnly` / `allowManagedReadPathsOnly` ignore issue. * *Bug Fixes (General):* Image pasting >2000px (downscaled), OAuth race conditions, "Stream idle timeout" (Mac sleep, long thinking), Agent SDK hang (malformed tool names), deferred tools availability, plan-mode tools, `/plugin` uninstall status, `/remote-control` connection feedback. 3. **Synthesize the Analysis:** * **Overall Summary:** This release focuses on improving enterprise and gateway integrations, enhancing Windows/PowerShell support, and resolving numerous stability/UX bugs. It adds a project purge command and fixes critical security and connectivity issues. * **Key Themes:** * *Gateway & Enterprise Support:* Model picker integration with gateways, host-managed deployment analytics handling. * *Windows & Shell Enhancements:* Better PowerShell detection, security fixes for clipboard, PowerShell as primary shell. * *Reliability & Connectivity:* OAuth improvements for remote environments (WSL2, containers), fixing timeouts, and race conditions. * *UX & Developer Experience:* New purge command, spinner color changes, scroll fixes, input behavior fixes. * *Bug Cleanup:* Fixing image handling, rendering issues, and agent SDK hangs. * **Impact Level:** * *Medium.* There are significant fixes (OAuth, Windows security, Gateway support) but they are largely additive or corrective, not breaking changes. The "Security" fix regarding managed domains is important but likely specific to enterprise setups. The Windows clipboard fix resolves a privacy/EDR issue. * **Action Items:** * Check if your workflow benefits from the new `claude project purge` command. * If using Windows, verify PowerShell 7 detection and updated clipboard behavior. * If using a custom gateway, verify the new `/model` picker behavior. * Review `allowManagedDomainsOnly` security fix if you use managed settings. * Update if you faced issues with OAuth on WSL2/SSH or Japanese text rendering on Windows. 4. **Draft the Response in Chinese:** * *Summary:* 版本 2.1.126 主要增强了企业级网关集成和 Windows/PowerShell 支持,修复了多项连接稳定性与安全漏洞,并新增了项目清理命令。 * *Themes:* * 网关与企业集成 * Windows 与 PowerShell 体验优化 * 连接性与授权修复 (OAuth, WSL2, SSH) * 稳定性与 Bug 修复 * 开发者工具增强 * *Impact:* Medium。虽然没有破坏性变更,但包含重要的安全修复和平台兼容性改进。 * *Action Items:* (Translate the bullets above). 5. **Refine the Output:** Ensure the tone is professional ("world-class programmer") and concise. * *Refining "Themes":* Grouping similar items helps readability. * *Gateway & Integration:* `/model` picker logic. * *Windows/Shell:* PowerShell primary, clipboard security, text rendering. * *Connectivity:* OAuth fixes for non-standard environments. * *UX:* Purge command, spinner colors. * *Refining "Impact":* "Medium" fits best. The "Security" tag in the changelog is notable. * *Refining "Action Items":* Make them actionable for a dev. 6. **Final Polish (Self-Correction during drafting):** * Make sure to mention the specific command `claude project purge` as it's a new feature. * Highlight the clipboard security fix on Windows as it's a privacy concern. * Ensure the translation is natural (e.g., "Gateway" -> "网关", "PowerShell" stays as "PowerShell"). 7. **Final Output Generation** (matches the provided good response).

📚 Claude Code GitHub

19:47 EST

🤖 AI Batch Analysis

### 1. Overall Summary 本次文档更新澄清了 `CLAUDE.md` 文件在目录树中的加载与拼接顺序,明确指出上下文是**从文件系统根目录向下加载直到当前工作目录**,因此越接近工作目录的指令优先级越高(后读入)。 ### 2. Key Themes * **指令优先级明确化:** 明确了父子目录间的指令覆盖规则(子目录覆盖父目录)。 * **上下文组装逻辑:** 解释了配置文件并非随机合并,而是遵循特定的从上到下的层级顺序。 * **局部配置机制:** 重申了 `CLAUDE.local.md` 在同级目录中总是位于 `CLAUDE.md` 之后加载,具有最高优先级。 ### 3. Impact Level **Low** **Reasoning:** 这是一个纯粹的文档澄清,未引入代码更改或破坏性变更。它主要是为了纠正开发者对于配置作用域的心理预期,特别是关于多层目录结构下的指令冲突处理方式。 ### 4. Action items for developers * **审查目录结构配置:** 如果您在父子目录中均放置了 `CLAUDE.md`,请确认当前的行为(子覆盖父)符合预期。 * **优化配置继承:** 利用此机制,可以在父目录定义通用规则,在子目录通过覆盖实现项目特定的微调。 * **关注加载顺序:** 记住指令是“自上而下”读取的,确保关键指令位于目录树的最底层(即当前工作目录)或使用 `.local.md` 文件以确保生效。
💭 Model Reasoning
1. **Analyze the Request:** * **Role:** World-class programmer analyzing documentation changes. * **Input:** A single diff from `memory.md`. * **Task:** Analyze the changes and provide a summary in markdown format (Overall Summary, Key Themes, Impact Level, Action Items). * **Language:** Chinese (as requested in the prompt). * **Constraint:** Concise, insightful, focusing on what matters to developers. 2. **Analyze the Diff:** * **Page:** `memory.md`. * **Change Type:** Text clarification/expansion regarding how `CLAUDE.md` and `CLAUDE.local.md` files are processed and concatenated. * **Original Text:** Explained that files are concatenated, and `CLAUDE.local.md` follows `CLAUDE.md` within a directory, so local notes take precedence within that level. * **New Text:** Adds specific detail about the *order* across the directory tree. It explicitly states that content is ordered from filesystem root down to the working directory (e.g., `foo/CLAUDE.md` comes *before* `foo/bar/CLAUDE.md`). It reiterates that instructions closer to the working directory are read last (implying they take precedence in case of conflicts across directories). It retains the logic about `.local.md` coming after `.md` within the same directory. 3. **Synthesize the Analysis:** * **Overall Summary:** The documentation clarifies the precedence and ordering logic for `CLAUDE.md` configuration files when scanning the directory tree. It explicitly states that the context flows from the root downwards, making instructions in the current working directory take precedence over parent directories. * **Key Themes:** * **Configuration Precedence:** Clarifying which instructions win when there are conflicts. * **Context Assembly:** Explaining exactly how the context window is built (root -> cwd). * **Predictability:** Helping developers understand exactly what the AI "sees" and in what order. * **Impact Level:** * *Level:* Low (or maybe Low-Medium depending on how complex their setup is). * *Reasoning:* It's a documentation change, not a code change. However, it changes the mental model developers need to have if they rely on overriding instructions in subdirectories. It corrects potential misunderstandings about scope. * **Action Items:** * Developers should review their directory structure if they have conflicting `CLAUDE.md` files across parent and child directories. * Understand that subdirectory instructions override parent directory instructions (because they are read last). * Ensure personal overrides (`CLAUDE.local.md`) are placed correctly to take effect as intended. 4. **Drafting the Response (in Chinese):** * *Summary:* 文档更新了 `CLAUDE.md` 文件在上下文构建时的加载顺序逻辑。明确了指令是从文件系统根目录向下加载,直到当前工作目录。 * *Themes:* 配置优先级, 上下文顺序, 覆盖机制. * *Impact:* Low/Medium. 这是一个澄清性质的变更。它修正了开发者对指令如何相互覆盖的理解,特别是关于父子目录之间的关系。 * *Action Items:* 检查多层目录结构中的配置冲突, 利用子目录覆盖父目录规则. 5. **Refining the Output (Markdown & Polish):** * *Summary:* 本次更新澄清了 `CLAUDE.md` 文件在目录树中的加载与拼接顺序,明确指出当前工作目录的指令会覆盖父目录中的同名指令。 * *Themes:* * **指令优先级规则:** 明确了越接近工作目录的指令权重越高(后读入)。 * **上下文构建逻辑:** 解释了上下文是从文件系统根目录自上而下组装的。 * **本地化配置:** 重申了 `CLAUDE.local.md` 在同级目录中总是后于 `CLAUDE.md` 加载。 * *Impact:* **Low**。这是文档层面的澄清,未涉及功能变更,但修正了开发者对配置作用范围的心理预期。 * *Action Items:* * 如果您在父子目录中使用了不同的 `CLAUDE.md`,请确认子目录的指令确实按预期覆盖了父目录。 * 利用这一机制,在通用父配置的基础上,通过子目录针对特定项目进行微调。 6. **Final Review against constraints:** * World-class programmer tone? Yes. * Markdown format? Yes. * Chinese? Yes. * Concise? Yes. 7. **Final Output Generation.** (Proceed to generate output based on step 5).

📚 Claude Code

17:53 EST

🤖 AI Batch Analysis

# 文档变更分析报告 ## 总体摘要 本次更新主要集中在 API 功能增强与优化:引入了新的 `xhigh` 推理努力等级,支持通过 `max_tokens=0` 进行提示词缓存预热,并澄清了搜索结果引用的具体行为。此外,文档还透露了一个新的 Beta 功能“用户画像”(User Profiles)。 ## 核心变更主题 * **新增 `xhigh` 努力等级** * 在 Messages API 和 Batch API 的输出配置中,新增了 `"xhigh"` 选项,位于 `"high"` 和 `"max"` 之间。 * 这为开发者提供了比 `high` 更强、比 `max` 更便宜的中间选项,实现更精细的成本与质量权衡。 * **提示词缓存预热** * 明确了将 `max_tokens` 参数设置为 `0` 的行为:仅填充缓存而不生成响应。 * 这是一个重要的性能优化技巧,允许开发者在正式请求前低成本地“预热”缓存,降低首次响应延迟。 * **搜索结果引用规格澄清** * 更新了 `cited_text` 的定义,明确它是被引用块的**完整文本拼接**,而非摘要。 * 澄清了 `start_block_index` 和 `end_block_index` 是对搜索结果内容数组的切片引用,强调了“块”是最小的引用单元。 * **新增 Beta 功能:用户画像** * 在模型能力和文件上传文档中出现了 `user-profiles-2026-03-24` 标签,暗示即将推出与用户上下文记忆相关的功能。 ## 影响程度: Medium (中等) **理由:** 虽然大部分变更是新增功能(`xhigh`, `user-profiles`)或文档澄清,但 `max_tokens=0` 的缓存预热技巧是现有功能的重要用法挖掘,可能显著影响高性能应用的成本结构。搜索引用行为的澄清主要影响依赖 RAG 和工具调用的开发者,属于纠正性更新,需确保现有实现符合预期。 ## 开发者行动项 1. **测试新的努力等级**:在需要比 `high` 更高质量但不想承担 `max` 成本的场景下,尝试使用 `effort: "xhigh"`。 2. **实施缓存预热**:在生产环境中实现使用 `max_tokens=0` 的请求来预热 Prompt Cache,以改善用户体验的首字延迟(TTFT)。 3. **校验引用解析逻辑**:检查处理 `search_result_location` 的代码,确保能正确处理 `cited_text` 返回的是完整块文本,而非简短片段。 4. **检查模型能力支持**:调用 Models List API,确认当前使用的模型是否支持新的 `xhigh` 等级及 `user-profiles` 功能。
💭 Model Reasoning
1. **Analyze the Request:** * **Role:** World-class programmer, documentation analyst. * **Task:** Analyze a batch of documentation changes. * **Format:** Markdown, concise, insightful. * **Language:** Chinese (requested in the prompt "请用中文回复"). * **Input:** Diffs for 7 pages (`about-claude/pricing.md`, `api/messages.md`, `api/messages/count_tokens.md`, `api/messages/batches/create.md`, `api/models/list.md`, `api/beta/files/upload.md`, `build-with-claude/search-results.md`). 2. **Analyze Individual Diffs:** * **Page 1: `about-claude/pricing.md`** * *Change:* Removed the row comparing `[Long context premium]` in the table. * *Context:* It was comparing Sessions vs Messages API regarding long context. * *Implication:* "Long context premium" is likely no longer a separate pricing tier or differentiator in this specific context, or it's now standard/managed by the runtime in a way that doesn't need this specific comparison row. It simplifies the pricing comparison table. * **Page 2: `api/messages.md`** * *Change 1:* `max_tokens`: Added note: "Set to `0` to populate the prompt cache without generating a response." (Also appears in batch API). * *Change 2:* `effort` parameter: Added a new level `"xhigh"` (extra high). Updated description from "4 options" to "2 more" (likely `xhigh` and `max`, or just `xhigh` making it 5 total). * *Implication:* Developers can now "pre-warm" caches by sending requests with `max_tokens=0`. The `effort` parameter now supports an intermediate or higher tier (`xhigh`) between `high` and `max`. * **Page 3: `api/messages/count_tokens.md`** * *Change:* `effort` parameter: Added `"xhigh"`. * *Implication:* Consistent update across API docs regarding the new effort level. * **Page 4: `api/messages/batches/create.md`** * *Change 1:* `max_tokens`: Same prompt caching pre-warming note. * *Change 2:* `effort` parameter: Added `"xhigh"`. * *Implication:* Batch processing also supports the new effort level and cache pre-warming. * **Page 5: `api/models/list.md`** * *Change 1:* Added new capability tag: `"user-profiles-2026-03-24"`. * *Change 2:* Added capability support check for `"xhigh"`. * *Implication:* A new feature "User Profiles" is coming/existing. The `xhigh` effort level is now a discoverable capability via the models list endpoint. * **Page 6: `api/beta/files/upload.md`** * *Change:* Added capability tag: `"user-profiles-2026-03-24"`. * *Implication:* File upload might be related to user profiles, or just a general update of supported beta capabilities list. * **Page 7: `build-with-claude/search-results.md`** * *Change 1:* Formatting changes (hyphens to colons in lists). * *Change 2:* JSON example updated. The `cited_text` now contains the *full* text of the block slice. The description of `start_block_index` and `end_block_index` is clarified (slice of content array). * *Change 3:* Removed sentence: "If the `citations` field is omitted, citations are disabled by default." (Implied behavior or changed elsewhere, but removed explicit text). * *Change 4:* Warning message truncated in the diff provided, likely just formatting or clarification on "all-or-nothing" rule. * *Implication:* Significant clarification on how search result citations work. The `cited_text` is the concatenated text of the range, not just a snippet. Indexing logic is strictly 0-based and slices the array. 3. **Synthesize and Group Themes:** * **Theme A: New `effort` level (`xhigh`)**. This appears in Messages API, Batches, and Models capabilities. * **Theme B: Prompt Caching Optimization**. The `max_tokens=0` trick is a significant developer tip for cost/performance optimization. * **Theme C: New Beta Feature (User Profiles)**. "user-profiles-2026-03-24" appears in capability lists. * **Theme D: Citation Specification Refinement**. Clarification on `cited_text` content and block indexing. * **Theme E: Pricing Clean-up**. Removal of specific "Long context premium" row. 4. **Drafting the Analysis (in Chinese):** * *Overall Summary:* Updates focus on a new inference effort level (`xhigh`), prompt caching optimization techniques, clarification of citation behavior, and the introduction of a new "User Profiles" beta capability. * *Key Themes:* * **New `xhigh` Effort Level**: Added to the `effort` parameter in output configuration, offering more granular control over model performance/cost between `high` and `max`. * **Prompt Cache Pre-warming**: Documented that setting `max_tokens` to `0` allows populating the cache without generating a response, a useful optimization strategy. * **Search Result Citations Clarification**: Refined documentation on how `cited_text` works (it's the full text of the slice) and how block indices are calculated. * **New Beta Capability**: Introduction of `user-profiles-2026-03-24` in capability tags. * *Impact Level:* **Medium**. * *Reasoning:* New features (`xhigh`, `user-profiles`) are additive. The `max_tokens=0` trick is a powerful optimization for existing users. Citation clarifications are important for correct implementation but don't change the core API shape drastically. * *Action Items:* * Test the new `xhigh` effort level to see if it balances cost and quality better than `high` or `max`. * Implement the `max_tokens=0` pattern for pre-warming prompt caches to reduce latency in production. * Update code handling search result citations to align with the clarified `cited_text` behavior (expecting full block text slices). * Check the Models API list endpoint to verify support for `xhigh` and `user-profiles` on specific models. 5. **Review and Refine (Self-Correction):** * *Tone Check:* Ensure it sounds professional and programmer-focused. * *Language:* Chinese. * *Accuracy:* Double-check the `xhigh` placement (between high and max). The diff shows list order: low, medium, high, xhigh, max. Yes. * *Pricing diff:* It removed the row, implying the context window handling is standardized or the premium differentiation is gone from this table. Worth a brief mention or subsumed under general updates. I'll stick to the API changes as they are more impactful for developers. 6. **Final Output Generation:** (Proceeding to generate markdown based on step 4). * *Drafting Chinese text:* * Summary: 更新集中在新增推理努力等级 `xhigh`、提示词缓存预热技巧、搜索结果引用行为的澄清,以及引入新的 Beta 功能“用户画像”。 * Themes: * **新增 `xhigh` 努力等级**:在 Messages 和 Batch API 中引入了 `xhigh` 选项,位于 `high` 和 `max` 之间,提供更细粒度的性能/成本控制。 * **提示词缓存预热**:明确了将 `max_tokens` 设为 `0` 可以在不生成响应的情况下填充缓存,这是一项关键的优化手段。 * **搜索引用规格澄清**:详细说明了 `cited_text` 是完整的内容切片文本,而非摘要,并明确了块索引的计算方式。 * **新 Beta 功能**:添加了 `user-profiles-2026-03-24` 能力标签。 * Impact: Medium. * Actions: 更新调用配置尝试 `xhigh`,利用 `max_tokens=0` 预热缓存,调整引用解析逻辑,检查模型能力支持。 7. **Final Polish:** Ensure formatting matches the requested structure.