hermes-agent/tools/environments
dmahan93 d7f4db53f5 fix: Modal sandbox eval infra (9 fixes for TBLite baseline)
Fixes discovered while running TBLite baseline evaluation:

1. ephemeral_disk param not supported in modal 1.3.5 - check before passing
2. Modal legacy image builder requires working pip - add ensurepip fix via
   setup_dockerfile_commands to handle task images with broken pip
3. Host cwd leaked into Modal sandbox - add /home/ to host prefix check
4. Tilde ~ not expanded by subprocess.run(cwd=) in sandboxes - use /root
5. install_pipx must stay True for swerex-remote to be available

Dependencies also needed (not in this commit):
- git submodule update --init mini-swe-agent
- uv pip install swe-rex boto3
2026-03-11 06:51:42 -07:00
..
__init__.py feat(environments): add Daytona cloud sandbox backend 2026-03-05 10:02:21 -08:00
base.py fix(security): pipe sudo password via stdin instead of shell cmdline 2026-03-10 06:34:59 -07:00
daytona.py fix(security): pipe sudo password via stdin instead of shell cmdline 2026-03-10 06:34:59 -07:00
docker.py fix: Docker backend fails when docker is not in PATH (macOS gateway) 2026-03-10 20:45:13 -07:00
local.py fix(security): pipe sudo password via stdin instead of shell cmdline 2026-03-10 06:34:59 -07:00
modal.py fix: Modal sandbox eval infra (9 fixes for TBLite baseline) 2026-03-11 06:51:42 -07:00
singularity.py fix(security): pipe sudo password via stdin instead of shell cmdline 2026-03-10 06:34:59 -07:00
ssh.py fix(security): pipe sudo password via stdin instead of shell cmdline 2026-03-10 06:34:59 -07:00