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

Claude Code 2.1.85: Claude Code 2.1.85:扩展 Hook 条件与 MCP 授权处理

AgentLab 分析摘要

Hook 增加基于权限规则的条件筛选,PreToolUse Hook 也能通过 `updatedInput` 回答 `AskUserQuestion`;这让 Hook 可按规则减少进程启动,并支持由集成方 UI 收集回答。MCP 增加服务器身份环境变量与 RFC 9728 授权服务器发现,同时修正组织策略屏蔽 Plugin、拒绝 MCP 服务器及 step-up 授权的处理。发布说明未附实现代码路径;Runtime Prompt 只改了版本标识,未见 Tool Schema 变化。

分析与证据

分析已完成

AgentLab · claude-code 2.1.85

来源:AgentLab · agentlab.dairui1.com