- Implemented `buildBedrockSlice` function to handle multi-kilobyte Bedrock bearer tokens. - Enhanced `createAdminRouterConfigService` to classify Bedrock and OpenAI-compatible LLM upstreams by baseURL. - Added new interfaces for `AdminRouterBedrockSlice` and `AdminRouterOpenAICompatibleSlice`. - Updated router config form to support Bedrock and OpenAI-compatible slices. - Created tests for Bedrock and OpenAI-compatible slice compilation and behavior. - Modified UI components to accommodate new slice types and improve user experience. - Ensured proper normalization of API server URLs to HTTPS when necessary.
AIRI Admin Dashboard
Admin dashboard for operating the hosted AIRI server. It is a standalone Vue/Vite app deployed to Cloudflare Pages; the API server redirects its historical /admin/* entrypoints to this app.
Use When
- Reviewing server metrics, users, flux balances, LLM router config, and curated Voice Packs.
- Building operator-only workflows that depend on the server admin API under
/api/admin.
Do Not Use When
- Building end-user settings or character-card flows. Those belong in the stage apps and shared stage packages.
- Adding unauthenticated server UI. This app expects the server admin guard and Better Auth session cookies.
Commands
pnpm -F @proj-airi/ui-admin dev
pnpm -F @proj-airi/ui-admin typecheck
pnpm -F @proj-airi/ui-admin build
Build Output
pnpm -F @proj-airi/ui-admin build writes to apps/ui-admin/dist. Server builds do not package this output; deploy the directory through the admin Cloudflare Pages workflow.