Ho11ow8/deepseek-harness-shortcut ↗★ 1
deepseek-harness-shortcut
DeepSeek Harness plugin: create a desktop shortcut that starts or opens the local DSH web UI with one click (Windows)
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Ho11ow8/deepseek-harness-shortcut说明文档
阅读完整 README ↗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
| Key | Default | Meaning |
|---|---|---|
shortcutName | DeepSeek Harness | Shortcut file name (no extension) |
url | http://127.0.0.1:3080 | URL the launcher opens |
port | 3080 | Port probed to decide start-vs-open |
iconPath | "" | .ico/.exe/.dll icon for the shortcut (falls back to first .ico/.png in launcherDir) |
launcherDir | workspace | Directory for the generated start-dsh.bat |
workdir | launcher dir | Working directory used by the launcher |
command | npx --yes @deepseek-ai/dsh web | Command that starts the service |
waitSeconds | 30 | Max 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)
- Copy your icon (
.icoor.png) into the workspace (the directory where you rundsh web, e.g.D:\DeepseekHarness); - 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.
.icois recommended for crisp rendering at all sizes.