lin-cheng-lab/dsh-plugin-doctor ↗★ 0
dsh-plugin-doctor
DSH 插件体检:安装任何插件前检查仓库可访问性、bundle 声明、peer 依赖与本地 DSH 版本兼容性、构建产物完整性,预防 rc 不匹配导致的启动崩溃。 适合安装第三方插件前做兼容性检查的用户,可接受仓库或包名输入。
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lin-cheng-lab/dsh-plugin-doctor使用
安装后,向 DSH 说一句人话即可,例如:
帮我用 plugin_doctor 检查一下 dsh-external/dsh-deep-research
工具接受三种输入:
- GitHub 仓库 URL:
https://github.com/owner/repo - owner/repo 简写:
owner/repo - npm 包名:
@scope/name或name
输出示例(节选):
{
"target": "dsh-external/dsh-deep-research",
"verdict": "danger",
"summary": "体检不通过,不要安装",
"checks": [
{ "name": "本地环境", "status": "pass", "detail": "DSH 0.1.0-rc.6 · cordis 4.0.1 · dsh-tools 0.1.0-rc.6 ..." },
{ "name": "仓库可访问", "status": "pass", "detail": "github.com/dsh-external/dsh-deep-research 可访问" },
{
"name": "peer 兼容性",
"status": "fail",
"detail": "2 个 peer 依赖与本地版本不匹配(rc 不匹配风险!)",
"items": [
{ "dep": "@deepseek-ai/dsh-tools", "required": "^0.0.1", "installed": "0.1.0-rc.6", "ok": false },
{ "dep": "@deepseek-ai/dsh-workflow", "required": "^0.0.1", "installed": "0.1.0-rc.6", "ok": false }
]
}
],
"recommendation": "不要安装:存在不兼容项,装进去可能导致启动崩溃。等插件更新适配后再装。"
}