dsh-model-show:Composer Model Selector Displays "Provider/Model"

Preface

In the DeepSeek Harness (DSH) web client, the model selector at the top of the Composer only shows the model name by default, e.g. Example Chat · High. When you have multiple providers configured with similar model names, it can be difficult to determine exactly which provider/model route the current session is using just by looking at the trigger. The community plugin dsh-model-show (maintainer: ken95573, category: model inference) does not change the dropdown structure; it only rewrites the trigger, hover tooltip, and ARIA labels to the Provider/Model format, working together with the built-in model selection plugin.

The following sections describe the plugin’s positioning, capability boundaries, installation methods, and acceptance steps. Facts are based on the README and package.json in the GitHub repository; the directory page is on the SkillHub plugin page.

What is this

dsh-model-show is a plugin package for the DSH web client (current version 1.0.1, license MIT). It displays both the provider name and model name on the model selector trigger in the Composer, in the fixed format Provider/Model; if the model reports a reasoning effort, DSH’s original · <effort> suffix is still preserved.

Comparison example from the README:

Composer Trigger Text
Before installation Example Chat · High
After installation Example Provider/Example Chat · High

The dropdown menu itself is not modified: each row remains a bare model name under provider group headings, and search still matches by bare model name; provider names do not participate in menu search. Provider display names come from the displayName field in your own model configuration for each provider row (e.g., Example Provider).

Core Features

  1. Trigger text: The current selection displays as Provider/Model (plus an optional effort suffix) on the Composer.
  2. Accessibility and hover: The hover tooltip and ARIA label use the same Provider/Model text as the visible trigger.
  3. Shadows the built-in seat: The plugin reuses the built-in @deepseek-ai/dsh-client-ui-model-selection modelDirectories service, registering a Composer seat at a lower priority to override the built-in rendering logic; the built-in model selection plugin must remain enabled.
  4. No configuration: The display format is fixed, and the README explicitly states No configuration.

Environment and Dependencies

  • DSH version (engines.dsh): >= 0.2.0-rc.1 < 0.3.0-0 or >= 0.2.1-rc.1 < 0.4.0-0; targeting the web client platform. The README states development on Desktop runtime 0.2.0-rc.2 and re-vendoring and testing on 0.2.1-rc.2.
  • Built-in plugin: @deepseek-ai/dsh-client-ui-model-selection must remain enabled; this plugin only “shadows” the Composer seat, not replacing the full model directories service.

Installation and Activation

The plugin runs with the permissions of the current DSH process. Before installing, it is recommended to review the source code and the MIT license on GitHub (lib/client.js is derived from DeepSeek’s built-in bundle; see the repository’s NOTICE.md).

Plugin Market

Open the plugin market in the target DSH application, search for the package name dsh-model-show, install it, and then enable it.

Desktop CLI

The Desktop application includes a CLI (the desktop profile is managed only by that application). On Windows, an example command (paths from the README) is:

"%LOCALAPPDATA%\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add dsh-model-show

For adding from GitHub or a local directory, the README gives the following form (replace <user> and paths with actual values):

"%LOCALAPPDATA%\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:<user>/dsh-model-show
"%LOCALAPPDATA%\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add "C:\path\to\dsh-model-show"

To uninstall:

"%LOCALAPPDATA%\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove dsh-model-show

In a DSH Session

You can ask the agent within a session to install the plugin via plugin_manager with action: install_bundle, using the plugin directory as the target.

Please refresh the page after installation. To replace an already loaded plugin with a different build, the README requires restarting the application.

Typical Usage and Acceptance

This plugin has no additional configuration files or API calls; after enabling it and selecting a model, simply observe the Composer trigger.

The acceptance steps suggested by the README:

  1. The Composer trigger displays Provider/Model (and if the model has a reasoning effort, also includes · <effort>).
  2. Hovering over the trigger shows text consistent with the visible text.
  3. Open the dropdown menu: rows under group headings remain bare model names; searching with a provider name should not match model items.

Repository documentation screenshot example: provider OpenCode Zen, model DeepSeek V4.1 Flash, with a trigger like OpenCode Zen/DeepSeek V4.1 Flash plus DSH’s built-in Default and other effort suffixes (see README and docs/composer-trigger.png).

Implementation Notes (for Troubleshooting)

  • Node-side lib/index.js is an empty implementation, used to mount the bundle; the browser side loads via dsh.client and exports["./client"].
  • cordis.patch.yml inserts the plugin line (id: model-show, name: dsh-model-show).
  • lib/client.js is a vendored copy of the built-in model selection browser bundle, containing six documented edits; the visible changes mainly come from adding the provider prefix to choices[].model.name and registering the Composer seat with priority: -1.
  • The label prefix is added to currentChoice?.model.name read by the trigger, so menu grouping and search logic remain unchanged.

Use Cases and Limitations

Suitable for: Users with multiple providers and models coexisting who need to tell at a glance on the Composer “which model from which provider” without changing dropdown or search behavior.

Limitations (from the README Limitations):

  • lib/client.js may break as the upstream built-in selector evolves; engines.dsh, the vendoring scripts, and npm test serve as maintenance guardrails.
  • It inherits the built-in control’s styling and trigger width min(360px, 45cqw); overly long Provider/Model strings will be truncated with an ellipsis and will not wrap.
  • The inject service list in the vendored bundle cannot be trimmed arbitrarily, otherwise first-render errors may occur with silent fallback to the built-in seat.
  • If DSH redoes the built-in model selector in the future, the author may need to re-vendor and update the edit anchors.

Conclusion

dsh-model-show answers a single question with minimal changes: which provider’s which model is the current Composer session actually using. After installing and enabling, refresh (or restart if necessary) and follow the three acceptance steps above.

  • Community directory page: https://www.skillhub.cn/plugins/ken95573/dsh-model-show
  • Source code and documentation: https://github.com/ken95573/dsh-model-show
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye