UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

15 lines • 901 B
type CrashOrigin = "uncaughtException" | "unhandledRejection"; /** * The runner's stale guard throws before a retired generation's operation runs, so the live session * must keep running: log the stack (it names the extension to fix) and stop there (oh-my-openagent#7114). */ export declare function containStaleExtensionError(error: unknown, origin: CrashOrigin): boolean; /** * Print, RPC and host processes have no crash handler of their own. This contains only the stale-ctx * error and keeps every other uncaught throw fatal, exactly like the runtime default. It adds no * `unhandledRejection` listener: that would change the default routing of every rejection, including * the Inspector rejection the early seam recovers through `uncaughtException`. */ export declare function installStaleExtensionContainment(): void; export {}; //# sourceMappingURL=stale-extension-containment.d.ts.map