terminator850/dsh-tauri

Desktop桌面端 ⭐ 2 MIT Clients & Launchers客户端与启动器

Project Overview项目介绍

dsh-tauri is a desktop distribution shell built specifically for DeepSeek Harness, wrapping the official Harness Web App inside a Tauri window rather than reimplementing it. The project pins @deepseek-ai/dsh@0.1.0-rc.7 as a direct dependency, and src-tauri/src/lib.rs only manages the desktop lifecycle: spawning the bundled runtime, forwarding its startup logs to the user, and cleanly reclaiming the child process when the window closes. Because the bundled runtime serves 127.0.0.1:3180, every chat panel, session list, settings page, plugin catalog, workspace, terminal, MCP surface, and sub-agent UI inside the Tauri shell comes straight from Harness itself, so behaviour matches the upstream product exactly.

The intended workflow is to install Node.js, pnpm, and Rust, then run corepack enable followed by pnpm install to fetch the dependencies. pnpm tauri dev launches the desktop client in development mode, while pnpm tauri build produces a release binary, and pnpm harness:web is provided for users who want to debug the official Web App on its own. It is designed for people already running Harness via pnpm dsh web who simply want a native window and a desktop shortcut without reconfiguring API keys, plugins, or sessions, since the shell shares ~/.dsh with the CLI version.

Runtime requirements are Tauri plus the Rust toolchain, Node.js, pnpm, and the bundled Harness runtime; when the window closes, Tauri reclaims the runtime. Release artifacts land in src-tauri/target/release/dsh-tauri.exe, while installers sit under bundle/. WebView2 data is written to %LOCALAPPDATA%\com.dsh.dsh-tauri\, the default DSH_HOME is %USERPROFILE%\.dsh, and the desktop shell never persists or uploads API keys, only honoring DEEPSEEK_API_KEY or DEEPSEEK_BASE_URL. The project is MIT licensed, as are its key third-party dependencies Tauri and DeepSeek Harness itself.

dsh-tauri 是为 DeepSeek Harness 量身打造的桌面端发行外壳,由 Tauri 框架封装,专门将 Harness 的官方 Web App 装进原生窗口。项目把 @deepseek-ai/dsh@0.1.0-rc.7 声明为直接依赖,并在 src-tauri/src/lib.rs 中负责启动、回收该 runtime,pnpm tauri dev 或 pnpm tauri build 即可完成开发与打包。窗口载入的是 Harness 自身渲染的聊天、会话、设置、插件、工作区、终端、MCP 与子代理界面,不是项目自制的聊天页。

典型用法是先安装 Node.js、pnpm 与 Rust,再用 corepack enable 和 pnpm install 拉取依赖,随后 pnpm tauri dev 启动桌面端,关闭窗口即可回收 runtime。桌面客户端面向已经在 Harness 上完成配置、但希望获得原生窗口体验的用户;调试时可以单独运行 pnpm harness:web 直连 127.0.0.1:3180。该工具与 pnpm dsh web 共用 ~/.dsh,因此 API Key、插件与会话只需配置一次。

运行依赖包括 Tauri、Rust 工具链、Node.js、pnpm,以及项目内的 Harness runtime,关闭窗口时 runtime 会被回收。产物为 src-tauri/target/release/dsh-tauri.exe,安装包位于 bundle/。WebView2 数据写入 %LOCALAPPDATA%\com.dsh.dsh-tauri\,DSH_HOME 默认 ~/.dsh,桌面端不持久化 API 密钥(仅读取 DEEPSEEK_API_KEY / DEEPSEEK_BASE_URL)。项目使用 MIT 许可证,主要第三方依赖 Tauri 与 DeepSeek Harness 同样为 MIT。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

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

CLI Install命令行安装

dsh plugin --profile web add github:terminator850/dsh-tauri

把 terminator850/dsh-tauri 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-tauri

DeepSeek Harness 的桌面发行壳。项目直接依赖并启动 DeepSeek Harness 官方 runtime,Tauri 窗口随后导航到 Harness 自己提供的完整 Web App;聊天、会话、设置、插件、工作区、终端、MCP 和子代理界面全部来自 Harness。

前置条件

安装 Node.js、pnpm 和 Rust。Harness 已作为项目依赖声明,不需要全局安装:

corepack enable
pnpm install

Harness 的 API 凭据仍由它自己的配置负责,例如 DEEPSEEK_API_KEY、DEEPSEEK_BASE_URL 或 ~/.dsh 下的凭据文件。桌面端不会读取或持久化密钥。

使用

pnpm tauri dev

构建发布版:

pnpm tauri build

产物位于 src-tauri/target/release/,绿色版 exe 为 dsh-tauri.exe,安装包在 bundle/ 子目录下。

桌面应用启动时会执行项目内的:

node node_modules/@deepseek-ai/dsh/lib/bin.js web --host 127.0.0.1 --port 3180

窗口加载 http://127.0.0.1:3180 后显示的就是 Harness 官方 Web App,而不是本项目自定义的聊天页面。关闭桌面窗口时,Tauri 会回收 Harness runtime。需要调试时,可以运行 pnpm harness:web 单独启动官方页面。

架构

@deepseek-ai/dsh@0.1.0-rc.7 提供官方 profile、Cordis 插件组合、Host API、Web frontend、会话持久化和本地工具。src-tauri/src/lib.rs 只负责桌面生命周期:启动项目依赖的 runtime、转发启动日志、回收子进程;业务协议和界面仍由 Harness 自己实现。

数据存储

运行时会在以下位置写入数据:

路径 用途
%LOCALAPPDATA%\com.dsh.dsh-tauri\ WebView2 浏览器数据(localStorage、缓存、cookies 等)
%USERPROFILE%\.dsh\ Harness 会话、设置、插件、API 凭据等全部持久化数据(DSH_HOME 默认值)

桌面端不再自定义 DSH_HOME,与 pnpm dsh web 共用 ~/.dsh,API Key 只需配置一次。

API Key 也可以通过环境变量 DEEPSEEK_API_KEY / DEEPSEEK_BASE_URL 提供,桌面端不会持久化或上传密钥。

许可证

本项目基于 MIT License。

本项目依赖以下第三方开源项目,其许可证均为 MIT:

项目 仓库 许可证
DeepSeek Harness deepseek-ai/deepseek-harness MIT
Tauri tauri-apps/tauri MIT

社区支持

本项目受到 LINUX DO 社区的交流与反馈支持:

访问 LINUX DO 社区

← 上一个 Prev dsh-skill-eval 下一个 Next dsh-openai-gateway →