masknull/dsh-fetch-models-search
A search box in the Fetch available models dialog, filtering the candidate list as you type without touching component code.
Injects a search input above the candidate list whenever the Fetch available models picker opens, and filters rows in real time by case-insensitive substring match on the model id — the difference between scrolling a hundred model ids and typing four characters. A MutationObserver, frame-coalesced with requestAnimationFrame, re-applies the current filter whenever React rebuilds the list, so the box does not get wiped by a re-render. Filtering never touches checkbox selection or the Select all and Deselect all semantics, and it only toggles display plus one injected style element. The placeholder and the no-matches hint follow the page language.
Install
dsh plugin --profile web add github:masknull/dsh-fetch-models-searchAfter installing, restart DSH Desktop or the dsh service: the client-module graph is composed at startup, so a page refresh alone will not pick up a newly added bundle. Usage is Settings → Models, expand a pi-ai provider card, then Fetch available models.
Compatibility
DSH Web settings dialog. Pure browser-side and dependency-free: the bundle imports no DSH module at runtime and ships its own module-loader wrapper. It is built on stable DOM structure rather than CSS-hash class selectors, degrades to a no-op when the dialog is absent, and uninstall restores the page exactly.
Details
- Repo: masknull/dsh-fetch-models-search
- Category: Models & Providers
- Stars: 0
- Version: not published to npm; installs from the GitHub default branch
Alternatives
hi-fangj/dsh-models-radar · Vmarcelo49/dsh-local-models · A42Null/dsh-opencode-zen-plugin