You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: session state isnt persistent on the hermes desktop app #43158
when closing and re-opening hermes-desktop, the session indicator on active sessions doesnt sync - and when you try to send messages when the task is ongoing, you get an error that says session busy.
Steps to Reproduce
start chat with hermes
when chat is active, close and open desktop app
send message in active chat
Expected Behavior
session state remains whatever it is, (active, interrupted, etc) and messages are sent as interrupts
Actual Behavior
sessions appear inactive and when sending a message, instead of an interrups, you get an error saying session is busy. you also cant delete them, closing and reopening is the only way to get rid of those messages, they persist across multiple chats
Implemented on current main — automated hermes-sweeper review.
62af32efe persists the last routed Desktop session and restores it on cold start in apps/desktop/src/app/desktop-controller.tsx:272-294; useRouteResume then resumes that route.
tui_gateway/server.py:5627-5648 reuses a live session on resume and returns its current running/status payload to the reconnecting client.
tui_gateway/server.py:8433-8452 routes a prompt received during a live turn through _handle_busy_submit; the default policy interrupts and queues it (tui_gateway/server.py:5118-5125) rather than returning session busy.
18916376f added Desktop regression coverage for retrying transient busy responses without surfacing an error. The relaunch restoration shipped in v2026.7.1 / v0.18.0.
The linked PR #44330 and the duplicate consolidation noted on #45270 describe the same restoration mechanism, which current main already provides.
Activity
teknium1 commentedon Jul 14, 2026
Implemented on current
main— automated hermes-sweeper review.62af32efepersists the last routed Desktop session and restores it on cold start inapps/desktop/src/app/desktop-controller.tsx:272-294;useRouteResumethen resumes that route.tui_gateway/server.py:5627-5648reuses a live session on resume and returns its currentrunning/statuspayload to the reconnecting client.tui_gateway/server.py:8433-8452routes a prompt received during a live turn through_handle_busy_submit; the default policy interrupts and queues it (tui_gateway/server.py:5118-5125) rather than returningsession busy.18916376fadded Desktop regression coverage for retrying transient busy responses without surfacing an error. The relaunch restoration shipped inv2026.7.1/ v0.18.0.The linked PR #44330 and the duplicate consolidation noted on #45270 describe the same restoration mechanism, which current main already provides.