pub struct PluginsDisableRequest {
pub names: Vec<String>,
pub working_directory: Option<String>,
}Expand description
Plugin names (or specs) to disable, plus the optional working directory the repository-controlled guard is evaluated against.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§names: Vec<String>Plugin names or “plugin@marketplace” specs to disable. Unknown names are ignored. Non-marketplace direct installs cannot be disabled via this API; uninstall them instead. Plugin-owned MCP servers are stopped in active sessions immediately; other plugin contributions remain available until each session reloads plugins.
working_directory: Option<String>Working directory whose repository enabledPlugins overlay decides whether this mutation is repository-controlled. Hosts that serve sessions across several repositories (the SDK server) should pass the session’s directory; otherwise the guard is evaluated against the server process’s own working directory, which may belong to a different repository. Defaults to the server’s current working directory.
Trait Implementations§
Source§impl Clone for PluginsDisableRequest
impl Clone for PluginsDisableRequest
Source§fn clone(&self) -> PluginsDisableRequest
fn clone(&self) -> PluginsDisableRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more