mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-16 09:31:37 +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. |
||
|---|---|---|
| .. | ||
| ansi-text.tsx | ||
| clarify-tool.tsx | ||
| directive-text.test.ts | ||
| directive-text.tsx | ||
| markdown-text.test.ts | ||
| markdown-text.tsx | ||
| streaming.test.tsx | ||
| thread-virtualizer.tsx | ||
| thread.tsx | ||
| todo-tool.tsx | ||
| tool-approval-group.test.tsx | ||
| tool-approval.test.tsx | ||
| tool-approval.tsx | ||
| tool-fallback-model.test.ts | ||
| tool-fallback-model.ts | ||
| tool-fallback.tsx | ||
| tooltip-icon-button.tsx | ||
| user-message-text.tsx | ||