@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 951 B
TypeScript
export declare function appendDebugLogEntry(header: string, text: string): void;
export declare function appendHiddenTuiStdout(text: string): void;
/**
* Record a fatal uncaught crash in the brand debug log.
*
* The interactive crash handler restores the real stderr and prints its banner to
* the terminal, so without this the only record of a crash is terminal scrollback —
* useless once the terminal is closed, and doubly so when the crash is itself an
* stderr/terminal failure. Callers must invoke this BEFORE the terminal handoff and
* must swallow any failure: writing telemetry may never alter the crash path.
*/
export declare function appendUncaughtCrashLog(origin: string, error: unknown): void;
/** Record a promise rejection nobody handled; the session keeps running, so this entry is its only trace. */
export declare function appendUnhandledRejectionLog(reason: unknown): void;
//# sourceMappingURL=hidden-stdout-log.d.ts.map