DeepSeek Harness plugin

dsh-tui-model-switch

Per-stage model routing for dsh-TUI: let subagents run on a different provider/model/reasoning-effort, configured in /settings (model-switch namespace), status via /model-switch.

Jump to install

Source facts

Repository
FUSU123fusu/dsh-tui-model-switch
Latest update
Aug 17, 2026
Category
Models & Providers
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/FUSU123fusu/dsh-tui-model-switch
Plugin: dsh-tui-model-switch
Author: FUSU123fusu

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-tui-model-switch

> 适用于 dsh-TUIdshtui.com)的社区插件。

让子代理用另一套模型跑——主会话模型不变。机制参考 lincong1987/dsh-model-switch(MIT)重写为 TUI 原生:设置走 dsh settings 服务(model-switch 命名空间),在 TUI 的 /settings 屏「模型路由」区块直接编辑。

Per-stage model routing for dsh-TUI: run subagents on a different provider/model/reasoning-effort while the main conversation keeps its own route. Inspired by lincong1987/dsh-model-switch (MIT), rebuilt TUI-native.

安装 Install

dsh plugin --profile dsh-tui add github:FUSU123fusu/dsh-tui-model-switch

重启 dsh 后生效。Restart DSH after installation.

使用 Use

1. 打开 /settings →「模型路由 / Model switch」区块。 2. 「子代理模型」选 自定义 / Custom,「子代理路由」直接从已配置的提供商模型目录里下拉选择(目录不可用时退化为手动输入 provider/model),可选填推理强度(low / medium / high / max,合法档位以模型为准;留空跟随模型默认)。 3. /model-switch 随时查看当前生效的路由。

设为「跟随主会话 / Follow main session」时行为与未安装插件完全一致。

  • 子代理启动路径(subagents.start / startContinuable)会被合入自定义的 agentOptions;调用方显式指定的 provider/model 优先于本设置。
  • 推理强度不属于 AgentOptions,通过子代理的 agent/request 拦截器注入,只影响 origin: subagent 的会话。
  • 计划执行(plan-execute)模型路由待 TUI 审批面板扩展缝落地后提供。

机制 How it works

  • Settings persist in the dsh settings service (model-switch namespace), layered with composition entries and live-reloaded; the TUI /settings screen edits them through the tuiSettingsSections seam.
  • ctx.subagents.start / startContinuable are wrapped to merge the custom selection into agentOptions (explicit request fields win over the setting).
  • Reasoning effort rides the child agent's agent/request interceptor (subagent-origin sessions only).

Non-TUI hosts keep working: the command reports the route as text and the settings section simply doesn't render.

License

MIT