# RunSummaryCard

What a run did, for reading afterwards: the goal, the outcome, what it changed and what was left undone.

- **Use it for**: What a run did, read afterwards, with what it changed.
- **Not for**: Live progress. Try [AgentSteps](https://unseenui.com/components/agent-steps/).

## Installation

```bash
npm install @stackunseen/ui
```

## Usage

```tsx
import { RunSummaryCard } from '@stackunseen/ui/conversation-flow';
import '@stackunseen/ui/styles.css';
import '@stackunseen/ui/conversation-flow.css';

<RunSummaryCard variant="card" summary={summary} receipts={receipts} />
```

## All props

| Prop | Type | Description |
| --- | --- | --- |
| `actions` | `ReactNode` | Host actions such as "Open run" or "Revert". |
| `locale` | `string` |  |
| `onOpenEffect` | `((effect: RunEffect) => void)` |  |
| `receipts` | `readonly CommandReceipt[]` |  |
| `summary` (required) | `RunSummary` |  |
| `variant` | `"card" \| "inline"` |  |

## Keyboard

Tab reaches controls; Enter or Space activates buttons. Accordions use arrow keys, Home and End. Select menus support arrows and typeahead; Escape closes menus and dialogs and restores focus.

## Works with

[RunBoard](https://unseenui.com/components/run-board/), [AgentLanes](https://unseenui.com/components/agent-lanes/), [SubagentTree](https://unseenui.com/components/subagent-tree/), [ExecutionTimeline](https://unseenui.com/components/execution-timeline/), [WorkflowGraph](https://unseenui.com/components/workflow-graph/), [AttentionQueue](https://unseenui.com/components/attention-queue/), [RunCompare](https://unseenui.com/components/run-compare/), [ContextBar](https://unseenui.com/components/context-bar/), [Plan](https://unseenui.com/components/plan/), [AgentSteering](https://unseenui.com/components/agent-steering/), [CostLedger](https://unseenui.com/components/cost-ledger/), [ContextWindowMeter](https://unseenui.com/components/context-window-meter/)

Page: https://unseenui.com/components/run-summary-card/
