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

Ruben Lütkef02a36ff09aa
diff --git a/jarvis/cu/engine.py b/jarvis/cu/engine.py
index b6c506ebd2..c3bbe20368 100644
--- a/jarvis/cu/engine.py
+++ b/jarvis/cu/engine.py
@@ -318,7 +318,7 @@ async def _judge_done(
ctx: Any,
goal: str,
monitor: MonitorInfo,
- image_cfg: dict[str, Any],
+ image_cfg: "_ImageCfg",
output_language: str | None,
) -> tuple[bool, str]:
"""Strict completion judge against a FRESH stable frame."""
@@ -327,8 +327,8 @@ async def _judge_done(
asyncio.to_thread(
capture_stable_frame,
monitor,
- max_dimension=image_cfg["max_dimension"],
- blob_dir=image_cfg["blob_dir"],
+ max_dimension=image_cfg.max_dimension,
+ blob_dir=image_cfg.blob_dir,
),
timeout=_OBSERVE_TIMEOUT_S,
)