From 2de548c124046ae7d8b8c16ada14b2a240bb536e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 17 Jul 2026 18:55:10 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge --- apps/desktop/src/store/session-states.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/desktop/src/store/session-states.ts b/apps/desktop/src/store/session-states.ts index 12a515509fe8..abe42c29a6de 100644 --- a/apps/desktop/src/store/session-states.ts +++ b/apps/desktop/src/store/session-states.ts @@ -61,6 +61,7 @@ function armWatchdog(runtimeId: string) { if (existing) { clearTimeout(existing) } + sessionWatchdogTimers.set( runtimeId, setTimeout(() => { @@ -113,6 +114,7 @@ function handleTransition(previous: ClientSessionState | null, next: ClientSessi if (runtimeId === $activeSessionId.get()) { setActiveSessionStoredId(next.storedSessionId) } + clearSettled(previous.storedSessionId) } @@ -128,6 +130,7 @@ function handleTransition(previous: ClientSessionState | null, next: ClientSessi if (!storedId) { return } + const wasWorking = previous?.busy ?? false if (next.busy && !wasWorking) {