Skip to content

Plugin runtime sample

The plugin runtime sample shows the smallest useful shape of a source plugin and workflow plugin working against Rainrail’s public contract.

  • Understanding defineSourcePlugin and normalized envelopes.
  • Seeing how workflow plugins match events and call a runtime provider.
  • Checking import paths when writing new examples or tests.

The example source lives in docs/examples/plugin-runtime.ts.