Zalpha263/dsh-ui-beautify

Plugin插件 Native原生 ⭐ 2 MIT UI & Themes界面与主题

用于dsh界面美化,内置四种颜色主题,并且可上传自定义背景

Project Overview项目介绍

dsh-ui-beautify is a DSH Web UI plugin that adds color presets, full-page background images, a VSCode-style card layout, and a unified plugin panel. Cards can dock, float, resize, and collapse; settings persist in localStorage and can be reset or removed cleanly. Use it to customize appearance and panel arrangement. Caveat: styles target the current Web client and may break after major DSH upgrades.

dsh-ui-beautify 是 DSH Web UI 外观插件,提供四套配色预设、整页背景图、VSCode 式卡片布局与统一插件面板,支持停靠/浮动/缩放/折叠,设置存入 localStorage 并可一键重置或卸载还原。适合想自定义界面外观与面板布局时使用。注意:样式针对当前 Web 客户端编写,DSH 大版本升级后可能失效。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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:Zalpha263/dsh-ui-beautify

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

READMEREADME

dsh-ui-beautify

给 DSH 的 Web 界面换一套更顺眼的外观:配色预设、整页背景图。所有改动都存在浏览器本地,随时可以一键还原。

能做什么

  • 配色预设:内置四套(默认 / 深海蓝 / 暖沙 / 松石绿),浅色与深色各有适配。切换时不只是换背景和气泡,DSH 界面里的蓝色强调元素(文件夹图标、加载动画、标签高亮、链接等)也会一起换成预设色。
  • 整页背景图:上传一张本地图片,插件自动压缩到最长边 2560px 以内,并给上层文字加可读遮罩;侧边栏与主区都会显示。
  • 随时还原:配色与背景图存在浏览器 localStorage,刷新或重启 DSH 都会自动恢复;「重置全部」回到出厂状态,卸载插件后注入的样式会被移除。

使用说明

所有开关都在 设置 → UI设置:

区域 控件 作用
外观美化 配色预设 一键切换整套配色;点「默认」还原 DSH 原生蓝
外观美化 选择图片 / 清除 上传本地图片作为全页背景,或移除背景图
外观美化 重置全部 恢复默认外观并清除已保存的设置

3.0.0 起移除了卡片布局引擎,所以「UI设置」里只剩外观美化,布局模式、恢复默认布局这类控件随之消失。

安装

要求:DSH 0.1.7 系列或 0.2.0 系列(已在 0.1.7-rc.2 与 0.2.0-rc.1 上实测;本插件不声明 peerDependencies,宿主的兼容检查对没有该字段的插件直接放行,因此两个宿主都不存在「被静默跳过」的问题)与 pnpm。

# 发布态:钉死提交,最稳定
dsh plugin --profile web add github:Zalpha263/dsh-ui-beautify#<40位commit>

# 开发态:裸目录路径 = link:(源码即部署,改完不用重装)
dsh plugin --profile web add D:/path/to/dsh-ui-beautify

# 升级与卸载
dsh plugin --profile web install
dsh plugin --profile web remove dsh-ui-beautify

装完重启 DSH,打开「设置 → UI设置」即可。改完源码只需刷新页面(本插件全部逻辑在浏览器侧,无构建步骤)。

桌面版(DeepSeek Harness 桌面应用):desktop profile 由桌面应用独占,dsh plugin --profile desktop ... 会被 CLI 直接拒绝(profile "desktop" is managed exclusively by the Electron application)。请在桌面应用侧边栏的插件页里用绝对路径添加本插件目录(或 GitHub 仓库地址),装完重启应用生效。桌面应用自带 Node / pnpm 运行时并走应用内更新(不依赖 npm 全局安装),它的 DSH 版本可能与全局 CLI 不同(实测桌面 0.2.0-rc.1、全局 CLI 0.1.7-rc.2),本插件对两者都通过兼容检查。

常见问题

问题 原因与解决
「设置」里没有「UI设置」 安装后没有重启 DSH;重启后再看
卡片布局 / 布局模式去哪了? 3.0.0 起整体移除:拖卡片要改写官方 AppFrame 的列宽,而那正是官方右侧栏申领的资源,两边互相覆盖就是过去「面板与侧边栏冲突」的根因
sidebarPanel 服务去哪了? 4.0.0 起整体移除。插件面板本来就注册在官方右侧栏上(sidebarRightTabs + sidebar.right.pane.tab),中间那层适配只会造成「关掉本插件,别的插件就没右侧栏入口」。第三方插件请直接对接官方服务,见 @deepseek-ai/dsh-client-ui-sidebar-right 的 README「扩展席位」
换浏览器 / 清缓存后设置不见了 设置存在浏览器 localStorage,属预期行为
卸载后还有样式残留 先硬刷新(Ctrl+F5)
其他插件热重载后界面异常 引擎会自动重新接管,最迟 1 秒恢复;仍异常请硬刷新并反馈

兼容性

面向 DSH 0.1.7 / 0.2.0 系列的 Web 界面编写,4.0.0 起不再触碰右侧栏(面板注册服务已移除,本插件只做配色与背景图)。用户气泡走宿主 token --dsw-specific-bubble;只有会话发送按钮和侧边栏淡出层仍按客户端产物的哈希类名覆盖:.uV2eYG_primary 出自 @deepseek-ai/dsh-client-ui-conversation 的客户端产物,.bhn1Oq_fade 出自 @deepseek-ai/dsh-client-ui-workspace 的客户端产物。这两处已实测:在 0.2.0-rc.1 宿主上抓取 boot manifest 广告的全部 83 个客户端产物,两个类名均仍存在(产物 rev cf69ca49decf / 1a8f018dea37),--dsw-specific-bubble 也仍在 dsh-client-ui-theme 产物中。DSH 大版本升级后建议在「外观美化」里复核这两处。背景图以压缩后的 data URL 存在 localStorage(约 5MB 配额内)。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev memobranch 下一个 Next dsh-codekin →