mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-23 16:36:23 +00:00
Opening a session in a new tab left the tab titled 'Session' with no project-color dot until new activity landed the row in the paginated recents list. Two gaps: 1. tileTitle/tileAccent/tileDragPayload only looked the stored row up in $sessions (the recents page). Sessions opened from a project group are often older than that page, so the lookup missed entirely. Resolve through the project tree as a fallback (tileStoredRow) and re-sync pane titles/accents when $projectTree loads. 2. Even with the row present, liveSessionProjectId returned null for a session whose cwd sits outside its recorded git_repo_root (mid-session relocation / sibling worktree), because the cwd-under-root guard ran before the explicit-project folder match. The backend tree groups such rows under the project; the client now agrees — an explicit folder match is authoritative, only the auto-project (repo root) fallback still needs cwd-under-root confidence. sessionColorFor also computes directly (overrides -> project color) when the row isn't in the $sessionColorById map, which is keyed over $sessions only. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||