
Search by name, tag, category or type
Source and install need .
pnpm dlx shadcn@latest add @assembli/triage-inboxAn inbox an agent has already sorted. Needs you lists replies and decisions by deadline, with a one-line note when an agent has something ready (a draft, proposed times). Everything agents did on their own folds into one quiet row you can review or undo. Hover actions, multi-select, j/k/e/h/s/u/z keys, and inboxToMarkdown hands the inbox to a model.
Other props pass through to the root element.
items*
TriageItem[]
selectedId
string | null
The open thread.
onSelect
(id: string) => void
Click or Enter on a thread (also emitted as an open action).
onAction
(action: MailAction) => void
Every intent: open, archive, snooze, star, mark_read, mark_unread, undo. Apply them with applyInboxAction.
agents
MailAgent[]
Default DEFAULT_AGENTS
actorName
string
Default "Ines Moreau"
The person acting, for actor on emitted actions.
title
React.ReactNode
Default "Inbox"
| Description | |||
|---|---|---|---|
| items* | TriageItem[] | – | |
| selectedId | string | null | – | The open thread. |
| onSelect | (id: string) => void | – | Click or Enter on a thread (also emitted as an |
| onAction | (action: MailAction) => void | – | Every intent: |
| agents | MailAgent[] | DEFAULT_AGENTS | |
| actorName | string | "Ines Moreau" | The person acting, for |
| title | React.ReactNode | "Inbox" |