pub struct InstalledPluginInfo {
pub direct_source_id: Option<String>,
pub enabled: bool,
pub installed: Option<bool>,
pub installed_from: Option<String>,
pub managed: Option<bool>,
pub managed_desired_enabled: Option<bool>,
pub marketplace: String,
pub name: String,
pub source: Option<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: Option<bool>Whether the managed desired plugin currently has an installed or live record. Set to false for a managed desired entry retained in the listing after installation or reconciliation failed.
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”.
managed: Option<bool>Whether enterprise managed settings control this plugin’s enabled state.
managed_desired_enabled: Option<bool>The enabled state required by enterprise managed settings, when this plugin spec is managed.
marketplace: StringMarketplace the plugin came from. Empty string (“”) for direct repo / URL / local installs.
name: StringPlugin name
source: Option<String>Runtime-reported plugin provenance. Currently set to “builtin” only for plugins registered through the trusted host built-in boundary; absent for installed, marketplace, direct, and live plugins.
version: Option<String>Installed version (when reported by the plugin manifest)