release: v0.20 Codex-ready skill-driven core
This commit is contained in:
@@ -34,9 +34,10 @@ class SkillRegistry:
|
||||
self.canonical_dir = canonical_dir or CANONICAL_SKILLS_DIR
|
||||
|
||||
def roots(self) -> list[Path]:
|
||||
roots = [self.canonical_dir]
|
||||
roots = []
|
||||
if self.canonical_dir == CANONICAL_SKILLS_DIR and PROJECT_SKILLS_DIR.exists():
|
||||
roots.append(PROJECT_SKILLS_DIR)
|
||||
roots.append(self.canonical_dir)
|
||||
return roots
|
||||
|
||||
def list(self) -> list[SkillInfo]:
|
||||
|
||||
Reference in New Issue
Block a user