UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 771 B
import{t as e}from"./openclaw-state-read-cli-invocation-fIA_-Tg7.mjs";import{v as t}from"./openclaw-state-read-home-dir-BQZX1pD2.mjs";import"./openclaw-state-read-src-BpoB6DKe.mjs";import"./openclaw-state-read-sqlite-worker-request-class-Coonj2Xz.mjs";import"./openclaw-state-read-subsystem-DSi0tJn8.mjs";import{AsyncLocalStorage as n}from"node:async_hooks";const r=t(Symbol.for(`openclaw.runtimeWorkerGeneration`),()=>new n);function resolveRuntimeWorkerGenerationUrl(t,n){return e(t.href)?t:n?.resolve(t)??t}function captureRuntimeWorkerSource(e){let t=r.getStore()?.generation,n=resolveRuntimeWorkerGenerationUrl(e,t);return n.href===e.href?{moduleUrl:e}:{moduleUrl:n,runtimeGeneration:t}}export{resolveRuntimeWorkerGenerationUrl as n,captureRuntimeWorkerSource as t};