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.

fix(realtime): withhold Codex subscription voice

rubenluetke10-beep8b093202edae
diff --git a/docs/commands-reference.md b/docs/commands-reference.md
index 847f26de0f..f9b6d38693 100644
--- a/docs/commands-reference.md
+++ b/docs/commands-reference.md
@@ -46,7 +46,7 @@ Switch the speech-to-text provider. Takes effect on the next voice-pipeline star
Switch which realtime voice engine (speech-to-speech) is active, including subscription- and API-backed providers. Experimental transports require explicit acknowledgement.
- **Endpoint:** `POST /api/realtime/switch`
-- **Arguments:** `provider` (one of: codex-subscription-realtime, gemini-live, local-realtime, openai-realtime; required); `persist` (boolean; optional); `accept_experimental` (boolean; optional)
+- **Arguments:** `provider` (one of: gemini-live, local-realtime, openai-realtime; required); `persist` (boolean; optional); `accept_experimental` (boolean; optional)
- **Requires confirmation:** no
- **Desktop UI section:** `apikeys`
- **Voice example (EN):** "switch the realtime model to gemini"
@@ -86,7 +86,7 @@ List all configured providers and which ones are active.
Test connectivity and authentication for one provider.
- **Endpoint:** `POST /api/providers/{provider_id}/test`
-- **Arguments:** `provider_id` (one of: antigravity, cartesia, claude-api, claude-cli, codex, codex-subscription-realtime, elevenlabs, faster-whisper, gemini, gemini-flash-tts, gemini-live, gemini-polish, grok, grok-voice, groq-api, groq-polish, inworld, local-openai, local-realtime, nemotron-local, nvidia, ollama, ollama-polish, openai, openai-api, openai-polish, openai-realtime, openrouter, openrouter-polish, openrouter-stt, openrouter-tts, piper-local; required)
+- **Arguments:** `provider_id` (one of: antigravity, cartesia, claude-api, claude-cli, codex, elevenlabs, faster-whisper, gemini, gemini-flash-tts, gemini-live, gemini-polish, grok, grok-voice, groq-api, groq-polish, inworld, local-openai, local-realtime, nemotron-local, nvidia, ollama, ollama-polish, openai, openai-api, openai-polish, openai-realtime, openrouter, openrouter-polish, openrouter-stt, openrouter-tts, piper-local; required)
- **Requires confirmation:** no
- **Desktop UI section:** `apikeys`
- **Voice example (EN):** "test the openai provider"
diff --git a/jarvis/ui/web/provider_spec.py b/jarvis/ui/web/provider_spec.py
index 923e30d4d0..84e2bb1a06 100644
--- a/jarvis/ui/web/provider_spec.py
+++ b/jarvis/ui/web/provider_spec.py
@@ -310,6 +310,37 @@ def _dictation_specs() -> tuple[ProviderSpec, ...]:
_DICTATION_PROVIDERS: tuple[ProviderSpec, ...] = _dictation_specs()
+# Kept in the source tree for continued local development, but deliberately
+# withheld from the public provider catalog until the transport is dependable.
+# Releasing it again is a one-line catalog move; no implementation is deleted.
+_WITHHELD_PROVIDERS: tuple[ProviderSpec, ...] = (
+ ProviderSpec(
+ id="codex-subscription-realtime",
+ label="ChatGPT subscription (Codex)",
+ tier="realtime",
+ auth_mode="codex",
+ secret_keys=(),
+ dashboard_url=None,
+ login_cli=("codex", "login"),
+ install_hint="npm i -g @openai/[email protected]",
+ signup_url="https://chatgpt.com",
+ credential_help=(
+ "Beta — subscription voice through Codex is not finished yet and "
+ "can break without notice. "
+ "Uses the ChatGPT plan signed in through Codex. The voice itself "
+ "needs no API key, and the app never switches it silently to "
+ "metered API voice: if it cannot start, the call stops. Select an "
+ "API Realtime provider if you want usage billing. One caveat — "
+ "Jarvis transcribes your side of the call with the provider chosen "
+ "in Speech-to-Text, so a CLOUD recognizer is still billed per turn "
+ "to that key; choose an on-device one to keep the whole call off "
+ "metered billing. Brain and tool providers keep their separately "
+ "configured billing."
+ ),
+ experimental=True,
+ ),
+)
+
#: Polish family id -> the id of the card that configures it, and back. The
#: config key ``[dictation].polish_provider`` stores a FAMILY id while the UI
#: and the health rollup address a SPEC id; these two are the one translation.
@@ -744,31 +775,6 @@ PROVIDERS: tuple[ProviderSpec, ...] = (
# ── Realtime ──────────────────────────────────────────────────────────
# Realtime voice providers share the provider-neutral RealtimeProvider
# contract. Subscription and API billing remain independently selectable.
- ProviderSpec(
- id="codex-subscription-realtime",
- label="ChatGPT subscription (Codex)",
- tier="realtime",
- auth_mode="codex",
- secret_keys=(),
- dashboard_url=None,
- login_cli=("codex", "login"),
- install_hint="npm i -g @openai/[email protected]",
- signup_url="https://chatgpt.com",
- credential_help=(
- "Beta — subscription voice through Codex is not finished yet and "
- "can break without notice. "
- "Uses the ChatGPT plan signed in through Codex. The voice itself "
- "needs no API key, and the app never switches it silently to "
- "metered API voice: if it cannot start, the call stops. Select an "
- "API Realtime provider if you want usage billing. One caveat — "
- "Jarvis transcribes your side of the call with the provider chosen "
- "in Speech-to-Text, so a CLOUD recognizer is still billed per turn "
- "to that key; choose an on-device one to keep the whole call off "
- "metered billing. Brain and tool providers keep their separately "
- "configured billing."
- ),
- experimental=True,
- ),
ProviderSpec(
id="openai-realtime",
label="OpenAI Realtime",
@@ -830,7 +836,7 @@ PROVIDERS: tuple[ProviderSpec, ...] = (
def get_spec(provider_id: str) -> ProviderSpec | None:
"""Look up a spec by ID. None if unknown."""
- for spec in PROVIDERS:
+ for spec in (*PROVIDERS, *_WITHHELD_PROVIDERS):
if spec.id == provider_id:
return spec
return None
diff --git a/pyproject.toml b/pyproject.toml
index cd1e5c559a..4484f11758 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -567,7 +567,6 @@ discord = "jarvis.channels.discord:DiscordChannel"
[project.entry-points."jarvis.realtime"]
# Provider-neutral speech-to-speech plugins. Every adapter loads lazily; the
# orchestrator chooses a credential-ready family and crosses families on failure.
-codex-subscription-realtime = "jarvis.plugins.realtime.codex_subscription:CodexSubscriptionRealtimeProvider"
openai-realtime = "jarvis.plugins.realtime.openai_realtime:OpenAIRealtimeProvider"
gemini-live = "jarvis.plugins.realtime.gemini_live:GeminiLiveProvider"
# Self-hosted endpoint speaking the same realtime protocol — the local option
diff --git a/tests/unit/commands/test_registry_parity.py b/tests/unit/commands/test_registry_parity.py
index 39cda085a0..47aed5e837 100644
--- a/tests/unit/commands/test_registry_parity.py
+++ b/tests/unit/commands/test_registry_parity.py
@@ -142,7 +142,7 @@ def test_realtime_switch_exposes_experimental_acknowledgement() -> None:
command = get_command("realtime-switch")
assert command is not None
properties = command.params["properties"]
- assert "codex-subscription-realtime" in properties["provider"]["enum"]
+ assert "codex-subscription-realtime" not in properties["provider"]["enum"]
assert properties["accept_experimental"] == {
"type": "boolean",
"default": False,
diff --git a/tests/unit/test_provider_spec.py b/tests/unit/test_provider_spec.py
index 67a09739ef..65b3956dad 100644
--- a/tests/unit/test_provider_spec.py
+++ b/tests/unit/test_provider_spec.py
@@ -88,6 +88,11 @@ def test_get_spec_lookup() -> None:
assert get_spec("does-not-exist") is None
+def test_codex_subscription_realtime_is_withheld_but_implementation_metadata_remains() -> None:
+ assert get_spec("codex-subscription-realtime") is not None
+ assert "codex-subscription-realtime" not in {spec.id for spec in PROVIDERS}
+
+
def test_groq_stt_is_last_and_not_recommended() -> None:
"""Groq remains selectable, but the Voice Input UI must de-emphasize it."""
stt_specs = [spec for spec in PROVIDERS if spec.tier == "stt"]