Private
Public Access
0
0
This commit is contained in:
2026-05-16 04:10:33 -04:00
parent 1ddde58161
commit 607aeaf2d2
3 changed files with 10 additions and 3 deletions
+7
View File
@@ -106,6 +106,13 @@ def get_project_workspace_profiles_path(project_root: Path) -> Path:
"""
return project_root / ".ai" / "workspace_profiles.toml"
def get_credentials_path() -> Path:
"""
[C: src/mcp_client.py:_is_allowed]
"""
root_dir = Path(__file__).resolve().parent.parent
return Path(os.environ.get("SLOP_CREDENTIALS", str(root_dir / "credentials.toml")))
def _resolve_path(env_var: str, config_key: str, default: str) -> Path:
root_dir = Path(__file__).resolve().parent.parent
p = None