DSH Testkit v0.3.1
This corrective release hardens v0.3.0 one-command adoption for real repository-root lifecycle runs.
Fixed
- Registers Git source-resolution stdout/stderr logs as declared report artifacts, so strict output audits pass when the tested plugin source is a Git repository.
- Parses the final
npm pack --jsonresult even when legitimateprepareor lifecycle scripts emit output first. - Keeps the parser fail-closed: invalid final pack metadata cannot fall back to package-controlled output.
Verified
- 111 tests across 22 files, typecheck, coverage, contracts, bundle E2E, pack smoke, audit, and CodeQL.
- Full Docker lifecycle passed against the root of the public
dsh-plugin-template: package, install, assemble, boot, register, exercise, uninstall, reboot, and cleanup. - Built and published by GitHub Actions with npm Trusted Publishing and provenance.
The one-command onboarding introduced in v0.3.0 remains:
pnpm dlx dsh-testkit@0 initSee the README and Chinese README.