feat(FN-3181): add initial runs tab with auto-expand selected run

Adds a "running control" to the agents dashboard that displays a live run entry and auto-expands to show active runs on load. The AgentsView and AgentDetailView components now support an initial runs tab with auto-expansion of the selected run, while the AgentDetailView gains an active-run context p

Fusion-Task-Id: FN-3181
This commit is contained in:
Fusion
2026-05-02 04:34:29 -07:00
committed by gsxdsm
parent 3ca4209757
commit f76a6755d9
5 changed files with 191 additions and 16 deletions

View File

@@ -94,6 +94,16 @@ The agents surface provides:
- Run history
- Task assignment context
### Running Control Opens Live Run Details
When an agent card shows the **Running** control, that control is actionable:
- Clicking **Running** opens Agent Detail directly on the **Runs** tab
- If the agent has an active run ID, that run is automatically expanded
- The run detail payload and log stream are loaded immediately so operators can inspect live execution without manually switching tabs
Other entry points (for example, **View Details** or clicking the agent identity area) continue to open the default Agent Detail Dashboard tab.
### Token Usage Panel
The **Token Usage** panel in Agents view is derived from each agent's persisted cumulative counters: