mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-26 10:13:27 +08:00
* 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.
20 lines
651 B
TypeScript
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;
|