Agent health / capacity row
A capacity-and-health line for one agent: queue depth, active tasks, context usage, error rate, current model, and cost burn. The context bar and number-forward error chip escalate tone as pressure rises.
Included in the single kansho full pack. Components are not offered as separate installs.
Fleet health table
Error & recovery
Static preview callbacks show Restart / View logs; without handlers the row states the fallback lineComponent documentation
Agent Health Row
components/agent-setup/agent-health-row.tsxPurpose
Shows one agent's lifecycle, queue, active work, context use, error rate, and optional spend rate.
Appropriate use
Use in a fleet health table where capacity and failure pressure must be compared quickly.
Example
components/agent-setup/agent-health-row.tsx has a representative live example in the "Fleet health table" section on /components/agent-health-row.
States
Lifecycle state comes from the shared setup contract; queue and task counts are numeric, gauges accept 0..1 values, and unavailable rows may expose recovery.
API and props
AgentHealthRow accepts an AgentHealthItem plus onRestart, onViewLogs, and className.
Dependencies
Direct imports are React, Lucide icons, AgentDot, StatusPill, setup-state metadata, and cn.
Accessibility
Context is a named progressbar with numeric bounds, while error rate is visible text rather than a progressbar; recovery actions are labelled native buttons.
Limitations
Gauge inputs are visually clamped but not validated, and the row does not poll health, calculate spend, restart agents, or fetch logs.
Source
Source: components/agent-setup/agent-health-row.tsx.
Full pack
components/agent-setup/agent-health-row.tsx is documented at /components/agent-health-row and installs only through the single Kansho full pack; no individual component install is offered.