Expand description
PluginRegistry — native-plugin mirror of
tools/tf-types-ts/src/core/plugin.ts.
Native plugins in Rust register a trait implementation up-front (plugins are compiled in, not dlopen’d — safe subset for the prototype). The registry validates the manifest’s ed25519 signature over its canonical JSON form with signature.signature cleared.
WASM plugins are handled by the sibling plugin_wasm module; instantiate
a WasmPlugin for capability-gated WASM execution. Native Rust plugins
continue to be compiled in (the registry doesn’t dlopen).
Structs§
Enums§
Functions§
- verify_
plugin_ signature - Standalone signature verifier for tooling (a CLI’s
tf plugin verify).
Type Aliases§
- Native
Handler - Opaque handler. Native Rust plugins register concrete implementations.