Ho11ow8/deepseek-harness-shortcut1

deepseek-harness-shortcut

DeepSeek Harness plugin: create a desktop shortcut that starts or opens the local DSH web UI with one click (Windows)

包名
deepseek-harness-shortcut
版本
0.2.0
许可证
MIT
最近更新
2026年8月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Ho11ow8/deepseek-harness-shortcut

Configuration

Override any key through a later patch row in the profile's cordis.patch.yml:

- id: desktop-shortcut
  config:
    shortcutName: My Harness
    url: 'http://127.0.0.1:8080'
    port: 8080
    iconPath: 'C:\icons\my.ico'
    launcherDir: 'D:\launchers'
    workdir: 'D:\DeepseekHarness'
    command: 'npx --yes @deepseek-ai/dsh web'
    waitSeconds: 45
KeyDefaultMeaning
shortcutNameDeepSeek HarnessShortcut file name (no extension)
urlhttp://127.0.0.1:3080URL the launcher opens
port3080Port probed to decide start-vs-open
iconPath"".ico/.exe/.dll icon for the shortcut (falls back to first .ico/.png in launcherDir)
launcherDirworkspaceDirectory for the generated start-dsh.bat
workdirlauncher dirWorking directory used by the launcher
commandnpx --yes @deepseek-ai/dsh webCommand that starts the service
waitSeconds30Max seconds to wait for the service

Changing the icon

Two ways to use your own icon:

Option A — drop the icon into your workspace (easiest)

  1. Copy your icon (.ico or .png) into the workspace (the directory where you run dsh web, e.g. D:\DeepseekHarness);
  2. Re-run the command:
/desktop-shortcut

The plugin picks up the first .ico/.png found in the workspace. If several icons exist, remove the old ones or make sure yours sorts first.

Option B — pin an exact path with iconPath

Set iconPath in the plugin config:

- id: desktop-shortcut
  config:
    iconPath: 'D:\my-icons\my-custom.ico'

Then restart dsh web and re-run /desktop-shortcut.

If the desktop still shows the old icon after changing it, refresh the desktop (press F5) or right-click the desktop → Refresh — Windows caches icons. .ico is recommended for crisp rendering at all sizes.