@nexusbloom/cli 0.2.7 → 0.2.9

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/src/index.js +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexusbloom/cli",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "NexusBloom CLI — run tools and workflows from your terminal",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -422,6 +422,13 @@ async function executeLocal(slug, input, jsonMode) {
422
422
  result = coreLogicFn(input);
423
423
  }
424
424
 
425
+ // Fire-and-forget: track the run for total runs counting
426
+ fetch(`${API_BASE}/api/track-run`, {
427
+ method: "POST",
428
+ headers: { "Content-Type": "application/json" },
429
+ body: JSON.stringify({ slug, source: "cli" }),
430
+ }).catch(() => {});
431
+
425
432
  if (jsonMode) return console.log(JSON.stringify({ success: true, data: result }, null, 2));
426
433
  console.log(chalk.green("\n Result (local):"));
427
434
  console.log(` ${JSON.stringify(result, null, 2)}`);