Skip to main content

Crate sqry_plugin_registry

Crate sqry_plugin_registry 

Source
Expand description

Shared plugin registry for SQRY.

This crate is the single source of truth for built-in plugin registration, plugin cost-tier metadata, and deterministic plugin-selection resolution.

Re-exports§

pub use feature_table::PLUGIN_FEATURE_TABLE;
pub use feature_table::PluginFeatureSpec;
pub use feature_table::all_unknown_ids_have_features;
pub use feature_table::missing_features_for;

Modules§

feature_table
Compile-time mapping from plugin id → Cargo feature flag, used to turn the otherwise-opaque IncompatibleUnknownPluginIds error (cluster-E §E.2) into an actionable diagnostic that names the --features list to pass to cargo install.

Structs§

BuiltinPluginSpec
PluginSelectionConfig
PluginSelectionResolution

Enums§

HighCostMode
PluginCostTier
PluginSelectionError

Functions§

builtin_plugin_ids
create_plugin_manager
Create a PluginManager using the default fast-path plugin selection.
create_plugin_manager_all
Create a PluginManager containing the full built-in plugin roster.
create_plugin_manager_for_plugin_ids
Create a PluginManager from an explicit ordered built-in plugin subset.
create_plugin_manager_with_config
Create a PluginManager from an explicit selection config.
resolve_plugin_selection
Resolve the effective active plugin ids for a selection config.