noctilust
425aba766b
fix(cli): ignore stale HERMES_TUI_RESUME env
...
HERMES_TUI_RESUME is an internal env var the Python wrapper exports to hand
a session ID off to the Ink TUI. Because _launch_tui started from
os.environ.copy(), any exported/stale value in the user's shell leaked
through — so plain `hermes --tui` would try to resume a missing session
and leave the UI at 'error: session not found' with no live session.
Drop HERMES_TUI_RESUME from the env before conditionally re-setting it
from the argparse-resolved resume_session_id. Tests cover both the drop
path and the set-from-arg path.
Salvage of #28080 by @noctilust.
2026-05-19 00:10:15 -07:00
..
2026-05-18 20:09:32 -07:00
2026-05-16 02:58:57 -07:00
2026-05-07 06:16:23 -07:00
2026-05-08 14:27:40 -07:00
2026-05-18 20:10:52 -07:00
2026-05-18 20:10:52 -07:00
2026-05-18 10:14:38 -07:00
2026-05-11 11:13:25 -07:00
2026-05-15 14:45:43 -07:00
2026-04-28 22:11:10 -07:00
2026-05-18 21:38:05 -07:00
2026-05-11 11:13:25 -07:00
2026-05-11 11:13:25 -07:00
2026-05-13 22:54:21 -07:00
2026-05-11 11:13:25 -07:00
2026-05-15 02:31:30 -07:00
2026-05-17 02:29:41 -07:00
2026-05-18 23:59:57 -07:00
2026-05-13 09:34:15 -07:00
2026-05-18 21:27:58 -07:00
2026-05-11 11:13:25 -07:00
2026-05-18 17:39:50 +00:00
2026-05-11 11:13:25 -07:00
2026-05-11 11:13:25 -07:00
2026-05-03 11:42:20 -07:00
2026-05-18 16:34:24 +05:30
2026-05-11 11:13:25 -07:00
2026-05-18 10:14:38 -07:00
2026-05-05 10:13:13 -07:00
2026-05-08 14:27:40 -07:00
2026-05-11 11:13:25 -07:00
2026-05-18 22:38:08 -07:00
2026-05-18 22:38:08 -07:00
2026-05-16 23:05:27 -07:00
2026-05-11 11:13:25 -07:00
2026-05-13 22:31:11 -07:00
2026-05-18 21:40:13 -07:00
2026-05-18 20:26:02 -07:00
2026-05-18 20:47:01 -07:00
2026-05-18 20:15:20 -07:00
2026-05-18 21:10:12 -07:00
2026-05-18 21:39:03 -07:00
2026-05-19 00:10:15 -07:00
2026-05-15 01:43:54 -07:00
2026-05-14 07:59:38 -07:00
2026-05-08 14:27:40 -07:00
2026-05-06 09:08:33 -07:00
2026-05-18 19:33:07 -07:00
2026-05-16 02:24:48 -07:00
2026-05-06 10:05:29 -07:00
2026-05-18 20:37:23 -07:00
2026-05-07 07:18:21 -07:00
2026-04-29 21:56:51 -07:00
2026-05-16 17:15:19 -07:00
2026-05-17 04:04:15 -07:00
2026-05-17 13:54:12 -07:00
2026-05-08 10:04:32 -07:00
2026-05-17 13:54:12 -07:00
2026-05-18 14:31:37 -07:00
2026-05-09 12:48:14 -07:00
2026-05-11 11:13:25 -07:00
2026-05-08 14:27:40 -07:00
2026-05-18 10:14:38 -07:00
2026-05-12 01:02:25 -07:00
2026-05-16 23:00:58 -05:00
2026-05-17 02:29:41 -07:00
2026-05-15 12:11:32 -07:00
2026-04-29 04:03:03 -07:00
2026-05-11 11:13:25 -07:00
2026-05-18 20:05:23 -07:00
2026-05-08 17:01:12 -07:00
2026-05-17 11:35:57 -07:00
2026-05-11 11:13:25 -07:00
2026-04-26 20:48:20 -07:00
2026-05-17 23:28:45 -07:00
2026-05-17 04:04:15 -07:00
2026-05-18 20:05:47 -07:00
2026-04-29 07:22:33 -07:00
2026-05-06 15:49:59 -07:00
2026-05-19 00:07:33 -07:00
2026-05-11 11:13:25 -07:00