"""Shared project alias registry for Cortex tools.""" from __future__ import annotations from dataclasses import dataclass from pathlib import Path @dataclass class ProjectDef: path: str # path on the host where the project lives (~ is expanded at runtime) ssh_host: str = "" # if set, git/aider commands run via SSH on this host _CORTEX_ROOT_STR: str = str(Path(__file__).parent.parent.parent.resolve()) PROJECT_ALIASES: dict[str, ProjectDef] = { "cortex": ProjectDef(path=_CORTEX_ROOT_STR), "aether_api": ProjectDef( path="~/OSIT_dev/aether_api_fastapi", ssh_host="scott-wks-main-i7", ), "aether_frontend": ProjectDef( path="~/OSIT_dev/aether_app_sveltekit", ssh_host="scott-wks-main-i7", ), "aether_container": ProjectDef( path="~/OSIT_dev/aether_container_env", ssh_host="scott-wks-main-i7", ), }