@latchagent/openclaw-latch-guard
v0.1.0
Published
OpenClaw plugin that enforces Latch authorization before tool execution.
Maintainers
Readme
@latchagent/openclaw-latch-guard
OpenClaw plugin that enforces Latch Cloud decisions before native tool execution.
Install
openclaw plugins install @latchagent/openclaw-latch-guard
openclaw plugins enable openclaw-latch-guardConfigure
openclaw config set plugins.entries.openclaw-latch-guard.config.baseUrl "https://your-latch-url.com"
openclaw config set plugins.entries.openclaw-latch-guard.config.workspaceId "ws_xxx"
openclaw config set plugins.entries.openclaw-latch-guard.config.upstreamId "upstream_xxx"
openclaw config set plugins.entries.openclaw-latch-guard.config.agentKey "sk-latch-xxx"
openclaw config set plugins.entries.openclaw-latch-guard.config.waitForApproval true --json
openclaw config set plugins.entries.openclaw-latch-guard.config.approvalTimeoutSeconds 600 --json
openclaw config set plugins.entries.openclaw-latch-guard.config.failClosed true --json
openclaw gateway restartConfig Options
mode:monitororenforce(defaultenforce)baseUrl: Latch Cloud base URLworkspaceId: Workspace IDupstreamId: Connector ID used asupstream_idagentKey: Agent keywaitForApproval: poll approval status when neededapprovalTimeoutSeconds: max wait when polling approvalsfailClosed: block if Latch is unreachablelogFile: optional plugin log path
