aegis-bridge 2.12.1 → 2.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/session.js +4 -2
- package/package.json +1 -1
package/dist/session.js
CHANGED
|
@@ -759,8 +759,10 @@ export class SessionManager {
|
|
|
759
759
|
const windowHealth = await this.tmux.getWindowHealth(session.windowId);
|
|
760
760
|
if (!windowHealth.windowExists)
|
|
761
761
|
return false;
|
|
762
|
-
// Pane exit is a
|
|
763
|
-
|
|
762
|
+
// Pane exit is a crash signal ONLY if the session was actively working (not idle).
|
|
763
|
+
// Normal CC exit after prompt → session goes idle first, paneDead is expected.
|
|
764
|
+
// CC crash mid-processing → session still working, paneDead means crash.
|
|
765
|
+
if (windowHealth.paneDead && session.status !== 'idle')
|
|
764
766
|
return false;
|
|
765
767
|
// Verify the process inside the pane is still alive
|
|
766
768
|
const panePid = await this.tmux.listPanePid(session.windowId);
|