asdf17128/dsh-doctor1

dsh-doctor

DSH 配置与插件健康检查 CLI 工具:查找失效配置、死补丁及未维护插件

AI 分析

一键诊断 DSH 配置文件和插件依赖的健康状况,支持自动修复。适合频繁调整配置、升级 DSH 或在 CI 中进行预检的用户。

包名
dsh-doctor
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

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

Usage

npx dsh-doctor                      # check the web profile
npx dsh-doctor --explain            # describe the tree instead of checking it
npx dsh-doctor --profile headless   # another profile
npx dsh-doctor --verbose            # include informational notes
npx dsh-doctor --json               # machine-readable
npx dsh-doctor --fix                # restate the dropped fields for you
npx dsh-doctor --offline            # skip npm registry lookups
npx dsh-doctor --quiet              # print only when something is wrong

Exit codes: 0 clean or warnings only · 1 at least one error · 2 could not inspect.

Useful in CI, or as a pre-upgrade check:

npx dsh-doctor --quiet || echo "review your patches before upgrading dsh"