deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
DeepSeek Harness 的 Windows 桌面启动器:.NET 10 WPF + WebView2,独立进程托管 dsh 服务,托盘管理,标题栏深浅色跟随系统。
--minimized 静默启动不弹窗)%USERPROFILE%\.dsh-desktop.log需要 .NET Desktop Runtime 10(winget install Microsoft.DotNet.DesktopRuntime.10)与 WebView2 Runtime(Windows 10/11 自带)。
dsh 不必全局安装:启动器优先用 PATH 中的
dsh,否则自动回退npx -y @deepseek-ai/dsh。
换 npm 镜像(可选):npx 回退下载过慢时,设置环境变量 DSH_NPM_REGISTRY 即可免改代码换源:
$env:DSH_NPM_REGISTRY = "https://registry.npmmirror.com"
DshDesktop.exe
git clone https://github.com/mrbbbaixue/dsh-desktop.git
cd dsh-desktop
dotnet test # 单元测试(ShellLogic 策略)
./scripts/publish.ps1 # 打包:zip + SHA256(框架依赖单文件,约 2.3MB)
./scripts/publish.ps1 -SelfContained # 自包含单文件(内置 .NET 运行时,约 175MB,免装运行时)
单文件发布配置已固化在 DshDesktop.csproj(WebView2Loader.dll 与托管依赖一并嵌入,发布目录只有一个 exe)。产物在 dist\:
dsh-desktop-<版本>-win-x64-framework-dependent.zip — 默认,需 .NET Desktop Runtime 10dsh-desktop-<版本>-win-x64-self-contained.zip — 免装运行时,仅需 WebView2 Runtime(Windows 10/11 自带)Q:双击没反应?
查看日志 %USERPROFILE%\.dsh-desktop.log,确认 Node.js 已安装。
Q:提示缺少 .NET Desktop Runtime?
执行 winget install Microsoft.DotNet.DesktopRuntime.10 后重试。
Q:窗口一直显示"正在启动 dsh 服务…"?
等待页下方有一行环境检测(如 Node.js 已安装 (v22.14.0) · npm 已安装 · dsh 未安装(将自动用 npx 启动))。若显示 Node.js 未安装,请先安装 Node.js 后从托盘菜单重试。服务 90 秒内未就绪(常见于 npx 首次下载慢)时,壳会在后台继续等待,下载完成会自动加载页面;也可设置 DSH_NPM_REGISTRY 镜像后,托盘菜单「重启 dsh 服务」。
Q:网页里"选择目录"报 directory picker failed: spawn C:\Program Files\nodejs\node.exe ENOENT?
通常是残留的旧 dsh 进程占着 3080 端口(例如升级 Node.js 前的 32 位旧服务,spawn 位数不匹配的新 node.exe 会报 ENOENT)。托盘菜单「重启 dsh 服务」即可:壳会结束占用端口的残留 dsh 进程并重新拉起(仅清理命令行确认是 dsh 的进程,其它占用端口的进程会跳过并记入日志,避免误杀)。确认 Node.js 已安装后重试。
| 变量 | 作用 |
|---|---|
DSH_WEB_URL |
覆盖目标地址(默认 http://127.0.0.1:3080);设置后视为外部托管服务,壳不再自动拉起/停止 dsh |
DSH_NPM_REGISTRY |
指定 npm 镜像源(仅 npx 回退路径生效,如 https://registry.npmmirror.com) |
本仓库是独立的第三方工具,与 DeepSeek / DeepSeek AI 官方无关。DeepSeek Harness(dsh)是官方项目(MIT)。窗口图标使用了 DeepSeek 品牌标识,版权归 DeepSeek 所有,如构成侵权请联系我删除。
MIT © mrbbbaixue
A Windows desktop launcher for DeepSeek Harness: .NET 10 WPF + WebView2, dsh hosted in a managed child process with a system-tray controller, and the native title bar follows the system dark/light theme.
--minimized starts silently)%USERPROFILE%\.dsh-desktop.log.NET Desktop Runtime 10 and WebView2 Runtime (built into Windows 10/11). Node.js 18+ is required for the dsh service. A global dsh install is optional — the launcher falls back to npx -y @deepseek-ai/dsh automatically; set DSH_NPM_REGISTRY (e.g. https://registry.npmmirror.com) to use a faster npm registry.
Independent third-party tool, not affiliated with DeepSeek / DeepSeek AI. The app icon uses the DeepSeek brand mark, whose copyright belongs to DeepSeek; if this constitutes infringement, please contact me to have it removed. MIT © mrbbbaixue.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。