v0.20.6 rebuild platform environments from templates

This commit is contained in:
Deep Research System
2026-05-07 21:00:21 +08:00
parent bb2c91754b
commit b3050260b2
93 changed files with 6027 additions and 89 deletions
+6 -5
View File
@@ -17,10 +17,11 @@ if str(REPO_ROOT) not in sys.path:
from scripts.runtime.skills import SkillRegistry
CODEX_TEMPLATE = REPO_ROOT / "codex_adapter_templates" / "codex"
ANTIGRAVITY_RULES_DIR = REPO_ROOT / ".agent" / "rules"
ANTIGRAVITY_WORKFLOWS_DIR = REPO_ROOT / ".agent" / "workflows"
ANTIGRAVITY_AGENTS_FILE = REPO_ROOT / ".agent" / "agents.md"
CODEX_TEMPLATE = REPO_ROOT / "platform_adapters" / "codex"
ANTIGRAVITY_TEMPLATE = REPO_ROOT / "platform_adapters" / "antigravity" / "agent"
ANTIGRAVITY_RULES_DIR = ANTIGRAVITY_TEMPLATE / "rules"
ANTIGRAVITY_WORKFLOWS_DIR = ANTIGRAVITY_TEMPLATE / "workflows"
ANTIGRAVITY_AGENTS_FILE = ANTIGRAVITY_TEMPLATE / "agents.md"
@dataclass
@@ -163,7 +164,7 @@ def deploy_codex(
repo_root: Path = REPO_ROOT,
) -> DeployResult:
codex_home = (target or default_codex_home()).expanduser()
template = repo_root / "codex_adapter_templates" / "codex"
template = repo_root / "platform_adapters" / "codex"
parts = [
copy_tree_contents(