mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-30 19:09:28 +00:00
⌘1…⌘9 resolves its tab strip through $activeTreeGroup (the interacted zone), but ⌘W, ⌘T, ⌘⇧T and the strip's "+" all hardcoded the workspace pane's group. In a layout with a second chat zone the number keys worked and every other tab verb acted on main instead — and that zone's strip had no "+" at all. Adds focusedSessionGroup() to the tree store, resolving the same zone $activeTreeGroup names when it hosts a chat strip and falling back to the workspace otherwise, so focus parked in files/terminal can't make ⌘W close the file tree. ⌘W closes through it, unanchored openSessionTile() (⌘T / ⌘⇧T) docks into it, and the "+" renders on any chat strip, noting its zone on pointerdown so the tab lands where it was clicked. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||