yoi/resources/plugin/templates/rust-component-instance
2026-06-20 23:42:44 +09:00
..
src plugin: fix instance lifecycle blockers 2026-06-20 23:42:44 +09:00
Cargo.toml plugin: fix instance lifecycle blockers 2026-06-20 23:42:44 +09:00
plugin.component.wasm plugin: add instance lifecycle surface 2026-06-20 23:15:47 +09:00
plugin.toml plugin: add instance lifecycle surface 2026-06-20 23:15:47 +09:00
README.md plugin: add instance lifecycle surface 2026-06-20 23:15:47 +09:00

Yoi instance Plugin template

This template targets yoi:plugin/instance@1.0.0. The host creates one PluginInstance for the package; Tool, Service, and Ingress surfaces share that instance state while each surface keeps separate permissions/grants.

Tools still run only through ordinary model/user-initiated Tool calls. Ingress handlers receive bounded typed untrusted events and must return explicit JSON for host-mediated visible/durable paths.