The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): keep the app alive while a Browser pop-out is open
kshitijk4poord0c1bd206d6d
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.tsindex 3c145b37dd0..d7c8b779a2e 100644--- a/apps/desktop/electron/main.ts+++ b/apps/desktop/electron/main.ts@@ -19721,11 +19721,13 @@ function registerChatWindow(window: BrowserWindow) {// window-all-closed is blocked. Keyed on quitInProgress, not appQuitting:// an ordinary primary-window close sets appQuitting for overlay pop-in// suppression before `closed` fires, which must not suppress this quit.+ // Popped-out Browser windows (browserWindows registry) are user-visible+ // surfaces too, so they keep the app alive.if (shouldQuitOnLastChatClosed({platform: process.platform,isQuittingForHandoff,- remainingChatWindows: chatWindows.size,+ remainingChatWindows: chatWindows.size + browserWindows.size,quitInProgress})) {