跳到正文
AgentLab·· 2026-01-14

Claude Code 2.1.7: Claude Code 2.1.7:收紧 Explore/Plan 权限并调整工具发现与执行可靠性

AgentLab 分析摘要

Explore 与 Plan 的 Tool Definition 明确排除 Task、ExitPlanMode、Edit、Write、NotebookEdit,限制这两类 Subagent 直接派生任务、结束 Plan Mode 和编辑文件;MCP Tool 描述超过 Context 10% 时默认延迟加载并通过 MCPSearch 发现,以减少启动时占用。发布说明还记录了复合 shell 命令权限匹配、流式执行中的 orphaned tool_result、有效 Context window 计算等修复,涉及权限判断与执行状态处理。Runtime Prompt 只直接证明 Explore/Plan 的工具范围收窄;MCP 搜索和其他修复来自官方发布说明。

分析与证据

分析已完成

AgentLab · claude-code 2.1.7

来源:AgentLab · agentlab.dairui1.com