cursor-usage-tracker 1.6.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +14 -3
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -56,6 +56,8 @@ You're about to find out.
56
56
 
57
57
  <sub>Demo animation created with <a href="https://github.com/ofershap/remotion-readme-kit">remotion-readme-kit</a></sub>
58
58
 
59
+ <p align="center"><a href="https://www.youtube.com/watch?v=DqPjFWGI57A">▶ Watch the full demo (90 seconds)</a></p>
60
+
59
61
  It connects to Cursor's Enterprise APIs, collects usage data, and automatically detects anomalies across three layers. When something looks off, you get a Slack message or email within the hour, not next month.
60
62
 
61
63
  ```
@@ -101,10 +103,19 @@ Anomaly Detected ──→ Alert Sent ──→ Acknowledged ──→ Resolved
101
103
  - **MTTI** (Mean Time to Identify): how fast a human acknowledges it
102
104
  - **MTTR** (Mean Time to Resolve): how fast it gets fixed
103
105
 
104
- ### Rich Alerting
106
+ ### Proactive Slack Notifications
107
+
108
+ You don't need to remember to check the dashboard. The system comes to you.
109
+
110
+ | Notification | When it fires | What you learn |
111
+ | ------------------- | -------------------------------- | ----------------------------------------------------------------------------------- |
112
+ | **Anomaly alerts** | Within the hour | "Alice's daily spend spiked to $214 (4.2x her 7-day avg)" |
113
+ | **Plan exhaustion** | Daily, when users exceed plan | "65/151 active users have exceeded their included plan this cycle" |
114
+ | **Cycle summary** | 3 days before billing cycle ends | Total spend, unused seats, top spenders, adoption breakdown, cycle-over-cycle trend |
115
+
116
+ Anomaly alerts include severity, user, model, value vs threshold, and a direct link to the user's dashboard page. Cycle summaries tell you how many seats are going unused and who's driving cost — so you can act before the invoice, not after.
105
117
 
106
- - **Slack**: Block Kit messages via bot token (`chat.postMessage`) with severity, user, model, value vs threshold, and dashboard links. Batches alerts automatically (individual messages for 1-3 anomalies, single summary for 4+).
107
- - **Email**: HTML-formatted alerts via [Resend](https://resend.com) (one API key, no SMTP config)
118
+ Also supports **email alerts** via [Resend](https://resend.com) (one API key, no SMTP config).
108
119
 
109
120
  ### Web Dashboard
110
121
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cursor-usage-tracker",
3
- "version": "1.6.1",
3
+ "version": "1.8.0",
4
4
  "description": "Open-source Cursor IDE usage monitoring, anomaly detection, and alerting for enterprise teams",
5
5
  "homepage": "https://github.com/ofershap/cursor-usage-tracker#readme",
6
6
  "type": "module",
@@ -80,6 +80,7 @@
80
80
  "tailwindcss": "^4.1.18"
81
81
  },
82
82
  "devDependencies": {
83
+ "@elevenlabs/elevenlabs-js": "^2.36.0",
83
84
  "@eslint/js": "^10.0.1",
84
85
  "@next/eslint-plugin-next": "^16.1.6",
85
86
  "@semantic-release/changelog": "^6.0.3",