deepseek-harness-desktop (salathleizhang)¶
⭐ 138 · ✅ 活跃 · 客户端 · 近期 ⬆️ +3
| 类型 | 客户端 | 分类 | 桌面端 |
| 星数 | ⭐ 138 | 状态 | ✅ 活跃 |
| 作者 | salathleizhang | 更新时间 | 2026-08-19 |
一句话介绍¶
DeepSeek Harness 桌面封装。
详细介绍¶
A desktop shell for DeepSeek Harness: it runs the harness as a supervised child process and hosts the existing Web GUI unchanged. The shell is a thin layer: it spawns dsh web, waits for the readiness line, opens one BrowserWindow at the served loopback origin, and owns shutdown and crash-restart. The renderer is Chromium loading that origin, so window.__DSH_BOOT__ injection and the /api transport behave exactly as under dsh web. No UI is reimplemented.
✨ 核心特性¶
- Opens directly into the harness Web GUI, showing a connecting page until the child reports ready.
- Holds a single-instance lock; a second launch focuses the existing window.
- Restarts the harness on unexpected exit with exponential backoff.
- Stops the child gracefully on exit (SIGTERM, then SIGKILL after a timeout).
- Forwards
dsh://deep links to the renderer. - Listens only on a random
127.0.0.1port (--port 0by default). - Uses the DSH brand icon in the window, the macOS dock, and the packaged
.icns/.ico. - Lives in the system tray; closing the window hides to tray instead of quitting.
🚀 快速开始¶
pnpm --filter @deepseek-ai/dsh-desktop dev
📚 更多信息¶
Runtime architecture
DSH Desktop (Electron main) ├── HarnessSupervisor — child lifecycle, readiness, logs, crash-restart ├── Single-instance lock and dsh:// deep-link forwarding └── Hardened BrowserWindow └── http://127.0.0.1: