← All reports

Changes on 2026-06-16

14 total changes in 2 runs

18:52 EST

🤖 AI Batch Analysis

### Overall Summary 本次文档更新主要强化了对 Monorepo 项目的支持,引入了嵌套目录下的配置发现机制,细化了模型访问权限的控制范围,并改进了 Amazon Bedrock 的凭证缓存逻辑。此外,Hooks API 中的 `team_name` 字段已被标记为弃用。 ### Key Themes across pages * **Monorepo 与嵌套配置支持 (v2.1.178)**:Skills (`skills.md`)、Sub-agents (`sub-agents.md`) 和 Output-styles (`output-styles.md`) 现在支持从工作目录到仓库根目录之间的所有嵌套 `.claude/` 文件夹中加载配置。当存在同名定义时,系统遵循“就近优先”原则,即最靠近工作目录的定义生效。这允许 Monorepo 中的子包拥有专属的工具和配置。 * **模型访问控制细化 (v2.1.176)**:`availableModels` 白名单限制现在适用范围更广,不仅包括主会话和子代理,还扩展到了环境变量别名解析(如 `ANTHROPIC_DEFAULT_OPUS_MODEL`)以及 `/fast` 模式的隐式模型切换。 * **凭证缓存优化**:Amazon Bedrock 集成现在支持可选的 `Expiration` (ISO 8601) 字段。如果提供,Claude Code 将据此动态缓存凭证直到过期前 5 分钟,而非固定的 1 小时。 * **API 弃用与清理**:Hooks 事件(`TaskCreated`, `TaskCompleted`, `TeammateIdle`)中的 `team_name` 字段已标记为弃用,未来版本将移除。 ### Impact level **Medium** **Reasoning:** 虽然大部分更改属于向后兼容的功能增强(如嵌套目录支持、凭证缓存),但它们改变了配置的发现和解析逻辑,特别是在大型或 Monorepo 项目中。`availableModels` 范围的扩大可能会影响受管理环境下的现有工作流(例如别名被拦截)。Hooks API 的字段弃用虽然尚未移除功能,但要求开发者开始规划代码迁移。 ### Action items for developers * **更新 Hooks 代码**:检查并修改依赖 `team_name` 字段的 Hooks 集成代码,为该字段未来的移除做准备。 * **重构 Monorepo 配置**:利用新的嵌套发现机制,将特定的 Skills 或 Agents 从项目根目录下移至对应的子包目录(如 `apps/web/.claude/skills/`),以实现更精细的上下文管理。 * **审查模型权限设置**:如果使用了 `availableModels` 限制,升级到 v2.1.176 后需验证环境变量别名和 `/fast` 命令的行为是否符合预期。 * **优化 Bedrock 凭证脚本**:在自定义的 Bedrock 凭证提供脚本中添加可选的 `Expiration` 字段,以利用更智能的缓存策略。
💭 Model Reasoning
1. **Analyze the Request:** * **Role:** World-class programmer/developer tools expert. * **Task:** Analyze a batch of documentation changes (12 pages). * **Output:** Concise, insightful analysis in markdown format. * **Language:** Chinese (requested "请用中文回复"). * **Structure:** 1. Overall Summary (1-2 sentences). 2. Key Themes (bullets). 3. Impact Level (Low/Medium/High/Breaking) + Reasoning. 4. Action Items (bullets, max 5). 2. **Analyze the Diff Content (Page by Page):** * **`amazon-bedrock.md`**: * Added `Expiration` field to credentials JSON. * Added version note (`min-version: 2.1.176`). * Behavior: If `Expiration` is present (ISO 8601), Claude Code caches until 5 mins before expiry. Without it, caches for 1 hour. * **`costs.md`**: * Text change: "Clean up teams" -> "Shut down teammates". * Clarification: Active teammates consume tokens until they exit or session ends. * **`hooks.md`**: * `resolvedModel` explanation updated to mention `availableModels` overrides. * **Major change**: `team_name` field in `TaskCreated`, `TaskCompleted`, and `TeammateIdle` events is now **Deprecated**. It's marked as "Session-derived team name; will be removed in a future release". * **`model-config.md`**: * `availableModels` allowlist update. * Version notes (`min-version: 2.1.176`). * New scope: Alias resolution (env vars like `ANTHROPIC_DEFAULT_OPUS_MODEL`) and Fast mode (`/fast` command) now respect the `availableModels` allowlist. * `opusplan` behavior clarification regarding Sonnet exclusion. * **`output-styles.md`**: * Version note (`min-version: 2.1.178`). * Project output styles now load from *nested* `.claude/output-styles/` directories. * Conflict resolution: Closest to working directory wins. * **`plugin-marketplaces.md`**: * Clarification on `skills` path behavior. * Exception: "marketplace-root source" (e.g., `source: "./"`). * If specific subdirs are listed, that's the complete set. If none exist, default scan runs. * **`plugins-reference.md`**: * Table update for Component path fields. * `skills` field description updated to reference "Path behavior rules" for the marketplace-root exception. * **`settings.md`**: * Table update (looks mostly formatting or minor tweaks, truncated in prompt but consistent with general settings maintenance). * Wait, the diff shows extensive table row changes but the text content seems largely similar, just reformatted or slightly adjusted descriptions (e.g., `advisorModel`). The snippet provided cuts off, so I'll focus on the visible changes which look like standard documentation refinement/updates to existing settings. It seems to be updating the settings table format or content details. * **`skills.md`**: * Big update on skill loading hierarchy. * Clarification: Custom skills override bundled skills. * **New Feature**: Skills load from *nested* `.claude/skills/` directories. * Monorepo support context: Subdirectory skills apply when working in that package. * Naming convention for conflicts: `directory:skill` (e.g., `apps/web:deploy`). * **`slash-commands.md`**: * Same changes as `skills.md` (likely duplicated content section in the docs). * **`statusline.md`**: * Added reference to `footer-link-badges`. * Clarification that footer links are independent of the status line script. * **`sub-agents.md`**: * Project subagent discovery updated: Nested `.claude/agents/` directories are scanned. Closest to working dir wins (v2.1.178). * `--add-dir` now scans for subagents inside the added dir. * Tool restriction (`tools`/`disallowedTools`) update: Now accepts MCP server-level patterns (`mcp__<server>`). * Fork behavior update: "Making forks the model's *default* spawn behavior" -> "Letting Claude itself spawn forks". Claude requests `fork` type explicitly. General-purpose subagent still used by default unless fork is requested. 3. **Synthesize Key Themes:** * **Hierarchy and Discovery (Nested Configs):** There's a strong theme of supporting nested project structures (monorepos). Skills (`skills.md`), Sub-agents (`sub-agents.md`), and Output Styles (`output-styles.md`) all now support scanning nested directories (e.g., `apps/web/.claude/`) and using the "closest" definition to the current file/context. * **Model Control and Cost (`model-config.md`, `costs.md`):** Tighter control over model usage. `availableModels` now applies to aliases and fast mode. Cost warnings sharpened regarding teammate lifecycle. * **Deprecation and API Stability (`hooks.md`):** `team_name` in hooks is deprecated. This is a "heads up" for developers integrating with hooks. * **Credential Caching (`amazon-bedrock.md`):** Improved token management for Bedrock via explicit expiration times. 4. **Determine Impact Level:** * **Medium/High.** * **Why?** * **High:** The nested directory loading (Skills/Sub-agents/Styles) significantly changes behavior in monorepos. It's additive but changes how configurations are discovered and resolved (closest wins). * **Medium:** The `availableModels` restriction expansion affects enterprise environments where admins are locking down models. * **Medium:** Deprecation of `team_name` in hooks is important for hook developers, though not "breaking" immediately. * **Low/Medium:** The Bedrock expiration change is an improvement but backward compatible (optional field). * *Decision:* Medium-High leaning towards Medium because much of it is additive, but the nested discovery logic is a behavioral shift for complex projects. Let's go with **Medium** to be safe, noting the Monorepo implications. Actually, "Closest wins" for configs is a *behavioral change* that could be surprising if not noticed, so I'll stick with **Medium**. 5. **Draft Action Items:** * Update hook implementations to remove reliance on `team_name`. * Leverage nested `.claude/skills/` and `.claude/agents/` for monorepo organization. * Review Bedrock credential scripts to optionally add `Expiration` for better caching. * Audit `availableModels` settings if running v2.1.176+ to ensure aliases and fast mode behave as expected. * Check `--add-dir` usage for subagent discovery if needed. 6. **Translate and Format (Chinese):** * *Summary:* 本次文档更新主要涉及对 Monorepo 项目的支持(嵌套配置发现)、模型权限控制的细化、以及 Bedrock 凭证缓存机制的增强。同时标记了 Hooks API 中 `team_name` 字段的弃用。 * *Themes:* * Monorepo 支持:Skills、Sub-agents 和 Output-styles 现在支持从嵌套的 `.claude/` 目录加载,并遵循“就近优先”原则。 * 模型权限细化:`availableModels` 限制列表现在覆盖别名解析和 `/fast` 模式。 * 凭证管理:Bedrock 集成支持通过 `Expiration` 字段优化凭证缓存。 * API 弃用:Hooks 事件中的 `team_name` 字段已标记为弃用。 * *Impact:* Medium. 虽然多数改动是向后兼容的增强,但嵌套配置的加载逻辑改变了复杂项目中的配置解析优先级,Hooks 字段弃用也需要开发者注意。 * *Action Items:* * 更新 Hooks 代码以移除对已弃用 `team_name` 字段的依赖。 * 利用嵌套 `.claude/skills/` 和 `.claude/agents/` 重构 Monorepo 中的工具配置。 * 升级到 v2.1.176+ 后,检查 `availableModels` 设置是否符合预期(现在影响别名和快速模式)。 * 更新 Bedrock 凭证工具以可选地返回 `Expiration` 时间戳。 7. **Final Review against constraints:** * Concise? Yes. * Insightful? Yes, highlights the Monorepo shift. * Chinese? Yes. * Markdown format? Yes. 8. **Refining the "Impact" reasoning:** The nested discovery is a big UX improvement for monorepos. The `availableModels` expansion is a big compliance feature. The deprecation is a warning. It's definitely not "Breaking" yet, but significant. "Medium" is appropriate. Let's assemble the final output. *Self-Correction during drafting:* Ensure I mention the specific version numbers (2.1.176, 2.1.178) as they indicate staged rollouts. *Refining Action Items:* Keep them actionable for a developer. "Review" is good. "Update" is good. (Proceed to generate output)
16:57 EST

🤖 AI Batch Analysis

### 总体概述 本次更新主要集中于 CLI 工具的稳定性修复与体验优化,特别是解决了 Linux/WSL2 平台上的关键 Bug。提示工程文档仅进行了微小的格式排版调整,内容无实质变化。 ### 关键主题 * **Linux/WSL2 平台修复**:重点修复了 Linux 下沙箱 glob 模式导致会话不可用、符号链接启动失败,以及 WSL2 终端中鼠标滚轮失效(回退)的问题。 * **连接与状态处理**:改进了连接中断时的错误处理(现在保留部分响应而非显示原始错误),并修复了远程会话中后台任务状态卡住的问题。 * **UI/UX 细节优化**:修复了欢迎页横幅堆叠、输入框焦点丢失、子代理查看等功能缺陷,提升了插件加载性能。 ### 影响等级:中等 **理由**:虽然主要是 Bug 修复,但其中几项(如 Linux 沙箱 glob 问题导致会话不可用、WSL2 滚动回退)属于严重影响开发体验的问题,修复后能显著提升工具的可用性。 ### 开发者行动项 * **立即升级**(特别是 Linux 用户):如果你在使用 Linux 环境并遇到 Bash 工具描述巨大或会话卡死的问题,升级至 2.1.179 可直接解决。 * **WSL2 用户验证**:如果你在更新到 2.1.172 后失去了鼠标滚动功能,请更新以恢复该功能。 * **检查符号链接配置**:如果你的 `.claude/skills` 或 `.claude/hooks` 使用了符号链接,升级后沙箱启动问题应该已解决。
💭 Model Reasoning
1. **Understand the Goal**: The user wants an analysis of documentation changes for a developer audience. The output needs to be in Chinese, concise, insightful, and in markdown format. I need to analyze two pages: `claude-prompting-best-practices.md` and `CHANGELOG.md.md`. 2. **Analyze the First Page (`claude-prompting-best-practices.md`)**: * **Change**: The diff shows simple whitespace/formatting changes. Lines that were broken into two lines were joined into single lines. Specifically, two examples in code blocks ("More effective" sections) had their text reflowed. * **Content**: "Create an analytics dashboard..." and "Your response will be read aloud...". * **Meaning**: This is a purely cosmetic/formatting change. No functional or instructional content changed. It improves readability or consistency in formatting. 3. **Analyze the Second Page (`CHANGELOG.md.md`)**: * **Version**: 2.1.179 and a note added to 2.1.178 (or just a new entry 2.1.179 plus some backfills/corrections? No, looking at the diff, `2.1.179` is a new section added at the top. Also, there is a line added under `2.1.178` context: `- Fixed Linux sandbox failing to start when .claude/skills or .claude/hooks is a symlink`). * **Key Fixes in 2.1.179**: * Connection drops: Preserve partial responses instead of raw error; fix stuck spinner. * Scrolling: Fixed WSL2 mouse-wheel regression. * Sandbox: Fixed `denyRead`/`allowRead` glob issue causing huge Bash tool descriptions/unusable sessions on Linux. * Survey: Fixed accidental single-digit rating capture. * UI: Fixed welcome screen banner stacking; fixed Ctrl+O subagent transcript; fixed focus on input click. * Remote sessions: Fixed background tasks showing "still running"; improved plugin loading performance. * **Key Fix added to 2.1.178**: * Linux sandbox: Fixed failing to start when config directories are symlinks. 4. **Synthesize Overall Themes**: * **Bug Fixes/Stability**: Heavy focus on fixing regressions (scrolling, connection handling) and specific platform issues (Linux sandbox, WSL2). * **User Experience (UX)**: Improving the interaction model (focus handling, partial response display, survey behavior). * **Linux/WSL2 Specifics**: Significant attention to non-Windows/macOS environments (symlinks, glob patterns, terminal scrolling). 5. **Determine Impact Level**: * Is it Breaking? No. * Is it High? The partial response preservation and Linux sandbox fixes (which made sessions unusable) are significant quality-of-life improvements, but they aren't API changes or major feature additions. * Is it Medium? Yes, mostly bug fixes and polish. * *Decision*: Medium. The Linux sandbox fix regarding "unusable sessions" is critical for affected users. 6. **Draft Action Items**: * Update to 2.1.179 if using Linux or WSL2 (solves major blockers). * Verify scroll behavior if you updated to 2.1.172 previously. * Check symlink configurations in `.claude/` directory. * None really regarding the prompt engineering doc changes (just formatting). 7. **Draft Response (in Chinese)**: * *Overall Summary*: 本次更新主要集中在 CLI 工具的 Bug 修复和稳定性提升,特别是针对 Linux/WSL2 环境的体验优化。提示工程文档仅进行了格式微调。 * *Key Themes*: * **Linux/WSL2 稳定性**: 修复了沙箱 glob 模式导致的不可用问题、符号链接启动失败以及 WSL2 鼠标滚轮回退。 * **连接与中断处理**: 改进连接中断时的部分响应保留机制,修复了 Spinner 卡顿和远程会话任务状态显示问题。 * **UI/UX 细节**: 修复了欢迎页横幅堆叠、子代理焦点、Ctrl+O 查看记录等交互问题。 * *Impact Level*: **Medium** (主要修复了导致会话不可用的严重 Bug 和体验回退,属于重要的维护性更新)。 * *Action Items*: * Linux 用户建议升级以解决 `denyRead`/`allowRead` glob 导致的会话卡死问题。 * WSL2 用户建议升级以恢复鼠标滚轮滚动功能。 * 检查 `.claude/skills` 或 `.claude/hooks` 是否为符号链接,升级后应可正常启动沙箱。 8. **Refine Output**: Ensure tone is professional ("world-class programmer"). Check markdown structure. * *Self-Correction during drafting*: The prompt engineering change is negligible. I should mention it briefly but focus on the Changelog. * *Refining Action Items*: Make them actionable. 9. **Final Polish (Chinese)**: * Summary: 本次更新主要集中在 CLI 工具的稳定性修复(特别是 Linux 和 WSL2 平台),提示工程文档仅涉及纯格式微调。 * Themes: Linux 环境修复、连接中断处理、UI/UX 细节。 * Impact: Medium。 * Actions: Update for Linux/WSL2, check symlinks. (Proceed to generate output based on these points.)

📚 Claude Code GitHub