UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 719 B
import{i as e}from"./transcript-global-singleton-DIJgobpU.mjs";import{t}from"./transcript-detached-async-context-BKXaSw-L.mjs";const n=e(Symbol.for(`openclaw.gatewayNativeWorkerRecovery`),()=>({})),reportGatewayRuntimeRecoveryOnly=e=>({status:`report-only`,reason:`Automatic runtime recovery is report-only: ${e}`});function requestGatewayNativeWorkerRecovery(e){let r=n.request;return r?t(()=>Promise.resolve().then(()=>r(e)).catch(()=>reportGatewayRuntimeRecoveryOnly(`service or restart preparation failed. Inspect the native worker and restart through the service owner.`))):Promise.resolve(reportGatewayRuntimeRecoveryOnly(`no Gateway process lifecycle owns recovery.`))}export{requestGatewayNativeWorkerRecovery};