Han-1413141/dsh-ui-hub
DeepSeek Harness Desktop and Web UI manager: search, show/hide, move, resize and arrange plugin controls, with JSON layout backup and restore.
Project Overview项目介绍
This is a native DSH web client plugin designed exclusively for the DeepSeek Harness ecosystem, called UI Hub. It automatically enumerates all UI elements added by third-party DSH plugins, including panels, buttons, icons, charts, and input boxes. It supports individual toggling, positioning, drag-and-drop size adjustment, collision avoidance, and one-click automatic arrangement, directly solving the common core problem of overlapping UI elements when multiple DSH plugins are installed. To install, you can use an official one-click PowerShell script, the DSH CLI command, or a local development symlink for proper testing.
After installation and restarting your dsh web instance, a capsule button for UI Hub will appear in the top-right corner of your page. You can also open the management panel with the keyboard shortcut Ctrl+Shift+U on Windows or Command+Shift+U on macOS. The panel defaults to collapsed categories for official UI and third-party plugin UI, keeping the interface clean until you expand step-by-step to find the element you want to adjust. Each UI entry has a toggle to show or hide it, and you can enter drag mode to move and resize any element to your preferred clean layout.
This plugin is released under the open-source MIT license, and requires Node.js version 20 or higher along with a DSH version that supports the dsh plugin command. All of your configuration settings, including toggle states, positions, sizes, and collapsed states, are saved to your browser’s localStorage, so they persist across page refreshes and new DSH sessions. When you uninstall the plugin, all original UI elements are automatically restored to their default state, with no permanent changes to your DSH setup. There are a few minor known limits, such as fixed-position UI not working correctly inside elements with the CSS transform property, where the adjust mode is recommended.
这是一款专为DeepSeek Harness(DSH)开发的原生网页端插件,名为UI管家。它可以自动枚举页面上所有插件贡献的各类UI元素,包括面板、按钮、图表、输入框等,支持对每个UI元素单独开关、定位、拖拽调整,还能处理元素碰撞、一键自动排布,解决多插件安装后UI互相遮挡的问题。
安装重启DSH后,页面右上角会出现UI管家的入口按钮,也可通过快捷键Ctrl+Shift+U(macOS为⌘+Shift+U)唤起管理面板。用户可按官方/插件分类展开UI列表,点击开关即可隐藏或显示对应元素,也可进入拖拽模式调整位置大小,设置碰撞避让规则后就能一键整理零散重叠的UI元素。
本插件遵循MIT开源许可协议,安装要求Node.js版本不低于20,且需要支持dsh plugin命令的DSH版本。所有配置会保存在浏览器本地存储中,刷新不丢失,卸载插件后会自动还原所有UI样式,目前已知浮动模式对带transform属性的祖先元素下UI支持有限,建议使用微调模式。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-ui-hub(Han-1413141/dsh-ui-hub)
仓库:https://github.com/Han-1413141/dsh-ui-hub
本站详情页:https://www.yhbd.top/plugins/han-1413141-dsh-ui-hub/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-10-02 · 主语言 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 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
- 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 desktop add github:Han-1413141/dsh-ui-hub
把 Han-1413141/dsh-ui-hub 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-ui-hub
English | 中文
DSH 桌面端与 Web 插件:UI 管家。把页面上每个插件贡献的每个 UI(面板、按钮、图标、图表、输入框……)都枚举出来,支持逐个开关、逐个定位、碰撞避让和一键美观排布,专治插件一多之后的互相遮挡、挤成一团。
| 浅色主题 | 深色主题 |
|---|---|
![]() |
![]() |
上图为插件实际渲染结果,使用 DSH 0.2.0-rc.2 官方主题样式与本地示例控件。
界面与布局改进
- 使用 DSH 的背景、字体、圆角和紧凑控件;搜索置于顶部,拖拽、排布和拾取保持在同一行,备份与恢复操作收纳到面板底部。
- 控件和内部按钮的设置按身份关联;插入、重排或重新挂载已识别控件后,设置继续跟随原控件。已有布局自动迁移。
- 底部提供撤销、重做,当前页面保留最近 30 步修改;整组状态修改和恢复默认都可一次撤销。
- 搜索不丢失焦点,详情首次展开即可编辑;同组控件的状态不一致时显示「混合状态」。
- 保存失败时明确提示,可随时导出布局备份。浮动控件按新增节点更新索引,拖拽复用已有识别结果。
显示、隐藏与暂时删除
每个界面、内部元素和分组右侧都有显示状态菜单:
| 状态 | 行为 |
|---|---|
| 显示 | 按原有设置显示,不受隐藏快捷键影响 |
| 隐藏 | 平时不显示,通过隐藏快捷键临时显示或切换显隐 |
| 暂时删除 | 始终不显示,不受隐藏快捷键影响;在管家里选回「显示」即可恢复,位置和大小仍保留 |
默认隐藏快捷键为 Alt+U(macOS 为 ⌥U),按住显示、松开隐藏。在面板的「隐藏快捷键」一行点击按键按钮可重新录制,右侧可改为「按一下切换」。Esc 取消录制;打开管家的 Ctrl+Shift+U / ⌘⇧U 保持独立,不能用于隐藏快捷键。
输入文字、使用输入法或编辑下拉菜单时不会触发隐藏快捷键。按住显示时,松开任一所需按键或离开窗口会恢复隐藏;按住预览不会触发自动避让移动其他控件。暂时显示的状态不写入布局,刷新、导入布局或重新启用插件后重新隐藏。
「暂时删除」只控制显示,不卸载插件,也不删除配置。子元素仍受父界面约束:父界面暂时删除后,快捷键不会把内部按钮显示出来。原有 on: false 配置会保留为「暂时删除」,需要参与快捷键的控件请主动改为「隐藏」。三种状态及快捷键设置均支持撤销、重做和导出恢复。
恢复默认
点击面板底部右侧的「恢复默认」文字按钮,立即恢复 UI 管家的默认设置:
- 所有控件和内部元素恢复默认显示,清除隐藏、暂时删除、位置、大小、锁定和自定义名称。
- 隐藏快捷键恢复为
Alt+U按住显示,碰撞避让恢复为「智能」。 - 管家入口和面板恢复默认位置,类别与分组恢复默认折叠,清空搜索并退出拖拽、拾取模式。
重置结果立即保存,刷新后仍然生效。误点时可点击底部「撤销」,一次找回重置前的设置;重做也支持。只想恢复一个控件时,展开它的详情并点击「恢复此项默认」。
查找与备份布局
- 在面板搜索框输入控件名称、插件名或插槽名,即可展开匹配项;清空搜索后恢复原有分组折叠状态。
- 点击「导出布局」保存 JSON 文件;点击「导入布局」恢复显示状态、位置、大小和分组设置。无效文件不会覆盖当前布局。
- 布局文件保存在本地,可在 Web 与桌面端之间手动转移。只有名称和结构相匹配的控件会沿用配置。
- 静止页面不再循环重写计数;插件重新启用后恢复正常工作。
✨ 功能
| 功能 | 说明 |
|---|---|
| 🔍 全量发现 | 枚举平台每个 [data-slot] 插槽里的插件 UI,以及脱离插槽的浮动控件(如 dsh-sticky-disclosure 的按钮、dsh-mingli-chart 的悬浮图);不认识的新控件可用「拾取元素」点击捕获 |
| 🗂️ 官方 / 插件分区 | 面板顶层分成「官方 UI」与「插件 UI」两个类别,一眼分清平台自带的界面和第三方插件塞进来的界面 |
| 📁 分组折叠 | 类别与插槽组两级折叠,默认全部折叠,只显示类别和组名+数量,逐级展开才出现条目,界面干净易观察;展开状态自动记忆 |
| 🎚️ 精确到单个 UI | 每个 UI 根节点可分别显示、隐藏或暂时删除;再往下可展开到内部元素——按钮 / 图标 / 图表 / 输入框,单独设置 |
| 📐 三种位置模式 | 默认(恢复原样)、微调(translate 平移,不脱离原布局)、浮动(fixed 定位,x/y 精确坐标) |
| 🖱️ 直接拖拽 | 面板点「拖拽模式」后:直接拖动任意 UI 改变位置(插槽内 UI 用平移保持布局与弹层跟随,漂浮控件用固定坐标),拖动元素右下角手柄改变大小;Esc 退出编辑 |
| 🛡️ 碰撞避让 | 三档:关闭(只报告)/ 智能(明显重叠才让位)/ 严格(任何重叠都让位);锁定某项后只挤别人、不挤它 |
| ✨ 一键自动排布 | 以会话滚动区为锚点,把所有浮动 UI 沿右缘排成对齐的纵向列,自动换列、留白一致 |
| 💾 持久化 | 所有开关、位置、大小与折叠状态保存在浏览器 localStorage,刷新/重开会话后自动恢复 |
| 🧹 无侵入可还原 | 不修改任何插件代码;只给 DOM 加 data-uihub-* 标记 + 自己的 !important 样式。关闭/卸载插件即逐元素还原 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →


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