插件详情 · lincong1987/dsh-model-switch
dsh-model-switch lincong1987
dsh plugin: flexible model switch for sub‑agent & plan execution. 为子代理和计划执行选择更合适的模型。
GitHub stars
forks
创建于
最近 push
npm 周下载
插件装不上 / 打开崩溃? npx dsh-why --package . 一键诊断并给修复建议 → dsh-why.com
— awesome 未收录 · — imsai 未收录
npm dsh-model-switch@0.4.21(6 个版本 · 最近发布 2026-10-13)
启发式信号(npm registry 探测),非运行时测试;预发布按基础版本口径解读(非 npm semver 字面判定)">dsh 兼容:未声明 engines.dsh · peers @deepseek-ai/cordis >=4.0.4 <5.0.0 · @deepseek-ai/dsh-llm >=0.1.7-alpha.2 等 39 项
版本滞后:仓库 0.7.0 vs npm 0.4.21
徽章接入:https://dsh-insights.com/badge/lincong1987/dsh-model-switch.svg · 接入指南 ↗
为子代理和计划执行灵活选择更合适模型的dsh插件。
modelswitchsubagentplanconfig
README 宣称:Flexible model switch for sub-agent and plan execution;Selects more suitable models for sub-agent and plan execution
实测兼容 client bundle × shell 模块表
实测对象:npm 0.4.23 · 外部 require 4 个。口径:静态分析 client bundle 中代码态的 require 字面量(注释/字符串内的不计;相对路径为 bundle 自带模块表就地服务,不计),逐 shell 版本对齐官方 loader 真实解析序——seed 词 ∪ 图行(shell 内置 client 包,分 immediate 确定可解析与 lazy 条件可解析)∪ 语料库已知插件包名;try/catch 守卫感知——loader 的 require 为调用时解析,try 块缺失可由配对 catch 兜底(catch 可解析或为空仍判可加载);非运行时测试,动态 require(含模板串)不在检测范围。