Expand description
Plugin registry with hot reload support
Provides a thread-safe registry for managing loaded plugins with support for dynamic addition, removal, and updates.
§Permission System Integration
The registry supports an optional permission system for capability-based access control. When enabled, plugins are checked against their declared capabilities before execution.
ⓘ
use sen_plugin_host::{PluginRegistry, PermissionPresets};
// With permission checking
let config = PermissionPresets::interactive("myapp")?;
let registry = PluginRegistry::with_permissions(config)?;
// Execution will check capabilities and prompt if needed
registry.execute("hello", &["World"]).await?;Structs§
- Plugin
Registry - A thread-safe registry for managing loaded plugins
Enums§
- Registry
Error - Errors that can occur during registry operations