Skip to content

Publishing and updating

Distribute the package directory containing plugin.toml and its compiled entry. Users can copy that directory into their plugin folder or use the optional update metadata in the manifest.

Set sha256 to the SHA-256 checksum of the compiled entry:

Terminal window
shasum -a 256 dist/plugin.iife.js

Recalculate the checksum whenever the entry changes. Amadeus does not load an entry that differs from the declared checksum.

  1. Build and type-check the package.
  2. Set a new version and the entry checksum in plugin.toml.
  3. Install the completed directory into a clean plugin location.
  4. Reload it in Amadeus, then test its declared role in a representative project.
  5. Publish the manifest and entry together if remote updates are enabled.

The optional [update] block identifies the published manifest and entry. Check compares published metadata with the installed package; Update downloads the entry and verifies its declared checksum before installation.