DeepSeek Harness plugin

dsh-desktop-lvsh13

DeepSeek Harness Windows desktop companion: tray icon (whale), desktop shortcut, login auto-start that opens the desktop window directly, and one-click desktop/web switching (local Edge/Chrome app

Jump to install

Source facts

Repository
LvsH13/dsh-desktop
Latest update
Aug 21, 2026
Category
Just for Fun
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/LvsH13/dsh-desktop
Plugin: dsh-desktop-lvsh13
Author: LvsH13

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README_EN.mdSource · read only
README language

<div align="center">

中文 · English

🐋 Dsh-Desktop

A desktop companion plugin for DeepSeek Harness — tray whale icon · desktop shortcut · auto-start straight to the desktop window · one-click desktop/web switching

![cover](assets/cover.png)

![dsh-plugin](https://github.com/topics/dsh-plugin) ![type](cordis.patch.yml) ![version](package.json) ![license](LICENSE) ![platform](#requirements) ![node](package.json)

A Windows desktop companion for DeepSeek Harness: system tray (whale) icon, desktop shortcut, login auto-start straight into the desktop window, and one-click desktop/web switching.

</div>

> ⚠️ Windows-only: This plugin is for Windows 10 / 11. On macOS / Linux it loads without crashing, but the desktop features — tray, desktop shortcut, auto-start — will not work, because they depend on Windows PowerShell and Task Scheduler.

> 📌 Before you install: requires Node.js ≥ 20 (same as DeepSeek Harness); Microsoft Edge or Google Chrome is recommended (the app-mode desktop window needs a Chromium engine — with neither, it falls back to a plain default-browser window); no admin rights required; uninstall needs manual cleanup (tray, auto-start, shortcut, %LOCALAPPDATA%\dsh-desktop).

> 🚀 Key point: the desktop experience = DeepSeek Harness + one plugin — no extra installation. > DeepSeek Harness's desktop experience is delivered entirely as a Web plugin. No separate desktop client to download, no reinstall, no admin rights required. > If you already have a DeepSeek Harness Web environment, install this plugin and restart to get the full desktop experience.

✨ Features

FeatureDescription
🐋 System tray companionA whale icon in the notification area with a right-click menu: Open / Restart / Quit the harness
🖥️ Native desktop windowRendered by your local Chromium in app mode (--app): 1352:972 adaptive ratio, centered, freely resizable; a dedicated browser profile keeps extensions, notifications and sign-in prompts out of the window; no startup flicker
🔄 One-click desktop/web switchingThe Settings button shows Switch to Desktop in web mode and Switch to Web in desktop mode; state is detected without WMI, so the label is always truthful
Fast bootThe logon task uses a wscript.exe hidden launcher (cold-start <1s) to start node <entry> web directly (the exact entry is recorded in harness.json); before the service is ready, the desktop window shows the built-in boot page and auto-redirects once ready; no npx round trip, no port conflicts
🔁 Login auto-start toggleRegisters a Task Scheduler logon trigger (the DSHDesktop task, no admin rights; HKCU\...\Run is only the fallback if registration fails) — fires immediately at sign-in, no startup-queue wait
🚀 No console flashEvery external PowerShell launch (shortcut / tray / logon task) goes through a wscript.exe hidden runner (Win32 SW_HIDE) — no console window ever flashes during boot, open or switching
🛡️ Reopen · tray self-heal · race guardsReopen immediately after quit; a single-flight launch mutex ignores repeated clicks instead of starting competing Node flows; quit-marker wait, self-healing readiness wait and tray ownership guards against races
🪟 Show/hide terminalToggle the harness terminal window from Settings
⚙️ Native Settings panelA new Desktop section in the DSH Web UI: status cards, one-click actions, last-open diagnostics

0.7.7 iteration

  • Fixed slow quit-to-reopen behavior by closing known desktop-window PIDs directly and skipping unnecessary WMI scans for a normal single-node shutdown.
  • Fixed repeated shortcut/tray clicks starting competing PowerShell and Node launch flows.
  • Added tray Restart, which rebuilds the Harness service and desktop window while preserving the tray and auto-start configuration.

📦 Installation

Requirements

ItemRequirement
OSWindows 10 / 11 (built-in Windows PowerShell 5.1)
RuntimeNode.js ≥ 20 (the same Node you use for DeepSeek Harness)
HarnessDeepSeek Harness Web profile (dsh web)
BrowserChromium-based recommended (Edge ships with Windows); the desktop window uses your default browser when it is Chromium-based, otherwise Edge → Chrome

⚡ Option 1: Install with a single command (recommended)

Run in any terminal with an installed, working dsh CLI; the plugin manager handles dependency installation:

dsh plugin --profile web add github:LvsH13/dsh-desktop

Then restart the running Web profile:

  • A 🐋 whale tray icon appears in the notification area;
  • A new Desktop section shows up in Settings;
  • Once auto-start is enabled, the logon task opens the desktop window with the boot page within seconds (no console flash).

Option 2: Install from a source checkout

git clone https://github.com/LvsH13/dsh-desktop.git
dsh plugin --profile web add "ABSOLUTE/PATH/TO/cloned/dsh-desktop"

Restart the Web profile afterwards.

Option 3: Manual install (standard Web plugin flow)

1. Go to the web profile directory (default %USERPROFILE%\.dsh\profiles\web); 2. Add this package to the dependencies of package.json — one command: ``sh npm install github:LvsH13/dsh-desktop ` 3. Add the following entry to the insert list of the profile's cordis.patch.yml: `yaml - insert: - id: dsh-desktop name: '@dsh-external/dsh-desktop' `` 4. Restart the Web profile — the plugin is now active.

Uninstall

dsh plugin --profile web remove "@dsh-external/dsh-desktop"

Optionally: quit the tray, disable auto-start (delete the DSHDesktop scheduled task; if the Run-key fallback was used, also delete the DSHDesktop value under HKCU\...\Run), delete the desktop shortcut and remove %LOCALAPPDATA%\dsh-desktop.

🚀 Usage

Open Settings → Desktop:

PanelWhat it does
StatusLive state of the harness service, tray, desktop window, desktop shortcut, auto-start, terminal
Auto-startEnable/disable login auto-start (Task Scheduler logon trigger, Run-key fallback); when enabled, login starts the service in seconds and opens the desktop window with the boot page directly
ActionsSwitch to Desktop / Switch to Web (labeled by the current mode), start/quit tray, create desktop shortcut, show/hide terminal

The Last open line reports the previous launch: readiness time (e.g. ready in 1.2s) and window mode (standalone window / default browser), or the failure reason — check this first when something feels slow.

⚙️ Configuration

ItemLocation / Notes
Companion directory%LOCALAPPDATA%\dsh-desktop\ (auto-migrated from v0.1's $DSH_HOME\desktop)
dsh-tray.ps1Core tray/launcher script (window layout, single instance, readiness polling, quit signal)
harness.jsonExact CLI entry of the running installation: node, DSH_HOME, origin, port
state.jsonshowTerminal / autoStart state
open-state.jsonLast-open diagnostics (readiness time, window mode)
Boot pageboot.html — the black-whale-on-white page shown in the desktop window until the service is ready, then auto-redirects to the UI
Auto-start methodTask Scheduler logon trigger (the DSHDesktop task, no admin rights); HKCU\...\Run is only the fallback when registration fails; the active method is recorded in %LOCALAPPDATA%\dsh-desktop\autostart-method.json (task / runkey)
Desktop/web state detectionDual-channel: recorded window PID (primary) + WMI command-line match (fallback) — reliable even without WMI
Runtime dependencyschemastery (the only runtime dependency)

> ⚠️ Keep dsh-tray.ps1 as UTF-8 with BOM — Windows PowerShell 5.1 misreads BOM-less UTF-8.

📸 Showcase

🖥️ Desktop DeepSeek Harness🐋 Tray icon
![Desktop DeepSeek Harness](images/desktop.png)![Whale tray icon](images/tray.png)
📌 Desktop shortcut🗔 Taskbar
:---::---:
![Desktop shortcut](images/shortcut.png)![DeepSeek Harness in the taskbar](images/taskbar.png)
⚙️ Settings panel · dsh-desktop
:---::---:
![dsh-desktop in the Settings panel](images/settings.png)

📄 License

[MIT](./LICENSE) · Copyright © 2026 LvsH13

---

<div align="center">

🔖 Part of the dsh-plugin ecosystem: dsh-plugin topic · GitHub repository

</div>