pub struct InstalledPluginInfo {
pub direct_source_id: Option<String>,
pub enabled: bool,
pub installed_from: Option<String>,
pub marketplace: String,
pub name: String,
pub version: Option<String>,
}Expand description
Information about an installed plugin tracked in global state.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§direct_source_id: Option<String>Opaque, stable hash identifying a direct (non-marketplace) install source. Present only for direct repo / URL / local installs; absent for marketplace plugins. Same source yields the same id; distinct sources never collide.
enabled: boolWhether the plugin is currently enabled for new sessions
installed_from: Option<String>Absolute path of the marketplace directory a live plugin was resolved from. Present only on live, never-persisted records — a plugin belonging to a directory/local marketplace, which is loaded from its real directory on every pass instead of a copy under the installed-plugins cache. Its presence is what marks a listed plugin as live: such a plugin is always present on disk, so enabled is its only meaningful state and it is never “not installed”.
marketplace: StringMarketplace the plugin came from. Empty string (“”) for direct repo / URL / local installs.
name: StringPlugin name
version: Option<String>Installed version (when reported by the plugin manifest)
Trait Implementations§
Source§impl Clone for InstalledPluginInfo
impl Clone for InstalledPluginInfo
Source§fn clone(&self) -> InstalledPluginInfo
fn clone(&self) -> InstalledPluginInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more