Why pre-install checks are being discussed

Several incompatible community marketplaces and PR-based registries now distribute DSH plugins, and packages with a missing manifest, an absent build artifact, or a wrong peer range can reach users unchanged. Open RFCs in the official repository propose a shared registry contract plus first-class diagnostics along the lines of dsh plugin check and dsh doctor. These are community proposals, not adopted DeepSeek standards, and no such command ships today.

What a static check can establish

These facts are decidable from the public repository alone, so they can be stated without qualification.

  • Whether the root package.json declares dsh.bundle and names a patch.
  • Whether the referenced patch file actually exists in the default branch.
  • Package identity, repository version, and whether a matching npm version is published.
  • Which install-time scripts exist: preinstall, install, postinstall, prepare.
  • Whether a maintainer-documented install command appears in the README.
  • The exact commit the answers were read from.

What a static check cannot establish

Everything below requires executing code or reading intent, so a checker that claims them is overstating its evidence.

QuestionStatic answerWhat actually settles it
Is this plugin safe?NoSource review plus a sandboxed install
Does it load on my DSH version?NoInstall into a disposable profile and dump the config
Do its tools register at runtime?NoStart the profile and list the registered tools
Are its dependencies free of advisories?NoA dependency scanner connected to an advisory database
Does the published tarball match the repository?NoComparing the packed artifact against the tagged commit

Run the check on any public repository

The registry checker reads public GitHub and npm metadata, executes nothing, and records the commit SHA it inspected so the result can be reproduced later. Results have their own address, so a check can be linked in an issue or a review.

Open a shareable check result
https://dsh-plugin.net/check/<owner>/<repo>

Use the JSON if you are building tooling

The same result is available as JSON with permissive CORS, so a marketplace, a CLI plugin finder, or an agent tool can consume it directly instead of scraping the page.

Machine-readable check result
curl https://dsh-plugin.net/api/check/<owner>/<repo>

Finish the check locally

After the static check passes, the remaining evidence has to come from your own machine. Use a throwaway profile so a failure costs nothing.

  • Install into a disposable profile, never your working one.
  • Pin a version or commit so the test is repeatable.
  • Read any prepare or postinstall script before allowing a Git install to build.
  • Confirm the expected tools, services, or interface rows appear.
  • Verify the remove command restores the previous state.
Confirm the plugin actually entered the composed tree
dsh --profile plugin-test --dump-config

DeepSeek Harness is in developer preview. Recheck official documentation and plugin evidence when the host version changes.

Official sources

These primary sources were used to verify the technical details in this guide.