//! Plugin discovery, loading, and registry. //! //! A plugin is a self-contained directory that bundles skills, agents, //! MCP server configs, and hooks into a namespaced unit. Plugins can //! live under `~/.kigi/plugins/`, `.kigi/plugins/` (project-level), //! or be passed via `--plugin-dir` on the CLI. pub mod discovery; pub mod git_install; pub mod hooks_adapter; pub mod install_registry; pub mod local_refresh; pub mod manifest; pub mod marketplace; pub mod registry; pub mod trust; pub use discovery::{ DiscoveredPlugin, PluginOrigin, PluginScope, discover_plugins, project_plugin_dirs, project_plugin_dirs_in, }; pub use hooks_adapter::parse_plugin_hooks; pub use install_registry::InstallRegistry; pub use manifest::PluginManifest; pub use registry::{LoadedPlugin, PluginRegistry, SharedPluginRegistryHandle}; pub use trust::TrustStore;