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.

feat(providers): withdraw the unfinished Codex subscription voice card

rubenluetke10-beepd465ea17a85f
diff --git a/jarvis/ui/web/provider_routes.py b/jarvis/ui/web/provider_routes.py
index 1d8d5d837e..475c7d05f9 100644
--- a/jarvis/ui/web/provider_routes.py
+++ b/jarvis/ui/web/provider_routes.py
@@ -1191,6 +1191,9 @@ async def list_providers(request: Request) -> dict[str, Any]:
codex_subscription_status=codex_subscription_status,
)
for spec in PROVIDERS
+ # A hidden spec is withdrawn from the catalog: no card, no CLI
+ # row. Its runtime plumbing stays live for an existing selection.
+ if not spec.hidden
]
return {"providers": await asyncio.to_thread(_build)}
diff --git a/jarvis/ui/web/provider_spec.py b/jarvis/ui/web/provider_spec.py
index ea0956d421..15b0c4a554 100644
--- a/jarvis/ui/web/provider_spec.py
+++ b/jarvis/ui/web/provider_spec.py
@@ -105,6 +105,13 @@ class ProviderSpec:
# shows a clear badge and fallback note, while runtime selection remains
# capability-driven. This is presentation only and never gates behavior.
experimental: bool = False
+ # Withdrawn from the public catalog: ``/api/providers`` does not serve the
+ # card, so the settings UI offers no way to select the provider. This is
+ # presentation-gating only (AP-21): all runtime plumbing — config
+ # validation, status probes, an already-persisted selection, an explicit
+ # API/CLI switch — keeps working. A release gate for transports that
+ # shipped visibly before they were reliable, not a removal.
+ hidden: bool = False
def provider_billing(spec: ProviderSpec) -> Billing:
@@ -765,6 +772,11 @@ PROVIDERS: tuple[ProviderSpec, ...] = (
"key; choose an on-device one to keep input transcription local."
),
experimental=True,
+ # Withdrawn for v1.3.0: subscription voice over Codex's experimental
+ # Realtime protocol is not reliable enough to offer. The plugin and
+ # its plumbing stay shipped so an existing selection keeps resolving;
+ # unhide once the transport holds a call dependably.
+ hidden=True,
),
ProviderSpec(
id="openai-realtime",
diff --git a/tests/unit/web/test_realtime_provider_category.py b/tests/unit/web/test_realtime_provider_category.py
index 3c6b17da7f..800cb73991 100644
--- a/tests/unit/web/test_realtime_provider_category.py
+++ b/tests/unit/web/test_realtime_provider_category.py
@@ -79,6 +79,30 @@ def test_list_providers_includes_active_realtime_provider(monkeypatch):
assert realtime["configured"] is True
+def test_list_providers_omits_hidden_codex_subscription_card(monkeypatch):
+ """Withdrawn for v1.3.0: subscription voice over Codex's experimental
+ Realtime protocol is not reliable enough to offer, so the catalog must
+ not serve the card (and with it, the settings UI must not render one)."""
+ monkeypatch.setattr(cfg_mod, "get_secret", _only_openai_key)
+ client = TestClient(_app())
+
+ resp = client.get("/api/providers")
+
+ assert resp.status_code == 200
+ ids = {provider["id"] for provider in resp.json()["providers"]}
+ assert "codex-subscription-realtime" not in ids
+
+
+def test_hidden_spec_stays_resolvable_for_existing_selections():
+ """``hidden`` is presentation-gating only (AP-21): the spec keeps
+ resolving so an already-persisted selection and the explicit API/CLI
+ switch path keep working exactly as before."""
+ spec = get_spec("codex-subscription-realtime")
+ assert spec is not None
+ assert spec.hidden is True
+ assert spec.tier == "realtime"
+
+
def test_list_providers_resolves_gemini_only_fresh_install(monkeypatch):
monkeypatch.setattr(cfg_mod, "get_secret", _only_gemini_key)
client = TestClient(_app())