DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

HeathHe /

HeathHe/dsh-model-search

Verified

Adds a search box to the DeepSeek Harness Web GUI model switcher — filter by model name, ID, or provider instantly while preserving every official interaction.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@93993b8d

dsh-model-search

npm version monthly downloads stars license platform

为 DeepSeek Harness Web 界面的「模型切换」下拉(输入框右侧的模型座位)增加一个搜索框:在 provider 分组之上,按 模型名 / 模型 id / provider 名 即时过滤模型列表,其余官方交互全部保留。

Adds a search box to the DeepSeek Harness Web GUI model switcher (the composer model seat): filters the provider-grouped model list by model name / id / provider while preserving every official interaction.


使用 / Usage

安装 / Install

dsh plugin --profile web add dsh-model-search

装完重启 dsh web,输入框右侧的模型座位打开后顶部即出现搜索框。/ Restart dsh web afterwards; the search box appears at the top of the model panel.

安装指定版本 / Install a specific version:

dsh plugin --profile web add dsh-model-search@0.1.0

升级 / Upgrade

dsh plugin --profile web add dsh-model-search@<新版本>
# 然后重启 dsh web

源码开发 / Development

dsh plugin --profile web add link:/绝对路径/到/dsh-model-search

重新构建 / Rebuild

lib/client.js 由 lib/build.mjs 从官方 @deepseek-ai/dsh-client-ui-model-selection 浏览器产物打补丁生成:

npm run build   # 即 node lib/build.mjs

打补丁锚点全部做了「唯一性 + 恰好出现一次」校验,官方包升级导致锚点漂移时构建会报错而不是静默失效。


功能 / Features

  • 顶部搜索框 — 打开模型面板即出现,按空格分词、大小写不敏感,同时匹配模型名 / 模型 id / provider 名
  • 分组收起 — 没有命中的 provider 分组自动隐藏
  • 空结果区分 — 无匹配显示「没有匹配的模型」,真正无模型时才显示「没有可用的模型」
  • 键盘导航 — 搜索框内 ↑↓ 直接跳到过滤结果首/末项;选择后自动清空搜索词
  • 零侵入 — 推理等级选择、当前项勾选、加载/错误状态、toast 全部沿用官方实现

许可 / License

MIT · lib/client.js 衍生自 @deepseek-ai/dsh-client-ui-model-selection,详见 NOTICE / LICENSE。

—/ 5

No ratings yet

Verified DSH bundle

Commit 93993b8dde8c

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout