terminator850/dsh-tauri
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。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-tauri(terminator850/dsh-tauri)
仓库:https://github.com/terminator850/dsh-tauri
本站详情页:https://www.yhbd.top/plugins/terminator850-dsh-tauri/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-08-21 · 主语言 Rust · 未检测到 DSH 插件清单
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 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 社区
reactive-resume/reactive-resume
anywhere-labs/dsh-desktop
dataelement/dsh-desktop
ccch1mneyyy/dsh-TUI
DSH-EAC/DSH-Desktop-EAC
shaobeichen/dsh-pocket
xyTom/coding-tools-mcp