Files
openclaw/runtime-process-scripts.generated.d.mts
Peter Steinberger f7397050bd fix(sqlite): validate Bun libraries without JIT-only FFI (#183486)
* fix(sqlite): validate Bun libraries without JIT-only FFI

* fix(sqlite): keep probe bootstrap self-contained

* test(sqlite): preserve probe module exports

* fix(sqlite): isolate Bun library probes from project config

Run the bounded same-executable probe from its private directory with an empty Bun config and dotenv loading disabled. Resolve relative library candidates before changing the child working directory, and retain finally-owned cleanup.

A real Bun regression reproduces the inherited preload failure on the prior head and passes with this fix. Owner, parser, worker, and launcher tests pass; generated runtime copies are refreshed.
2026-10-25 11:24:35 +00:00

20 lines
651 B
TypeScript

// Generated by scripts/generate-runtime-script-assets.mjs; do not edit.
export type RuntimeProcessScriptFileOptions = {
/** An existing directory whose lifetime belongs to the caller. */
parentDirectory?: string;
};
export type RuntimeProcessScriptFile = {
url: URL;
/** Call only after the launched process and retained cleanup have settled. */
dispose(): void;
};
export declare function createRuntimeProcessScriptFile(
name:
| "bunSqliteLibraryProbe"
| "packageCliNodeProbe"
| "nodeRuntimeProbe"
| "daemonRuntimeProbe"
| "updateStateSizes",
options?: RuntimeProcessScriptFileOptions,
): RuntimeProcessScriptFile;