Publish a plugin

Publish to DSH Hub

DSH Hub does not maintain a private registry. Add the dsh-plugin topic to a public GitHub repository and it becomes searchable after the next sync.

Ship a DSH bundle

The install unit is an npm package with a patch layer. Its manifest must declare the bundle file:

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

Keep installation auditable

Commit prebuilt output, or declare prepare when TypeScript must be built. Minimize lifecycle scripts because they run on the user host, not inside the agent sandbox.

Add the topic

Add dsh-plugin under GitHub repository Topics. The repository appears on the GitHub topic page immediately and usually enters DSH Hub during the next sync.

Verify it

dsh plugin --profile demo add github:you/my-dsh-plugin#<commit-sha>

Start the target profile, confirm every plugin line mounts, and document capabilities, configuration, permissions, and uninstall steps in the README.

Open the GitHub Topic