DeepSeek Harness Plugin

zjukop3/dsh-vertical-kit#dsh-plugin-package-check

Category Development & Runtime Added 2026-11-24

Check that a DSH plugin package is installable and findable before you publish it. The catalog most common rejection is a package.json that declares only dsh.client — that alone is not installable, and dsh plugin add fails. The quieter failure this check earns its place with: everything declared, the patch file present, but files drops the patch, so the package runs locally and breaks for everyone who installs it. Fifteen rules, all decidable from the package directory: dsh.bundle.patch declared and present, the patch mounting this package or one of its declared dependencies, files not dropping the patch or docs/DETAIL.md, engines.dsh, a bin key equal to the package name so npx does not 404, a README with an install line, and the locale and icon that decide whether the plugin card shows a title or stays blank. No network, no running your code, no registry. Calibrated on seven plugins other people wrote that happen to be installed here, plus this kit own thirty packages — and it found that twenty-seven of them had blank cards and no install command in their README. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:zjukop3/dsh-vertical-kit#path:/packages/dsh-plugin-package-check

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.