Skip to main content

Module plugin

Module plugin 

Source
Expand description

Plugin system — manifest-based registry + CLI lifecycle (PRD §29).

Supports 6 plugin types: Backend, Extractor, Ranker, Formatter, Validator, AiProvider. Plugins are discovered from ~/.fetchium/plugins/ via plugin.toml manifests. Native (.so/.dylib) and WASM loading are planned but currently handled through the manifest/registry layer only.

Re-exports§

pub use manifest::PluginManifest;
pub use registry::PluginEntry;
pub use registry::PluginRegistry;
pub use registry::PluginStatus;
pub use traits::PluginType;

Modules§

loader
Plugin loader — installs plugins from filesystem paths.
manifest
Plugin manifest — plugin.toml parser (PRD §29).
registry
Plugin registry — in-process store for loaded plugins.
traits
Plugin trait definitions for all 6 plugin types (PRD §29).