hermes-agent/tools/environments
rovle a6499b6107 fix(daytona): use shell timeout wrapper instead of broken SDK exec timeout
The Daytona SDK's process.exec(timeout=N) parameter is not enforced —
the server-side timeout never fires and the SDK has no client-side
fallback, causing commands to hang indefinitely.

Fix: wrap commands with timeout N sh -c '...' (coreutils) which
reliably kills the process and returns exit code 124. Added
shlex.quote for proper shell escaping and a secondary deadline (timeout + 10s) that force-stops the sandbox if the shell timeout somehow fails.

Signed-off-by: rovle <lovre.pesut@gmail.com>
2026-03-05 13:12:41 -08:00
..
__init__.py feat(environments): add Daytona cloud sandbox backend 2026-03-05 10:02:21 -08:00
base.py feat: enhance README and improve environment configuration 2026-02-23 21:15:35 -08:00
daytona.py fix(daytona): use shell timeout wrapper instead of broken SDK exec timeout 2026-03-05 13:12:41 -08:00
docker.py fix(docker): remove --read-only and allow exec on /tmp for package installs 2026-03-02 01:09:34 -08:00
local.py merge: resolve conflict with main (keep fence markers + _find_shell) 2026-03-03 14:50:45 +03:00
modal.py feat: enhance README and improve environment configuration 2026-02-23 21:15:35 -08:00
singularity.py feat: enhance README and improve environment configuration 2026-02-23 21:15:35 -08:00
ssh.py feat: enhance README and improve environment configuration 2026-02-23 21:15:35 -08:00