@dosu/cli 0.55.1 → 0.56.0

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/bin/dosu.js +16 -5
  2. package/package.json +1 -1
package/bin/dosu.js CHANGED
@@ -1050,7 +1050,7 @@ function isNpxInvocation(channel = INSTALL_CHANNEL, env = process.env) {
1050
1050
  function getVersionString() {
1051
1051
  return `v${VERSION}`;
1052
1052
  }
1053
- var VERSION = "0.55.1", INSTALL_CHANNEL = "npm";
1053
+ var VERSION = "0.56.0", INSTALL_CHANNEL = "npm";
1054
1054
 
1055
1055
  // src/debug/logger.ts
1056
1056
  import {
@@ -13637,7 +13637,7 @@ var init_sync = __esm(() => {
13637
13637
  });
13638
13638
 
13639
13639
  // src/telemetry/debug-id.ts
13640
- var BUNDLE_DEBUG_ID_PLACEHOLDER = "737a8f86-5677-f74d-6475-6e2164756e21";
13640
+ var BUNDLE_DEBUG_ID_PLACEHOLDER = "2f023ff0-da66-217c-6475-6e2164756e21";
13641
13641
 
13642
13642
  // src/telemetry/telemetry.ts
13643
13643
  import { randomUUID as randomUUID2 } from "node:crypto";
@@ -62592,10 +62592,18 @@ function allowlistedWorkflowProperties(properties) {
62592
62592
  if (Array.isArray(input.providers)) {
62593
62593
  safe.providers = input.providers.filter((provider) => typeof provider === "string" && /^[a-z][a-z0-9-]{0,31}$/.test(provider)).slice(0, 50);
62594
62594
  }
62595
- for (const key of ["completed_mcp", "completed_skill", "completed_agents_md"]) {
62595
+ for (const key of [
62596
+ "completed_mcp",
62597
+ "completed_skill",
62598
+ "completed_agents_md",
62599
+ "completed_hooks"
62600
+ ]) {
62596
62601
  if (typeof input[key] === "boolean")
62597
62602
  safe[key] = input[key];
62598
62603
  }
62604
+ if (typeof input.hook_count === "number" && Number.isInteger(input.hook_count) && input.hook_count >= 0 && input.hook_count <= 50) {
62605
+ safe.hook_count = input.hook_count;
62606
+ }
62599
62607
  return safe;
62600
62608
  }
62601
62609
  function safeIdentifier(value, maxLength) {
@@ -63272,10 +63280,13 @@ async function runSetupFlow(opts = {}) {
63272
63280
  agentsMdCompleted = await stepUpdateAgentsMd();
63273
63281
  }
63274
63282
  if (mcpCompleted || skillCompleted || agentsMdCompleted) {
63283
+ const hookCount = configuredProviders.filter((result) => result.hook).length;
63275
63284
  trackInBackground(trackCliOnboardingEvent(cfg, onboardingRunID, "cli_onboarding_completed", {
63276
63285
  completed_mcp: mcpCompleted,
63277
63286
  completed_skill: skillCompleted,
63278
- completed_agents_md: agentsMdCompleted
63287
+ completed_agents_md: agentsMdCompleted,
63288
+ completed_hooks: hookCount > 0,
63289
+ hook_count: hookCount
63279
63290
  }));
63280
63291
  }
63281
63292
  if (mcpCompleted && cfg.mode !== MODE_OSS) {
@@ -66405,4 +66416,4 @@ main().catch((err) => {
66405
66416
  process.exit(1);
66406
66417
  });
66407
66418
 
66408
- //# debugId=737a8f86-5677-f74d-6475-6e2164756e21
66419
+ //# debugId=2f023ff0-da66-217c-6475-6e2164756e21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosu/cli",
3
- "version": "0.55.1",
3
+ "version": "0.56.0",
4
4
  "type": "module",
5
5
  "description": "Dosu CLI - Manage MCP servers for AI tools",
6
6
  "license": "MIT",