RunningNow
Many agents, small: a strip of what runs now for a header (row of chips) or a sidebar (stack), with status, activity and a clock.
One agent at work: a live clock and running cost lead; finished steps sit in a time strip you can open. Waiting shows the exact action as an ApprovalCard.
One agent at work. Not RunningNow. Not AgentFleet.
A running agent. Click a step in the strip to open its detail. Variants shows each status.
Searching src/billing
02:14
elapsed
$0.42
cost so far
AgentMonitor watches one run. Its pending action is a kit ApprovalCard, so Approve stays the one solid primary. Many agents at a glance belong in RunningNow.
import { AgentMonitor } from "agentic-ds-kit";From contracts/agentmonitor.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| name | string | Yes | — | — |
| meta | string | No | — | e.g. "claude-code · acme-demo". |
| status | enum | No | running | idle shows Empty with Start run. idle | running | waiting | paused | done | failed |
| headline | string | No | — | Over the clock, e.g. "Editing src/billing/invoice.ts". |
| headlineNote | string | No | — | e.g. "step 6". |
| elapsed | string | No | — | Run clock, e.g. "02:14". |
| cost | string | No | — | — |
| steps | array | No | — | { id, tool, status: "done" | "running" | "waiting" | "failed", icon?, target?, duration?, tokens?, cost?, started?, weight? }[]. Every step in the strip has the same width; weight is ignored (deprecated). |
| axis | string[] | No | — | Start and end labels under the strip, e.g. ["0:00", "2:14"]. Step tiles are equal widths, so only the first and last labels show. |
| selectedStepId | string | No | — | — |
| onSelectStep | function | No | — | (id | null) => void. Strip steps become toggle buttons; the detail panel has Close. |
| pendingAction | object | No | — | Waiting: { title, description?, risk?, action, waitingSec? } rendered as a kit ApprovalCard with variant="compact": the title row ("waiting m:ss" when waitingSec is set), one line of description, the exact action and small Deny / Approve. |
| onApprove | function | No | — | — |
| onDeny | function | No | — | — |
| error | string | No | — | Failed detail line in mono. |
| collapsed | boolean | No | false | The one-row bar: agent mark, name over a mono "02:14 · $0.42" line (other statuses lead with the word, e.g. "done · 4:02 · $0.18"), one tile per tool the run used, then the chevron. Done, failed, waiting and paused add a status icon; done drops the tools. Picking a tool opens the card on its first step. Running shows Pause and Stop run, paused shows Cancel run and Resume, on a row below. |
| onCollapsedChange | function | No | — | — |
| onStart | function | No | — | Idle: Start run (outline neutral). |
| onPause | function | No | — | Running: Pause, beside Stop run when onStop is set. |
| onResume | function | No | — | Paused: Resume (outline neutral). |
| onCancel | function | No | — | Paused: Cancel run (outline danger). |
| onStop | function | No | — | Running: Stop run (sm, outline, danger) beside Pause. A kit AlertDialog confirms it once; confirming calls onStop. |
| onRetry | function | No | — | Failed: Retry step. |
| onViewDiff | function | No | — | Done: View diff. |
| onOpenTrail | function | No | — | Done: Open trail. Failed: Open failed step. |
| loading | boolean | No | false | — |
Many agents, small: a strip of what runs now for a header (row of chips) or a sidebar (stack), with status, activity and a clock.
A vertical step list for a running agent task: done steps with durations, the current step with a live timer, then pending steps.
Must-choose overlay that interrupts until the user cancels or confirms.
The agent asks before it acts: risk, what will happen in words, an exact preview of the command or diff, and Approve (⌘/Ctrl+Enter) / Deny (Escape) with an optional auto-deny countdown.