dsh-tui-model-switch
by FUSU123fusu
让子代理用另一套模型跑——主会话模型不变。机制参考 lincong1987/dsh-model-switch(MIT)重写为 TUI 原生:设置走 dsh settings 服务( model-switch 命名空间),在 TUI 的 /settings 屏「模型路由」区块直接编辑。
Let sub-agents run on a different model while the main session keeps its own — rewritten as native TUI following lincong1987/dsh-model-switch (MIT): settings go through the dsh settings service (model-switch namespace) and are edited directly in the model-routing section of the TUI /settings screen.
安装
dsh plugin --profile web add github:FUSU123fusu/dsh-tui-model-switchGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
适用于 dsh-TUI(dshtui.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
- 打开
/settings→「模型路由 / Model switch」区块。 - 「子代理模型」选 自定义 / Custom,「子代理路由」直接从已配置的提供商模型目录里下拉选择(目录不可用时退化为手动输入
provider/model),可选填推理强度(low / medium / high / max,合法档位以模型为准;留空跟随模型默认)。 /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-switchnamespace), layered with composition entries and live-reloaded; the TUI/settingsscreen edits them through thetuiSettingsSectionsseam. ctx.subagents.start/startContinuableare wrapped to merge the custom selection intoagentOptions(explicit request fields win over the setting).- Reasoning effort rides the child agent's
agent/requestinterceptor (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
原始 README: https://github.com/FUSU123fusu/dsh-tui-model-switch/blob/main/README.md ↗
同类插件
查看全部 →
agent-vision-toolkit
为纯文本模型"看图“设计更好的视觉工具箱和技能,支持多图理解,图片问答,前端UI还原、GUI 自动化等,并可选无缝接入多个主流agent,直接识别粘贴图片| A vision toolkit and skill designed for text-only llms — image Q&A, long-screenshot OCR, frontend UI restoration, and GUI automation, with optional seamless integration for Codex, Claude Code, Pi, Oh My Pi, and OpenCode

api-relay-audit
从 DeepSeek Harness 对 AI API 中转站和 LLM 代理运行本地安全审计,生成 Markdown 报告,覆盖提示词注入、模型替换信号、工具调用改写、错误泄漏、流完整性和按 profile 启用的 Web3 风险。

OpenStory
✨ OpenStory 现已支持 DeepSeek Harness 插件! 现在可以通过 dsh-openstory 将 OpenStory 多智能体推演接入 DeepSeek Harness,让 agent 直接启动模拟、查看角色、下达指令并逐回合推进故事。查看 DSH 插件配置与使用指南。

phi
pi的编码代理 ∞ 提供者、子代理、hashline编辑和权限门

anysearch-dsh
DeepSeek Harness(DSH)的 AnySearch 网络搜索提供方与高级搜索工具。

codex-switch
Codex Switch 是一个 macOS 工具,一键配置 Codex 的自定义 API,同时保留官方 OpenAI 登录。保存后 Codex 的模型选择器里只会出现你选的那个 provider 的模型。也支持 Claude Code 的官方 / 自定义 API 切换。Codex Switch is a lightweight helper for configuring multiple coding-agent API routes. For Codex, it keeps Official OpenAI and a custom API provider configured in parallel, registers the custom model in Codex's mod