#58105 Workaround P2 comp/agent

[Bug]: Message routing bug - User input sent to wrong session

In Hermes TUI, user input typed in one session is sometimes routed to and answered by a different session instead of the currently active one.