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.
Use it for
Section titled “Use it for”- Understanding
defineSourcePluginand normalized envelopes. - Seeing how workflow plugins match events and call a runtime provider.
- Checking import paths when writing new examples or tests.
Source spec
Section titled “Source spec”The example source lives in docs/examples/plugin-runtime.ts.