插件目录 / Desktop / dsh-minimal-desktop
dsh-minimal-desktop
已验证 · 实测可装 zhangzheng25
功能简介
DeepSeek Harness 桌面包:托盘一键启动/打开/重启/退出本地 DSh 服务 | A Windows tray launcher for DeepSeek Harness: one-click start, open, restart and exit of the local DSh web service
可用 — 实测通过,早期项目
DeepSeek Harness 桌面包:托盘一键启动/打开/重启/退出本地 DSh 服务 | A Windows tray launcher for DeepSeek Harness: one-click start, open, restart and exit of the local DSh web service 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
DeepSeek Harness Desktop
DeepSeek Harness 桌面包——常驻 Windows 托盘的启动器,一键启动、打开、重启、退出本地 DSh Web 服务。
A Windows tray launcher for DeepSeek Harness: one-click start, open, restart and exit of your local DSh web service.
快速开始 / Quick Start
- 下载
dist/dsh-tray.exe(已编译,无需任何构建步骤,双击即用)/ Downloaddist/dsh-tray.exe— pre-built, double-click and run. - 左键单击托盘图标 = 打开 DSh / Left-click the tray icon = open DSh
- 右键菜单:打开 DSh / 重启服务 / 退出 / Right-click menu: Open DSh / Restart Service / Exit
提示:把 exe 放入启动文件夹(
shell:startup)可实现开机自启。/ Tip: drop the exe into the startup folder (shell:startup) for auto-start.
功能 / Features
| 中文 | English |
|---|---|
| 打开 DSh:服务未运行则自动拉起,就绪后打开 Edge 应用窗口 | Open DSh: auto-spawns the service if not running, opens the Edge app window when ready |
| 重启服务:杀掉占用 3080 端口的进程(无论谁启动的),等端口释放后重新拉起 | Restart Service: kills whatever holds port 3080 (whoever started it), waits, then respawns |
| 退出:退出托盘,并终止由它启动的服务进程 | Exit: quits the tray and its spawned service tree |
托盘气泡提示重启/失败状态,日志写入 dist/logs/ |
Balloon tips for restart/failure status; logs in dist/logs/ |
为什么选它 / Why This Wrapper
- 轻量:单文件约 53 KB,而 Electron 方案动辄上百 MB / Ultra-light (~53 KB single exe) vs. 100 MB+ Electron builds
- 零额外依赖:仅需 Node.js(DSh 本身就要),无需安装任何运行时 / No extra runtime — just Node.js, which DSh already needs
- 自动适配:自动使用 npx 缓存中最新版 DSh,升级无需改配置 / Auto-picks the newest DSh in the npx cache — no config after upgrades
- 不怕重复启动:检测到服务已在运行就直接打开,绝不重复拉起 / Port-aware: never spawns a duplicate if the service is already running
构建 / Build(可选 / Optional)
powershell -ExecutionPolicy Bypass -File tray\build.ps1
许可证 / License
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-minimal-desktop」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:zhangzheng25/dsh-minimal-desktop Headless(CLI)profile:
dsh plugin --profile headless add github:zhangzheng25/dsh-minimal-desktop 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。
使用场景
把 dsh 跑成原生桌面应用——独立窗口、托盘图标、快捷键——而不是浏览器标签。
适合谁
想要已安装应用的感觉和系统集成(托盘、全局热键、开机自启)的人。
二次开发建议
原生壳是缝——加全局快捷键、通知、单实例锁或按 OS 定制的行为。