Socket.IO support inbox with assignment, tickets, analytics, and an embeddable widget (script + iframe)
┌────────────────────────┐ ┌────────────────────────┐
│ Vite + React │─────►│ NestJS API + Gateway │
│ (Agent UI /inbox) │ │ REST + Socket.IO │
└───────────┬────────────┘ └───────────┬────────────┘
│ │
│ widget.js │ Prisma ORM
▼ ▼
┌───────────────────────┐ ┌──────────────────────────┐
│ Iframe Widget UI │◄───► │ Postgres │
│ /embed/widget │ │ convos/messages/tickets │
└───────────────────────┘ └────────────┬─────────────┘
│
▼
┌──────────────────┐
│ Redis adapter │
└──────────────────┘