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.

包名
@deepseek-ai/dsh-client-ui-model-selection
版本
0.1.1-rc.2-search.1
许可证
MIT
最近更新
2026年9月1日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 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.