ZoeHao2026/dsh-ui-model-selection-collapsible
DeepSeek Harness模型选择器中可访问的可折叠提供程序分组。
Project Overview项目介绍
This is a native UI plugin built exclusively for DeepSeek Harness (DSH) that adds independently collapsible provider groups to the DSH core model selector. It preserves all official DSH logic for model data fetching, selection, configuration, and invocation without modifying core system files. To install it, users run a one-line PowerShell command that pulls the plugin directly from the public GitHub repository, then restart DSH and perform a hard refresh in their browser to activate the plugin. It follows DSH plugin conventions and leaves the core official model selector intact, which acts as a fallback if this custom plugin is ever uninstalled.
This plugin is designed for DSH users who work with a large number of models from multiple different providers and want a more organized, manageable model selection interface. After installation, you can open the DSH settings menu to navigate to the dedicated model selector settings panel added by this plugin. You can adjust your preferred initial expand strategy for provider groups, choose between a comfortable or compact list density, and toggle animation settings to match your system preferences. All your preferences are saved to the browser’s localStorage for your DSH instance, and changes take effect immediately without restarting DSH.
This plugin has been fully tested and verified to work with DSH version 0.1.1-rc.2 on the DSH Web platform, and it requires Node.js version 22 or higher to run properly as part of the DSH stack. It is released under the open source MIT license, and it is an independent community project that is not affiliated with or endorsed by DeepSeek as an official product. Because DSH is still in active development preview, users are advised to re-run type checking and build tests after upgrading DSH to confirm the plugin remains compatible with the new version.
这是一款专为 DeepSeek Harness(DSH)开发的原生界面插件,用于为DSH原生模型选择器添加按供应商分组的独立折叠功能,同时完整保留官方的模型数据、选择逻辑、配置规则与调用路径。插件支持每个供应商分组独立展开或折叠,支持自定义初始展开策略,适配可访问性标准,提供键盘导航与符合规范的ARIA属性。用户可通过DSH自带的插件命令行工具,直接从GitHub仓库安装,完成后重启DSH并硬刷新浏览器即可启用。
这个插件面向需要整理大量多供应商模型列表、希望快速切换不同供应商模型的DSH用户。典型使用流程是,安装完成后进入DSH设置页找到模型选择器设置面板,可根据使用习惯调整初始展开策略、选择舒适或紧凑的列表密度,设置是否开启折叠动画。设置偏好会自动保存在浏览器本地存储中,修改后即时生效,刷新页面后仍会保留,不会修改系统配置文件或原有模型调用逻辑。
该插件目前已针对DSH 0.1.1-rc.2版本完成完整兼容测试,要求Node.js 22或更高版本运行环境,仅支持Web平台。插件代码采用MIT许可证开源,属于社区非官方项目,不隶属于DeepSeek官方。由于DSH仍处于开发预览阶段,用户升级DSH主程序后,建议重新运行类型检查与构建测试,确保插件正常运行。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-ui-model-selection-collapsible(ZoeHao2026/dsh-ui-model-selection-collapsible)
仓库:https://github.com/ZoeHao2026/dsh-ui-model-selection-collapsible
本站详情页:https://www.yhbd.top/plugins/zoehao2026-dsh-ui-model-selection-collapsible/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-09-24 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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,几乎没人在用,遇到问题缺少社区反馈
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 'https://github.com/ZoeHao2026/dsh-ui-model-selection-collapsible.git#v0.2.2'
把 ZoeHao2026/dsh-ui-model-selection-collapsible 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH Collapsible Model Selector
为 DeepSeek Harness(DSH)的模型选择器添加按供应商独立折叠的分组界面,同时保留官方的数据、选择、配置和调用逻辑。
Adds independently collapsible provider groups to the DeepSeek Harness model selector while preserving the official data, selection, configuration, and invocation paths.

上图是 AI 生成的原创概念图,用于表达供应商分组、展开、折叠和模型连接关系,不代表 DSH 的实际界面或 DeepSeek 官方视觉。
实际界面
模型菜单:

设置页:

功能
- 每个模型供应商可以独立展开或折叠,并显示模型数量。
- 可在 DSH 设置中选择“当前供应商”“全部展开”“全部折叠”或“单组展开”。
- 可切换舒适/紧凑列表密度,以及跟随系统/关闭折叠动画。
- 展开、收起、箭头和透明度使用统一的 160 ms 对称动画,并支持
prefers-reduced-motion。 - 提供
menuitem、menuitemradio、aria-expanded、aria-controls、aria-checked和可见项键盘导航。 - 模型触发器支持上下方向键直接打开菜单,并聚焦首项或末项。
- 直接复用官方
modelDirectories服务、model本地化命名空间和选择数据结构。 - 自定义席位使用优先级
-1;模型目录接口缺失或席位同步渲染失败时,DSH 会退让到官方优先级0的选择器。选择请求失败会在菜单中显示错误。 - 不新增命令、Host 配置 schema 或 RPC,也绝不重复注册官方
model本地化命名空间。
设置
打开 DSH 的“设置”,选择“模型选择器”即可修改:
- 供应商分组的初始展开策略。
- 模型列表的舒适或紧凑密度。
- 折叠动画是否跟随系统设置。
默认值与 0.1.x 的行为一致:仅展开当前供应商、舒适密度、动画跟随系统。偏好保存在当前浏览器与 DSH Web 地址的 localStorage 中,会即时生效并在刷新后保留;它们不会写入 settings.yaml、修改模型配置或改变调用数据。浏览器阻止本地存储时,设置页会明确提示,更改仅在当前页面生命周期内有效。
兼容性
0.2.2 声明兼容 DSH Web >=0.1.7-rc.1 <0.1.8-0,要求 Node.js 22 或更高版本。开发依赖固定在 0.1.7-rc.2,已对照 rc.1/rc.2 的模型目录和席位接口。版本范围包含后续 0.1.7 预发布版及稳定版,但新版本仍需实际验证;0.1.8 及更高版本不会被自动视为兼容。GitHub Actions 在提交时检查类型、测试、构建及安装包,并每天扫描 npm 上的全部 DSH 发布版本(含预发布版);发现高于已验证基线的版本会提示复核。
Version 0.2.2 declares DSH Web compatibility for >=0.1.7-rc.1 <0.1.8-0 and requires Node.js 22 or newer. Development dependencies are pinned to 0.1.7-rc.2; the model directory and slot APIs were compared across rc.1 and rc.2. Later 0.1.7 releases still need validation. 0.1.8 and newer are outside the declared range. GitHub Actions checks the committed build and watches all published DSH versions, including prereleases, for releases newer than the verified baseline.
从 GitHub 安装
先确认安装命令使用的 DSH 版本与正在运行的 Web 服务一致。若 dsh 已加入 PATH,在 PowerShell 中运行:
dsh --version
dsh plugin --profile web add 'https://github.com/ZoeHao2026/dsh-ui-model-selection-collapsible.git#v0.2.2'
dsh plugin --profile web ls --depth 0
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Q00/ouroboros
crafter-station/petdex
whiteguo233/OpenBiliClaw
anywhere-labs/Agents-Anywhere
agentrq/agentrq
freestylefly/wesight