You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add /insights page with DAU, model adoption, efficiency rankings, MCP usage, file extensions, client versions
- Add /api/analytics, /api/team-spend, /api/model-costs, /api/groups endpoints
- Enhance dashboard with time range picker, billing cycle progress, daily spend chart, spend breakdown, model cost table
- Enhance user detail page with activity profile and improved charts
- Add Analytics API support to collector (DAU, models, agent edits, tabs, MCP, file extensions, client versions)
- Add billing groups collection from /teams/groups endpoint with cycle dates
- Add model name shortening (format-utils) and date formatting (date-utils)
- Improve anomaly detection with refined thresholds and trend analysis
- Update cursor-client with Analytics API endpoints and groups endpoint
- Update README with complete setup guide including detect step
- Update cursor rules with current architecture and conventions
- Add VS Code tasks for common workflows
Co-authored-by: Cursor <cursoragent@cursor.com>
- `/` — Team overview: stat cards, spend bar chart, usage line chart, members table
52
-
- `/users/[email]` — Per-user: token timeline, model pie chart, feature breakdown, anomaly history
57
+
- `/` — Team overview: stat cards, spend bar chart, daily spend trend, spend breakdown by user, members table with search/sort, time range picker (24h/3d/7d/14d/30d), billing cycle progress
58
+
- `/insights` — Analytics: DAU chart, model adoption, model efficiency rankings, MCP tool usage, file extensions, client versions
59
+
- `/users/[email]` — Per-user: token timeline, model pie chart, feature breakdown, activity profile, anomaly history
53
60
- `/anomalies` — MTTD/MTTI/MTTR metrics, open incidents (acknowledge/resolve), anomaly table
- API response shapes may not exactly match the live Cursor API. If real responses differ, update `src/lib/types.ts` and `src/lib/cursor-client.ts`.
63
85
- Trend detection can produce duplicate dedup keys (spike + drift both emit `trend:tokens` for same user) — first one wins, second is silently dropped.
86
+
- CLI scripts (`npm run collect`, `npm run detect`) do NOT auto-load `.env` — use `source .env && export CURSOR_ADMIN_API_KEY` or run via the Next.js dev server cron endpoint instead.
|**Team Overview**| Stat cards, spend by user, daily spend trend, spend breakdown, members table with search/sort, billing cycle progress, time range picker |
86
+
|**Insights**| DAU chart, model adoption trends, model efficiency rankings (cost/precision), MCP tool usage, file extensions, client versions |
87
+
|**User Drilldown**| Per-user token timeline, model breakdown, feature usage, activity profile, anomaly history |
88
+
|**Anomalies**| Open incidents, MTTD/MTTI/MTTR metrics, full anomaly timeline |
89
+
|**Settings**| Configurable detection thresholds — no code changes needed |
0 commit comments