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
test(realtime): local provider contract + docs parity
rubenluetke10-beepf50d5f3ca2b9
diff --git a/docs/os-parity.md b/docs/os-parity.mdindex e4d9d388b4..3d7c60a6ba 100644--- a/docs/os-parity.md+++ b/docs/os-parity.md@@ -208,7 +208,7 @@ experiences today.| P-23 | Info | Coding-CLI panes | Kimi Code's alternate screen cannot be disabled (an open upstream request notes it is the outlier versus Claude Code, Codex and the Gemini CLI), so it may conflict with the pane's own scrollback the way a Claude Code pane once did | Upstream issue; `jarvis/agentic_ide/screen.py` | All OSes equally — not an OS gap, recorded here because it is the same class of pane defect and is expected to need the same kind of fix || P-27 | Low | Mouse-button shortcuts | A shortcut may now be a MOUSE BUTTON (middle, and the two side buttons — `mouse_middle` / `mouse_x1` / `mouse_x2`). All three OSes are implemented in the same change and share one token vocabulary, but the delivery is not uniform: Windows needs nothing extra (the backend polls `GetAsyncKeyState`, which reports mouse buttons); macOS needs pyobjc `Quartz` plus the Accessibility + Input Monitoring grants the hotkey tap already requires; Linux/X11 needs `pynput`, which is the opt-in `[desktop-linux]` extra for the reason recorded in P-24 (`evdev` is source-only). Wayland cannot do it at all — no global button grab exists, the same design reason keyboard shortcuts degrade there. The left and right buttons are deliberately not bindable on any OS: their meaning follows the system "swap mouse buttons" setting, so a shortcut recorded as "left" would fire on the physical right button for a left-handed user | `jarvis/trigger/hotkey.py::mouse_hotkeys_available`, `backends/global_hotkeys.py::_MOUSE_TOKEN_TO_VK`, `backends/pynput.py::_start_mouse_listener`, `backends/quartz.py::_MOUSE_BUTTON_TO_TOKEN` | Every host answers the capability question BEFORE offering the control: `mouse_hotkeys_available()` returns an English sentence naming what is missing and what still works, and a backend that cannot start its mouse hook logs the same thing and keeps the KEYBOARD shortcuts alive rather than failing the whole binding. macOS/Linux desktop with the extras: full parity with Windows. Wayland and headless: key combinations only |-| P-28 | Low | Local realtime | The one-click managed install of the self-hosted realtime server (venv + pinned packages + vendored patch + smoke boot) is built cross-platform (pathlib, `os.name` venv layout, per-hardware torch flavor) but has only been RUN on the Windows dev box. The preflight's accelerator probe knows two sources: NVIDIA VRAM (nvidia-smi) and Apple-Silicon unified memory (total RAM); the derived launch command maps them to `cuda`/`mps` | `jarvis/realtime/local_server/{preflight,install}.py` | Any host under 12 GB usable accelerator memory (including every GPU-less/headless box) gets the honest blocker with a cloud pointer instead of an install — verified by unit tests. macOS Apple-Silicon: preflight and install should work but the smoke boot (`--qwen3_tts_device mps`) is UNVERIFIED on real hardware; a failure is honest (install ends in an error state naming the smoke log, readiness stays fail-closed). Linux+NVIDIA: expected to work via the same cu130 wheel index, unverified. The bring-your-own-server URL socket keeps full parity everywhere |+| P-28 | Low | Local realtime | The one-click managed install AND the 2026-08-08 supervisor (prewarm, pidfile ownership, start/stop routes, Ollama keep-alive warm ping) are built cross-platform — pathlib, `os.name` venv layout with a POSIX `lib/python*/site-packages` glob, per-hardware torch flavor, `start_new_session` + `killpg` SIGTERM→SIGKILL escalation on POSIX, `HF_HUB_DISABLE_SYMLINKS` Windows-only — but have only been RUN on the Windows dev box. The preflight's accelerator probe knows two sources: NVIDIA VRAM (nvidia-smi) and Apple-Silicon unified memory (total RAM); the derived launch command maps them to `cuda`/`mps`; an AMD/Intel/no-nvidia-smi host gets the honest "no supported accelerator" blocker (unit-tested) | `jarvis/realtime/local_server/{preflight,install,supervisor}.py` | Any host under 12 GB usable accelerator memory (including every GPU-less/headless box) gets the honest blocker with a cloud pointer instead of an install — verified by unit tests. macOS Apple-Silicon: preflight and install should work but the smoke boot (`--qwen3_tts_device mps`) is UNVERIFIED on real hardware; a failure is honest (install ends in an error state naming the smoke log, readiness stays fail-closed). Linux+NVIDIA: expected to work via the same cu130 wheel index, unverified; the supervisor's POSIX kill/spawn branches are unit-tested but not live-run. The bring-your-own-server URL socket keeps full parity everywhere || P-31 | Low | Detached views | The "own window" detach (Agentic IDE / Voice into a second pywebview window) creates the window at RUNTIME, after `webview.start()`. pywebview documents runtime multi-window, and the code path is OS-neutral (worker-thread create, distinct title, shared backend), but it has only been RUN against the Windows/WebView2 backend; whether the cocoa and GTK backends accept a runtime `create_window` is unverified from this machine. Browser-lock auth in the second window additionally relies on a shared cookie jar, which is verified for WebView2 only | `jarvis/ui/desktop_app.py::open_detached_window`, `jarvis/platform/probes.py::webview_backend_available`, `jarvis/ui/web/desktop_routes.py` | Every failure is honest and keeps the feature usable: a shell whose backend refuses the runtime create answers `ok: false` with the solo URL and the frontend opens it in the user's real browser tab (via open-external); plain-browser clients open the tab directly; headless answers `no_desktop_shell` the same way. macOS/Linux desktop live check pending: detach, close main, reattach, tray-reopen — on success this row shrinks to the cookie-jar note or disappears |diff --git a/tests/contract/test_realtime_provider_contract.py b/tests/contract/test_realtime_provider_contract.pyindex b7fd567e9f..d513ac63bf 100644--- a/tests/contract/test_realtime_provider_contract.py+++ b/tests/contract/test_realtime_provider_contract.py@@ -9,7 +9,10 @@ from jarvis.plugins.realtime.codex_subscription import (CodexSubscriptionRealtimeProvider,)from jarvis.plugins.realtime.gemini_live import GeminiLiveProvider-from jarvis.plugins.realtime.openai_realtime import OpenAIRealtimeProvider+from jarvis.plugins.realtime.openai_realtime import (+ LocalRealtimeProvider,+ OpenAIRealtimeProvider,+)from jarvis.realtime.protocol import RealtimeProvider@@ -44,6 +47,24 @@ def test_subscription_provider_is_structurally_conformant_without_api_key() -> Nassert provider.requires_webrtc_offer is False+def test_local_provider_is_structurally_conformant_without_api_key() -> None:+ """The self-hosted card joined every roster except this one (found in+ the 2026-08-08 hardening review) — its protocol conformance was pinned+ only in its own unit file."""+ provider = LocalRealtimeProvider()++ assert isinstance(provider, RealtimeProvider)+ assert provider.supports_realtime is True+ assert provider.name == "local-realtime"+ assert provider.input_sample_rate == 24_000+ assert provider.output_sample_rate == 24_000+ # Keyless by design, and never an ambient stand-in for another card.+ assert provider.credential_candidates == ()+ assert provider.implicit_usage_fallback_allowed is False+ # The small-brain latency capability the session builder keys on.+ assert provider.prefers_compact_instructions is True++@pytest.mark.asyncio@pytest.mark.parametrize("provider_cls",@@ -53,6 +74,11 @@ async def test_keyless_capability_probe_is_false(provider_cls):assert await provider_cls().can_open_duplex_session() is False+async def test_unconfigured_local_provider_probe_is_false() -> None:+ assert await LocalRealtimeProvider().can_open_duplex_session() is False++@pytest.mark.parametrize("path",[