
Search by name, tag, category or type
Source and install need .
pnpm dlx shadcn@latest add @assembli/agent-approval-queueWhere mail agents ask before they act: a reply to send, an invoice to forward, lists to unsubscribe from, a meeting to move. Each card shows the agent, an editable preview, its reason, the rule that asked you, the risk in plain words and the exact tool call. Approve, edit or reject from the keyboard; rejections tell the agent why, and approvals wait out an undo window.
Other props pass through to the root element.
items*
ApprovalItem[]
onAction
(action: MailAction) => void
Approvals arrive after the undo window closes (or at once if the queue unmounts), as { type: "approve", ids, actor, call, changes? }. Rejections arrive at once as `{ type: "reject", ids, actor, age…
agents
MailAgent[]
Default DEFAULT_AGENTS
actor
Actor
Default { kind: "human", name: "Ines Moreau" }
Who is deciding.
undoMs
number
Default 6000
How long an approval can be undone before it runs, in ms.
title
string
Default "Approvals"
| Description | |||
|---|---|---|---|
| items* | ApprovalItem[] | – | |
| onAction | (action: MailAction) => void | – | Approvals arrive after the undo window closes (or at once if the queue unmounts), as |
| agents | MailAgent[] | DEFAULT_AGENTS | |
| actor | Actor | { kind: "human", name: "Ines Moreau" } | Who is deciding. |
| undoMs | number | 6000 | How long an approval can be undone before it runs, in ms. |
| title | string | "Approvals" |