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.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
chore: auto-save WIP via Claude stop-hook safety net (2026-07-02 09:42)
Ruben Lütke0c9abc9872b1
diff --git a/jarvis/cu/engine.py b/jarvis/cu/engine.pyindex c3bbe20368..0db6e4eb26 100644--- a/jarvis/cu/engine.py+++ b/jarvis/cu/engine.py@@ -38,6 +38,7 @@ import loggingimport sysimport timefrom collections.abc import AsyncIterator+from dataclasses import dataclassfrom pathlib import Pathfrom typing import Any@@ -191,6 +192,14 @@ def _is_cancelled(token: CancelToken | None) -> bool:return False+@dataclass(frozen=True)+class _ImageCfg:+ """Frame-encoding knobs shared by perception and the done-judge."""++ max_dimension: int+ blob_dir: Path++class _Profiler:"""Per-mission phase wall-time accumulator + CUStepProfiled emitter."""@@ -406,10 +415,10 @@ async def run_cu_loop(coordinate_space = str(getattr(ctx, "coordinate_space", "auto") or "auto")settle_scale = float(getattr(ctx, "settle_scale", 1.0) or 1.0)strict_verify = bool(getattr(ctx, "strict_verify", True))- image_cfg = {- "max_dimension": int(getattr(ctx, "image_max_dimension", 1366) or 1366),- "blob_dir": Path("data") / "flight_recorder" / "blobs",- }+ image_cfg = _ImageCfg(+ max_dimension=int(getattr(ctx, "image_max_dimension", 1366) or 1366),+ blob_dir=Path("data") / "flight_recorder" / "blobs",+ )consecutive_failures = 0llm_failures = 0@@ -435,8 +444,8 @@ async def run_cu_loop(frame_coro = 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,)snapshot_coro = foreground_ui_snapshot()frame, (labels, field_hint, handoff) = await asyncio.wait_for(