drscrewdriver/dsh-preset-doctor ↗★ 2

dsh-preset-doctor

Preset doctor for DeepSeek Harness: auto-detects broken agent presets (legacy format, renamed packages, stale config keys) and mechanically repairs them to the current 0.1.7+ syntax, with backup, atomic writes and idempotence. 适合升级 DSH 后需要批量修复失效预设配置的用户

패키지
dsh-preset-doctor
호환성
미검증
Harness peer 범위
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 peer 범위
>=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     # 只扫描报告,不写盘

进程内冒烟(手动步骤)