Refactor plugin config and cache path (#13333)

Update config.toml plugin entries to use
<plugin_name>@<marketplace_name> as the key.
Plugin now stays in
[plugins/cache/marketplace-name/plugin-name/$version/]
Clean up the plugin code structure.
Add plugin install functionality (not used yet).
This commit is contained in:
xl-openai
2026-03-03 15:00:18 -08:00
committed by GitHub
parent 041c896509
commit 9b004e2db1
8 changed files with 622 additions and 92 deletions

View File

@@ -0,0 +1,14 @@
mod manager;
mod manifest;
mod store;
pub use manager::LoadedPlugin;
pub use manager::PluginInstallError;
pub use manager::PluginLoadOutcome;
pub use manager::PluginsManager;
pub(crate) use manager::plugin_namespace_for_skill_path;
pub(crate) use manifest::load_plugin_manifest;
pub(crate) use manifest::plugin_manifest_name;
pub use store::PluginId;
pub use store::PluginInstallRequest;
pub use store::PluginInstallResult;