beex-labs/dsh-desktop-plugin--packages-dsh-desktop ↗★ 0
dsh-desktop
Windows desktop shell for the dsh Web GUI: hosts it in a WebView2 window, ships the shell executable beside this package, and (with autoLaunch) opens the shell once the server is ready.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:beex-labs/dsh-desktop-plugin#e2ca3ba45eceb3edf6e030f10bc51b330ff81089&path:packages/dsh-desktop说明文档
阅读完整 README ↗DeepSeek Harness Desktop
Windows 桌面壳:双击一个 exe,就能启动已安装的 DeepSeek Harness 并注入桌面体验。不依赖 harness 源码仓库,不替用户安装任何东西,不修改用户的任何资料。
简体中文
这是什么
dsh-desktop-plugin 是一个独立插件工作区:只发布一个自包含的 DeepSeekHarness.Desktop.exe(WPF 壳,.NET 8 自包含发布,无需任何运行时)。壳做的事:
- 启动已安装的 DeepSeek Harness(PATH 上的
dsh),从未安装则显示安装教程 + 一键安装按钮(npm install -g @deepseek-ai/dsh,仅用户点击才执行,绝不自动下载); - 端口上已有正在运行的 harness 则直接复用附着,不重复拉起;
- 通过 WebView2 注入两个小脚本:主题同步(壳的标题栏跟随网页明暗主题)与「关闭窗口时」设置行(注入到 dsh 网页设置对话框中,可切换 完全关闭 / 最小化到托盘 / 每次询问);
- 关闭窗口默认弹窗询问 托盘 or 完全关闭(可勾选记住选择);托盘菜单「退出」始终完全退出;
- 关闭即杀死整棵服务器进程树(含
dsh web --desktop交接的服务器),进程永不残留;子进程挂载 kill-on-close Job Object,壳崩溃也不留孤儿; - 不写用户任何资料,只写自己的
%LOCALAPPDATA%\DeepSeekHarness\shell.json与日志。
快速开始
pnpm install # 解析 @deepseek-ai/* 依赖
pnpm --filter dsh-desktop build:shell # dotnet publish -> packages/dsh-desktop/bin/
pnpm --filter dsh-desktop build # tsc -> lib/index.js
pnpm --filter dsh-desktop pack # npm 包(含 bin/)
用户侧只需双击 packages/dsh-desktop/bin/DeepSeekHarness.Desktop.exe。
布局
packages/
desktop-shell/ WPF 壳(.NET 8,自包含发布到 win-x64)
dsh-desktop/ npm 包:挂载桌面启动器 host row,bin/ 携带壳的可执行文件
截图

English
What this is
dsh-desktop-plugin is a standalone plugin workspace that ships one
self-contained DeepSeekHarness.Desktop.exe (a WPF shell, .NET 8
self-contained publish, no runtime needed). The shell:
- launches the already-installed DeepSeek Harness (the
dshCLI on PATH); when none is installed it shows an install tutorial with a one-click button (npm install -g @deepseek-ai/dsh— user-initiated only, never downloads on its own);