AI Agent Hub
Back to plugins
⚙️

dsh-testkit

Workflow Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install iiwish/dsh-testkit

Paste the following prompt into your AI chat to install this plugin:

In DeepSeek Harness, run dsh plugin install iiwish/dsh-testkit to install this plugin; the source code is available at https://github.com/iiwish/dsh-testkit .

About this plugin

A plugin can compile, pass every unit test, and still break the moment a user installs it from npm — missing files in the tarball, a bundle that never registers in DSH, or an uninstall that leaves the profile in a broken state. DSH Testkit closes that gap: it takes the exact packed artifact a user would download and runs the full lifecycle on an isolated, version-pinned real DSH host, retaining reviewable evidence for the maintainer — all without a single model call or API key.

Its core coverage targets the weakest links after publication: npm pack with exact-version installation, bundle assembly and config-row verification, deterministic runtime probes for declared tools, optional loopback HTTP assertions and browser smoke tests, and post-uninstall checks for owned-path residue, leftover processes, and orphaned ports. Every run produces a canonical report.json, a CI-ready junit.xml, and a human-readable report.md, and the generated least-privilege workflow slots directly into a release pipeline.

If you maintain a DSH plugin, review a release pull request, generate new plugins from a template, or need a reproducible host-level bug report, DSH Testkit is the final gate between your unit tests and your users.

Use Cases

  • Verify packed-artifact install, registration, and uninstall residue before release
  • Obtain reproducible host-level evidence when reviewing a release PR
  • Confirm same-profile reboot leaves no owned-path residue or orphan processes

Best For

  • Developers maintaining a DSH plugin
  • Engineers reviewing release PRs or operating plugin templates
  • Users who need a reproducible host-level bug report