DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

PerryLink /

PerryLink/dsh-plugin-ci

Topic repository only

Cross-version CI matrix and manifest gate for DeepSeek Harness plugins.

★ 2 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@2055e18c

dsh-plugin-ci

Cross-version CI matrix and manifest gate for DeepSeek Harness plugins.

DSH ships 40+ prereleases in three months, and a plugin that works on one version can fail to load on the next. This tool answers two questions in CI:

  1. Does the package satisfy the bundle contract (dsh.bundle.patch, patch rows, engines.dsh, README, LICENSE)?
  2. Does it still install and compose on the DSH versions you claim to support?

Install

npx dsh-plugin-ci check .
npx dsh-plugin-ci matrix . --versions 0.2.2-rc.5,0.2.3-alpha.2

In GitHub Actions:

- uses: PerryLink/dsh-plugin-ci@v1
  with:
    path: .
    versions: 0.2.2-rc.5,0.2.3-alpha.2

Or run the action locally:

node bin/dsh-plugin-ci.mjs check .
node bin/dsh-plugin-ci.mjs matrix . --versions 0.2.2-rc.5,0.2.3-alpha.2 --json

What check looks at

  • package.json: name, semver version, description, engines.dsh, files;
  • dsh.bundle.patch: exists and parses into insert / override rows;
  • patch rows: non-empty id, duplicate ids, override warnings;
  • README.md and LICENSE;
  • install-time scripts (preinstall, install, postinstall, prepare).

Warnings do not fail the run; errors do.

What matrix does

For each version:

  1. npm pack the plugin into a temporary directory;
  2. create an isolated DSH_HOME;
  3. npx -y @deepseek-ai/dsh@<version> plugin --profile ci add <tarball>;
  4. npx -y @deepseek-ai/dsh@<version> --profile ci --dump-config;
  5. record PASS/FAIL and the tail of the output.

The matrix needs npm and network access on a cold cache. It is intentionally separate from check, so a manifest gate can run on every PR while the full matrix runs nightly or on release.

Design

  • No runtime dependency; Node 22.19+.
  • The YAML reader is a deliberately small subset parser, not a YAML engine.
  • runMatrix accepts an injected exec, which is how the tests run without network or a real DSH install.

License

MIT

—/ 5

No ratings yet

Manifest verification required

Commit 2055e18c1862

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout