* feat(insights): add getJobsPerDay helper — agent throughput per day + KPIs Raw SQL aggregation of claude_jobs by day and status over 14 days with zero-fill for missing days. KPIs: todayCount, successRate7d, avgDurationSeconds7d. Optional productId filter. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(insights): add AgentThroughputCard — stacked BarChart + KPI-strip + product filter KPI strip (jobs today, 7d success rate, 7d avg duration), 14-day stacked BarChart with JOB_STATUS_COLORS, and URL-bookmarkable product dropdown via useTransition + router.replace. Empty-state when no activity. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| (app) | ||
| (auth) | ||
| _components/tasks | ||
| api | ||
| debug-env | ||
| debug-realtime | ||
| styles | ||
| apple-icon.png | ||
| favicon.ico | ||
| globals.css | ||
| icon.png | ||
| layout.tsx | ||
| page.tsx | ||