mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-27 17:58:07 +00:00
A Cmd+T tab's session is created unlisted (openNewSessionTile passes `listed: false`), so it has no $sessions row until its first turn persists and a refresh surfaces it. For that whole first exchange the tab strip and the sidebar read "New session". Cmd+N has no such gap: its session is created per-send, and createBackendSessionForSend seeds the optimistic row with the user's text as the preview. A tile never reaches that path — its runtime id is already bound, so its createBackendSessionForSend seam is a no-op that returns the existing id. Seed the row the same way on a tile's first send. The tab strip already re-syncs on $sessions (watchSessionTiles lists it in `also`), so the tab and the sidebar both name the session within the first message; the server's auto-title supersedes the preview when the turn completes. Guarded so it only ever fires once per session: no-op on empty text and on an already-listed row, matching across compression by lineage root so a re-send can't clobber a real title with a raw message preview. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||