🤖 AI Batch Analysis
## 文档变更批量分析
### 1. 总体概述
本次更新主要清理了大量过时的版本历史备注("Before v2.1.xxx"),统一了设置界面的导航路径以适配 UI 重命名("Settings > Claude Code" → "Settings > Code or Settings > Claude Code"),并补充了云会话 diff 视图排障、沙箱中 git clone 路径限制、子代理模型参数约束等新内容。
### 2. 关键主题
- **版本历史清理**:移除了大量已过时的 "Before v2.1.xxx" 版本限制说明(涉及 v2.1.216~v2.1.219 时期),这些功能已成为基线,无需再标注最低版本要求
- **设置 UI 路径更新**:桌面应用和 Web 端的设置入口从 "Claude Code" 重命名为 "Code",文档统一标注两种路径以兼容不同版本
- **云会话 diff 视图排障**:新增章节说明 diff 视图中文件缺失的原因及解决方法(需 commit + push)
- **子代理模型调用约束**:明确 Agent tool call 只能传模型别名(`sonnet`/`opus`/`haiku`/`fable`),不能传完整模型 ID 或 `inherit`
- **沙箱路径限制**:`git clone` 排除命令不支持绝对路径、`~` 路径或含 `..` 的路径,需使用相对路径
- **SDK 版本更新**:ant CLI 升级至 2.4.0,Go SDK 升级至 2.4.0
- **排版规范**:大量直引号替换为弯引号等排版微调
### 3. 影响等级:**Low**
大部分变更是文档清理和排版修正,不涉及 API 或行为变更。子代理模型参数约束和沙箱 git clone 路径限制是新增的行为说明,但属于补充文档而非引入新限制。设置路径更新是 UI 层面的调整,对开发者工作流影响有限。
### 4. 开发者行动项
- **更新设置导航习惯**:桌面应用中查找 Claude Code 设置时,注意新版可能显示为 "Settings > Code" 而非 "Settings > Claude Code"
- **注意子代理模型调用限制**:通过 Agent tool call 指定模型时,只使用别名(`sonnet`/`opus`/`haiku`/`fable`),不要传完整模型 ID
- **沙箱中 git clone 使用相对路径**:若配置了 `sandbox.excludedCommands` 排除 `git clone`,确保 clone 目标使用相对路径(如 `vendor/lib`),避免绝对路径或 `..` 段
- **云会话 diff 缺失文件时**:若 diff 视图缺少预期文件,让 Claude commit 并 push 后即可显示
- **升级 SDK**:如使用 ant CLI 或 Go SDK,可升级至 2.4.0
💭 Model Reasoning
Let me analyze the batch of documentation changes across 69 pages.
The changes fall into several categories:
1. **Version history cleanup** - Many "Before v2.1.xxx" notes are being removed or relocated. These were historical version-specific notes that are no longer relevant as the features have become baseline.
2. **Settings UI path changes** - Multiple pages update references from "Settings > Claude Code" to "Settings > Code or Settings > Claude Code", reflecting a UI reorganization where the settings section was renamed.
3. **Model version history simplification** - The Amazon Bedrock and Google Vertex pages move the "Before v2.1.280" historical note to a different location and remove the older "v2.1.207 through v2.1.218" Opus 4.8 history.
4. **New troubleshooting content** - A new section about troubleshooting missing files in the diff view for cloud sessions.
5. **Minor content improvements** - Skills/slash-commands docs consolidate boolean field info, remove version requirements that are now baseline, clarify subagent model parameter restrictions.
6. **SDK version bumps** - ant CLI updated to 2.4.0, Go SDK updated to 2.4.0.
7. **Punctuation/style changes** - Many straight quotes changed to curly quotes (typographical improvements), minor wording tweaks.
8. **MCP documentation restructuring** - Connection failure details reorganized with new subsection header, version requirements removed.
9. **Sandboxing clarification** - Added note about git clone needing relative paths for sandbox excluded commands.
10. **Sub-agent model parameter restriction** - New note that Agent tool calls can only pass model aliases (sonnet, opus, haiku, fable), not full model IDs or "inherit".
Let me organize this into the requested format.