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:09)

Ruben Lütke16a229b2d236
diff --git a/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx b/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx
index d8ff070c40..504267f20c 100644
--- a/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx
@@ -963,6 +963,11 @@ function ProviderCard({
pushToast("error", (e as Error).message);
// Roll the optimistic highlight back to the true active provider.
onChanged();
+ window.dispatchEvent(
+ new CustomEvent("jarvis:provider-switch-failed", {
+ detail: { section: descriptor.tier, provider: descriptor.id },
+ }),
+ );
} finally {
setActivating(false);
}