DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-webui-launcher

Y

dsh-webui-launcher

Manifest valid★ 3

Cross-platform Web UI launcher for DeepSeek Harness: webui_start/stop/status/open model tools, a /webui start|stop|status|open slash command, a Settings-page launch card, and an optional desktop short

UI (client)hasBundlePatch

dsh-webui-launcher — cross-platform Web UI launcher for DeepSeek Harness

Awesome DSH Plugin

English | 中文

Start, stop, check and open the DeepSeek Harness Web UI from inside the harness — cross-platform (Windows / macOS / Linux), no desktop scripts needed.

Install

dsh plugin --profile web add github:YV3507/dsh-webui-launcher

or from a checkout:

cd dsh-webui-launcher
npm install && npm run build
dsh plugin --profile web add .

What it adds

  • Model tools — webui_start, webui_stop, webui_status, webui_open: start the Web UI (spawning dsh --profile web in the background), wait until it answers HTTP 200, report or stop it, open the default browser.
  • Slash command — /webui start|stop|status|open.
  • Settings card — a "Web UI Launcher" card on the Settings page of the web GUI (browser half, exports["./client"]), driving the same /webui/* JSON endpoints.
  • Desktop shortcut — on the first plugin start, a launcher shortcut is created on the desktop (.lnk on Windows, .desktop on Linux, .command on macOS) that starts the Web UI and opens the browser once ready. Headless hosts (no Desktop, no DISPLAY) skip creation silently; disable with desktopShortcut: false.
  • dsh default icon — the shortcut uses the official dsh icon by default (the web-app favicon rasterized and bundled in assets/; .ico on Windows, .png on Linux), copied into the persistent state directory so a reinstall never orphans it.
  • Custom shortcut icon — upload any image (PNG/JPEG/BMP/GIF/TIFF) from the Settings card; it is converted automatically (multi-size .ico on Windows, .png on Linux) and the existing shortcut's icon is updated immediately. An explicit shortcutIconPath overrides the default.

Configuration

OptionDefaultMeaning
port3080Web UI port.
host127.0.0.1Loopback host dsh web binds.
cliBin""Explicit dsh CLI script; empty reuses the running CLI.
startupTimeoutMs120000How long start waits for the surface to answer HTTP 200.
openBrowserOnStarttrueOpen the default browser once the Web UI is ready.
desktopShortcuttrueCreate the desktop launcher shortcut on the first plugin start.
shortcutName"DeepSeek Harness Web UI"Display name of the desktop shortcut.
shortcutIconPath""Explicit icon image; empty uses the bundled dsh icon.

Behavior and robustness

  • Adopt-or-start — a server already listening on the port is adopted: never restarted, never stopped. webui_stop kills the tree this plugin spawned, and also an adopted server whose PID the launcher (or an earlier instance) recorded — only when that PID is the one currently listening, and only for the process hosting this plugin, with the same node.exe identity guard before killing. A foreign server without a PID record is never touched.
  • Explicit state machine — idle → starting → running → stopping, single-flight serialized: concurrent start/stop calls never interleave.
  • Orphan cleanup — when the plugin unloads or hot-reloads, any server it spawned is stopped (ctx.effect dispose).
  • PID identity guard — before killing, the process is re-checked (alive, still our child, still node.exe via tasklist on Windows) so a recycled PID is never touched.
  • Abort/timeout hygiene — an aborted or timed-out start kills the child it spawned and surfaces the output tail in the error.
  • CLI location fallback — the running CLI (process.argv[1]) → the @deepseek-ai/dsh package → explicit cliBin; resolution failure throws an actionable error.

Development

npm run build    # esbuild → lib/index.js (host) + lib/client.js (browser)
npm test         # node --test, zero-dependency (mocks the two external packages)

The state-machine failure paths (child death, timeout, abort, sibling adoption, concurrency, dispose) are unit-tested against the built bundle with scripted fake dependencies — no real processes or timers.

Security

Loopback-only by default, no elevation, no external network. The plugin kills only the process tree it spawned — or a PID-recorded launcher server it hosts — after verifying the PID still belongs to that process.

License

MIT

Compatibility

DSH 0.2.1-alpha.4: failedDSH 0.2.1-alpha.5: failedDSH 0.2.1-rc.1: failed

Versions

Latest versionPublishedSize
0.1.11——

Comments

Loading…

Similar plugins

dsh-web-launcher

by hanwuji1

One-click launcher for the Web UI: a double-click Start-DSH-Web.cmd on the Windows desktop that boots dsh web and auto-opens the browser (polling until ready), plus a web_launcher model tool (install

Notifications & IntegrationsManifest valid

★ 0

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-web-launcher

by ayingQAQ

Windows 上的 DeepSeek Harness Web 一键启动器|One-click launcher with background restart and browser refresh.

UI & ExperienceTerminal & ClientsManifest valid

★ 4

↓ 195/wk

MIT

JavaScript

Aug 18, 2026

dsh plugin --profile web add dsh-web-launcher

Windows system-tray launcher for DeepSeek Harness Web: start, stop, restart, open the Web UI, tail logs, live status icon, and a launch-at-login toggle.

Development & InfrastructureManifest valid

★ 0

dsh plugin --profile web add dsh-tray

by shaun5297

One-click launcher for DeepSeek Harness: detects whether the backend is running, starts dsh web if needed, waits until ready, then opens the main page in a new Chrome window. Ships a cross-platform CL

Workflow & AutomationTools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 2

MIT

JavaScript

Aug 20, 2026

dsh plugin --profile web add dsh-launcher

by Isilsolme

One-click Windows launcher for the DeepSeek Harness (dsh) Web GUI with a stroke-by-stroke startup animation

UI & ExperienceManifest valid

★ 4

↓ 218/wk

C#

Sep 8, 2026

dsh plugin --profile web add dsh-splash-launcher

by fuyue521

Windows desktop shortcut for dsh web: launches the server, auto-opens the browser when ready, and stops the service when the Harness window closes.

Development & InfrastructureTerminal & ClientsManifest valid

★ 2

↓ 144/wk

MIT

JavaScript

Aug 18, 2026

dsh plugin --profile web add dsh-desktop-shortcut