aegis-bridge 2.12.3 → 2.13.0
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 +1 -1
- package/package.json +1 -1
package/dist/session.js
CHANGED
|
@@ -765,7 +765,7 @@ export class SessionManager {
|
|
|
765
765
|
// This gives CC time to finish writing results before Aegis closes the session.
|
|
766
766
|
if (windowHealth.paneDead && session.status !== 'idle') {
|
|
767
767
|
const msSinceActivity = Date.now() - (session.lastActivity || session.createdAt);
|
|
768
|
-
const GRACE_PERIOD_MS =
|
|
768
|
+
const GRACE_PERIOD_MS = 15000; // 15 seconds — enough for CC to finish and write results
|
|
769
769
|
if (msSinceActivity < GRACE_PERIOD_MS) {
|
|
770
770
|
// Pane just died right after activity — likely CC is finishing up.
|
|
771
771
|
// Don't mark dead yet — give it 5 seconds to complete.
|