hermes-agent/tools/environments
f1aggo_macair 911d380296 fix(tools): allocate snapshot temp paths with mktemp instead of $BASHPID
Extracted from #54314 (@flag0x369), re-derived onto current main: macOS
ships bash 3.2 as /bin/bash, which lacks $BASHPID entirely — the
variable expands to empty string, collapsing every concurrent writer's
'unique' temp path onto the same file (torn snapshot writes under
concurrency). mktemp allocates per-writer unique paths portably.
Live-verified: /bin/bash -c 'echo $BASHPID' prints empty on this box.
2026-08-03 13:47:29 +05:30
..
__init__.py
…
base.py fix(tools): allocate snapshot temp paths with mktemp instead of $BASHPID 2026-08-03 13:47:29 +05:30
daytona.py
…
docker.py
…
file_sync.py
…
local.py
…
managed_modal.py
…
modal.py
…
modal_utils.py
…
singularity.py
…
ssh.py
…
vercel_sandbox.py
…