dsh-profile-doctor

只读的 DSH profile 医生:配置树七检(patch 丢字段、死 patch、工具重名、装了没挂载、停更、树 diff、组成解释)加八项生态检查——pnpm store 版本冲突(`dsh plugin add` 报 ERR_PNPM_UNEXPECTED_STORE 的根因)、patch insert 指向不存在的包、断裂的 junction、重复能力插件、孤儿 backup 目录、GitHub 源依赖、npm 发布权限提示、minimumReleaseAgeExclude 缺口。四个 agent 工具,每条 finding 都带修复文案。

插件介绍

只读的 DSH profile 医生:配置树七检(patch 丢字段、死 patch、工具重名、装了没挂载、停更、树 diff、组成解释)加八项生态检查——pnpm store 版本冲突(`dsh plugin add` 报 ERR_PNPM_UNEXPECTED_STORE 的根因)、patch insert 指向不存在的包、断裂的 junction、重复能力插件、孤儿 backup 目录、GitHub 源依赖、npm 发布权限提示、minimumReleaseAgeExclude 缺口。四个 agent 工具,每条 finding 都带修复文案。

安装方式

通过 npm 安装

dsh plugin --profile web add @bushizhanghan/dsh-profile-doctor

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:bushizhanghan/dsh-profile-doctor

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。