fix(coding-agent): fire session shutdown on TERM and HUP closes #3212

This commit is contained in:
Mario Zechner
2026-04-15 16:36:30 +02:00
parent 3a13fa80c8
commit 5d440b055c
6 changed files with 92 additions and 7 deletions

View File

@@ -479,7 +479,7 @@ export interface SessionCompactEvent {
fromExtension: boolean;
}
/** Fired on process exit */
/** Fired on graceful process shutdown paths such as Ctrl+C, Ctrl+D, SIGHUP, and SIGTERM. */
export interface SessionShutdownEvent {
type: "session_shutdown";
}