getaimeter 0.5.0 → 0.6.1

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 (3) hide show
  1. package/config.js +12 -0
  2. package/package.json +53 -48
  3. package/watcher.js +711 -474
package/config.js CHANGED
@@ -88,6 +88,18 @@ function getWatchPaths() {
88
88
  paths.push(geminiDir);
89
89
  }
90
90
 
91
+ // 6. Cursor IDE — stores conversations in SQLite at globalStorage/state.vscdb
92
+ // We watch the globalStorage dir; the watcher handles .vscdb files separately
93
+ let cursorGlobal;
94
+ if (platform === 'win32') {
95
+ cursorGlobal = path.join(process.env.APPDATA || '', 'Cursor', 'User', 'globalStorage');
96
+ } else if (platform === 'darwin') {
97
+ cursorGlobal = path.join(os.homedir(), 'Library', 'Application Support', 'Cursor', 'User', 'globalStorage');
98
+ } else {
99
+ cursorGlobal = path.join(os.homedir(), '.config', 'Cursor', 'User', 'globalStorage');
100
+ }
101
+ if (fs.existsSync(cursorGlobal)) paths.push(cursorGlobal);
102
+
91
103
  return paths;
92
104
  }
93
105
 
package/package.json CHANGED
@@ -1,48 +1,53 @@
1
- {
2
- "name": "getaimeter",
3
- "version": "0.5.0",
4
- "description": "Track your Claude AI usage across CLI, VS Code, and Desktop App. One command to start.",
5
- "bin": {
6
- "aimeter": "cli.js"
7
- },
8
- "main": "watcher.js",
9
- "engines": {
10
- "node": ">=18"
11
- },
12
- "license": "MIT",
13
- "keywords": [
14
- "claude",
15
- "anthropic",
16
- "usage",
17
- "tracking",
18
- "ai",
19
- "tokens",
20
- "cost",
21
- "monitor",
22
- "claude-code",
23
- "vscode"
24
- ],
25
- "files": [
26
- "cli.js",
27
- "watcher.js",
28
- "reporter.js",
29
- "config.js",
30
- "state.js",
31
- "service.js",
32
- "tray.js",
33
- "tray.ps1",
34
- "log-viewer.ps1",
35
- "tray-launcher.vbs",
36
- "icon.ico",
37
- "update-check.js",
38
- "README.md"
39
- ],
40
- "repository": {
41
- "type": "git",
42
- "url": "git+https://github.com/Khavel/AIMeter.git"
43
- },
44
- "homepage": "https://getaimeter.com",
45
- "author": "Alejandro Ceja",
46
- "preferGlobal": true,
47
- "dependencies": {}
48
- }
1
+ {
2
+ "name": "getaimeter",
3
+ "version": "0.6.1",
4
+ "description": "Track AI coding costs across Claude, Cursor, Codex, and Gemini. Optimization recommendations that cut costs by 30%.",
5
+ "bin": {
6
+ "aimeter": "cli.js"
7
+ },
8
+ "main": "watcher.js",
9
+ "engines": {
10
+ "node": ">=18"
11
+ },
12
+ "license": "MIT",
13
+ "keywords": [
14
+ "claude",
15
+ "anthropic",
16
+ "cursor",
17
+ "codex",
18
+ "gemini",
19
+ "ai",
20
+ "tokens",
21
+ "cost",
22
+ "usage",
23
+ "tracking",
24
+ "monitor",
25
+ "optimization",
26
+ "claude-code",
27
+ "vscode",
28
+ "multi-tool"
29
+ ],
30
+ "files": [
31
+ "cli.js",
32
+ "watcher.js",
33
+ "reporter.js",
34
+ "config.js",
35
+ "state.js",
36
+ "service.js",
37
+ "tray.js",
38
+ "tray.ps1",
39
+ "log-viewer.ps1",
40
+ "tray-launcher.vbs",
41
+ "icon.ico",
42
+ "update-check.js",
43
+ "README.md"
44
+ ],
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/Khavel/AIMeter.git"
48
+ },
49
+ "homepage": "https://getaimeter.com",
50
+ "author": "Alejandro Ceja",
51
+ "preferGlobal": true,
52
+ "dependencies": {}
53
+ }