Claude Managed Agents 权限策略现已包含 auto:服务器会评估每个 agent 或 MCP 工具调用,并执行、拒绝或暂停等待你的批准。agent.tool_use 和 agent.mcp_tool_use 事件会在 evaluation 字段中报告每个调用是如何被评估的,同时还有 evaluated_permission。参见让服务器通过 auto 评估每个调用。ant CLI 新增了 ant beta:sessions connect,可将你的终端连接到 Claude Managed Agents 会话。你可以实时跟踪会话、发送消息,并允许或拒绝正在等待批准的工具调用。传入 --web 可在本地提供 Claude Console 的会话查看器,并在那里打开会话。参见从你的终端连接到 Managed Agents 会话。
Claude Managed Agents permission policies now include auto: the server evaluates each agent or MCP tool call and runs it, denies it, or pauses for your approval. agent.tool_use and agent.mcp_tool_use events report how each call was evaluated in an evaluation field alongside evaluated_permission. See Let the server evaluate each call with auto. The ant CLI adds ant beta:sessions connect, which attaches your terminal to a Claude Managed Agents session. You can follow the session live, send messages, and allow or deny tool calls that are waiting for approval. Pass --web to serve the Claude Console's session viewer locally and open the session there instead. See Connect to a Managed Agents session from your terminal.
本文内容采集自官方网站,排版和翻译可能与原页面存在差异。
阅读官方全文