UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

3 lines • 464 B
import{n as isAcpEnabledByPolicy}from"./policy-CIPOPPWo.mjs";import{n as isAcpRuntimeBackendHealthy,t as getAcpRuntimeBackend}from"./registry-Dg88GMl5.mjs"; //!src/acp/runtime/availability.ts function isAcpRuntimeSpawnAvailable(e){if(e.sandboxed===true)return false;if(e.config&&!isAcpEnabledByPolicy(e.config))return false;const t=getAcpRuntimeBackend(e.config?.acp?.backend);return t!==null&&isAcpRuntimeBackendHealthy(t)}export{isAcpRuntimeSpawnAvailable as t};