UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

15 lines (14 loc) 735 B
import { n as normalizeAgentId } from "./agent-id-CeT3w4ap.js"; import "./session-key-BnWWjqNc.js"; import { r as assertSecretOwnerAvailable } from "./runtime-degraded-state-D5EZZ925.js"; //#region src/secrets/runtime-sandbox-secret-owner.ts /** Runtime owner for one agent's SSH sandbox credentials. */ function runtimeSandboxSecretOwnerId(agentId) { return `agent-sandbox:${normalizeAgentId(agentId)}`; } /** Rejects one agent's SSH sandbox when its runtime credentials are cold. */ function assertRuntimeSandboxSecretOwnerAvailable(agentId) { assertSecretOwnerAvailable("capability", runtimeSandboxSecretOwnerId(agentId)); } //#endregion export { runtimeSandboxSecretOwnerId as n, assertRuntimeSandboxSecretOwnerAvailable as t };