Files
openclaw/cli-parent-lifetime.d.mts
Peter Steinberger 71fac53596 fix: preserve standalone CLI commands across startup respawns (#174545)
* fix: preserve standalone CLI commands across startup respawns

Resolve launcher-bound runtime arguments at the CLI invocation owner. Consume a one-child parent PID signal in compiled runtimes while preserving the loose preload and detached worker lifetimes.

* test: keep respawn transport guard independent of local names

* test: include respawn owner dependencies in CLI fixtures
2026-10-16 12:34:54 -07:00

6 lines
266 B
TypeScript

export const CLI_PARENT_BOUND_PRELOAD: string;
export const CLI_RESPAWN_PARENT_ENV: string;
export function getCliParentPid(): number | undefined;
export function requestCliParentTermination(signal?: () => void): void;
export function watchCliRespawnParent(): void;