reimu-create/deepseek-harness-portable

DeepSeekHarness portable launcher: one-click dsh web with modern control window (Windows + macOS)

项目介绍Project Overview

DeepSeekHarness 便携启动器是将原版 dsh 封装为开箱即用的桌面应用,内置 Node.js 与 dsh,双击即可启动 WebUI,并提供官网风格控制小窗口,支持一键退出并清理自身后台进程。会话、凭据、配置仍共享默认 ~/.dsh。适合不想手动配置命令行环境、希望快速启动和干净退出的用户。注意:macOS 版未签名,首次运行需解除隔离;3080 端口被占用时不会终止他人进程。

DeepSeekHarness Portable Launcher packages the unmodified dsh CLI into a ready-to-use desktop app with bundled Node.js. It launches the WebUI with a double-click and provides a small control window to stop the WebUI and clean up only the processes it started. Sessions, credentials, and config remain shared via the default ~/.dsh directory. Use it when you want quick startup without manual setup. Caveat: the macOS build is unsigned and requires quarantine removal; it will not kill other processes using port 3080.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:reimu-create/deepseek-harness-portable

reimu-create/deepseek-harness-portable 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DeepSeekHarness 便携启动器

DeepSeek Harness (dsh) 封装为开箱即用的桌面启动器:双击启动 WebUI,附带一个官网风格的控制小窗口,一键退出 WebUI 并清理全部后台进程。

dsh 本体完全原版、零修改;会话、凭据、配置继续使用默认的 ~/.dsh(Windows 为 C:\Users\<你>\.dsh),与原版完全共享。

下载

Releases 中选择对应平台的压缩包:

平台 Release 说明
Windows v1.0.0-windows 内置 Node.js 24 + dsh,控制窗口基于 WPF + WebView2(官网风格 UI)
macOS (Apple Silicon) v1.0.0-macos-arm64 内置 Node.js 24 + dsh,控制窗口基于 Electron(官网风格 UI)

Windows 使用

  1. 解压 DeepSeekHarness.zip 到任意目录
  2. 双击 install.bat 生成桌面快捷方式(人物图标)
  3. 双击桌面 DeepSeekHarness 快捷方式
  4. 控制小窗口:顶部可拖动;点按钮退出 WebUI + 清理后台

若 3080 端口被其他进程占用(例如另一个 DSH 实例),启动器会提示并绝不终止他人进程

macOS 使用(Apple Silicon)

  1. 解压 DeepSeekHarness-mac-arm64.zip
  2. 首次运行前解除隔离(未签名应用):
    xattr -cr DeepSeekHarness.app
    
    或右键 app → 打开 → 再点"打开"
  3. 双击 DeepSeekHarness.app(或运行 install.command 安装到 /Applications)
  4. 控制小窗口:顶部可拖动;点按钮退出 WebUI + 清理后台

日志:~/Library/Application Support/DeepSeekHarness/logs/

从源码重新打包

  • Windows:build-package.ps1(依赖本机 npm 全局安装的 dsh 与本机 node.exe)
  • macOS:build-mac.ps1(在 Windows 上交叉组装;先下载 Electron 与 Node 的 darwin-arm64 包到 mac-build/downloads/

说明

  • 封装包不包含任何个人数据、凭据或会话记录
  • 两个平台的行为一致:数据共享、端口占用保护、只清理自己启动的进程
上一个 Prev dsh-red-alert 下一个 Next dsh-github