openclaw/runtime-process-scripts.generated.d.mts
Peter Steinberger 89e05eb8ed
fix: keep Gateway responsive during cold terminal startup (#200162)
* fix(process): keep cold Node discovery off the event loop

Await probe-file creation, child execution and joined cleanup from terminal and QA runtime callers. Share selection policy and the existing bounded cache with synchronous CLI and shipped SDK callers. Preserve generated bootstrap ownership and extend the main-thread filesystem regression guard.

* test: update runtime script fixtures for async materialization
2026-11-16 08:56:18 -08:00

23 lines
871 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;
export declare function createRuntimeProcessScriptFileAsync(
name: Parameters<typeof createRuntimeProcessScriptFile>[0],
options?: RuntimeProcessScriptFileOptions,
): Promise<{ url: URL; dispose(): Promise<void> }>;