@rachel_rotenberg/ai-contribution-tracker 1.0.23 → 1.0.24

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/cli.js +4 -0
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -73,6 +73,10 @@ function appendOrCreateHook(hooksDir) {
73
73
  }
74
74
  return;
75
75
  }
76
+ if (existing.includes("AI_IMPACT_PENDING")) {
77
+ skip(`commit-msg hook already handles AI tracking (installed by VS Code extension): ${hookPath}`);
78
+ return;
79
+ }
76
80
  fs.appendFileSync(hookPath, "\n" + HOOK_BODY + "\n");
77
81
  ok(`Appended AI tracker snippet to existing hook: ${hookPath}`);
78
82
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rachel_rotenberg/ai-contribution-tracker",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "OpenCode plugin — tracks AI coding sessions and tags git commits with Impacted by AI markers",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",