Files
hermes-agent/tools
Teknium 9ef4800bf2 fix(read_file): read sandbox archives at the path the sandbox names
On daytona and vercel_sandbox the prune stub names ~/.hermes/cache/pruned/<name>,
where ~ is the sandbox's home. _resolve_path_for_task expands ~ with the HOST home
for every non-ssh backend, and _read_extracted_document handed that host path to
file_ops.read_file_bytes. When the sandbox home differs the byte read missed, the
read fell through to the ordinary reader, and a one-line JSON archive came back cut
at the per-line cap with no way to page it.

The byte read now gets the same path the ordinary read uses: the resolved host path
when the file ops target the host filesystem, the path as given otherwise. This
covers extractable documents too (same class). Suffix and archive checks still use
the resolved path.
2026-11-19 03:15:20 -08:00
..