mohith-das/dsh-client-ui-model-selection-search ↗★ 0
@deepseek-ai/dsh-client-ui-model-selection
为官方模型选择插件添加菜单内搜索框的修改版插件
AI 分析
核心用途是在 DSH 模型选择菜单中增加一个搜索框,支持按名称、服务商或 ID 过滤模型。适合模型配置较多、需要快速搜索定位特定模型的 DSH 用户。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗dsh-client-ui-model-selection-search
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.
Enterin the search box selects the first matching model.Escapeclears 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.