getaimeter 0.3.1 → 0.3.2

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/package.json +1 -1
  2. package/watcher.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "getaimeter",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Track your Claude AI usage across CLI, VS Code, and Desktop App. One command to start.",
5
5
  "bin": {
6
6
  "aimeter": "cli.js"
package/watcher.js CHANGED
@@ -73,7 +73,7 @@ function detectSource(filePath) {
73
73
 
74
74
  if (header.includes('"entrypoint":"claude-desktop"') || header.includes('"entrypoint": "claude-desktop"')) {
75
75
  source = 'desktop_app';
76
- } else if (header.includes('ide_opened_file') || header.includes('"entrypoint":"vscode"') || header.includes('"entrypoint": "vscode"')) {
76
+ } else if (header.includes('ide_opened_file') || header.includes('claude-vscode') || header.includes('"entrypoint":"vscode"') || header.includes('"entrypoint": "vscode"')) {
77
77
  source = 'vscode';
78
78
  }
79
79
  // else remains 'cli'