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.
Files changed (2) hide show
  1. package/dist/session.js +4 -2
  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 direct crash signal when remain-on-exit keeps dead panes visible.
763
- if (windowHealth.paneDead)
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aegis-bridge",
3
- "version": "2.12.1",
3
+ "version": "2.12.2",
4
4
  "type": "module",
5
5
  "description": "Orchestrate Claude Code sessions via API. Create, brief, monitor, refine, ship.",
6
6
  "main": "dist/server.js",