mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-10 08:32:09 +00:00
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. |
||
|---|---|---|
| .. | ||
| assistant-ui | ||
| chat | ||
| pane-shell | ||
| ui | ||
| Backdrop.tsx | ||
| boot-failure-overlay.tsx | ||
| desktop-install-overlay.tsx | ||
| desktop-onboarding-overlay.test.tsx | ||
| desktop-onboarding-overlay.tsx | ||
| error-boundary.tsx | ||
| gateway-connecting-overlay.tsx | ||
| haptics-provider.tsx | ||
| model-picker.tsx | ||
| model-visibility-dialog.tsx | ||
| notifications.tsx | ||
| page-loader.tsx | ||
| prompt-overlays.tsx | ||
| status-dot.tsx | ||