@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.
- package/cli.js +4 -0
- 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