@moda-ai/cli 1.45.2 → 1.45.3

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/cli.js CHANGED
@@ -3385,6 +3385,9 @@ function buildSearchAdoptionTelemetry(input) {
3385
3385
  output_mode: outputMode,
3386
3386
  search_surface: SEARCH_SURFACE_BY_COMMAND[command] ?? "none"
3387
3387
  };
3388
+ if (positional && input.subcommands?.includes(positional)) {
3389
+ adoption.subcommand = positional;
3390
+ }
3388
3391
  let queryText;
3389
3392
  if (command === "search")
3390
3393
  queryText = positional;
@@ -10207,7 +10210,7 @@ var commandRegistry = createCommandRegistry([
10207
10210
  description: "Diagnose local Moda setup and data flow",
10208
10211
  examples: ["moda doctor", "moda doctor --json", "moda doctor --offline"],
10209
10212
  auth: "none",
10210
- authNote: "Offline by default; --online checks the API key and data flow.",
10213
+ authNote: "With an API key it also checks the key and data flow against Moda Cloud; --offline runs local checks only.",
10211
10214
  outputModes: ["human", "json", "agent"],
10212
10215
  mutability: "read",
10213
10216
  validateConfigBeforeRun: false,
@@ -11108,6 +11111,7 @@ async function dispatchParsedCommandInner(parsed, startedAt) {
11108
11111
  });
11109
11112
  setActiveContext(context);
11110
11113
  const telemetryCommand = telemetryCommandName(definition);
11114
+ const telemetrySubcommands = definition.subcommands?.map((subcommand2) => subcommand2.name);
11111
11115
  const needsConfig = typeof definition.validateConfigBeforeRun === "function" ? definition.validateConfigBeforeRun(parsed) : definition.validateConfigBeforeRun;
11112
11116
  if (needsConfig) {
11113
11117
  try {
@@ -11129,7 +11133,8 @@ async function dispatchParsedCommandInner(parsed, startedAt) {
11129
11133
  flags: commandFlags,
11130
11134
  outputMode: context.outputMode,
11131
11135
  recorded: context.getTelemetryMeta(),
11132
- skillVersion: process.env.MODA_SKILL_VERSION
11136
+ skillVersion: process.env.MODA_SKILL_VERSION,
11137
+ subcommands: telemetrySubcommands
11133
11138
  })
11134
11139
  });
11135
11140
  }
@@ -11161,7 +11166,8 @@ async function dispatchParsedCommandInner(parsed, startedAt) {
11161
11166
  flags: commandFlags,
11162
11167
  outputMode: context.outputMode,
11163
11168
  recorded: context.getTelemetryMeta(),
11164
- skillVersion: process.env.MODA_SKILL_VERSION
11169
+ skillVersion: process.env.MODA_SKILL_VERSION,
11170
+ subcommands: telemetrySubcommands
11165
11171
  })
11166
11172
  });
11167
11173
  }
@@ -11187,7 +11193,8 @@ async function dispatchParsedCommandInner(parsed, startedAt) {
11187
11193
  flags: commandFlags,
11188
11194
  outputMode: context.outputMode,
11189
11195
  recorded: context.getTelemetryMeta(),
11190
- skillVersion: process.env.MODA_SKILL_VERSION
11196
+ skillVersion: process.env.MODA_SKILL_VERSION,
11197
+ subcommands: telemetrySubcommands
11191
11198
  })
11192
11199
  });
11193
11200
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moda-ai/cli",
3
- "version": "1.45.2",
3
+ "version": "1.45.3",
4
4
  "description": "CLI for Moda - AI agent analytics and observability",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,6 +20,7 @@
20
20
  },
21
21
  "scripts": {
22
22
  "bundle:skills": "bun scripts/bundle-skills.ts",
23
+ "export:admin-manifest": "bun scripts/export-admin-command-manifest.ts",
23
24
  "build": "bun run bundle:skills && tsc --noEmit && bun build ./src/cli.ts ./src/prompt-source-mcp.ts --target=node --format=esm --outdir=dist --splitting --external @inquirer/prompts --external open --external zod",
24
25
  "dev": "tsc --watch",
25
26
  "typecheck": "tsc --noEmit",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": "moda.skill_index.v1",
3
- "bundled_at": "2026-10-09T23:09:30.337Z",
4
- "cli_version": "1.45.2",
3
+ "bundled_at": "2026-10-10T04:37:09.232Z",
4
+ "cli_version": "1.45.3",
5
5
  "skills": [
6
6
  {
7
7
  "id": "integration-cloudflare-think",