54fc313e10
Frontend CI / Frontend (push) Successful in 2m18s
- Track each window's renderer mode in a WeakMap (and fall back to parsing ?window= from the URL) so retireInactiveAppWindows can destroy stale login/main/settings windows when we switch modes, not just the previous one of the canonical pair. - Replace closeWindowAfterIpcReturn with retireWindowAfterIpcReturn (hides immediately, then destroys instead of close()) so the IPC reply still reaches the caller before teardown. - Add waitForWindowReady() with a 1.2s ceiling and call it from revealWindow so we don't show a half-loaded shell while switchWindowMode is running. Pass the source window from the IPC event into switchWindowMode so the closing target is the actual caller, not a guess based on mode. - Silence console.* and skip the observed-fetch install in packaged runtime, and only auto-openDevTools in dev. - Eagerly import LoginView in App.vue instead of defineAsyncComponent to remove the boot flash on the login window. - package.json: prefix package:* with `pnpm run build` and add package:win and package:linux for parity. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>