mohith-das/dsh-client-ui-model-selection-search0

@deepseek-ai/dsh-client-ui-model-selection

Fork of the official model selection plugin adding an in-menu search box, derived from deepseek-ai/deepseek-harness at dsh-v0.1.1-rc.2. Kept under the original package name so it can be swapped in via a pnpm override for local consumption only; not published to the real @deepseek-ai npm scope.

AI Analysis

核心用途是在 DSH 模型选择菜单中增加一个搜索框,支持按名称、服务商或 ID 过滤模型。适合模型配置较多、需要快速搜索定位特定模型的 DSH 用户。

Package
@deepseek-ai/dsh-client-ui-model-selection
Version
0.1.1-rc.2-search.1
License
MIT
Last updated
Sep 1, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

dsh-client-ui-model-selection-search

npm version

A fork of @deepseek-ai/dsh-client-ui-model-selection (the DeepSeek Harness web UI's model picker) that adds an in-menu search box for filtering models by name, provider, or id.

Derived from deepseek-ai/deepseek-harness at tag dsh-v0.1.1-rc.2, via the fork at mohith-das/deepseek-harness, branch fork-base-0.1.1-rc.2. Only packages/client/ui-model-selection is carried here — see that repo for full provenance and the source diff.

What changed

  • A search input appears above the model list when the picker is open.
  • Typing filters groups/models client-side by model name, model id, group name, or group id (no extra network calls — the directory is already resident).
  • The input autofocuses when the model pane opens.
  • Enter in the search box selects the first matching model.
  • Escape clears the query before closing the pane, matching the existing two-step escape behavior.

Install into a dsh profile

Published to npm as dsh-client-ui-model-selection-search (a different name than the module it replaces, since only DeepSeek can publish under the @deepseek-ai scope). The built client.js still self-registers under the original module id, so it's installed as a pnpm alias override — the dependency key stays the upstream name, only the resolved package changes:

// ~/.dsh/profiles/
/package.json
{
  "pnpm": {
    "overrides": {
      "@deepseek-ai/dsh-client-ui-model-selection": "npm:dsh-client-ui-model-selection-search@^0.1.0"
    }
  }
}

Then reinstall the profile's dependencies (dsh plugin --profile install or an equivalent pnpm install inside the profile directory) and restart dsh web. For local development instead of the published package, point the override at a local path instead: "@deepseek-ai/dsh-client-ui-model-selection": "file:/absolute/path/to/dsh-client-ui-model-selection-search".

License

MIT, matching the upstream package.