fix(runtime): retain Inspector and Electron cleanup ownership

This commit is contained in:
morluto
2026-10-19 14:03:28 +08:00
parent 7f4e7d5577
commit 87ab054ea3
23 changed files with 1901 additions and 321 deletions
@@ -13,6 +13,8 @@ import type { Result } from "../../domain/result.js";
/** Provider-neutral boundary for passive Node/Electron Inspector observation. */
export interface JavaScriptRuntimeObservationPort {
/** Retry retained Inspector and associated file cleanup during shutdown. */
close?(): Promise<void>;
identity(): ProviderIdentity;
listTargets(
input: ListJavaScriptRuntimeTargetsInput,