Skip to main content

Crate scc_plugin_api

Crate scc_plugin_api 

Source
Expand description

Stable SCC plugin contracts (spec sections 15-16, 21, 31).

Plugins depend on THIS crate only — never on scc-engine or scc-cli. Manifests are scc-plugin.toml; the process-plugin wire protocol is plain JSON over stdio using PluginRequest/PluginResponse.

Structs§

ExtensionRegistration
PluginManifest
PluginRequest
PluginResponse

Enums§

Permission
PluginRuntime

Constants§

PLUGIN_API_VERSION
PLUGIN_WIT
WIT interface definition for the WASM Component Model host (spec §14). Checked in as the versioned ABI contract: any runtime implementing this world (wasmtime-based or otherwise) hosts scc-plugin.wit plugins. The JSON shapes (PluginRequest/PluginResponse) are identical to the process-plugin wire protocol, so a plugin written against these schemas runs on either runtime unchanged.