codeusage-cli 0.1.17 → 0.1.18
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/dist/index.cjs +5 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -28452,6 +28452,9 @@ ${validation.error}
|
|
|
28452
28452
|
Detected project: ${detectedProject}`));
|
|
28453
28453
|
const hookSpinner = ora(`Registering ${providerInfo.displayName} hooks...`).start();
|
|
28454
28454
|
try {
|
|
28455
|
+
if (options.force) {
|
|
28456
|
+
await unregisterHooks(hookScope, cwd, selectedProvider);
|
|
28457
|
+
}
|
|
28455
28458
|
await registerHooks(hookScope, cwd, selectedProvider);
|
|
28456
28459
|
hookSpinner.succeed(`${providerInfo.displayName} hooks registered`);
|
|
28457
28460
|
} catch (err) {
|
|
@@ -30282,7 +30285,7 @@ function calculateDelta(current, previous) {
|
|
|
30282
30285
|
}
|
|
30283
30286
|
|
|
30284
30287
|
// src/hooks/stop.ts
|
|
30285
|
-
var CLI_VERSION = "0.1.
|
|
30288
|
+
var CLI_VERSION = "0.1.18";
|
|
30286
30289
|
var hookStopCommand = new Command("stop").description("Handle AI coding tool stop hook (internal)").option("--dry-run", "Parse session but don't send to API").option("--provider <provider>", "Provider ID (claude_code or codex)").action(async (options) => {
|
|
30287
30290
|
if (!isConfigured()) {
|
|
30288
30291
|
return;
|
|
@@ -30452,7 +30455,7 @@ var hookNotificationCommand = new Command("notification").description("Handle AI
|
|
|
30452
30455
|
|
|
30453
30456
|
// src/index.ts
|
|
30454
30457
|
var program2 = new Command;
|
|
30455
|
-
program2.name("codeusage").description("CLI for Codeusage - AI coding tool intelligence platform").version("0.1.
|
|
30458
|
+
program2.name("codeusage").description("CLI for Codeusage - AI coding tool intelligence platform").version("0.1.18");
|
|
30456
30459
|
program2.addCommand(initCommand);
|
|
30457
30460
|
program2.addCommand(statusCommand);
|
|
30458
30461
|
program2.addCommand(projectCommand);
|