zoahdev/dsh-plugin-doctor ↗★ 2
dsh-plugin-doctor
DeepSeek Harness 的健康检查工具:验证清单/补丁/入口/构建/打包/安装,提供模型可调用的插件检查、环境诊断、供应链毒素预检及损坏的工具调用序列检测。
AI 分析
全方位诊断 DSH 插件的健康状况。适合插件开发者用于发布前的打包验证、环境排查、依赖毒素扫描以及工具调用链纠错。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zoahdev/dsh-plugin-doctor说明文档
阅读完整 README ↗CLI usage
npx dsh-plugin-doctor . # quick checks on the current directory
npx dsh-plugin-doctor --build ./my-plugin
npx dsh-plugin-doctor --full ./my-plugin
npx dsh-plugin-doctor preflight ./my-plugin # alias: build + full pipeline (discussion #1774)
npx dsh-plugin-doctor check ./my-plugin # same pipeline; matches the proposed `dsh plugin check` surface (RFC #1846)
npx dsh-plugin-doctor --json ./my-plugin
npx dsh-plugin-doctor --profile ~/.dsh/profiles/web # profile tripwire: host-shadowing + manifest BOM
npx dsh-plugin-doctor --env # environment diagnostics (node/pnpm/dsh PATH, port 3080)
npx dsh-plugin-doctor --env --port 8090 # probe a custom web port instead
npx dsh-plugin-doctor env explain DEEPSEEK_API_KEY # secret-safe env provenance (RFC #1953)
npx dsh-plugin-doctor env explain MY_KEY --json # machine-readable envelope; value always [redacted]
npx dsh-plugin-doctor --help
Run from the repo without installing (after pnpm build):
node lib/bin.js --full ./my-plugin
Plugin usage (agent-callable)
Install the plugin into a DeepSeek Harness profile:
dsh plugin --profile web add dsh-plugin-doctor # from npm