claude-code-wakatime 2.1.1 → 2.1.3

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.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # WakaTime for Claude Code
2
2
 
3
+ Track your AI usage, lines of code generated, time spent prompting AI, etc. using [claude-code-wakatime](https://www.npmjs.com/package/claude-code-wakatime).
4
+
3
5
  [WakaTime](https://wakatime.com/) is an open source VS Code plugin for metrics, insights, and time tracking automatically generated from your programming activity.
4
6
 
5
7
  ## Installation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-wakatime",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "WakaTime plugin for Claude Code",
5
5
  "bin": {
6
6
  "claude-code-wakatime": "dist/index.js"
@@ -24,7 +24,12 @@
24
24
  "time-tracking",
25
25
  "ai"
26
26
  ],
27
- "dependencies": {},
27
+ "dependencies": {
28
+ "adm-zip": "0.5.16",
29
+ "request": "2.88.2",
30
+ "semver": "^7.7.2",
31
+ "which": "^5.0.0"
32
+ },
28
33
  "devDependencies": {
29
34
  "@types/eslint": "^8.44.7",
30
35
  "@types/node": "^20.9.2",
@@ -38,13 +43,9 @@
38
43
  "@typescript-eslint/parser": "6.11.0",
39
44
  "@types/which": "^3.0.4",
40
45
  "eslint": "^8.54.0",
41
- "adm-zip": "0.5.16",
42
46
  "azdata": "^1.0.0",
43
47
  "prettier": "^3.1.0",
44
- "request": "2.88.2",
45
- "semver": "^7.7.2",
46
- "typescript": "^5.2.2",
47
- "which": "^5.0.0"
48
+ "typescript": "^5.2.2"
48
49
  },
49
50
  "author": "WakaTime",
50
51
  "license": "BSD-3-Clause",
package/src/index.ts CHANGED
@@ -162,7 +162,7 @@ function main() {
162
162
  }
163
163
  }
164
164
 
165
- if (inp?.hook_event_name === 'SessionStart demo') {
165
+ if (inp?.hook_event_name === 'SessionStart') {
166
166
  deps.checkAndInstallCli();
167
167
  }
168
168