lssyd20070106/dsh-ui-preset-enhance
第三方DSH WebUI增强插件:自定义背景、主题颜色、提示词预设、令牌/上下文可见性及手动压缩。
Project Overview项目介绍
This is a third-party UI enhancement plugin built exclusively for the DeepSeek Harness (DSH) WebUI. It adds four core sets of features to the base DSH experience: custom interface styling, reusable prompt presets, real-time token and context usage tracking, and manual context compaction. For users that already have Node.js and pnpm installed on their machine, the plugin can be added with a single one-line npx command. For Windows users that are not comfortable working with command line tools, a double-clickable installation script is provided to handle the entire setup process automatically.
The plugin is designed for all casual and power users of the DSH Web client. After installation completes, you only need to fully close and restart DSH Web, then hard-refresh your browser with Ctrl+F5 to activate the plugin. You can then access all features from the dedicated "UI Enhancement" page added to your DSH settings. From this page, you can customize your background, adjust transparency and blur effects, tweak theme colors, save custom prompt presets, check current session token usage, and run manual context compaction whenever you need it.
The project is released under the permissive open-source MIT license. All of your personal configurations, including custom backgrounds, theme settings, and saved prompt presets, are stored locally in your browser’s localStorage and never sent to external servers. The current version is v0.1.0 Preview, tested for compatibility with DSH 0.1.0-rc.6, and includes automated smoke tests to confirm the plugin loads correctly. Development of the plugin requires Node.js 20 or newer, but regular users do not need any extra dependencies beyond what is required for a base DSH install.
这是一款专门为 DeepSeek Harness(DSH)WebUI 开发的第三方界面增强原生插件,核心提供四项功能:界面个性化定制、常用 Prompt 复用保存、当前会话 Token 与 Context 状态查看,以及手动执行 Context 压缩。已预先构建好可运行产物,普通用户无需自行编译,有 Node.js 和 pnpm 环境可通过一行 npx 命令安装,不熟悉命令行的 Windows 用户也可双击安装脚本完成部署。
面向所有使用 DSH Web 客户端的普通用户和开发者,用户安装完成后只需重启 DSH Web 并刷新浏览器,即可在设置的「界面增强」页面使用所有功能。你可以自定义界面背景、调整透明度和模糊效果、修改主题色阶,也能保存自定义 Prompt 预设,快速查看当前会话的 Token 使用情况,随时手动压缩对话 Context。
项目遵循 MIT 开源协议,所有用户配置都保存在浏览器本地存储,不会上传到第三方服务器。当前为 v0.1.0 预览版,兼容 DSH 0.1.0-rc.6 版本,内置自动化测试检查兼容性,但仍需要用户反馈不同环境的运行问题。开发需要 Node.js 20 以上版本,普通用户仅需满足基础安装环境要求即可。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-ui-preset-enhance(lssyd20070106/dsh-ui-preset-enhance)
仓库:https://github.com/lssyd20070106/dsh-ui-preset-enhance
本站详情页:https://www.yhbd.top/plugins/lssyd20070106-dsh-ui-preset-enhance/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 6 · 最近提交 2026-08-14 · 主语言 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 6 stars - very few users, little community feedback星标只有 6,几乎没人在用,遇到问题缺少社区反馈
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:lssyd20070106/dsh-ui-preset-enhance
把 lssyd20070106/dsh-ui-preset-enhance 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-ui-preset-enhance
一个给 DeepSeek Harness(DSH)WebUI 用的第三方界面增强插件。
它主要解决 4 件事:界面个性化、常用 Prompt 复用、Token / Context 查看、手动 Compact。
当前版本:v0.1.0 Preview
第三方项目,不是 DeepSeek 官方组件。项目按当前公开的 DSH0.1.0-rc.6客户端接口进行了源码兼容检查,并附带构建、运行入口和 DSH 安装 Smoke Test。正式发布初期仍建议保留 Preview 标记,方便收集不同环境的兼容反馈。
效果预览
上面两张图来自项目早期视觉原型。正式插件使用独立的 “设置 → 界面增强” 页面提供同方向的壁纸、模糊、透明度和强调色功能,具体控件位置可能与原型图略有不同。
最简单的安装方法
电脑已经有 Node.js 和 pnpm 时,只需要这一行:
npx --yes @deepseek-ai/dsh plugin --profile web add github:lssyd20070106/dsh-ui-preset-enhance
安装完成后:
- 完全关闭并重新启动 DSH Web;
- 浏览器按
Ctrl + F5; - 打开 设置 → 界面增强。
不会命令行?
下载本仓库 ZIP,先解压,然后双击:
INSTALL-WINDOWS.cmd
它会检查 Node.js、pnpm、插件文件和 DSH 安装结果。遇到问题直接看:
功能
| 功能 | 简单说明 |
|---|---|
| 🖼️ 自定义背景 | 本地上传、网络图片或 5 个渐变预设 |
| 🌫️ 透明与模糊 | 调整 DSH 界面层透明度和壁纸模糊 |
| 🎨 主题颜色 | 主色、辅助色与强调色阶 |
| 📑 Prompt 预设 | 7 个内置模板 + 自定义保存 / 删除 / 快速载入 |
| 📊 Token / Context | 查看当前 Session 的 Context 压力、窗口和 Token 组成 |
| 🧹 手动 Compact | 通过当前 Session 的 DSH 命令接口执行 /compact |
安全与边界
这个项目定位是 Web 客户端增强:
- 不注册新的后端 Tool;
- 不修改 Agent-Loop 核心;
- 不上传你保存的 Prompt 到本项目自己的服务器;
- 壁纸、主题和用户 Prompt 预设主要保存在浏览器
localStorage; - 自定义壁纸 URL 只接受
http://、https://和图片data:URL,拒绝任意脚本 / CSS URL。
如果你使用网络图片作为壁纸,浏览器仍会正常访问那个图片服务器,因此对方服务器可以收到普通网络请求信息。
我们检查了什么
仓库内置两层 Smoke Test:
scripts/smoke.mjs
scripts/runtime-smoke.mjs
它们会检查:
package.json/cordis.patch.yml/./client导出是否一致;window.__ModuleLoader__.load(...)包装和插件 ID;- Settings 与 Sidebar Slot 是否能注册;
- 当前 Session 的 Token Projection 是否能读到;
/compact是否走 Sessioncommand();- 已保存壁纸、主题 Token 是否能在插件启动时恢复;
- 构建产物是否含本机绝对路径。
GitHub Actions 还会在干净环境中:
- TypeScript 检查;
- 重建
dsh/client.js/dsh/index.js; - JavaScript Syntax Check;
npm pack --dry-run;- 用
@deepseek-ai/dsh@0.1.0-rc.6创建干净 Web Profile,并实际执行一次dsh plugin add file:...安装检查。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Jolly-J/dsh-deepseek-billing
jLeon-account/dsh-client-usage
jiangli07/dsh-deepseek-quota-bar
boNeXY226/dsh-cost-chip
MeteorNOX/DeepSeek-Balance-Whale-Widget