READMESource: main@d0b3d41b
dsh-model-switcher
Searchable model switcher palette for DeepSeek Harness composer.
Cmd+K//to open, searchable by name/id/description- Provider rail, per-row capability/context badges
- Memory-only icon cache (80 LRU) + official CDN (
@lobehub/icons-static-svg), no localStorage trace
Install
dsh plugin --profile web add "github:jxiansen/dsh-model-switcher#main"
# restart dsh --profile web
Develop
pnpm install
pnpm build # bundle src/client -> lib/client.js (Harness web factory)
pnpm test # node:test suites (utils, filter, built-bundle smoke)
pnpm lint # eslint
pnpm check # build + test + lint
npx dsh-plugin-doctor check . # full check incl. isolated Web startup (needs dsh)
src/client is the ESM source, lib/client.js is the committed build
artifact that DSH loads (do not edit by hand). Regenerate the icon index
with node scripts/build-icon-toc.mjs, then rebuild.
No comments yet. Be the first to write one.