hermes-agent/apps/desktop/src/components/assistant-ui
Teknium b1b0f4b668
fix(desktop): surface command approval even when its tool is in a collapsed group (#38829)
The desktop command-approval ApprovalBar renders inline inside ToolEntry,
which lives inside ToolGroupSlot. When 2+ tools group, the group body is
hidden until expanded, so an approval raised by a pending terminal/
execute_code call was buried behind "Tool actions · N steps" and required
manual expansion to act on (sudo/secret were unaffected — they use modal
overlays).

ToolGroupSlot now subscribes to $approvalRequest and force-opens its body
while an approval targeting one of its pending approval-eligible tools is in
flight, so the inline controls surface with nothing expanded. The group
reverts to the user's stored collapse state once the approval resolves.
2026-06-04 02:29:46 -07:00
..
ansi-text.tsx fix(desktop): triage batch of GUI quality-of-life fixes (#37536) 2026-06-02 16:33:22 -04:00
clarify-tool.tsx refactor(desktop): DRY/elegance pass over PR-touched files 2026-06-04 00:28:57 -05:00
directive-text.test.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
directive-text.tsx Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
markdown-text.test.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
markdown-text.tsx fix(desktop): prevent IME Enter from splitting messages and viewport resize from disarming scroll anchor (#38333) 2026-06-03 20:14:52 +00:00
streaming.test.tsx fix(desktop): prevent IME Enter from splitting messages and viewport resize from disarming scroll anchor (#38333) 2026-06-03 20:14:52 +00:00
thread-virtualizer.tsx fix(desktop): attachments on Enter, IME composition, scroll, fetchJson resets (salvage #38502) (#38677) 2026-06-03 23:38:58 -05:00
thread.tsx feat(desktop): background needs-input indicator, clarify redesign, Cmd+K palette & UI consistency pass (#38631) 2026-06-04 00:47:08 -05:00
todo-tool.tsx Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
tool-approval-group.test.tsx fix(desktop): surface command approval even when its tool is in a collapsed group (#38829) 2026-06-04 02:29:46 -07:00
tool-approval.test.tsx fix(desktop): render approval/sudo/secret prompts so tools stop silently timing out (#38578) 2026-06-04 01:53:51 +00:00
tool-approval.tsx fix(desktop): surface command approval even when its tool is in a collapsed group (#38829) 2026-06-04 02:29:46 -07:00
tool-fallback-model.test.ts feat(desktop): drop files anywhere in the chat area (#36262) 2026-06-01 00:30:39 -05:00
tool-fallback-model.ts fix(desktop): triage batch of GUI quality-of-life fixes (#37536) 2026-06-02 16:33:22 -04:00
tool-fallback.tsx fix(desktop): surface command approval even when its tool is in a collapsed group (#38829) 2026-06-04 02:29:46 -07:00
tooltip-icon-button.tsx style(desktop): shrink button scale, flush overlay sidebar, variant-ize stray buttons 2026-06-03 21:56:35 -05:00
user-message-text.tsx fix(desktop): triage batch of GUI quality-of-life fixes (#37536) 2026-06-02 16:33:22 -04:00