feat(portability): use __file__-anchored sibling discovery in CLI scripts and add VPS and Git Operator plans (v1.7.0)

This commit is contained in:
Hermes Agent committed 2026-11-29 21:19:15 +00:00
1 parent 1f2c4f4a7e
commit 87c5c28dc4
10 files changed
+896 -2

No files matched your search

@@ -34,7 +34,8 @@ import sys
from pathlib import Path
from typing import Any
_CORE_SRC = Path("/workspace/hyperstitionstudio-core/src")
_REPO_ROOT = Path(__file__).resolve().parent.parent
_CORE_SRC = _REPO_ROOT.parent / "hyperstitionstudio-core" / "src"
if _CORE_SRC.is_dir() and str(_CORE_SRC) not in sys.path:
sys.path.insert(0, str(_CORE_SRC))
+2 -1
View File
@@ -11,7 +11,8 @@ from __future__ import annotations
import sys
from pathlib import Path
_CORE_SRC = Path("/workspace/hyperstitionstudio-core/src")
_REPO_ROOT = Path(__file__).resolve().parent.parent
_CORE_SRC = _REPO_ROOT.parent / "hyperstitionstudio-core" / "src"
if _CORE_SRC.is_dir() and str(_CORE_SRC) not in sys.path:
sys.path.insert(0, str(_CORE_SRC))