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
feat(desktop): voice-hub sections join the detachable views
rubenluetke10-beep1d2e15292657
diff --git a/jarvis/ui/desktop_app.py b/jarvis/ui/desktop_app.pyindex 457e1b2b7a..d027db13e1 100644--- a/jarvis/ui/desktop_app.py+++ b/jarvis/ui/desktop_app.py@@ -70,6 +70,14 @@ DETACHABLE_VIEWS: dict[str, str] = {"agentic-ide-classic": "Agents","chat-workspace": "Agents","chats": "Voice",+ # The Voice hub family (one VoiceHubView with internal tabs). Each id keeps+ # its own label so two detached voice windows can never share a title —+ # the title is the Win32 window handle for focus and the taskbar icon.+ "dictation": "Dictation",+ "dictionary": "Dictionary",+ "voice-shortcuts": "Voice Shortcuts",+ "voice-language": "Dictation Language",+ "voice-api-keys": "Voice Input Keys",}META_FILE_PATH = DATA_DIR / ".jarvis-running"#: Timeout for the initial lock acquire, in seconds. 0 = non-blocking,diff --git a/jarvis/ui/web/frontend/src/components/layout/TopBar.tsx b/jarvis/ui/web/frontend/src/components/layout/TopBar.tsxindex d521bb096f..f08054594e 100644--- a/jarvis/ui/web/frontend/src/components/layout/TopBar.tsx+++ b/jarvis/ui/web/frontend/src/components/layout/TopBar.tsx@@ -91,6 +91,11 @@ const DETACHABLE_SECTIONS = new Set<SectionId>(["agentic-ide-classic","chat-workspace","chats",+ "dictation",+ "dictionary",+ "voice-shortcuts",+ "voice-language",+ "voice-api-keys",]);/**diff --git a/tests/unit/ui/test_desktop_detached_windows.py b/tests/unit/ui/test_desktop_detached_windows.pyindex 18eef6730d..408d78870a 100644--- a/tests/unit/ui/test_desktop_detached_windows.py+++ b/tests/unit/ui/test_desktop_detached_windows.py@@ -368,12 +368,25 @@ def test_publish_without_backend_loop_is_honest_noop() -> None:def test_detachable_views_have_distinct_titles_per_label() -> None:- # Every view must produce a title distinct from the main window's.+ # Every view must produce a title distinct from the main window's, and no+ # two views that can be detached AT THE SAME TIME may share a title —+ # FindWindowW-by-title would focus/icon the wrong window. The coding family+ # shares one label deliberately: only one coding view can be live at once+ # (single-IDE rule), so their titles can never coexist.app = DesktopApp.__new__(DesktopApp)+ coding = {"agentic-ide", "agentic-ide-classic", "chat-workspace"}+ seen: dict[str, str] = {}for view in DETACHABLE_VIEWS:title = app._detached_title(view)assert title != WINDOW_TITLEassert title.startswith(WINDOW_TITLE)+ clash = seen.get(title)+ if clash is not None:+ assert view in coding and clash in coding, (+ f"'{view}' and '{clash}' share the title '{title}' but can be "+ "detached simultaneously"+ )+ seen[title] = view# --- routes ------------------------------------------------------------------