Skip to content
dsh.fish

Publishing to dsh.fish

Tag your repository with the dsh-plugin topic, or submit it directly. The registry reads your real manifest — what it lists is what the harness would load.

A bundle declares dsh.bundle

A package without that declaration still installs, but the harness activates no layer for it — so the registry does not list it as a plugin either.

{
  "name": "dsh-hello-plugin",
  "version": "0.1.0",
  "type": "module",
  "files": ["index.js", "cordis.patch.yml"],
  "dsh": { "bundle": { "patch": "./cordis.patch.yml" } }
}

Publishing to npm ships prebuilt code, so users need no build allowance. A git install fetches sources: add a self-contained prepare script, and expect users to allowlist it.