UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

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