dsh-fetch-models-unselect-all
Manifest validDeselect-all button for the DSH Settings > Models 'fetch available models' dialog (client-only plugin)
dsh-fetch-models-unselect-all
A "deselect all" button for the DeepSeek Harness Settings → Models → Add provider → custom provider → Fetch available models dialog.
The dialog lists every model a provider advertises with one checkbox per row and only two footer actions — Cancel and Add selected. This plugin adds a 取消全选 / Deselect all button directly left of Cancel, so a large catalog can be cleared in one click instead of unchecking each row.
[取消全选] [取消] [添加所选]
What it does
- Pure client presentation: watches the DOM for the fetch dialog (anchored on its unique "Add selected" action), then clones the Cancel button's classes to insert an identically styled "deselect all" button left of it.
- Clicking it unchecks every model checkbox and dispatches a native
changeevent per row, keeping the dialog's React-controlled selection in sync — "Add selected" then adopts nothing, exactly as if each box were cleared by hand. - No host code, no RPC, no settings, no session events. The observer is disposed with the plugin fiber; uninstalling leaves nothing behind.
- Localized: shows 「取消全选」 with a Chinese UI and "Deselect all" with an English UI, following the Cancel button's language.
Install
dsh plugin --profile web add github:dsh-fetch-models-unselect-all # or a local clone:
dsh plugin --profile web add /path/to/dsh-fetch-models-unselect-all
Restart dsh web and hard-refresh the browser after installation.
Build
DSH_CHECKOUT=/path/to/deepseek-harness node build.mjs
build.mjs resolves the checkout's esbuild + typescript and emits
lib/index.js (host, no-op) + lib/client.js (browser bundle,
__ModuleLoader__ format) + lib/types/ declarations.
Notes
The dialog has no official plugin slot, so the button is anchored on the dialog's DOM structure ("Add selected" action + checkbox list). A future settings-form redesign may require a small update to the anchor logic.
License
MIT
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
Comments
Loading…
Similar plugins
by masknull
DSH plugin: adds a search box to the Fetch available models candidate dialog in DSH settings (browser-side DOM enhancement). DSH 插件:为「获取可用模型」候选弹窗增加搜索过滤。
★ 0
MIT
JavaScript
Aug 26, 2026
dsh plugin --profile web add dsh-fetch-models-searchby fufu1437
DeepSeek Harness (DSH) plugin: declare shell commands in Settings, and every one becomes a tool the model can call directly.
★ 0
MIT
JavaScript
Oct 5, 2026
dsh plugin --profile web add @fufu1437/dsh-model-commandsby HiSeax
DSH plugin: replaces official Models settings page with provider management, per-model reasoning effort, retry overrides, drag reorder, add official DeepSeek, credential status
★ 0
TypeScript
Aug 29, 2026
dsh plugin --profile web add dsh-better-model-settingby qgx1992
DSH web 插件:把输入框模型选择控件替换为两个独立按钮(供应商 + 模型两级联动,支持推理等级调节)
★ 0
JavaScript
Aug 27, 2026
dsh plugin --profile web add dsh-model-select-styleby HeathHe
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
MIT
JavaScript
Aug 20, 2026
dsh plugin --profile web add dsh-model-searchby GoldenZqqq
DSH web plugin: collapse the model picker by provider, with a pinned quick bar (expand-all / collapse-all / focus-current / filter / reset).
★ 0
MIT
JavaScript
Aug 28, 2026
dsh plugin --profile web add dsh-model-collapse