dsh-model-collapse
在终端中运行以下命令:
dsh plugin install GoldenZqqq/dsh-model-collapse
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在终端执行 dsh plugin install GoldenZqqq/dsh-model-collapse 即可安装该插件,源码地址为 https://github.com/GoldenZqqq/dsh-model-collapse,安装后重启 DSH Web 并刷新页面即生效。
插件介绍
The model-selection dropdown in the DSH web client lists every model grouped by provider. With a handful of providers that is fine, but once the list stretches past forty rows across a dozen or more providers, the menu turns into an endless scroll and the model you actually want is almost always buried somewhere in the middle.
dsh-model-collapse takes a single clear stance: every provider group starts collapsed by default. Each group header shows the provider name, a count badge, and a small caret. Click the header to expand or collapse that group, and the state you set is remembered in the browser between sessions, across menu reopens, and even across DSH restarts. A sticky quick-bar pinned to the top of the menu adds one-click Expand and Collapse for all groups, a Focus button that isolates the group containing the currently selected model, a Reset button that clears saved state back to the initial layout, and a live filter input that narrows models by keyword, auto-expanding matching groups and hiding the rest. Every action also has a keyboard shortcut: Alt+E expand-all, Alt+C collapse-all, Alt+F jump into the filter, Tab plus Enter or Space to toggle a specific group, and Up/Down arrows that skip collapsed rows. Under the hood the plugin is a pure client-side DOM enhancement that reads stable ARIA semantics already present in DSH, writes a few data-* attributes, and applies one display:none rule, so it never fights React re-renders. Styling reuses DSH design tokens so it looks native in both dark and light themes.
If your daily workflow involves switching between many models across multiple providers in the DSH web client, or you simply have grown tired of scrolling through a long list every time you open the menu, this plugin turns that wall of text into a tidy directory. Finding and picking the right model becomes a one-glance task instead of a three-scroll one.
使用场景
- 打开模型菜单时不再面对几十行的长列表,分组默认折叠一目了然
- 通过聚焦按钮快速定位当前选中模型所属的 provider 分组
- 用关键字筛选框实时过滤模型,命中的分组自动展开、无命中的整组隐藏
适合人员
- 同时使用多个 provider、模型列表很长的 DSH Web 用户
- 频繁切换模型、希望减少滚动操作的开发者
- 偏好键盘快捷操作、追求菜单交互效率的用户