fix: hermes agent empty detail — parse session_id from any line #347

Merged
xiaomo merged 1 commits from fix/342-parse-session-id into main 2026-05-18 16:58:25 +00:00

1 Commits

Author SHA1 Message Date
xiaoju 546237db85 fix: parseSessionIdFromStdout scans all lines, not just last
--quiet mode outputs session_id on the first line, not the last.
The old code only checked the last non-empty line and broke immediately
if it didn't match, causing session detail to always be empty.

Fixes the empty detail bug when hermes agent runs in quiet mode.
2026-05-18 16:57:24 +00:00