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.

docs+cli: window detach endpoints in the CLI tree and the os-parity register

rubenluetke10-beepdd25f296d0fc
diff --git a/docs/os-parity.md b/docs/os-parity.md
index 10c6fc8b0d..e4d9d388b4 100644
--- a/docs/os-parity.md
+++ b/docs/os-parity.md
@@ -210,6 +210,8 @@ experiences today.
| 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-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 |
+
## Maintenance
- Fixing a gap: remove its row (git history keeps the record).
diff --git a/jarvis/ui/web/desktop_routes.py b/jarvis/ui/web/desktop_routes.py
index 2ed652e9da..6cc000e7b1 100644
--- a/jarvis/ui/web/desktop_routes.py
+++ b/jarvis/ui/web/desktop_routes.py
@@ -48,7 +48,12 @@ def _solo_url_path(view: str) -> str:
return f"/?view={view}&solo=1"
[email protected]("/detach", operation_id="window_detach")
+# operation_ids are the CLI command names: the dynamic layer builds one Click
+# group per tag and one command per operation, so these read
+# `jarvis api window detach|detached|reattach`. The paths match no dangerous
+# marker — opening/listing/closing local UI windows mutates no data — so the
+# normal mutating-confirmation tier applies (see jarvis/cli_ctl/safety.py).
[email protected]("/detach", operation_id="detach")
async def window_detach(body: DetachBody, request: Request) -> dict[str, Any]:
"""Open ``view`` in its own detached desktop window (or focus it).
@@ -80,7 +85,7 @@ async def window_detach(body: DetachBody, request: Request) -> dict[str, Any]:
}
[email protected]("/detached", operation_id="window_detached")
[email protected]("/detached", operation_id="detached")
async def window_detached(request: Request) -> dict[str, Any]:
"""Snapshot of the currently detached views.
@@ -96,7 +101,7 @@ async def window_detached(request: Request) -> dict[str, Any]:
return {"ok": True, "views": await asyncio.to_thread(fn)}
[email protected]("/reattach", operation_id="window_reattach")
[email protected]("/reattach", operation_id="reattach")
async def window_reattach(body: DetachBody, request: Request) -> dict[str, Any]:
"""Close the detached window for ``view`` (its section returns to the app).