Plugin authoring reference
This reference is the canonical specification for plugin authors and for the tools and agents that build plugins. Each page lists the rules, limits and contracts for one area. If you are new to plugins, start with the quick start and come back here when you need the exact rules.
Package layoutPackage identity, source roots, provider scripts, script discovery and shared sources.
ManifestEvery manifest section, relationship schemas, client entry, browse fields, calendar sources and signal schedules.
Data contractsConfiguration and user settings, property schemas, operations, change sets and review content.
Queries and recipesDeclared queries, recipe helpers, operation recipes and entity presentation sources.
Execution and authorityExecution subjects, user bootstrap, memberships, folds, HTTP rate limits and checkpoint workflows.
Lifecycle hooksBefore-policies and after-hooks, input projections, retries, causation and installation.
Imports and ingestionSubmissions, import sources, configuration and integration access, setup readiness and run reports.
Messages and languagesMessage catalogs, keys, the generated builder, manifest text and client rendering.
CLIryot plugin build and ryot plugin messages: flags, validation steps and archive output.
Packages
Section titled “Packages”Plugins are written against these packages:
| Package | Provides |
|---|---|
@ryot-app/contract |
Manifest schemas and definePlugin (@ryot-app/contract/modules/plugins/manifest) |
@ryot-app/plugin-kit |
Environment-neutral shims for shared code, operation and import-input helpers, test helpers |
@ryot-app/plugin-backend-sdk |
Sandbox script definitions, host contracts, change-set helpers |
@ryot-app/plugin-client-sdk |
Client bridge, hooks, presentations and messages |
@ryot-app/plugin-ui-sdk |
Shared UI components |
@ryot-app/cli |
The ryot command |
The SDK packages document their own APIs in their READMEs in the Ryot repository.