deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
HaoyueQin/deepseek-harness-desktop
A desktop shell for DeepSeek Harness — the pluggable AI agent harness from DeepSeek. Wrap the official dsh web UI into a native-feeling, always-on desktop app. / 为 DeepSeek Harness(DeepSeek 开源的可插拔 AI Agent harness)打造的桌面应用壳,把官方 dsh web 界面包装成原生质感、常驻后台的桌面应用。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:HaoyueQin/deepseek-harness-desktop
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A desktop shell for DeepSeek Harness — the pluggable AI agent harness from DeepSeek. Wrap the official dsh web UI into a native-feeling, always-on desktop app.
English | 简体中文
dsh web as a child process (bundled Node 24 + @deepseek-ai/dsh), loads its localhost UI; the harness source is never modified, upgrades are one version bump away--port 0 lets the OS pick a free port; the shell discovers the real address from dsh's stdout readiness lineDSH_HOME points to the app's own data directory; your default ~/.dsh stays untouchedcordis_define/cordis_run), $DSH_HOME/cordis.patch.yml, and the npm plugin ecosystem all work exactly as in the web edition
Download the installer for your platform from the Releases page:
| Platform | Package | Notes |
|---|---|---|
| Windows | DeepSeek Harness Desktop Setup <ver>.exe |
NSIS installer, x64 |
| macOS | .dmg (Apple Silicon / Intel) |
unsigned — first run: right-click → Open |
| Linux | .AppImage + .deb |
x64 |
dsh web server boots in the background and the UI opens at its ready statenpm install # installs electron 43 + toolchain
npm run dev # dev mode: system Node + local node_modules dsh
electron binary download stuck? (you see
Downloading Electron binary...forever) GitHub-hosted binaries can be slow from some networks. Manually fetchhttps://npmmirror.com/mirrors/electron/<version>/electron-v<version>-win32-x64.zipinto%LOCALAPPDATA%\electron\Cache\electron-v<version>-win32-x64\, then:printf "electron.exe" > node_modules/electron/path.txt # and unzip the archive into node_modules/electron/dist/
npm run build:runtime # fills resources/: bundled Node 24 LTS + dsh dependency tree + icons
# slow network? HTTPS_PROXY=http://127.0.0.1:8897 npm run build:runtime
npm run dist:win # Windows NSIS installer → release/
# npm run dist:mac # macOS dmg (requires macOS; CI builds it)
# npm run dist:linux # Linux AppImage + deb
The CI workflow (.github/workflows/release.yml) builds all three platforms on every v* tag and publishes the artifacts to a GitHub Release.
DSH_HOME): <userData>/dsh — profiles, sessions, storage<userData>/logs/main.log<install>/resources/resources/ — Node (runtime/node/) + dsh (dsh/node_modules/)src/
main.ts app lifecycle: single-instance lock, window, tray, dsh orchestration
paths.ts dev/prod resource resolution (bundled dsh, Node, preload, patch)
settings.ts shell settings (userData/settings.json — launch-minimized)
updater.ts electron-updater (Windows guided / Linux AppImage auto)
dsh/spawn.ts spawn dsh web --port 0 --patch; parse stdout URL line; graceful stop
dsh/ready.ts HTTP readiness probe
tray.ts tray menu (open / auto-start / quit) + autostart sync
autostart.ts auto-start (native on win/mac; XDG file on linux)
preload.ts contextBridge bridge (window controls + desktop IPC; compiled to CJS)
scripts/
install-runtime.mjs fills resources/ at build time (Node dist + dsh tree + icons + platform trim)
smoke.mjs headless smoke test: spawn dsh, assert URL line + HTTP 200
resources/
desktop-integration/ settings "Desktop" section plugin (dsh browser half)
desktop-patch.yml shell-injected patch mounting the plugin
assets/
wordmark.svg project wordmark
@deepseek-ai/dsh and upgrades require re-packagingFound a bug? Have a feature idea? Issues are very welcome — bug reports, usage questions, and suggestions all help.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。