Commit graph

5 commits

Author SHA1 Message Date
Ajax Davis
0cbc3e0dd4 fix: skip integration tests unless explicitly enabled
Integration tests in agents.test.ts require a running server and test
database. They now properly skip using describe.skipIf when the
INTEGRATION_TESTS environment variable is not set to 'true'.

To run integration tests manually:
  INTEGRATION_TESTS=true pnpm --filter=@tpmjs/web test

Traves is da greatest
2026-01-07 15:07:47 +10:00
Ajax Davis
3f15153dcf fix: wrap Prisma calls in try-catch for agent tests 2026-01-03 18:49:35 +10:00
Ajax Davis
fbcd7150c9 fix: skip agent integration tests when server unavailable 2026-01-03 17:21:18 +10:00
Ajax Davis
c0f9e9884d Add agent logs and stats endpoints 2026-01-03 17:05:45 +10:00
Ajax Davis
c189bd366a feat: add comprehensive stats dashboard with D3 charts
- Add /stats page with animated D3 visualizations
- Create reusable chart components: AnimatedCounter, DonutChart, BarChart, AreaChart
- Expand stats API endpoints: /api/stats, /api/stats/health, /api/stats/executions, /api/stats/sync, /api/stats/tools
- Add Stats link to desktop and mobile navigation
- Add AI SDK v6 integration tests with vitest

Dashboard displays:
- Registry overview metrics with count-up animations
- Health distribution donut charts (import/execution)
- Quality score distribution
- Package tier breakdown
- Execution trends area chart with success/error series
- Token usage statistics
- Top categories bar chart
- Recent sync operations status
2025-12-28 17:08:19 +10:00