mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
* feat(desktop): inherit project color on session rows Sessions that belong to a colored project now pick up that color as the sidebar row's idle lead dot, so work/personal/project buckets are legible at a glance (Layer 1 of #66565). Derived from the same project membership the sidebar already groups by; active states (working / needs-input / background / unread) still own the dot so the tint never fights an attention cue. * feat(desktop): share session color across sidebar rows and pane tabs Route session color through one computed store ($sessionColorById) that both the sidebar rows and the pane tabs read, so a session and its tab can never show different colors. Recomputed only when the session list or projects change (cold atoms — the streaming pulse lives elsewhere) and read as an O(1) lookup, never re-derived per render. Tabs previously had no color at all: the strip renders only a title string. Add a generic `accent` to the pane contribution that the tab strip paints as a lead dot; the session tiles (via paneMirror) and the main workspace tab (syncWorkspaceTitle) feed it from the same shared map. Precedence now lives in one place, ready for per-session override / agent-set color (#66565). * fix(desktop): resolve session color for repo-root-only sessions liveSessionProjectId bailed the instant a session had no cwd, so an older/imported session carrying only a git_repo_root — which the backend still groups under its project — got no project and rendered a grey idle dot instead of the project color ("grouped but grey"). Anchor on the repo root when cwd is absent, matching how the sidebar grouped the row, and keep the sibling-worktree guard for the cwd-present case. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||