Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

chore: auto-save WIP via Claude stop-hook safety net (2026-07-10 18:07)

Ruben Lütke69bf0381d723
diff --git a/jarvis/ui/web/frontend/src/hooks/useProviders.ts b/jarvis/ui/web/frontend/src/hooks/useProviders.ts
index 48d5b9bd84..75fb1bd51f 100644
--- a/jarvis/ui/web/frontend/src/hooks/useProviders.ts
+++ b/jarvis/ui/web/frontend/src/hooks/useProviders.ts
@@ -266,6 +266,10 @@ export function useSectionHealth() {
} catch (error) {
if ((error as Error).name === "AbortError") return;
// best-effort — keep whatever we last had rather than clearing to nothing
+ } finally {
+ if (requestController.current === controller) {
+ requestController.current = null;
+ }
}
}, []);