Teknium
c91681c69a
fix(tools): large tool results persist to HERMES_HOME/cache/spillover instead of truncating when no sandbox env is active
...
Sessions that never ran a terminal command (MCP-only, cron, gateway)
have no active sandbox environment, so maybe_persist_tool_result()
got env=None and fell through to the inline-truncate fallback --
a 467K MCP result was cut to a ~1.3K preview with no file written
('Full output could not be saved to sandbox').
Now the host-side cases (env=None or the local backend) write the
spill file directly to $HERMES_HOME/cache/spillover/<id>.txt,
alongside the other Hermes-owned caches instead of littering /tmp.
Remote backends (docker/ssh/modal/daytona) keep the in-sandbox
env.execute() write since read_file resolves in-sandbox there.
Cleanup: the gateway housekeeping loop prunes spillover hourly with
the other media caches, and a once-per-process best-effort prune on
first spill covers CLI-only installs.
2026-08-18 02:12:13 -07:00
..
2026-08-16 23:26:10 -07:00
2026-08-17 02:10:32 -07:00
2026-08-16 22:08:05 -07:00
2026-08-16 22:10:13 -07:00
2026-08-11 09:56:13 +10:00
2026-08-15 02:51:59 +05:30
2026-08-07 17:45:06 +05:30
2026-08-17 16:13:30 -07:00
2026-08-02 00:11:50 -07:00
2026-08-15 00:33:01 -07:00
2026-08-15 04:23:26 -07:00
2026-08-16 22:08:47 -07:00
2026-08-14 21:24:36 -07:00
2026-08-13 01:19:42 -05:00
2026-08-06 19:35:47 -06:00
2026-08-17 02:10:32 -07:00
2026-08-17 11:39:13 -07:00
2026-08-17 11:29:10 -07:00
2026-08-18 00:01:56 -07:00
2026-08-16 20:14:51 -07:00
2026-08-07 09:07:42 -07:00
2026-08-02 00:11:50 -07:00
2026-08-02 00:36:03 -07:00
2026-08-01 21:17:51 -04:00
2026-08-16 22:08:28 -07:00
2026-08-15 02:51:59 +05:30
2026-07-31 10:17:55 -04:00
2026-08-06 19:35:47 -06:00
2026-08-12 15:21:47 +05:30
2026-08-02 00:11:50 -07:00
2026-08-13 11:09:51 -07:00
2026-08-16 11:32:02 -07:00
2026-08-08 04:19:38 -07:00
2026-08-13 10:47:40 -07:00
2026-08-16 23:26:10 -07:00
2026-08-08 12:32:23 -07:00
2026-08-16 23:26:10 -07:00
2026-08-17 03:03:35 -07:00
2026-08-17 03:03:35 -07:00
2026-08-17 03:03:35 -07:00
2026-08-14 21:15:08 -07:00
2026-08-06 19:35:47 -06:00
2026-08-02 10:02:33 -07:00
2026-08-01 10:47:20 -07:00
2026-08-12 15:21:47 +05:30
2026-08-16 22:08:37 -07:00
2026-08-18 00:01:56 -07:00
2026-08-15 00:33:11 -07:00
2026-08-14 21:41:26 -07:00
2026-08-10 01:28:57 -07:00
2026-08-06 19:35:47 -06:00
2026-08-06 19:35:47 -06:00
2026-08-08 22:17:38 -05:00
2026-08-12 19:13:32 -07:00
2026-08-07 08:58:25 -07:00
2026-08-17 10:03:36 -07:00
2026-08-15 07:07:40 +05:30
2026-08-15 00:34:29 -07:00
2026-08-13 01:06:51 -05:00
2026-08-12 13:57:59 +05:30
2026-08-16 22:06:41 -07:00
2026-08-08 11:12:27 -07:00
2026-08-16 22:06:41 -07:00
2026-08-16 22:06:41 -07:00
2026-08-17 17:04:40 -07:00
2026-08-12 01:45:18 -07:00
2026-08-16 02:02:34 -07:00
2026-07-30 22:31:42 -07:00
2026-08-17 14:06:16 -07:00
2026-08-13 11:09:51 -07:00
2026-08-17 19:41:32 +05:30
2026-08-15 23:48:15 -07:00
2026-08-17 10:03:36 -07:00
2026-08-02 10:04:48 -07:00
2026-08-14 20:24:42 -07:00
2026-08-02 10:04:48 -07:00
2026-08-18 02:12:13 -07:00
2026-08-03 19:11:30 +05:30
2026-08-12 19:01:30 -07:00
2026-08-16 21:20:29 -07:00
2026-08-08 19:59:12 -04:00
2026-08-15 12:53:37 +05:30
2026-08-12 19:01:30 -07:00
2026-08-08 13:49:24 +05:30
2026-08-13 11:09:51 -07:00
2026-08-08 12:34:46 -07:00
2026-08-16 21:20:29 -07:00
2026-08-16 21:20:29 -07:00