DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-model-group-collapse

d

dsh-model-group-collapse

Manifest valid

Makes the provider groups in the composer model menu collapsible, keeping only the provider of the current model expanded.

UI (client)hasBundlePatch

dsh-model-group-collapse

English | 简体中文

A DeepSeek Harness (DSH) Web UI plugin that makes the provider groups in the composer's model menu collapsible.

collapsed

What it does

The stock model picker in the composer's tool row lists every provider group (DeepSeek Account, official endpoints, custom providers…) fully expanded. When you have many providers, the menu becomes a long wall of models.

This plugin adds a collapsible layer to that menu:

  • Every provider heading becomes a toggle with a triangle caret (▸ collapsed / ▾ expanded).
  • All groups start collapsed by default.
  • The provider of the currently selected model starts expanded.
  • Click a heading to toggle that group; the caret flips and the group's models appear or disappear.
  • While a search query is active, matched groups render expanded so results stay visible; clearing the query restores the collapse state.
  • Everything else keeps working unchanged: the two-level "Model / Effort" menu, search, keyboard navigation, the pending spinner, and the official model-label badge (e.g. “1017”).

expanded

Disable the plugin in the plugin manager and the menu returns to its stock appearance immediately.

Install

From a local checkout (development)

  1. Put this folder somewhere stable.
  2. In DSH, open the plugin manager and install the bundle from the local directory, or use the CLI equivalent: dsh plugin install /path/to/dsh-model-group-collapse
  3. Reload the Web UI and open a conversation.

From npm (after publishing)

dsh plugin install dsh-model-group-collapse

From GitHub

dsh plugin install github:LinJohn8/dsh-model-group-collapse

Compatibility

  • DeepSeek Harness >=0.2.1-rc.2 (client plugin API dsh.client).
  • Works on top of the shipped model picker: no component is replaced, so it follows the host's own state (streaming lock, pending selection, search filtering) instead of duplicating it.

How it works

The shipped model menu renders its provider groups as section[data-menu-group] elements, each with a [data-menu-group-heading] label and button[role="menuitemradio"] rows. The client half watches the document for that menu while it is open and decorates each group:

  • the heading gets a triangle caret and becomes a role="button" toggle;
  • a collapsed group hides its model rows with display:none and reports aria-expanded="false";
  • collapse state is per group and resets on every menu open, using the current model's aria-checked row to pick the initially expanded group.

All styling is inline-scoped (mgc- prefix, --dsw-alias-* tokens), and every DOM write is guarded by an equality check so the menu's own MutationObserver never re-enters.

License

MIT

Comments

Loading…

Similar plugins

dsh-model-provider-badge

by huihuangdi

Shows the provider behind a session's current model as a compact badge in the DSH Web composer tool row.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 14, 2026

dsh plugin --profile web add dsh-model-provider-badge

by icrefin

Names the provider beside the model in DeepSeek Harness's composer control (Provider/Model) while keeping the provider-grouped picker.

Manifest valid

★ 0

MIT

TypeScript

Oct 11, 2026

dsh plugin --profile web add dsh-provider-model-picker

by zszz3

Replaces the composer model control with an inline Provider/Model trigger — clicking it opens a two-column card with providers on the left and the hovered provider's models on the right — and moves th

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 22, 2026

dsh plugin --profile web add dsh-model-provider-prefix

by ZoeHao2026

Accessible collapsible provider groups for the DeepSeek Harness model selector.

Development & InfrastructureManifest valid

★ 4

MIT

TypeScript

Sep 24, 2026

dsh plugin --profile web add @local/dsh-ui-model-selection-collapsible

by Sanqi-normal

Provider-tabbed model picker for the dsh web composer: left provider column and right model list, both independently scrollable, with cross-provider search.

UI & ExperienceManifest valid

★ 4

↓ 333/wk

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-model-picker

Provider-folded model selector for the DSH Web composer with catalog-driven reasoning effort choices.

UI & ExperienceManifest valid

★ 0

↓ 370/wk

dsh plugin --profile web add dsh-model-accordion