Skip to main content
apps/console is a Vite + React 19 single-page application. It uses React Router for navigation, TanStack Query for server state, Socket.IO for live updates, Tailwind CSS, and Radix-based UI primitives.
Older project notes may describe a Next.js application. The current source uses Vite (vite.config.ts, src/main.tsx) and React Router; this page reflects the running code.

Feature domains

Authorization in the UI

Routes are wrapped by ProtectedRoute with minimum roles such as agent, admin, or owner. The UI also applies enterprise feature policy and usage banners.
Client-side guards improve navigation but are not a security boundary. The gateway repeats authentication, organization resolution, role checks, and entitlement enforcement for protected operations.

Data flow

Build-time variables

Production uses an entrypoint script so container environment values can be injected into the static Vite build at startup.
Last modified on July 17, 2026