Confirmation
A human-in-the-loop approve or reject card for a pending tool call.
$
Registry itembunx shadcn@latest add @nx-ui/ai-confirmationInteractive
A pending approval. Approve or reject to flip the card into its resolved state; the buttons disappear once a decision is made.
Allow the agent to deploy web-app to production?
Resolved states
The card after a decision. When approved it confirms the action; when rejected it reports the cancellation.
Allow the agent to send the summary email?
Approved — the email was sent.
Allow the agent to delete the temporary files?
Rejected — nothing was deleted.