MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / host_workspace

Function host_workspace

src/harness/paths.py:31–34  ·  view source on GitHub ↗

Host directory mounted as ``/workspace`` in the sandbox container.

()

Source from the content-addressed store, hash-verified

29
30
31def host_workspace() -> Path:
32 """Host directory mounted as ``/workspace`` in the sandbox container."""
33 env = os.environ.get("HOST_WORKSPACE")
34 return Path(env).resolve() if env else PROJECT_ROOT / "workspace"
35
36
37def workspace_persistent() -> Path:

Callers 2

__init__Method · 0.90
ensure_runtime_dirsFunction · 0.85

Calls 2

getMethod · 0.80
resolveMethod · 0.80

Tested by

no test coverage detected