mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-21 07:55:08 +00:00
Two things made a tool panel tab feel unclosable. Cmd-W was a dead key over the terminal and the logs pane. The keyboard close ladder resolved its target with focusedSessionGroup, which only matches zones hosting a CHAT strip, so a focused tool panel fell through every rung and Cmd-W emptied the main tab instead. Add a tool rung that resolves through the same hover/focus ladder the number keys use. Right-click Close was missing or inert. The zone menu's target was only resolved by the tab strip's own onContextMenu, so a right-click anywhere else in the zone (pane body, collapsed rail, edit veil) reused the PREVIOUS target -- landing on the uncloseable workspace dropped Close from the menu entirely. Resolve the target on the zone instead, so every surface that opens the menu names the chip under the pointer. Close on a tool panel now takes the tab out of the strip and syncs its owning store, so the ctrl-backtick toggle and the Cmd-K row stay truthful and bring the pane back; the toggle's open path reveals (un-dismiss + re-adopt) rather than un-collapsing a pane that has left the tree. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||