fix: parse session_id from stderr — hermes --quiet writes it there #348

Merged
xiaomo merged 1 commits from fix/348-session-id-stderr into main 2026-05-18 17:10:30 +00:00

1 Commits

Author SHA1 Message Date
xiaoju cf9e2cd3d6 fix: parse session_id from stderr (hermes --quiet writes it there)
hermes --quiet outputs session_id to stderr and AI response to stdout.
The agent was only parsing stdout, so session_id was never found and
detail always fell back to raw output.

Now checks stderr first, then stdout as fallback.
2026-05-18 17:05:54 +00:00