Agent Runs
Every agent working for you, from a status in your side panel's header or a nav item: what's running and what needs you, approve in place, or open a run in the panel.
Installation
pnpm dlx shadcn@latest add @jds/agent-runs
Usage
import { AgentRuns } from "@/components/ai/agent-runs"
<AgentRuns runs={runs} onOpen={openInPanel} onApprove={approve} onDeny={deny} />API Reference
AgentRuns
| Prop | Type | Default |
|---|---|---|
runsid, title, agent, status (needs-you, running, done), detail, startedAt for a live timer, duration. | AgentRun[] | – |
onOpenA run was picked: show its thread in your panel. | (id: string) => void | – |
onApproveApprove a run that needs you, from the list. | (id: string) => void | – |
onDenyDeny it. | (id: string) => void | – |
onOpenAllAdds Open all, e.g. to a full agent inbox. | () => void | – |
sideUse right in a nav sidebar. | "top" | "bottom" | "left" | "right" | "bottom" |