drone path fixes

This commit is contained in:
Input-X
2026-03-07 20:28:38 +00:00
parent 6ed12ef523
commit 14979fcb28
5 changed files with 4 additions and 5 deletions
@@ -18,7 +18,6 @@ from dataclasses import dataclass
_MODULE_REGISTRY: dict[str, str] = {
"drone": "aipass.drone.drone_adapter",
"seedgo": "aipass.seedgo.drone_adapter",
"spawn": "aipass.spawn.drone_adapter",
}
+1 -1
View File
@@ -25,7 +25,7 @@ from aipass.spawn.apps.handlers.registry import (
)
# Repo root — resolved from spawn package location
_REPO_ROOT = Path(__file__).parents[4] # src/aipass/spawn/apps/handlers -> repo root
_REPO_ROOT = Path(__file__).parents[5] # handlers/apps/spawn/aipass/src/AIPass
# Branches that cannot be deleted (critical infrastructure)
_PROTECTED_BRANCHES = {"spawn", "devpulse", "drone"}
@@ -26,7 +26,7 @@ from aipass.spawn.apps.handlers.registry import (
)
# Repo root — resolved from spawn package location
_REPO_ROOT = Path(__file__).parents[4] # src/aipass/spawn/apps/handlers -> repo root
_REPO_ROOT = Path(__file__).parents[5] # handlers/apps/spawn/aipass/src/AIPass
# =============================================================================
@@ -20,7 +20,7 @@ from pathlib import Path
from aipass.prax.apps.modules.logger import system_logger as logger
# Repo root — resolved from spawn package location
_REPO_ROOT = Path(__file__).parents[4] # src/aipass/spawn/apps/handlers -> repo root
_REPO_ROOT = Path(__file__).parents[5] # handlers/apps/spawn/aipass/src/AIPass
# Path to template_owners.json
_TEMPLATE_OWNERS_PATH = (
+1 -1
View File
@@ -36,7 +36,7 @@ from aipass.spawn.apps.handlers.placeholders import build_replacements_dict, rep
from aipass.spawn.apps.handlers.registry import find_registry, load_registry
# Repo root — resolved from spawn package location
_REPO_ROOT = Path(__file__).parents[4] # src/aipass/spawn/apps/handlers -> repo root
_REPO_ROOT = Path(__file__).parents[5] # handlers/apps/spawn/aipass/src/AIPass
# =============================================================================