UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 487 B
import{V as e,t}from"./transcript-sqlite-readonly-worker-cXU3LbpW.mjs";import{t as n}from"./transcript-sqlite-snapshot-staging-owner-B-Am-HqY.mjs";import r from"node:path";async function allocateWorkerOwnedSqliteSnapshotDirectory(i,a,o){let s=r.resolve(i),{env:c,cwd:l}=t(),u=n(),d=u.start({type:`allocate`,root:s,allowLegacyWorker:a,launch:{env:c,cwd:l,transport:{kind:`native`}}},o),f=await e(d);return u.retainDirectory(f.directory)}export{allocateWorkerOwnedSqliteSnapshotDirectory};