pub struct SessionInstalledPlugin {
pub cache_path: Option<String>,
pub enabled: bool,
pub installed_at: String,
pub marketplace: String,
pub name: String,
pub source: Option<Value>,
pub source_sha: Option<String>,
pub version: Option<String>,
}Expand description
Installed plugin record for a session, with marketplace, version, install time, enabled state, cache path, and source.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§cache_path: Option<String>Path where the plugin is cached locally
enabled: boolWhether the plugin is currently enabled
installed_at: StringInstallation timestamp (ISO-8601)
marketplace: StringMarketplace the plugin came from (empty string for direct repo installs)
name: StringPlugin name
source: Option<Value>Source descriptor for direct repo installs (when marketplace is empty)
source_sha: Option<String>Per-plugin source fingerprint (a SHA-256 hash of the plugin’s catalog source spec plus its resolved source subtree — NOT a Git commit SHA) captured at marketplace install/update time. Auto-update compares it against the freshly recomputed fingerprint to detect a content change that does not bump the version. Absent for pre-existing installs and for direct (non-marketplace) installs.
version: Option<String>Installed version, if known
Trait Implementations§
Source§impl Clone for SessionInstalledPlugin
impl Clone for SessionInstalledPlugin
Source§fn clone(&self) -> SessionInstalledPlugin
fn clone(&self) -> SessionInstalledPlugin
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more