dshbase

Plugin directory / Developer / dsh-fetch-models-unselect-all

dsh-fetch-models-unselect-all

Verified · install-tested on dsh Townrain

✓ Actively maintained

View on GitHub ↗ ← Back to plugin directory

1Stars
0Forks
0Open issues
—Language
2026-08-17Last push
Cross-platformPlatform

What it does

Deselect-all button for the DSH Settings > Models 'fetch available models' dialog (client-only plugin)

✅
Our take
Works — verified, early-stage project

Deselect-all button for the DSH Settings > Models 'fetch available models' dialog (client-only plugin) It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

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 change
    event 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

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-fetch-models-unselect-all for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:Townrain/dsh-fetch-models-unselect-all

Headless (CLI) profile:

dsh plugin --profile headless add github:Townrain/dsh-fetch-models-unselect-all

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →