from pathlib import Path __version__ = "0.1.0" __developer_id__ = "mscrnt-0001" # Always resolve to the root of the project (1 level up from /agentm/) PROJECT_ROOT = Path(__file__).resolve().parents[1] DIAMBRA_CREDENTIALS_PATH = PROJECT_ROOT / ".diambra" / "credentials" DIAMBRA_CREDENTIALS_PATH.parent.mkdir(parents=True, exist_ok=True) if not DIAMBRA_CREDENTIALS_PATH.exists(): DIAMBRA_CREDENTIALS_PATH.touch()