iuikj/dsh-desktop ↗★ 20

dsh-desktop

DeepSeek Harness 桌面端:把本地 Web GUI 封装为 Electron 应用 适合想用桌面应用访问的用户;可配置端口、自动启动与自动安装

Package
dsh-desktop
Compatibility
Unverified
Version
0.2.0
Last updated
Aug 13, 2026

Other repositories with this package name

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

配置

首次运行会在用户数据目录(Windows 为 %APPDATA%/deepseek-harness-desktop 或 %APPDATA%/ ,取决于 Electron 的 userData 解析)生成 config.json。 菜单「帮助 → 打开配置目录」可直接打开。字段如下:

{
  "host": "127.0.0.1",   // 服务监听地址
  "port": 3080,           // 服务端口
  "autoStart": true,      // 服务未运行时是否自动启动
  "autoInstallDsh": true, // 未检测到 DeepSeek Harness 时是否自动安装
  "killOnQuit": true,     // 退出时是否杀掉由本应用启动的服务
  "workspace": "",        // 服务工作目录(空串 = 用户主目录)
  "nodePath": "",         // node.exe 路径(空串 = 自动探测)
  "dshBin": ""            // dsh lib/bin.js 路径(空串 = 自动探测)
}

探测顺序

  • nodePath:优先取 DSH_NODE 环境变量,其次 where node,最后常见安装路径。
  • dshBin:优先取 DSH_BIN 环境变量,其次 $DSH_HOME/profiles/node_modules/@deepseek-ai/dsh/lib/bin.js, 最后 where dsh 解析。

为什么不直接用 Electron 自带的 Node?Electron 内置 Node 的 ABI 与系统 Node 不同, dsh 的原生模块(node-pty、sharp 等)按系统 Node 编译,因此必须用系统 node.exe 启动。