pub struct HooksDiscoverRequest {
pub exclude_host_hooks: Option<bool>,
pub project_paths: Option<Vec<String>>,
}Expand description
Optional project paths and host-exclusion behavior for server-scoped hook discovery.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§exclude_host_hooks: Option<bool>When true, omit host-owned user and plugin hook rows and their diagnostics. Managed-policy hooks and trusted repository hooks remain visible, and host disabledHooks still contribute to each remaining row’s effective enabled state. This filters sources rather than simulating a host with no settings.
project_paths: Option<Vec<String>>Optional project directory paths whose trusted repository and project-expanded plugin hooks should be discovered. When omitted or empty, user, managed-policy, and globally enabled installed or explicit plugin hooks are returned without project expansion.
Trait Implementations§
Source§impl Clone for HooksDiscoverRequest
impl Clone for HooksDiscoverRequest
Source§fn clone(&self) -> HooksDiscoverRequest
fn clone(&self) -> HooksDiscoverRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more