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
fix(realtime): align provider activation metadata
Ruben Lütke94ae112df8d3
diff --git a/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsx b/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsxindex ef5dfc10d0..20e34b33e4 100644--- a/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsx+++ b/jarvis/ui/web/frontend/src/views/ApiKeysView.two-mode.test.tsx@@ -15,6 +15,10 @@ import { cleanup, fireEvent, render, screen } from "@testing-library/react";// Mock the data hooks so the view renders deterministically, without a// network round-trip.vi.mock("@/hooks/useProviders", () => ({+ sectionHealthForSubject: (+ health: { subject_id?: string } | undefined,+ subjectId?: string,+ ) => (subjectId && health?.subject_id === subjectId ? health : undefined),useProviders: () => ({providers: [],loading: false,diff --git a/jarvis/ui/web/provider_spec.py b/jarvis/ui/web/provider_spec.pyindex 8b77e3cf44..96e051210a 100644--- a/jarvis/ui/web/provider_spec.py+++ b/jarvis/ui/web/provider_spec.py@@ -391,11 +391,8 @@ PROVIDERS: tuple[ProviderSpec, ...] = (# a key-free local faster-whisper *fallback* (_build_local_fallback, AP-22)# as an invisible resilience floor for a user with no cloud STT key.# ── Realtime ──────────────────────────────────────────────────────────- # Realtime voice spans two providers today- # (jarvis.plugins.realtime.openai_realtime, jarvis.realtime.protocol.- # RealtimeProvider). The Gemini Live adapter (jarvis.plugins.realtime.- # gemini_live) is added by a later task — this spec is registered ahead of- # it so the entry-point below stays inert until that module exists.+ # Realtime voice spans independently selectable OpenAI Realtime and Gemini+ # Live plugins behind the provider-neutral RealtimeProvider contract.ProviderSpec(id="openai-realtime",label="OpenAI Realtime",@@ -406,8 +403,8 @@ PROVIDERS: tuple[ProviderSpec, ...] = (credential_help=("Uses your OpenAI API key (shared with the GPT brain / Whisper STT) ""to power the realtime voice mode — one model that listens, thinks and "- "speaks over a single connection. Full-duplex browser voice; still "- "default-OFF until the realtime client is wired in (Phase 2)."+ "speaks over a single connection. Available in the browser and in the "+ "desktop voice runtime; the desktop path is intentionally half-duplex."),),ProviderSpec(@@ -419,11 +416,9 @@ PROVIDERS: tuple[ProviderSpec, ...] = (dashboard_url="https://aistudio.google.com/app/apikey",credential_help=("Google AI Studio key (AIza/AQ.), shared with the Gemini brain, to "- "power Google's full-duplex Live realtime voice. Or use the Vertex AI "- "service-account path for higher quota. Default-OFF until the realtime "- "client is wired in (Phase 2)."+ "power Google's Live realtime voice in the browser and desktop runtime. "+ "This adapter currently uses API-key authentication."),- alt_credential=_GEMINI_VERTEX,),)diff --git a/pyproject.toml b/pyproject.tomlindex a860d35ef4..3263799b8b 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -338,9 +338,8 @@ telegram = "jarvis.channels.telegram:TelegramChannel"discord = "jarvis.channels.discord:DiscordChannel"[project.entry-points."jarvis.realtime"]-# Full-duplex speech-to-speech providers (Phase realtime-voice). OpenAI GA-# gpt-realtime is the first; Gemini Live is the second (adapter module lands-# in a later task — until then this line is inert, entry-points load lazily).+# Provider-neutral speech-to-speech plugins. Both adapters load lazily; the+# orchestrator chooses a credential-ready family and crosses families on failure.openai-realtime = "jarvis.plugins.realtime.openai_realtime:OpenAIRealtimeProvider"gemini-live = "jarvis.plugins.realtime.gemini_live:GeminiLiveProvider"diff --git a/tests/unit/web/test_realtime_provider_category.py b/tests/unit/web/test_realtime_provider_category.pyindex e6e6298d42..a5186c3624 100644--- a/tests/unit/web/test_realtime_provider_category.py+++ b/tests/unit/web/test_realtime_provider_category.py@@ -43,6 +43,7 @@ def test_gemini_live_spec_present():assert spec is not Noneassert spec.tier == "realtime"assert spec.secret_keys == ("gemini_api_key",)+ assert spec.alt_credential is None# ---------------------------------------------------------------------------