drscrewdriver/dsh-preset-doctor ↗★ 2

dsh-preset-doctor

自动检测并修复旧版智能体预设格式的诊断工具 适合升级 DSH 后需要批量修复失效预设配置的用户

包名
dsh-preset-doctor
兼容性
待验证
Harness 依赖范围
0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1
Cordis 依赖范围
>=4.0.1 <5
版本
0.7.0
许可证
MIT
最近更新
2026年10月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:drscrewdriver/dsh-preset-doctor

使用

兼容性范围:单一 0.6.1 服务全部宿主主线——适配分支在运行时按宿主版本自选(见上文「适配分支」),无 per-line 代码分叉。engines.dsh 与 renderer peer @deepseek-ai/dsh-client-ui-renderer 双清单同串、逐 rc 精确枚举(无区间/caret):0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1;peer @deepseek-ai/cordis 为 >=4.0.1 /cordis.patch.yml 与遗留 .agent-presets/ 目录,修复结果与报告输出到日志。

会话内可随时手动触发:

/preset-doctor          # 扫描 + 机械修复(默认)
/preset-doctor scan     # 只扫描报告,不写盘

进程内冒烟(手动步骤)