deepseek-harness-desktop

by tlenzer

1 工具与能力github收录于 08-23

社区维护的 DeepSeek Harness Windows 桌面外壳:在加固的 Electron 窗口里跑上游 Web UI,附带专用 Node.js 边车运行时

Community-maintained Windows desktop shell for DeepSeek Harness. It runs the upstream Web UI inside a hardened Electron window and ships a dedicated Node.js sidecar runtime.

安装

dsh plugin --profile web add github:tlenzer/deepseek-harness-desktop

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

DeepSeek Harness Desktop

Community-maintained Windows desktop shell for DeepSeek Harness. It runs the upstream Web UI inside a hardened Electron window and ships a dedicated Node.js sidecar runtime.

基于 DeepSeek Harness 官方 Web UI 的 Windows 桌面封装:内置运行时、原生窗口、独立数据目录和完整安装程序。

Features / 特性

  • Original DeepSeek Harness Web UI in an Electron desktop window
  • Bundled Node.js, npm, Corepack, pnpm, and pinned @deepseek-ai/dsh
  • Stable loopback endpoint at 127.0.0.1:31880, with automatic fallback on conflict
  • First-run workspace picker plus --workspace and DSH_WORKSPACE overrides
  • Separate desktop DSH_HOME; existing DEEPSEEK_API_KEY or ~/.deepseek/config.toml is reused locally
  • Single-instance lock, sandboxed renderer, external-link isolation, and IPC-based runtime shutdown

Download / 下载

Download the latest Windows x64 installer from GitHub Releases.

安装后从桌面或开始菜单启动。首次启动时选择项目工作区,随后在 DeepSeek Harness 界面中选择具体项目并创建会话。

Architecture / 架构

flowchart LR
  A["Electron main process"] --> B["Portable Node.js sidecar"]
  B --> C["DeepSeek Harness Web profile"]
  C --> D["127.0.0.1:31880"]
  A --> E["Sandboxed BrowserWindow"]
  E --> D

The Harness runtime stays outside app.asar so native modules, workers, terminal helpers, and Web assets remain ordinary filesystem resources. The renderer has Node integration disabled and context isolation enabled.

Build from source / 从源码构建

Requirements:

  • Windows x64
  • Node.js 22.19+ or 24+ (Node.js 24 recommended)
  • Git
git clone https://github.com/Tlenzer/deepseek-harness-desktop.git
cd deepseek-harness-desktop
npm ci
npm run runtime:install
npm run check
npm run smoke
npm run dist

Artifacts are written to release/.

Development mode:

npm start
npm start -- --workspace C:\path\to\workspace

Data locations / 数据目录

%APPDATA%\deepseek-harness-desktop\desktop-settings.json
%APPDATA%\deepseek-harness-desktop\desktop.log
%APPDATA%\deepseek-harness-desktop\dsh\

Runtime privacy / 运行时信息

The Node.js sidecar inherits the desktop process environment so provider keys, proxy settings, and tool configuration continue to work. desktop.log can contain workspace paths and Harness stdout/stderr; review that file before sharing it in an issue.

Release installers are community builds without a commercial Windows signing certificate. CI-built workflow artifacts and SHA-256 checksums are generated for every tagged release.

Version policy

Desktop releases pin an exact DeepSeek Harness release in runtime/package.json. Upstream is currently a developer preview, so dependency upgrades are tested and released explicitly rather than floating on npm latest.

License

This desktop shell is released under the MIT License. DeepSeek Harness and bundled third-party components retain their respective licenses; see NOTICE.md and THIRD_PARTY_LICENSES.txt.

原始 README: https://github.com/Tlenzer/deepseek-harness-desktop/blob/main/README.md ↗