Ch0uHuaZ1/DeepSeek-Harness-Desktop--packages-desktop-launcher-plugin3

dsh-desktop-launcher

Detect and launch the DeepSeek Harness Desktop app from the Web UI

包名
dsh-desktop-launcher
版本
1.0.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Ch0uHuaZ1/DeepSeek-Harness-Desktop#da036cd9e4b49bf4110f3b077e41e5e96cd01ca5&path:packages/desktop-launcher-plugin

dsh-desktop-launcher

Detect and launch the DeepSeek Harness Desktop app from the DSH Web UI.

A cordis plugin for DeepSeek Harness that adds a "Desktop" card to the settings page. It shows whether the desktop app is running and offers a one-click launch button.

Features

  • Status detection — probes the web service port and the desktop app process on Windows.
  • One-click launch — starts the desktop app exe when found, otherwise falls back to opening the Web UI in the default browser.
  • Bilingual UI — follows the DSH locale (中文 / English).

Verify

Once installed and restarted, check the HTTP API directly:

curl http://127.0.0.1:3080/api/desktop-launcher/status
# {"running":false,"pid":null,"port":3080,"serviceUp":true,"exePath":"...exe"}

curl -X POST http://127.0.0.1:3080/api/desktop-launcher/launch -H 'Content-Type: application/json' -d '{}'
# {"launched":true,"exePath":"...exe","method":"exe"}

Or open Settings → Desktop in the Web UI and click Launch Desktop.

A smoke test is included:

node packages/desktop-launcher-plugin/test/smoke.mjs 3080
# SMOKE TEST PASSED

Install

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

Or clone this repository into ~/.dsh/profiles/web/node_modules/dsh-desktop-launcher and register it in ~/.dsh/profiles/web/cordis.patch.yml:

- insert:
    - id: desktop-launcher
      name: dsh-desktop-launcher

Then restart dsh web.

HTTP API

RouteMethodDescription
/api/desktop-launcher/statusGET{ running, pid, port, serviceUp, exePath }
/api/desktop-launcher/launchPOSTLaunch the desktop app (or open the browser)

License

MIT