Adds a dark-themed receipt audit dashboard at /boltbot/dashboard: - Vite + React + TypeScript SPA with Tailwind CSS - Stats summary (total actions, tier breakdown, anomaly count) - Receipt list with tier/anomaly filtering, offset pagination, 10s polling - Slide-out receipt detail with accordion sections (hashes, EigenDA, TEE) - Session grouping view (receipts grouped by sessionKey) - Gateway serves static files via registerHttpRoute with path traversal protection (resolve+startsWith), security headers (nosniff, DENY) - WCAG-compliant: dialog focus management, keyboard navigation, aria-pressed/expanded/selected, semantic table roles, contrast AA
28 lines
596 B
JSON
28 lines
596 B
JSON
{
|
|
"name": "boltbot-dashboard",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"swr": "^2.3.0",
|
|
"lucide-react": "^0.468.0"
|
|
},
|
|
"devDependencies": {
|
|
"vite": "^6.0.0",
|
|
"@vitejs/plugin-react": "^4.3.0",
|
|
"typescript": "^5.7.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"autoprefixer": "^10.4.0"
|
|
}
|
|
}
|