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(agentic-ide): DeepSeek Harness is offerable like every other CLI
rubenluetke10-beep96613e295d7c
diff --git a/docs/os-parity.md b/docs/os-parity.mdindex dd496dc45c..cb1133280f 100644--- a/docs/os-parity.md+++ b/docs/os-parity.md@@ -252,6 +252,7 @@ experiences today.| P-33 | Low | Music control (YouTube Music) | With the default **background player** (`jarvis/platform/music_player.py` + `music_player_host.py`: a pywebview companion window with its own persistent profile, driven over stdin/stdout JSON lines) pause / resume / next / previous / volume / "what is playing" go through the player's page directly and need only a display plus the `[desktop]` extra (pywebview) — verified live on Windows/WebView2 (a hidden window does NOT start media; minimized does, hence the minimized start); macOS WKWebView and Linux GTK/Qt WebKit are the same code, unverified from this machine, and autoplay policy there may need one press of play (the tool shows the window and says so). In **browser mode**, and wherever the player cannot run, the same verbs go through the OS media session — the registry the keyboard's media keys use — because Google publishes no remote-playback API. Windows reads and steers it through WinRT (`winrt-Windows.Media.Control`, in the `[desktop]` extra; measured live 2026-08-18 against YouTube Music in Chrome, including the two-tabs-same-app-id case) and falls back to blind media keys without the extra. Linux has no binding in the base install and needs the `playerctl` CLI (MPRIS); macOS has no public API at all and needs the Homebrew `nowplaying-cli`, whose MediaRemote access Apple has been narrowing on recent releases | `jarvis/platform/media_session.py::make_media_session_controller`, `WindowsMediaSession`, `LinuxMediaSession`, `MacMediaSession`, `jarvis/plugins/tool/youtube_music_rest.py::_control` | Playing (search + open the `music.youtube.com` deep link) works on every desktop OS. Without the CLI, `now_playing` and the transport verbs answer with the exact install command instead of a fake success, and the play deep link plus the library actions (like, playlists) stay fully usable. Headless: no player exists, so the tool returns the link and says so. Linux `playerctl` and macOS `nowplaying-cli` backends are unit-tested with fake CLI output, not live-run from this machine || P-34 | Low | Drop-path bridge | The desktop shell reports the REAL path of a file or folder dropped onto the UI (`jarvis-native-drop` DOM event from `jarvis/ui/native_drop.py`, consumed by `src/lib/nativeDrop.ts` in the Agentic IDE folder picker). Built on pywebview's own cross-platform drop handling (`pywebviewFullPath` — WebView2 on Windows, WKWebView on macOS, WebKitGTK on Linux); live-verified for a dropped FOLDER on Windows/WebView2 only | `jarvis/ui/native_drop.py::register_native_drop`, `jarvis/ui/desktop_app.py::_register_native_drop`, `jarvis/ui/web/frontend/src/lib/nativeDrop.ts` | Honest degradation everywhere: without the announcement (plain browser, headless, a shell whose backend does not resolve paths) the picker falls back to searching for the dropped NAME after 2 s, exactly as before. macOS/Linux live check pending: drop a folder onto the folder step and confirm the exact path is used without a candidate list || P-35 | Low | Desktop shell | The embedded browser's profile is PERSISTENT (`webview.start(private_mode=False, storage_path=<data>/webview)`) so the frontend's `localStorage` — wallpaper pick, deck/classic surface, pane sizes, favourites, theme cache — survives a restart (2026-08-18: pywebview's default private mode parked the WebView2 profile in a fresh `%TEMP%` folder per launch and the interface forgot every pick). The same call is honoured by every pywebview backend (Edge `UserDataFolder`, WebKitGTK `WebsiteDataManager`, Qt profile path, Cocoa's default persistent data store) but has only been RUN against Windows/WebView2 | `jarvis/ui/desktop_app.py::webview_storage_dir` | Honest everywhere: a checkout without a writable data directory falls back to the per-user directory, then to private mode with a logged warning — the interface still works, it only forgets its cosmetic picks. macOS/Linux live check pending: pick a wallpaper, restart, confirm it is still there |+| P-36 | Low | Coding-CLI panes | DeepSeek Harness is the one registered CLI whose interface is NOT the terminal. Upstream removed its terminal front door and publishes no `@deepseek-ai/dsh-tui*` bundle (checked 2026-08-22), so the two shipped profiles are `web` — a server the pane boots, whose UI opens in the default browser — and `headless`, which answers one task and exits. The pane therefore runs and is detected like every other entry, but declines the keystroke channel (`accepts_typed_prompts=False`), so the prompt bar, voice fan-out and CLI never type into it, and it has no transcript, recap or conversation resume | `jarvis/workspace/agents.py` (the `deepseek-harness` entry), `jarvis/agentic_ide/session.py::accepts_prompts`, upstream `apps/cli/README.md` | Identical on all three OSes — one npm package, one Node entrypoint, no native binary and no OS-specific installer. The one difference is not ours: on a host with no browser (headless Linux, an SSH launch) the harness prints its URL instead of opening it, which is the honest degradation and leaves the pane usable over a forwarded port |## Maintenancediff --git a/jarvis/agentic_ide/names.py b/jarvis/agentic_ide/names.pyindex b20a3645ab..c14f320906 100644--- a/jarvis/agentic_ide/names.py+++ b/jarvis/agentic_ide/names.py@@ -15,7 +15,7 @@ it bought robustness with two costs the position scheme simply does not have:its header, then saying a name that means nothing — and getting it wrongsent work to a different agent;2. **given names collide with ordinary speech.** Measured against the old pool,- "allen" scores 0.750 against "Alex", "unten" reaches "Hunter", "keine" <!-- i18n-allow: quoted transcript tokens as measurement data -->+ "allen" scores 0.750 against "Alex", "unten" reaches "Hunter", "keine" <!-- i18n-allow -->reaches "Kai" — all above or near the acting threshold. Half of ``clarify.py`` (stop-word tables,capitalization heuristics, surname detection) exists to tell a spoken panename apart from the sentence around it. A call-sign of the shape ``T3``@@ -57,7 +57,18 @@ _POSITION_NAME_RE = re.compile(rf"^{CALL_SIGN_PREFIX}(\d{{1,3}})$", re.IGNORECAS#: merely has installed — so the list is deliberately WIDER than the registry.#: Positional call-signs cannot collide with any of them._KNOWN_PRODUCTS: frozenset[str] = frozenset(- {"jarvis", "claude", "codex", "gemini", "copilot", "cursor", "aider", "grok"}+ {+ "jarvis",+ "claude",+ "codex",+ "gemini",+ "copilot",+ "cursor",+ "aider",+ "grok",+ "deepseek",+ "dsh",+ })diff --git a/jarvis/agentic_ide/session.py b/jarvis/agentic_ide/session.pyindex f1429ba259..64208556a9 100644--- a/jarvis/agentic_ide/session.py+++ b/jarvis/agentic_ide/session.py@@ -178,8 +178,15 @@ def accepts_prompts(agent: str) -> bool:the one keystroke channel this app exposes into arbitrary command executionby voice. That is precisely the boundary the module docstring's rule 1 draws,and it is why a plain terminal is typed into by hand or not at all.++ An agent may also decline the channel: one whose own interface is not the+ terminal (DeepSeek Harness boots a server in the pane and chats in the+ browser) has no reader for a typed line. Answering "yes" there would cost a+ silent no-op reported to the user as a delivered prompt, so the registry+ entry says so and this is the one place that reads it."""- return is_coding_agent(agent)+ spec = workspace_agents.get_agent(agent)+ return spec is not None and spec.is_coding_agent and spec.accepts_typed_promptsdef _unavailable(agent: str) -> str:diff --git a/jarvis/ui/web/frontend/public/agent-logos/deepseek.svg b/jarvis/ui/web/frontend/public/agent-logos/deepseek.svgnew file mode 100644index 0000000000..3b058c5de1--- /dev/null+++ b/jarvis/ui/web/frontend/public/agent-logos/deepseek.svg@@ -0,0 +1 @@+<svg fill="#F4F4F5" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>DeepSeek</title><path d="M23.748 4.651c-.254-.124-.364.113-.512.233-.051.04-.094.09-.137.137-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.155-.708-.311-.955-.65-.172-.24-.219-.509-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.094.172.187.129.323-.082.28-.18.553-.266.833-.055.179-.137.218-.328.14a5.5 5.5 0 0 1-1.737-1.179c-.857-.828-1.631-1.743-2.597-2.46a12 12 0 0 0-.689-.47c-.985-.957.13-1.743.387-1.836.27-.098.094-.433-.778-.428-.872.003-1.67.295-2.687.685a3 3 0 0 1-.465.136 9.6 9.6 0 0 0-2.883-.101c-1.885.21-3.39 1.1-4.497 2.622C.082 8.776-.231 10.854.152 13.02c.403 2.284 1.568 4.175 3.36 5.653 1.857 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.132-.284 4.994-1.86.47.234.962.328 1.78.398.629.058 1.235-.031 1.705-.129.735-.155.684-.836.418-.961-2.155-1.004-1.682-.595-2.112-.926 1.095-1.295 2.768-3.598 3.284-6.733.05-.346.115-.834.108-1.114-.004-.171.035-.238.23-.257a4.2 4.2 0 0 0 1.545-.475c1.397-.763 1.96-2.016 2.093-3.517.02-.23-.004-.467-.247-.588M11.58 18.168c-2.088-1.642-3.101-2.183-3.52-2.16-.39.024-.32.472-.234.763.09.288.207.487.371.74.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.168-1.361-.801-2.5-1.86-3.301-3.306-.775-1.393-1.225-2.888-1.299-4.482-.02-.385.094-.522.477-.592a4.7 4.7 0 0 1 1.53-.038c2.131.311 3.946 1.264 5.467 2.774.868.86 1.525 1.887 2.202 2.89.72 1.066 1.494 2.082 2.48 2.915.348.291.626.513.892.677-.802.09-2.14.109-3.055-.615zm1.001-6.44a.306.306 0 0 1 .415-.287.3.3 0 0 1 .113.074.3.3 0 0 1 .086.214c0 .17-.136.307-.308.307a.303.303 0 0 1-.306-.307m3.11 1.596c-.2.081-.4.151-.591.16a1.25 1.25 0 0 1-.798-.254c-.274-.23-.47-.358-.551-.758a1.7 1.7 0 0 1 .015-.588c.07-.327-.007-.537-.238-.727-.188-.156-.426-.199-.689-.199a.6.6 0 0 1-.254-.078.253.253 0 0 1-.114-.358 1 1 0 0 1 .192-.21c.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.392.451.462.576.685.915.176.264.336.536.446.848.066.194-.02.353-.25.45"/></svg>\ No newline at end of filediff --git a/jarvis/ui/web/frontend/src/components/agentic/AgentMark.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgentMark.test.tsxindex e4a04c7602..e3651dd5f2 100644--- a/jarvis/ui/web/frontend/src/components/agentic/AgentMark.test.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/AgentMark.test.tsx@@ -44,6 +44,18 @@ describe("AgentMark", () => {expect(mark("grok-build").querySelector("img")).toBeNull();});+ it("knows the harness whose own interface is not the terminal", () => {+ // Registered like every other CLI, so the picker must not fall back to a+ // two-letter monogram for it — an unbranded tile in a list of brands reads+ // as the entry being half-finished.+ render(<AgentMark agent="deepseek-harness" label="DeepSeek Harness" />);+ expect(mark("deepseek-harness").getAttribute("data-ground")).toBe("ink");+ expect(mark("deepseek-harness").getAttribute("data-logo")).toBe(+ "/agent-logos/deepseek.svg",+ );+ expect(mark("deepseek-harness").querySelector("img")).toBeNull();+ });+it("gives a lockup with a white background the dark ground it was drawn on", () => {// OpenCode is a white square with a dark inner shape. On paper the square// IS the paper and the mark collapsed to an unlabelled grey dot.diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgentMark.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgentMark.tsxindex fd62f3a1e6..14bbceaa66 100644--- a/jarvis/ui/web/frontend/src/components/agentic/AgentMark.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/AgentMark.tsx@@ -35,6 +35,7 @@ interface LogoAsset {const AGENT_LOGOS: Record<string, LogoAsset> = {claude: { url: "/provider-logos/claude.svg", ground: "ink" },codex: { url: "/provider-logos/openai.svg", ground: "ink" },+ "deepseek-harness": { url: "/agent-logos/deepseek.svg", ground: "ink" },glm: { url: "/agent-logos/zai.svg", ground: "any" },"grok-build": { url: "/provider-logos/grok.svg", ground: "ink" },kimi: { url: "/agent-logos/kimi.svg", ground: "dark" },diff --git a/jarvis/workspace/agents.py b/jarvis/workspace/agents.pyindex a210703c45..4f852472a1 100644--- a/jarvis/workspace/agents.py+++ b/jarvis/workspace/agents.py@@ -231,6 +231,18 @@ class WorkspaceAgent:resume_adapter: str = ""#: How a dropped file is written into the prompt: ``@path`` or ``"path"``.file_reference: Literal["at", "quoted"] = "quoted"+ #: True when this entry reads a prompt from the pane's keystroke channel —+ #: i.e. when Jarvis may type into it from the prompt bar, voice or the CLI.+ #:+ #: Every terminal agent does, which is why it defaults on. What it exists+ #: for is an agent whose OWN interface is somewhere else: DeepSeek Harness+ #: boots a server in the pane and puts its chat in the browser, so the+ #: pane's stdin belongs to that server and a typed line would vanish into+ #: it. Saying so once here is what keeps the prompt bar, the voice fan-out,+ #: the recap and the interrupted-pane offer from each pretending otherwise+ #: — see :func:`jarvis.agentic_ide.session.accepts_prompts`, the single+ #: reader.+ accepts_typed_prompts: bool = True#: True when a pane must show its input line before a prompt may be typed.#: Every CLI observed so far swallows a paste that arrives while it is still#: booting, so this defaults on; an entry proven not to needs it off.@@ -725,6 +737,54 @@ _AGENTS: dict[str, WorkspaceAgent] = {# drops the whole spawn group.spoken_aliases=("grok", "groc", "grock", "grok build"),),+ "deepseek-harness": make_cli_agent(+ "deepseek-harness",+ "DeepSeek Harness",+ binary="dsh",+ npm_package="@deepseek-ai/dsh",+ homepage="https://deepseek.com/harness",+ description="DeepSeek's agent harness — the pane runs it, the chat is in the browser.",+ # `dsh` is a profile launcher, not a chat command: the profile decides+ # which front door boots. `web` is the only interactive one that ships+ # (checked 2026-08-22: the harness dropped its terminal UI, and no+ # `@deepseek-ai/dsh-tui*` bundle is published), so the pane boots the+ # web profile and the harness opens its own UI in the browser. The+ # other shipped profile, `headless`, answers one task and exits, which+ # is not a pane.+ launch_command="dsh web",+ launch_args=("web",),+ # A server, not a TUI — nothing here reads the pane's keystrokes.+ accepts_typed_prompts=False,+ # Both of these describe a terminal agent's input line, and this entry+ # never draws one. Waiting for it would wait forever.+ needs_input_line_wait=False,+ # No trust dialog to skip: the workspace is picked inside the web UI,+ # and the harness's own permission policy is what gates execution.+ needs_trust=False,+ # DELIBERATELY no AccountSpec and no spawn_env_factory. The harness+ # takes its DeepSeek key in its own Settings screen and stores it+ # itself, so there is no environment for this app to hand it — and a+ # seat switcher over a store whose layout has not been verified against+ # a live install would report switches that did not happen.+ win_shim=WinShim(+ relative_path=("node_modules", "@deepseek-ai", "dsh", "lib", "bin.js"),+ kind="node",+ ),+ instruction_filename="AGENTS.md",+ # "deep" on its own is an ordinary word and "seek" is a verb, so only+ # the joined forms mean the product. ASR writes the name apart as often+ # as together, and an unmatched word drops the whole spawn group.+ spoken_aliases=(+ "deepseek",+ "deep seek",+ "deepseek harness",+ "deep seek harness",+ "dipsik",+ "deepsick",+ "deep sick",+ "dsh",+ ),+ ),PLAIN_TERMINAL: WorkspaceAgent(name=PLAIN_TERMINAL,display_name="Plain Terminal",diff --git a/tests/unit/agentic_ide/test_new_cli_providers.py b/tests/unit/agentic_ide/test_new_cli_providers.pyindex c7676ee7a2..1827fa8cd6 100644--- a/tests/unit/agentic_ide/test_new_cli_providers.py+++ b/tests/unit/agentic_ide/test_new_cli_providers.py@@ -14,6 +14,10 @@ they are worth testing together rather than one file per product:* **Grok Build** is a standalone native CLI that accepts a client UUID atlaunch, so it proves the mint-at-start resume path works for something thatis not Claude Code.+* **DeepSeek Harness** keeps its interface OUT of the terminal — the pane boots+ a server and the chat is in the browser — so it proves an entry can be+ offered, detected and launched like every other while declining the one thing+ a terminal agent normally grants: being typed into."""from __future__ import annotations@@ -34,7 +38,7 @@ from jarvis.workspace import agents as workspace_agentsdef test_every_new_provider_is_launchable_and_installable() -> None:"""A registered entry must answer the three questions a pane asks of it."""- for name in ("opencode", "kimi", "glm", "grok-build"):+ for name in ("opencode", "kimi", "glm", "grok-build", "deepseek-harness"):entry = workspace_agents.get_agent(name)assert entry is not None, f"{name} is not registered"assert entry.is_coding_agent@@ -820,3 +824,70 @@ def test_a_booting_pane_of_a_new_cli_is_not_prompted_yet() -> None:assert _ready_for_prompt(_Pane("codex", ("» Ask Codex anything",))) is True# The one measured exception keeps its fast path.assert _ready_for_prompt(_Pane("claude", ("anything",))) is True+++# ----------------------------------------------------- DeepSeek Harness+++def test_the_harness_pane_boots_the_profile_that_has_an_interface() -> None:+ """``dsh`` is a profile launcher, so a bare binary would open nothing.++ The harness ships two profiles: ``web``, which serves its UI, and+ ``headless``, which answers one task and exits. A pane that ran ``dsh`` with+ no profile would exit on the launcher's own "--profile is required" error,+ which reads to every readiness check as a CLI that crashed on startup.+ """+ entry = workspace_agents.get_agent("deepseek-harness")+ assert entry is not None+ assert entry.launch_args == ("web",)+ # The workspace launcher opens an OS terminal from the command string+ # rather than the argv, so the two have to agree.+ assert entry.launch_command == "dsh web"+++def test_a_pane_whose_interface_is_elsewhere_is_never_typed_into() -> None:+ """The harness owns the pane's stdin; an injected line would vanish into it.++ Reported as "prompt delivered" it would be a lie the user only discovers by+ watching nothing happen, so every surface that types — the prompt bar, the+ voice fan-out, the CLI — asks this one function first.+ """+ from jarvis.agentic_ide.session import accepts_prompts++ assert accepts_prompts("deepseek-harness") is False+ # Not a blanket "new CLIs are silent": the terminal agents still take one,+ # and a plain shell still refuses for its own, older reason.+ assert accepts_prompts("claude") is True+ assert accepts_prompts("grok-build") is True+ assert accepts_prompts(workspace_agents.PLAIN_TERMINAL) is False+++def test_declining_prompts_is_opt_out_so_a_later_cli_keeps_its_channel() -> None:+ """Registering an entry must not cost it the keystroke channel by omission."""+ for entry in workspace_agents.coding_agents():+ if entry.name == "deepseek-harness":+ continue+ assert entry.accepts_typed_prompts, f"{entry.name} lost its prompt channel"+++def test_the_harness_is_spawnable_by_voice_in_both_languages() -> None:+ """An unmatched product word drops the whole spawn group it appeared in."""+ from jarvis.agentic_ide import intent++ for utterance in (+ "open a deepseek harness",+ "öffne einen DeepSeek", # i18n-allow: spoken-input vocabulary under test+ "starte ein DeepSeek Harness", # i18n-allow: spoken-input vocabulary under test+ ):+ request = intent.detect_spawn(utterance)+ assert request is not None, utterance+ assert request.agent == "deepseek-harness", utterance++ # And it survives standing next to another product, which is where a+ # half-matched alias shows up as a silently dropped group.+ mixed = intent.detect_spawn("open two claudes and a deep seek")+ assert mixed is not None+ assert [(g.count, g.agent) for g in mixed.groups] == [+ (2, "claude"),+ (1, "deepseek-harness"),+ ]