v0.20.6 rebuild platform environments from templates
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user