插件目录 / UI & Skins / dsh-plugin-model-switcher
dsh-plugin-model-switcher
已验证 · 实测可装 Mrlilili
功能简介
⌨️ DSH 插件:快捷键切换模型 (Ctrl+Shift+M) 和推理等级 (Ctrl+Shift+R)。纯客户端实现,无需 Host。 DSH plugin: keyboard shortcuts to cycle models (Ctrl+Shift+M) and reasoning effort levels (Ctrl+Shift+R). Pure client bundle, no Host required.
可用 — 实测通过,早期项目
⌨️ DSH 插件:快捷键切换模型 (Ctrl+Shift+M) 和推理等级 (Ctrl+Shift+R)。纯客户端实现,无需 Host。 DSH plugin: keyboard shortcuts to cycle models (Ctrl+Shift+M) and reasoning effort levels (Ctrl+Shift+R). Pure client bundle, no Host required. 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-plugin-model-switcher
English | 中文
DSH plugin for switching models and reasoning effort levels via keyboard shortcuts.
Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+Shift+M / Cmd+Shift+M |
Cycle through models in the current provider |
Ctrl+Shift+R / Cmd+Shift+R |
Cycle through reasoning efforts (off → low → high → max → off) |
A toast notification confirms each switch in the bottom-right corner.
How it works
Host (src/index.ts):
- Reads the current model selection from
agentDefaultModel - Cycles through models via
llm.listModels()or reasoning efforts viallm.resolveModelInfo() - Persists the new selection via
agentDefaultModel.saveSelection()
Client (src/client/index.ts):
- Registers a toast overlay in the
shell.overlayslot - Listens for
Ctrl/Cmd+Shift+MandCtrl/Cmd+Shift+Ron the document (capture phase) - Calls the Host handlers via
host.call()and updates the model selector UI viamodelDirectories.directoryFor(sessionId).select()
Installation
dsh plugin --profile web add https://github.com/Mrlilili/dsh-plugin-model-switcher.git
Then restart DSH.
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-plugin-model-switcher」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:Mrlilili/dsh-plugin-model-switcher Headless(CLI)profile:
dsh plugin --profile headless add github:Mrlilili/dsh-plugin-model-switcher 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。