Skip to content

feat(admin): dashboard/API foundation with React + Vite client#28

Draft
Vardominator wants to merge 1 commit intomainfrom
feat/admin-dashboard-foundation
Draft

feat(admin): dashboard/API foundation with React + Vite client#28
Vardominator wants to merge 1 commit intomainfrom
feat/admin-dashboard-foundation

Conversation

@Vardominator
Copy link
Contributor

Summary

  • add admin API foundation under src/admin with auth/RBAC, org/instance/agent CRUD, onboarding validate/commit flows, provider key encryption/redaction, usage/cost tracking, org settings, inventory import/export, runtime bridge endpoints, and audit events
  • add stack/dev orchestration commands for one-command bring-up and status (stack up/down/status, dev up/down/logs)
  • add React + Vite dashboard app under dashboard/ (served from /admin) with collapsible navigation and pages for onboarding, overview, agent details, settings, providers, and audit
  • keep backend/core code in top-level src/ and isolate UI toolchain in dashboard/
  • update docs/README for architecture, local dev, and deployment/testing workflow
  • add admin API/store/stack tests

Validation

  • bun run typecheck
  • bun test
  • bun run dashboard:build
  • bun run build:all
  • node dist/cli.js validate
  • node dist/cli.js policy validate
  • set -a; source .env; set +a; node dist/cli.js stack up
  • set -a; source .env; set +a; node dist/cli.js health --instance core-human

@codecov
Copy link

codecov bot commented Mar 7, 2026

Codecov Report

❌ Patch coverage is 66.73084% with 864 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/admin/api.ts 66.79% 434 Missing ⚠️
src/admin/stack.ts 39.08% 187 Missing ⚠️
src/admin/store.ts 77.63% 176 Missing ⚠️
src/admin/web.ts 45.74% 51 Missing ⚠️
src/admin/crypto.ts 54.83% 14 Missing ⚠️
src/admin/auth.ts 98.30% 1 Missing ⚠️
src/admin/rbac.ts 91.66% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant