跳到正文
AgentLab·· 2026-03-17

Claude Code 2.1.77: Claude Code 2.1.77:收紧权限判定并修复恢复与 Agent 控制流

AgentLab 分析摘要

PreToolUse Hook 返回 `allow` 不再绕过 `deny` 规则;源码差异还显示 Agent Tool 移除了 `resume` 参数,并将继续已启动 Agent 的契约转向 `SendMessage({to: agentId})`。官方说明称 SendMessage 会在后台自动恢复已停止的 Agent,同时修复 `--resume` 的对话历史截断与恢复后清理误删 worktree,降低权限绕过和 Session 恢复状态损坏的风险。Runtime Prompt 与 Tool Schema 的相邻比较显示 Agent Tool 有修改,未见工具增删;Static Prompt 无可用比较。

分析与证据

分析已完成

AgentLab · claude-code 2.1.77

来源:AgentLab · agentlab.dairui1.com