在设置页加入「桌面端」卡片,检测 DeepSeek Harness 桌面应用并一键唤起。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:Ch0uHuaZ1/DeepSeek-Harness-Desktop#path:/packages/desktop-launcher-plugin
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Detect and launch the DeepSeek Harness Desktop app from the DSH Web UI.
A cordis plugin for DeepSeek Harness that adds a "Desktop" card to the settings page. It shows whether the desktop app is running and offers a one-click launch button.
Features
- Status detection — probes the web service port and the desktop app process on Windows.
- One-click launch — starts the desktop app exe when found, otherwise falls back to opening the Web UI in the default browser.
- Bilingual UI — follows the DSH locale (中文 / English).
Verify
Once installed and restarted, check the HTTP API directly:
curl http://127.0.0.1:3080/api/desktop-launcher/status
# {"running":false,"pid":null,"port":3080,"serviceUp":true,"exePath":"...exe"}
curl -X POST http://127.0.0.1:3080/api/desktop-launcher/launch -H 'Content-Type: application/json' -d '{}'
# {"launched":true,"exePath":"...exe","method":"exe"}
Or open Settings → Desktop in the Web UI and click Launch Desktop.
A smoke test is included:
node packages/desktop-launcher-plugin/test/smoke.mjs 3080
# SMOKE TEST PASSED
Install
dsh plugin --profile web add dsh-desktop-launcher
Or clone this repository into ~/.dsh/profiles/web/node_modules/dsh-desktop-launcher and register
it in ~/.dsh/profiles/web/cordis.patch.yml:
- insert:
- id: desktop-launcher
name: dsh-desktop-launcher
Then restart dsh web.
HTTP API
| Route | Method | Description |
|---|---|---|
/api/desktop-launcher/status |
GET | { running, pid, port, serviceUp, exePath } |
/api/desktop-launcher/launch |
POST | Launch the desktop app (or open the browser) |
License
MIT
链接
同类插件
bowenliang123/dsh-context★ 1791
DSH 上下文洞察面板:Context 仪表盘 + /context命令 + Context 浏览器,查看 Context的分类组成、内容详情、演进趋势、压缩/注入事件、统计等一站式 Context 全生命周期管理。
Han-1413141/dsh-cost-meter★ 361
会话与当日 API 费用统计、预算图框(已用%)、官方余额、历史看板,支持峰谷计价与官方价格一键同步。
wssfk12138/dsh-damage-pulse★ 237
在 DSH Web 界面追踪 DeepSeek Token 用量、单次与会话费用及账户余额,并显示缓存感知的扣费动画。
zh667/TokenLedger★ 202
侧边栏用量面板:把 Token 归属到实际服务该请求的中转站,站点从已有的 provider 配置中读出,无需额外配置;含今日/本月/累计三窗口、按站点与模型下钻、一年活跃度热力图,以及 New API / Sub2API / DeepSeek 余额。
Ychris12138/dsh-usage-stats★ 167
多供应商用量看板:按供应商/模型统计 Token 与日期下钻,统一展示账户余额,并追踪 OpenCode Go / Z.ai 订阅额度。
PolinniZhong/dsh-personal-center★ 118
DeepSeek Harness 个人中心:跨会话用量统计、按模型成本估算、全局自定义指令、外观全局字号、数据驱动的桌面宠物(位图/矢量皮肤)与会话状态概览,纯本地离线运行。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。