pub enum SkillSource {
User,
Project,
Plugin,
Host,
}Expand description
Skill 来源 – user / project;同名时后入者覆盖先入者(见下方扫描顺序)
Variants§
User
~/.agix/skills/(全局默认)或 ~/.agix/scenes/<scope>/skills/(scene 覆盖)
Project
<cwd>/.agents/skills/(外部事实标准,Codex 也扫描这个路径)
Plugin
Loaded from a plugin’s manifest (~/.agix/plugins/<name>/SKILL.md or
~/.agix/scenes/<scope>/plugins/<name>/SKILL.md)
Host
A directory the host listed for one session (options.skill_dirs):
trusted as a plugin package is.
Implementations§
Trait Implementations§
Source§impl Clone for SkillSource
impl Clone for SkillSource
impl Copy for SkillSource
Source§impl Debug for SkillSource
impl Debug for SkillSource
impl Eq for SkillSource
Source§impl PartialEq for SkillSource
impl PartialEq for SkillSource
impl StructuralPartialEq for SkillSource
Auto Trait Implementations§
impl Forget for SkillSource
impl Freeze for SkillSource
impl Move for SkillSource
impl RefUnwindSafe for SkillSource
impl Send for SkillSource
impl Sync for SkillSource
impl Unpin for SkillSource
impl UnsafeUnpin for SkillSource
impl UnwindSafe for SkillSource
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