UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 430 B
import{K as e,T as t,p as n}from"./transcript-sqlite-table-layout-migration-6FYoXQ_h.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};