jiangnanquan/dsh-ux
DSH Web UI增强插件 + 无边框Electron桌面壳
Project Overview项目介绍
dsh-ux is a user experience enhancement kit built exclusively for DeepSeek Harness (DSH). It ships with two core components: dsh-enhance is a web interface plugin for DSH that adds custom themes, layout adjustments, collapsible content capsules for aggregated thoughts and tool calls, and account usage tracking. It supports automatic line wrapping for long tool call chains, keeping each line’s capsule intact and accessible via click to expand. The second component is dsh-desktop, a borderless Electron-based desktop wrapper for DSH that works on macOS, letting users run DSH as a native desktop app with automatic backend startup.
The package is installed via the DSH plugin command line tool, targeting the DSH web profile. To install, users run dsh plugin --profile web add github:jiangnanquan/dsh-ux#main, then restart DSH to activate the plugin, no manual configuration edits are required. The installation command is idempotent, so running it multiple times will not cause errors or duplicate installations. Users who do not want to type terminal commands can paste a pre-written prompt into any AI agent to handle the full installation and health check automatically. Upgrades and uninstalls are also handled directly via the DSH plugin command line interface.
The dsh-enhance plugin recommends installing the Maple Mono font for the best visual experience, but it will automatically fall back to default system monospace fonts if Maple Mono is not detected, so core functionality remains intact. The account usage display feature requires a configured DeepSeek API key in DSH; without this key, the feature will not work but all other plugin features will run normally. The plugin uses hard-coded DeepSeek peak/off-peak pricing based on official rates, so manual updates to the pricing table in source code are required if DeepSeek changes its pricing. The entire project is released under the open source MIT license.
这是专为DeepSeek Harness(DSH)打造的原生用户体验增强套件,包含两个核心部分:dsh-enhance 是DSH网页端的界面增强插件,提供定制主题、布局优化、内容聚合胶囊和账户用量展示功能;dsh-desktop 是基于Electron开发的无边框DSH桌面客户端壳,macOS下可直接双击运行,自动拉起后端服务。
适合对DSH默认界面体验有个性化优化需求的用户使用。安装时可通过DSH官方插件命令一键添加到web profile,重启DSH后即可生效,整个过程无需手动修改配置,安装命令是幂等的,重复执行也不会出错,升级和卸载也都可以通过对应DSH插件命令完成,不想手动敲命令还可以借助AI agent完成安装。
插件推荐安装Maple Mono字体获得最佳显示效果,未安装该字体时会自动回退到系统默认等宽字体,不影响核心功能使用。账户用量展示功能需要当前DSH配置DeepSeek API密钥,未配置时仅该功能不可用,其余功能不受影响。项目采用MIT开源许可证,计价规则按DeepSeek官方峰谷价硬编码,官方调价后需要手动更新代码内的计价表。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-ux(jiangnanquan/dsh-ux)
仓库:https://github.com/jiangnanquan/dsh-ux
本站详情页:https://www.yhbd.top/plugins/jiangnanquan-dsh-ux/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 8 · 最近提交 2026-09-30 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 8 stars - very few users, little community feedback星标只有 8,几乎没人在用,遇到问题缺少社区反馈
- Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
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:jiangnanquan/dsh-ux#main
把 jiangnanquan/dsh-ux 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-ux
中文 | English
DSH(DeepSeek Harness)Web 界面体验套件,包含两件东西:
| 部分 | 内容 |
|---|---|
| dsh-enhance(仓库根目录) | DSH 插件:主题、布局、折叠胶囊、账户用量。web profile 与官方桌面版都能装 |
desktop/ 子目录) |

能力(dsh-enhance)
| 类别 | 内容 |
|---|---|
| 主题 | Solarized 浅色配色(深色保留官方默认)+ Maple Mono 字体栈(检测到才启用) |
| 布局 | 加宽消息列、紧凑间距、收窄输入队列、禁用橡皮筋滚动 |
| 折叠胶囊 | 思考块聚合为 Think ×N 胶囊、工具调用聚合为 A → B → C 链路胶囊;长链路按可用宽度换行,每行独立成胶囊,点击任一行展开 |
| 账户用量 | 底部显示官方账户余额、本轮 token 成本、近 30 天用量图表 |
长工具链会跟随消息列宽度自动重新分行,每个视觉行保持独立、完整的胶囊轮廓:

安装
前置:已按 DSH 的 profile 机制运行(dsh web)。
dsh plugin --profile web add github:jiangnanquan/dsh-ux#main
本包声明了 dsh.bundle.patch 与 dsh.client,dsh plugin add 会自动把它加入 profile 的 bundles,重启 dsh 后即生效,无需手改任何配置。重复执行该命令是安全的(幂等);升级用 dsh plugin --profile web update dsh-enhance。
官方桌面版不使用这条命令:
desktopprofile 由 Electron 应用独占,dsh plugin --profile desktop …会被直接拒绝。桌面版装法见 INSTALL.md。
交给你的 AI
不想手动敲命令?把下面这段话粘贴给任意 AI agent(Claude Code、dsh、Gemini CLI……),让它读 INSTALL.md 并完成安装与自检:
请按照 https://github.com/jiangnanquan/dsh-ux/blob/main/INSTALL.md 里的步骤,在我的机器上安装并验证 dsh-enhance 插件(profile 用 web),然后运行文档里的健康检查并告诉我结果。如果任何一步失败,按文档的回滚步骤恢复原状并说明原因。
桌面版(dsh-desktop)
官方桌面版自带 dsh 运行时与 Electron 壳(@deepseek-ai/dsh-desktop-host),它使用独立的 desktop profile(~/.dsh/profiles/desktop,固定监听 127.0.0.1:19387)。装法与 web profile 不同,见 INSTALL.md。
本仓库的
desktop/子目录(dsh-desktop 轻量封装)已废弃:官方壳已经覆盖了它做的一切(无边框窗口、拉起后端、认证打通),不再需要安装。保留仅为历史参考,见 desktop/README.md。
依赖与前提(dsh-enhance)
- 字体:优先使用 Maple Mono;未安装时自动回退到 PingFang SC / SF Mono / Menlo / 等宽字体,效果略有差异。推荐安装 Maple Mono 获得完整观感。
- 余额 / 本轮成本 / 用量图表:调用 DeepSeek 官方接口,需要当前 DSH 已配置
DEEPSEEK_API_KEY凭据;未配置时这些信息显示为查询失败/不可用,不影响其余功能。 - 计价表按官方峰谷价(北京时间 9–12、14–18 高峰,其余空闲半价)硬编码,官方调价后需更新
lib/index.js里的pricingFor。
卸载
dsh plugin --profile web remove dsh-enhance
License
MIT
reactive-resume/reactive-resume
ningbainb/deepseek-harness-desktop
elysia395/dsh-wallpaper-engine
ChisaAlter/Deepseek-Harness-Desktop
Nwflower/dsh-claude-style
rison114514/dsh-endfield-ui
Links2008/DeepSeek-Harness-Desktop
XCNXNXNX/dsh-portable-tavern