Show and tell: dsh-plugin-doctor — the dsh plugin check from RFC #1629, now real #1693
Replies: 1 comment
|
Tested against a real published plugin (ours, Two findings:
Everything else (patch / entry / files / pack) passes on our bundle — nice work. |
Uh oh!
There was an error while loading. Please reload this page.
The
dsh plugin checkidea from RFC #1629 is now a real tool: dsh-plugin-doctor 🩺It runs repeatable health checks on any DeepSeek Harness plugin bundle:
manifest—package.json+dsh.bundle+dsh.bundle.patch+prepare+mainpatch—cordis.patch.ymlparses and contains at least oneinsertrow with anidentry— themaintarget exists (warns when not built yet)files— afilesallowlist is declaredbuild—pnpm run buildsucceeds (--build)pack+install—pnpm pack, install into a brand-newDSH_HOMEprofile, and confirm the plugin id in--dump-config(--full)Exit code 0/1 and
--jsonoutput make it CI-friendly:Verified against the dsh-plugin-template:
--fullreports all checks PASS, including the packed tarball loading into a fresh profile withtemplate-hellopresent in the composed config.Why it matters: "loads fine" is not "works". pnpm can silently link an older RC into a plugin's peer slot, and manifest mistakes only surface on other people's machines. A local doctor turns both into immediate, actionable failures.
Repo: zoahdev/dsh-plugin-doctor · Release: v1.0.0 · RFC: #1629
Feedback and feature requests welcome — PRs too.
All reactions