pub enum SkillsSource {
Disabled,
Sources(Vec<SkillSource>),
}Expand description
The parsed value of the skills: field in the manifest.
Skills are opt-in. SkillsSource::Disabled is the default and
matches verbatim-current MCP behavior: no prompts/list, no
methodology surface, identical context cost to pre-skills
deployments. Existing kglite manifests work unchanged.
When enabled, the crate::server::skills::Registry walks each
source in declaration order, layering them against the
project-local <basename>.skills/ directory which is always
auto-detected as the top-priority layer.
Variants§
Disabled
skills: false or no declaration. Skills disabled entirely.
Sources(Vec<SkillSource>)
One or more sources, walked in declaration order at registry
build time. First-match-per-skill-name wins across the root
layer; the auto-detected project layer (<basename>.skills/
adjacent to the YAML) preempts the entire root layer.
Trait Implementations§
Source§impl Clone for SkillsSource
impl Clone for SkillsSource
Source§fn clone(&self) -> SkillsSource
fn clone(&self) -> SkillsSource
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SkillsSource
impl Debug for SkillsSource
Source§impl Default for SkillsSource
impl Default for SkillsSource
Source§fn default() -> SkillsSource
fn default() -> SkillsSource
Source§impl PartialEq for SkillsSource
impl PartialEq for SkillsSource
Source§fn eq(&self, other: &SkillsSource) -> bool
fn eq(&self, other: &SkillsSource) -> bool
self and other values to be equal, and is used by ==.impl Eq for SkillsSource
impl StructuralPartialEq for SkillsSource
Auto Trait Implementations§
impl Freeze for SkillsSource
impl RefUnwindSafe for SkillsSource
impl Send for SkillsSource
impl Sync for SkillsSource
impl Unpin for SkillsSource
impl UnsafeUnpin for SkillsSource
impl UnwindSafe for SkillsSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.