mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-01 21:20:33 +00:00
rename skills dirs for consistency
This commit is contained in:
parent
eae4a09b3a
commit
2baac23286
31 changed files with 33 additions and 33 deletions
|
|
@ -14,7 +14,7 @@ except Exception: # pragma: no cover
|
|||
yaml = None # type: ignore
|
||||
|
||||
|
||||
SkillSource = Literal["custom", "builtin", "shared", "project", "framework"]
|
||||
SkillSource = Literal["custom", "default", "project", "framework"]
|
||||
|
||||
|
||||
@dataclass(slots=True)
|
||||
|
|
@ -49,7 +49,7 @@ def get_skill_roots(
|
|||
framework_id: Optional[str] = None,
|
||||
) -> List[Tuple[SkillSource, Path]]:
|
||||
base = get_skills_base_dir()
|
||||
order = order or ["custom", "builtin", "shared"]
|
||||
order = order or ["custom", "default"]
|
||||
roots: List[Tuple[SkillSource, Path]] = [(src, base / src) for src in order]
|
||||
|
||||
# Framework skills take priority when active
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue