UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 439 B
import{R as e,m as t,t as n}from"./fs-safe-copy.worker-sqlite-snapshot-staging-owner-BB9Ddai8.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};