ryo-plugin-runtime
Status: experimental. APIs may change in v0.x. Part of the ryo workspace — AST-centric Rust programming for AI agents.
WASM plugin runtime — registry management and execution. Sits on top of
ryo-plugin-loader and exposes
a MutationRegistry that can scan a directory of .wasm plugins and a
PluginExecutor that drives them against source files.
ryo-plugin-api — WIT interface definitions
ryo-plugin-loader — WASM loading (PluginLoader, LoadedPlugin)
ryo-plugin-runtime — Registry + Executor (this crate)
Install
Quickstart
use ;
use Path;
let mut registry = new?;
registry.load_plugins_from_dir?;
let mut executor = new;
let result = executor.execute?;
API Summary
| Item | Purpose |
|---|---|
MutationRegistry |
Scan a directory, register loaded plugins |
PluginExecutor |
Run a registered plugin against source |
Plugin-API types (MutationManifest, MatchResult, TextEdit, …) and
PluginLoader / LoadedPlugin are re-exported from ryo-plugin-loader.
Status
Experimental. Plugin lifecycle, discovery, and execution APIs are still being shaped.
License
Licensed under either of Apache-2.0 or MIT at your option.