Approval Dialogs & Requests
Design system for AI agent approval flows. Dark theme, ANUKA wordmark, responsive.
Request card
Section titled “Request card”The /approve/:token page. Structure:
- Wordmark — 28px height, centered
- Title — “Confirm destructive action” / “Approve this action?”
- Request card (dashed cyan border, subtle cyan bg):
- Action type + risk badge (right-aligned)
- Requestor block: avatar + name + provider (left), project + team (right)
- Description (full-width under caption)
- Permissions list (scrollable, danger-highlighted)
- Meta row — expires, one-time link (centered, muted)
- Code input — clean, mono 30px, cyan focus
- Action button — single outlined “Review & Approve”, sticky bottom
No reject button. Mobile: full-width dialog, safe-area padding.
OG previews
Section titled “OG previews”Shared approval links show category-based previews (1200×630):
| Category | Trigger actions | Preview |
|---|---|---|
| Destructive | delete_*, destroy | 🔴 |
| Security | *_mcp_key, *_access, permissions | 🟡 |
| Standard | delegate, assign, approve | 🔵 |
| Publish | publish, changelog, deploy | 🟢 |
Each preview: ANUKA wordmark → “Request:” → TITLE (92px) → agent › project → “Review and Accept” button.
Dynamic selection via Netlify Edge Function (netlify/edge-functions/og-approve.ts):
- Intercepts
/approve/:token - Fetches action type from
mcp.anuka.pro/approvals/:token - Injects matching
og:image+og:title
Design rules
Section titled “Design rules”- Always real ANUKA wordmark (never text)
- Responsive (mobile-first)
- Single primary action
- No sensitive details in OG (type only)