feat(FN-3701): add agent detail mail tab and review-before-apply flow to ag

The merge adds a mail tab to the agent detail view in the dashboard (with wiring and documentation), implements a review-before-apply draft gate in the experimental agent onboarding modal, and introduces an opt-in web builtin tool for AI agents with engine and CLI reference updates.

Fusion-Task-Id: FN-3701
This commit is contained in:
Fusion
2026-05-07 12:21:26 -07:00
committed by gsxdsm
parent 73dd8e8923
commit c92eebc5c3
5 changed files with 313 additions and 7 deletions

View File

@@ -183,6 +183,7 @@ The agents surface provides:
- A compact **Controls** popup for secondary actions (state filter, Show system agents toggle, Import, and global Heartbeat Speed)
- Agent import can also be launched from the selected **Agent Detail** header; this entry opens the import modal directly in the companies.sh browse flow so operators can discover and import packages without leaving the detail context
- Detail/config panels
- Agent Detail includes a **Mail** tab for read-only inspection of that agents inbox/outbox without marking messages read or mutating mailbox state
- Split-view synchronization: successful saves and lifecycle actions from the right-side Agent Detail pane immediately refresh the left-side list/selection state (no wait for background polling)
- A per-agent **Token Usage** panel that summarizes cumulative token consumption for the currently displayed agents
- Run history