Migrate DB needs your OK
High riskDrops column invoices.legacy_total on staging. Reversible from the 0041 snapshot.
psql $STAGING_URL -f migrations/0042_drop_legacy.sqlA queue of what agents need from you: approvals, questions, failed runs and finished recaps. Filter, mark read, and select a row to open its detail.
What agents need from you. Not Toast. Not Chat.
Filter by type, select a row to open its detail, mark everything read.
Drops column invoices.legacy_total on staging. Reversible from the 0041 snapshot.
psql $STAGING_URL -f migrations/0042_drop_legacy.sqlAgentInbox collects agent requests. Approvals reuse ApprovalCard and questions reuse DecisionCard, so their keyboard rules carry over. Product notifications are not agent requests.
import { AgentInbox } from "agentic-ds-kit";From contracts/agentinbox.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 |
|---|---|---|---|---|
| items | array | Yes | — | { id, agentName, type: "approval" | "question" | "failure" | "recap", preview, time?, read?, approval?, question?, detail? }[]. approval renders a kit ApprovalCard, question a kit DecisionCard. |
| title | string | No | Agent inbox | — |
| selectedId | string | No | — | — |
| onSelect | function | No | — | (id) => void |
| filter | enum | No | all | all | approval | question | failure | recap |
| onFilterChange | function | No | — | (filter) => void. Shows the SegmentedControl with type labels; the unread Badge carries the count. |
| onMarkAllRead | function | No | — | — |
| onApprove | function | No | — | (id) => void |
| onDeny | function | No | — | (id) => void |
| onAnswer | function | No | — | (id, value) => void |
| onRetryItem | function | No | — | (id) => void. Failure detail: Retry run. |
| onViewDiff | function | No | — | (id) => void. Recap detail. |
| onOpenTrail | function | No | — | (id) => void |
| renderDetail | function | No | — | (item) => ReactNode replaces the default detail. |
| loading | boolean | No | false | — |
| error | string | No | — | — |
| onRetry | function | No | — | Retry on the kit LoadError. |
A short note that floats in after an action, like Saved successfully, and goes away on its own after a few seconds, with an optional Undo.
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.
Assistant panel with a header, a thread, and a composer.
An agent presents a choice mid-run and waits: options with a recommended one, or a free-text answer.