UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

9 lines (8 loc) 401 B
import { a as loadExecApprovalsReadOnly } from "./exec-approvals-store-DBR0neS0.js"; //#region src/infra/exec-approvals-mcp.ts /** Snapshot exact-agent grants at thread/registration preparation, never on tool calls. */ function loadMcpToolGrants(agentId) { return agentId === "*" ? [] : loadExecApprovalsReadOnly().agents?.[agentId]?.mcpTools ?? []; } //#endregion export { loadMcpToolGrants as t };