v0.20.5 add antigravity clean workspace

This commit is contained in:
Deep Research System
2026-05-07 20:47:33 +08:00
parent a0f1144f6c
commit bb2c91754b
27 changed files with 3501 additions and 67 deletions
+5 -2
View File
@@ -8,7 +8,8 @@ from pathlib import Path
REPO_ROOT = Path(__file__).resolve().parents[2]
CANONICAL_SKILLS_DIR = REPO_ROOT / ".agents" / "skills"
CANONICAL_SKILLS_DIR = REPO_ROOT / ".agent" / "skills"
LEGACY_AGENTS_SKILLS_DIR = REPO_ROOT / ".agents" / "skills"
PROJECT_SKILLS_DIR = REPO_ROOT / "skills"
REQUIRED_SKILLS = {
"search-strategy",
@@ -38,6 +39,8 @@ class SkillRegistry:
if self.canonical_dir == CANONICAL_SKILLS_DIR and PROJECT_SKILLS_DIR.exists():
roots.append(PROJECT_SKILLS_DIR)
roots.append(self.canonical_dir)
if self.canonical_dir == CANONICAL_SKILLS_DIR and LEGACY_AGENTS_SKILLS_DIR.exists():
roots.append(LEGACY_AGENTS_SKILLS_DIR)
return roots
def list(self) -> list[SkillInfo]:
@@ -104,5 +107,5 @@ class SkillRegistry:
def default_adapter_skill_dirs() -> list[Path]:
return [
REPO_ROOT / ".opencode" / "skills",
REPO_ROOT / ".agents" / "skills",
REPO_ROOT / ".agent" / "skills",
]