dsh-model-switcher
其他 活跃维护

dsh-model-switcher

jxiansen/dsh-model-switcher

提供快捷键唤起与斜杠命令搜索的模型切换面板,支持按名称、ID、描述模糊匹配;集成 Provider 侧栏与每行能力标识,在编辑器中快速完成模型选择与对比。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
NOASSERTION
开源协议
121 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:jxiansen/dsh-model-switcher
git clone https://github.com/jxiansen/dsh-model-switcher.git
git clone git@github.com:jxiansen/dsh-model-switcher.git
README.md main

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.