pub struct SkillWatcherConfig {
pub workspace_dir: Option<PathBuf>,
pub user_dir: Option<PathBuf>,
pub extra_dirs: Vec<PathBuf>,
pub debounce: Duration,
pub builtin_skills: Vec<SkillDefinition>,
pub trust_workspace: bool,
}Expand description
Configuration for the skill file-system watcher.
Fields§
§workspace_dir: Option<PathBuf>Workspace skill directory (highest priority).
user_dir: Option<PathBuf>User skill directory (medium priority).
extra_dirs: Vec<PathBuf>Additional directories to watch (e.g. plugin-shipped skill dirs).
debounce: DurationDebounce duration for rapid file changes.
builtin_skills: Vec<SkillDefinition>Built-in skills (lowest priority, compiled into binary).
trust_workspace: boolWhether workspace skills are trusted.
Trait Implementations§
Source§impl Clone for SkillWatcherConfig
impl Clone for SkillWatcherConfig
Source§fn clone(&self) -> SkillWatcherConfig
fn clone(&self) -> SkillWatcherConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkillWatcherConfig
impl Debug for SkillWatcherConfig
Auto Trait Implementations§
impl Freeze for SkillWatcherConfig
impl RefUnwindSafe for SkillWatcherConfig
impl Send for SkillWatcherConfig
impl Sync for SkillWatcherConfig
impl Unpin for SkillWatcherConfig
impl UnsafeUnpin for SkillWatcherConfig
impl UnwindSafe for SkillWatcherConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more