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 20:31)
Ruben Lütke83435f4ac61f
diff --git a/README.md b/README.mdindex df3107acf6..f3ce6b01c0 100644--- a/README.md+++ b/README.md@@ -17,18 +17,18 @@</p><!--- TODO(demo): swap the placeholder below for the real demo. Two README-safe options:- 1) Drop a looping demo GIF at assets/demo/hero-demo.gif (keep it under ~10 MB so- GitHub renders it inline) and point the <img src> at that file.- 2) For an MP4 with sound, upload the file to a GitHub Release or issue, then paste- the github user-images video URL GitHub gives you in place of this whole <a>…</a>.- Either way, keep width≈820 and the alt text so the layout stays put.+ Demo video is hosted as a GitHub Release asset (tag: media), on purpose NOT committed+ to the source tree — cloning the repo never downloads it; GitHub streams it inline.+ Refresh it with:+ gh release upload media <new.mp4> --repo PersonalJarvis/PersonalJarvis --clobber-->-<p align="center">- <a href="https://github.com/PersonalJarvis/PersonalJarvis#readme">- <img src="assets/demo/demo-placeholder.svg" alt="Personal Jarvis — watch the demo" width="820" />- </a>-</p>+<div align="center">+ <video+ src="https://github.com/PersonalJarvis/PersonalJarvis/releases/download/media/personal-jarvis-onboarding-4K.mp4"+ controls muted playsinline width="820">+ <a href="https://github.com/PersonalJarvis/PersonalJarvis/releases/download/media/personal-jarvis-onboarding-4K.mp4">Watch the Personal Jarvis demo</a>+ </video>+</div>---diff --git a/docs/BUGS.md b/docs/BUGS.mdindex 946a331ba2..bb434b6d27 100644--- a/docs/BUGS.md+++ b/docs/BUGS.md@@ -2824,3 +2824,30 @@ batched type run; re-checked type verdict), `tests/unit/cu/test_conventions_ledger_verify.py` (container trap, focused-editableevidence), `tests/unit/vision/test_screen_bounds_virtual_desktop.py`(secondary-monitor tree survives; per-OS bounds helpers).++**Review hardening (same day, three-agent adversarial/macOS/Linux review):**+(1) the rescue's container deny-list was extended with List/Table/Toolbar/+MenuBar-class roles across all three vocabularies plus the AT-SPI+document-canvas family, and an area cap (`_FOCUS_MAX_AREA_FRACTION`) rejects+focus evidence from region-sized elements — a false rescue would also have+skipped the zoom-refine retry; (2) the Linux rescue was structurally INERT:+the AT-SPI point hit-test queried Application objects (which do not+implement Component — it now descends into their frames) and the AT-SPI+flatten never populated `focused`/`is_password` (now read from+STATE_FOCUSED / ROLE_PASSWORD_TEXT and passed through to the nodes);+(3) the macOS point resolver stringified the `AXWindow` ELEMENT into+`window_title` (an `<AXUIElementRef …>` repr fed to the model) — it now+resolves the window's `AXTitle`; (4) `virtual_desktop_bounds` no longer+flips process DPI awareness from a read-only getter (thread-scoped pin,+restored — AP-9 class); (5) `settle_scale=0` is honored instead of being+`or`-coerced to 1.0. Done-latency fixes from the same complaint: the+done-judge reuses the perception frame when no batch action executed (the+model's claimed evidence IS the current screen — faster AND more faithful),+judge replies stop at the first complete JSON, and a discarded VAD false+start now releases the announcement floor (a 96 ms mic blip had deferred+the spoken "done" by 31 s). Known accepted residuals (documented, all+degrade safely): the Windows hit-test may be flaky across COM apartments+(misses a rescue, never fakes one); a successful type into a value-less+rich editor can still read as "did not land"; legacy Zaphod X11 multihead+under-reports the virtual bounds; Linux foreground-follow costs ~6 xdotool+spawns per perceive frame.diff --git a/jarvis/brain/model_catalog.py b/jarvis/brain/model_catalog.pyindex 6d9878f17a..8b58c2aa69 100644--- a/jarvis/brain/model_catalog.py+++ b/jarvis/brain/model_catalog.py@@ -181,6 +181,23 @@ TTS_CATALOG: dict[str, tuple[str, list[ModelInfo]]] = {"de-DE-Neural2-B", "de-DE-Neural2-C", "de-DE-Neural2-D", "de-DE-Neural2-F",])),"cartesia": ("model", _ids(["sonic-3.5", "sonic-2", "sonic-turbo"])),+ # OpenRouter TTS — the model picker offers ONLY speech-synthesis models.+ # This curated snapshot mirrors the live `?output_modalities=speech` list+ # (verified 2026-07-02); music (Lyria) and audio-chat models are excluded.+ # The user picks a MODEL here; the per-model voice list comes from the built+ # provider's list_voices() (each model ships its own supported_voices). The+ # default model (google/gemini-3.1-flash-tts-preview) is listed first.+ "openrouter-tts": ("model", _ids([+ "google/gemini-3.1-flash-tts-preview",+ "hexgrad/kokoro-82m",+ "x-ai/grok-voice-tts-1.0",+ "mistralai/voxtral-mini-tts-2603",+ "microsoft/mai-voice-2",+ "sesame/csm-1b",+ "canopylabs/orpheus-3b-0.1-ft",+ "zyphra/zonos-v0.1-transformer",+ "zyphra/zonos-v0.1-hybrid",+ ])),}# STT model catalogs (the ``[stt] model`` is a single global value).@@ -191,6 +208,22 @@ STT_CATALOG: dict[str, list[ModelInfo]] = {]),"openai-api": _ids(["gpt-4o-transcribe", "gpt-4o-mini-transcribe", "whisper-1"]),"deepgram": _ids(["nova-3", "nova-2", "nova-2-general", "enhanced", "base"]),+ # OpenRouter STT — the model picker offers ONLY transcription models. This+ # curated snapshot mirrors the live `?output_modalities=transcription` list+ # (verified 2026-07-02); audio-in chat models are excluded. The default+ # model (openai/whisper-large-v3) is listed first.+ "openrouter-stt": _ids([+ "openai/whisper-large-v3",+ "openai/gpt-4o-transcribe",+ "openai/gpt-4o-mini-transcribe",+ "openai/whisper-1",+ "openai/whisper-large-v3-turbo",+ "google/chirp-3",+ "mistralai/voxtral-mini-transcribe",+ "qwen/qwen3-asr-flash-2026-02-10",+ "nvidia/parakeet-tdt-0.6b-v3",+ "microsoft/mai-transcribe-1.5",+ ]),}diff --git a/jarvis/ui/web/provider_spec.py b/jarvis/ui/web/provider_spec.pyindex c1e39903d4..7e42b6cec0 100644--- a/jarvis/ui/web/provider_spec.py+++ b/jarvis/ui/web/provider_spec.py@@ -277,6 +277,21 @@ PROVIDERS: tuple[ProviderSpec, ...] = ("multilingual Sonic voices incl. German."),),+ ProviderSpec(+ id="openrouter-tts",+ label="OpenRouter (TTS)",+ tier="tts",+ auth_mode="api_key",+ secret_keys=("openrouter_api_key",),+ dashboard_url="https://openrouter.ai/keys",+ credential_help=(+ "Same OpenRouter API key as the OpenRouter brain (starts with "+ "sk-or-) — no extra key needed. One key reaches many text-to-speech "+ "models (Gemini Flash TTS, Grok Voice, MAI-Voice, Voxtral, Kokoro). "+ "The model picker shows ONLY speech models; each model has its own "+ "voice list. Billed per token on your OpenRouter account."+ ),+ ),# ── STT ───────────────────────────────────────────────────────────────ProviderSpec(id="groq-api",@@ -302,6 +317,19 @@ PROVIDERS: tuple[ProviderSpec, ...] = ("speech-to-text."),),+ ProviderSpec(+ id="openrouter-stt",+ label="OpenRouter (STT)",+ tier="stt",+ auth_mode="api_key",+ secret_keys=("openrouter_api_key",),+ dashboard_url="https://openrouter.ai/keys",+ credential_help=(+ "Uses your OpenRouter API key (shared with the OpenRouter brain — "+ "no second key needed) for cloud transcription. The model picker "+ "lists only transcription-capable models."+ ),+ ),ProviderSpec(id="faster-whisper",label="Faster-Whisper (lokal)",diff --git a/pyproject.toml b/pyproject.tomlindex f5e99091c3..01687b1d3d 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -240,6 +240,8 @@ openwakeword = "jarvis.plugins.wake.openwakeword_provider:OpenWakeWordProvider"[project.entry-points."jarvis.stt"]groq-api = "jarvis.plugins.stt.groq_api:GroqWhisperAPI"+# OpenRouter cloud transcription — reuses the shared openrouter_api_key.+openrouter-stt = "jarvis.plugins.stt.openrouter_stt:OpenRouterSTT"[project.entry-points."jarvis.tts"]elevenlabs = "jarvis.plugins.tts.elevenlabs_tts:ElevenLabsTTS"@@ -247,6 +249,8 @@ gemini-flash-tts = "jarvis.plugins.tts.gemini_flash_tts:GeminiFlashTTS"grok-voice = "jarvis.plugins.tts.grok_voice_tts:GrokVoiceTTS"# Phase L.4 — Streaming-TTS mit niedriger TTFB.cartesia = "jarvis.plugins.tts.cartesia_tts:CartesiaTTS"+# OpenRouter cloud speech synthesis — reuses the shared openrouter_api_key.+openrouter-tts = "jarvis.plugins.tts.openrouter_tts:OpenRouterTTS"[project.entry-points."jarvis.brain"]claude-api = "jarvis.plugins.brain.claude_api:ClaudeAPIBrain"diff --git a/tests/unit/cu/test_conventions_ledger_verify.py b/tests/unit/cu/test_conventions_ledger_verify.pyindex a810d745b5..cc087f53c2 100644--- a/tests/unit/cu/test_conventions_ledger_verify.py+++ b/tests/unit/cu/test_conventions_ledger_verify.py@@ -176,6 +176,15 @@ def _node(**kw):return SimpleNamespace(**defaults)+def test_crop_raw_aspect_mismatch_returns_cannot_tell():+ # A grab whose pixel size does not match the rect's aspect is not a grab+ # OF that rect (window resized between select and grab) — crop_raw must+ # answer None ("cannot tell"), never crop at a wrong scale.+ raw = ((200, 100), bytes(200 * 100 * 3)) # 2:1 grab+ rect = (0, 0, 100, 100) # 1:1 rect+ assert crop_raw(raw, rect, 50, 50, 10) is None++def test_typed_text_landed_tristate():# A value match is positive evidence regardless of focus.nodes = (_node(value="https://example.com"),)diff --git a/tests/unit/cu/test_engine_loop.py b/tests/unit/cu/test_engine_loop.pyindex 68a02c80cc..d8ae400c7f 100644--- a/tests/unit/cu/test_engine_loop.py+++ b/tests/unit/cu/test_engine_loop.py@@ -125,7 +125,7 @@ def patched(monkeypatch, tmp_path):return state.typed_lands.pop(0) if state.typed_lands else Nonereturn state.typed_lands- async def fake_verify_click_focus_point(x, y):+ async def fake_verify_click_focus_point(x, y, **kwargs):return state.focus_hitmonkeypatch.setattr(diff --git a/tests/unit/vision/test_atspi_tree.py b/tests/unit/vision/test_atspi_tree.pyindex 8329efba79..0767788d12 100644--- a/tests/unit/vision/test_atspi_tree.py+++ b/tests/unit/vision/test_atspi_tree.py@@ -65,6 +65,45 @@ async def test_flatten_and_role_normalization() -> None:assert all(r in {"Button", "Edit", "Hyperlink", "CheckBox", "Text"} for r in interesting)+async def test_focused_and_password_states_reach_the_nodes() -> None:+ """Linux focus/secure-edit evidence (2026-07-02 review finding): the+ flatten never populated ``focused``/``is_password``, silently disabling+ the click-rescue, focus verification, and password handoff on Linux."""+ tree = FakeAtspiAccessible(+ role_token="ROLE_FRAME",+ name="win",+ extents=(0, 0, 1200, 800),+ states={"STATE_ACTIVE", "STATE_ENABLED"},+ children=[+ FakeAtspiAccessible(+ role_token="ROLE_ENTRY",+ name="url",+ extents=(10, 10, 600, 30),+ states={"STATE_ENABLED", "STATE_FOCUSED"},+ text="https://example.com",+ ),+ FakeAtspiAccessible(+ role_token="ROLE_PASSWORD_TEXT",+ name="pass",+ extents=(10, 50, 600, 30),+ states={"STATE_ENABLED"},+ ),+ ],+ )+ src = AtspiTreeSource(+ traverser=build_fake_atspi_traverser(tree, window_title="win"),+ bus_check=lambda: True,+ monitor_bounds=(0, 0, 1920, 1080),+ )+ obs = await src.observe()+ by_name = {n.name: n for n in obs.nodes}+ assert by_name["url"].focused is True+ assert by_name["url"].is_password is False+ assert by_name["pass"].is_password is True+ assert by_name["pass"].focused is False++@pytest.mark.asyncioasync def test_entry_bounds_and_enabled() -> None:traverser = build_fake_atspi_traverser(make_canned_atspi_tree())