@moda-ai/cli 1.55.141 → 1.55.143

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 (28) hide show
  1. package/dist/{agent-dxmbckx7.js → agent-4hhnz80x.js} +5 -5
  2. package/dist/{change-impact-b997srew.js → change-impact-cqe813jv.js} +3 -3
  3. package/dist/{cli-0d3s9b42.js → cli-8zs1h8fp.js} +4 -4
  4. package/dist/{cli-f3jwv55s.js → cli-bevt4ysp.js} +2 -2
  5. package/dist/{cli-fc1rx0gw.js → cli-bh28xd19.js} +5 -5
  6. package/dist/{cli-7w81zgtm.js → cli-e9fbqcmw.js} +1 -1
  7. package/dist/{cli-6m24mgfn.js → cli-ezcpsapd.js} +7 -0
  8. package/dist/{cli-5vv062qj.js → cli-g2yt5hqj.js} +1 -1
  9. package/dist/{cli-117eqfj5.js → cli-je1hfmvv.js} +11 -11
  10. package/dist/{cli-fv22sck1.js → cli-kjvyvq4a.js} +3 -3
  11. package/dist/{cli-8ygykkqh.js → cli-zjcmwdth.js} +1 -1
  12. package/dist/cli.js +131 -54
  13. package/dist/{doctor-k6ej31sr.js → doctor-qkvw53c6.js} +4 -4
  14. package/dist/{harness-github-actions-bhkr14q4.js → harness-github-actions-dxave4sw.js} +3 -3
  15. package/dist/{harness-pjxdvqk7.js → harness-ra7mcjkx.js} +3 -3
  16. package/dist/{index-sy1p2vp7.js → index-0byf2g3b.js} +3 -3
  17. package/dist/{index-kmvy4nh6.js → index-nx002wq4.js} +4 -4
  18. package/dist/{index-xedkdchx.js → index-wz0dtzw8.js} +5 -5
  19. package/dist/{production-intelligence-w5avw16d.js → production-intelligence-h9yqwqzm.js} +2 -2
  20. package/dist/{profile-commands-3ccyj5q3.js → profile-commands-f7n798cf.js} +1 -1
  21. package/dist/{prompt-attribution-94cgcj50.js → prompt-attribution-zczfker9.js} +3 -3
  22. package/dist/prompt-source-mcp.js +3 -3
  23. package/dist/{prompts-yssnakd8.js → prompts-16pzrz65.js} +3 -3
  24. package/dist/{registry-hj1xa3n7.js → registry-hvgqw45r.js} +2 -2
  25. package/dist/{skills-qfmm05ma.js → skills-p0bk6cnn.js} +3 -3
  26. package/dist/{sync-by1sp44e.js → sync-ma4z3q96.js} +5 -5
  27. package/package.json +1 -1
  28. package/skills/integration/index.json +2 -2
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  buildDoctorReport
3
- } from "./cli-fv22sck1.js";
3
+ } from "./cli-kjvyvq4a.js";
4
4
  import"./cli-4fv2pthb.js";
5
- import"./cli-fc1rx0gw.js";
5
+ import"./cli-bh28xd19.js";
6
6
  import"./cli-mm48br00.js";
7
7
  import"./cli-764m5azg.js";
8
8
  import {
@@ -17,9 +17,9 @@ import {
17
17
  validateHarnessReport
18
18
  } from "./cli-krm4w2v9.js";
19
19
  import"./cli-mnhevv08.js";
20
- import"./cli-5vv062qj.js";
20
+ import"./cli-g2yt5hqj.js";
21
21
  import"./cli-e0kbye4s.js";
22
- import"./cli-6m24mgfn.js";
22
+ import"./cli-ezcpsapd.js";
23
23
  import {
24
24
  resolveApiKey,
25
25
  resolveIngestUrl,
@@ -96,7 +96,7 @@ async function buildAgentContext(context) {
96
96
  const graph = readHarnessGraphIfPresent(context.cwd);
97
97
  const reportState = readHarnessReportState(context.cwd);
98
98
  const syncState = readHarnessSyncState(context.cwd);
99
- const harness = graph ? await import("./harness-pjxdvqk7.js") : undefined;
99
+ const harness = graph ? await import("./harness-ra7mcjkx.js") : undefined;
100
100
  const topFindings = doctor.checks.filter((check) => check.status === "fail" || check.status === "warning").slice(0, 12).map(checkToFinding);
101
101
  const evidenceRefs = [
102
102
  ...doctor.checks.map(checkToEvidenceRef),
@@ -11,16 +11,16 @@ import {
11
11
  resolvedSymbol,
12
12
  returnExpressions,
13
13
  valueDeclaration
14
- } from "./cli-117eqfj5.js";
14
+ } from "./cli-je1hfmvv.js";
15
15
  import"./cli-jkv3y2bj.js";
16
16
  import"./cli-97fnztpy.js";
17
17
  import {
18
18
  detectBoundRuntimeClasses
19
19
  } from "./cli-krm4w2v9.js";
20
20
  import"./cli-mnhevv08.js";
21
- import"./cli-5vv062qj.js";
21
+ import"./cli-g2yt5hqj.js";
22
22
  import"./cli-e0kbye4s.js";
23
- import"./cli-6m24mgfn.js";
23
+ import"./cli-ezcpsapd.js";
24
24
  import"./cli-bd38by3f.js";
25
25
  import"./cli-k4tqwah4.js";
26
26
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  enumerateToolCatalog,
3
3
  enumerateWorkflows
4
- } from "./cli-8ygykkqh.js";
4
+ } from "./cli-zjcmwdth.js";
5
5
  import {
6
6
  require_out
7
7
  } from "./cli-764m5azg.js";
@@ -34,7 +34,7 @@ import {
34
34
  unwrap,
35
35
  valueDeclaration,
36
36
  visit
37
- } from "./cli-117eqfj5.js";
37
+ } from "./cli-je1hfmvv.js";
38
38
  import"./cli-jkv3y2bj.js";
39
39
  import"./cli-97fnztpy.js";
40
40
  import {
@@ -42,9 +42,9 @@ import {
42
42
  isTestWorkerConfig
43
43
  } from "./cli-krm4w2v9.js";
44
44
  import"./cli-mnhevv08.js";
45
- import"./cli-5vv062qj.js";
45
+ import"./cli-g2yt5hqj.js";
46
46
  import"./cli-e0kbye4s.js";
47
- import"./cli-6m24mgfn.js";
47
+ import"./cli-ezcpsapd.js";
48
48
  import {
49
49
  EXIT_DEGRADED,
50
50
  VERSION
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  assertFlags,
9
9
  assertPositionals
10
- } from "./cli-5vv062qj.js";
10
+ } from "./cli-g2yt5hqj.js";
11
11
  import {
12
12
  callControlAPI
13
- } from "./cli-6m24mgfn.js";
13
+ } from "./cli-ezcpsapd.js";
14
14
  import {
15
15
  CliInputError
16
16
  } from "./cli-k4tqwah4.js";
@@ -11,10 +11,10 @@ import {
11
11
  import {
12
12
  assertFlags,
13
13
  assertPositionals
14
- } from "./cli-5vv062qj.js";
14
+ } from "./cli-g2yt5hqj.js";
15
15
  import {
16
16
  callControlAPI
17
- } from "./cli-6m24mgfn.js";
17
+ } from "./cli-ezcpsapd.js";
18
18
  import {
19
19
  CliInputError
20
20
  } from "./cli-k4tqwah4.js";
@@ -270,7 +270,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
270
270
  const analyzedDefinitions = new Map;
271
271
  if (flags["no-analyze"] !== "true") {
272
272
  options.onProgress?.("Analyzing prompt sources before sync.");
273
- const { analyzeHarnessPrompts } = await import("./harness-pjxdvqk7.js");
273
+ const { analyzeHarnessPrompts } = await import("./harness-ra7mcjkx.js");
274
274
  const result = await analyzeHarnessPrompts({
275
275
  rootDir: process.cwd(),
276
276
  existing: established.flatMap((prompt) => prompt.sourceDefinition ? [prompt.sourceDefinition.source] : []),
@@ -298,7 +298,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
298
298
  const mergedSources = mergePromptSources(manifest.sources, extraSources);
299
299
  const manifestUpdate = stableJson(mergedSources) === stableJson(mergePromptSources(manifest.sources, [])) ? undefined : $stringify({ version: 2, prompt_paths: manifest.promptPaths, sources: mergedSources });
300
300
  const prompts = await discoverPrompts(extraSources);
301
- const { checkPromptAttribution } = await import("./prompt-attribution-94cgcj50.js");
301
+ const { checkPromptAttribution } = await import("./prompt-attribution-zczfker9.js");
302
302
  const attribution = checkPromptAttribution(process.cwd(), prompts.map((prompt) => prompt.key));
303
303
  const brokenAttribution = attribution.references.filter((reference) => reference.status === "missing");
304
304
  if (brokenAttribution.length) {
@@ -604,7 +604,7 @@ async function migratePromptManifest(options = {}) {
604
604
  let addedSources = [];
605
605
  let pendingSources = [];
606
606
  if (options.discover) {
607
- const { analyzeHarnessPrompts } = await import("./harness-pjxdvqk7.js");
607
+ const { analyzeHarnessPrompts } = await import("./harness-ra7mcjkx.js");
608
608
  const result = await analyzeHarnessPrompts({
609
609
  rootDir: root,
610
610
  existing: manifest.sources,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./cli-e0kbye4s.js";
4
4
  import {
5
5
  callDataAPI
6
- } from "./cli-6m24mgfn.js";
6
+ } from "./cli-ezcpsapd.js";
7
7
  import {
8
8
  shellArg
9
9
  } from "./cli-bd38by3f.js";
@@ -122,11 +122,15 @@ async function callModaAPI(url, options, profileOptions = {}, requestOptions = {
122
122
  let connectionClose = false;
123
123
  const maxAttempts = maxRetries + initialNetworkRetryBudget + 1;
124
124
  for (let attempt = 0;attempt < maxAttempts; attempt++) {
125
+ options.signal?.throwIfAborted();
125
126
  if (attempt > 0) {
126
127
  const backoff = connectionClose ? requestOptions.networkRetryDelayMs ?? NETWORK_RETRY_DELAY_MS : INITIAL_BACKOFF_MS * Math.pow(2, attempt - 1);
127
128
  await new Promise((resolve) => setTimeout(resolve, backoff));
128
129
  }
130
+ options.signal?.throwIfAborted();
129
131
  const controller = new AbortController;
132
+ const cancel = () => controller.abort(options.signal?.reason);
133
+ options.signal?.addEventListener("abort", cancel, { once: true });
130
134
  const timeout = setTimeout(() => controller.abort(), timeoutMs);
131
135
  try {
132
136
  recordApiRequest();
@@ -156,6 +160,8 @@ async function callModaAPI(url, options, profileOptions = {}, requestOptions = {
156
160
  const text = await response.text();
157
161
  return text.trim() === "" ? null : JSON.parse(text);
158
162
  } catch (error) {
163
+ if (options.signal?.aborted)
164
+ throw options.signal.reason;
159
165
  if (error instanceof ApiError)
160
166
  throw error;
161
167
  const isAbort = error instanceof DOMException && error.name === "AbortError";
@@ -172,6 +178,7 @@ async function callModaAPI(url, options, profileOptions = {}, requestOptions = {
172
178
  throw wrapped;
173
179
  } finally {
174
180
  clearTimeout(timeout);
181
+ options.signal?.removeEventListener("abort", cancel);
175
182
  }
176
183
  }
177
184
  throw new NetworkError(`Request retries exhausted: ${url}`);
@@ -2,7 +2,7 @@ import {
2
2
  ApiError,
3
3
  callControlAPI,
4
4
  callDataAPI
5
- } from "./cli-6m24mgfn.js";
5
+ } from "./cli-ezcpsapd.js";
6
6
  import {
7
7
  continuationCommand,
8
8
  embeddedTenantIdFromApiKey,
@@ -44,14 +44,14 @@ import {
44
44
  assertFlags,
45
45
  assertPositionals,
46
46
  requireTenant
47
- } from "./cli-5vv062qj.js";
47
+ } from "./cli-g2yt5hqj.js";
48
48
  import {
49
49
  parseBooleanFlagValue
50
50
  } from "./cli-e0kbye4s.js";
51
51
  import {
52
52
  ApiError,
53
53
  callControlAPI
54
- } from "./cli-6m24mgfn.js";
54
+ } from "./cli-ezcpsapd.js";
55
55
  import {
56
56
  EXIT_DEGRADED,
57
57
  PLATFORM_API_KEY_PREFIX,
@@ -21018,7 +21018,7 @@ async function runHarnessCommand(context) {
21018
21018
  throw new CliInputError(`'moda harness ${subcommand}' has no dry-run mode, so nothing was sent.`, `Remove --dry-run to run it for real. Harness commands with a real dry-run: ${[...HARNESS_DRY_RUN_SUBCOMMANDS].join(", ")}.`);
21019
21019
  }
21020
21020
  if (subcommand === "skeleton" || subcommand === "skeleton-diff") {
21021
- const { runSkeletonCommand } = await import("./cli-0d3s9b42.js");
21021
+ const { runSkeletonCommand } = await import("./cli-8zs1h8fp.js");
21022
21022
  return runSkeletonCommand(context);
21023
21023
  }
21024
21024
  if (subcommand === "register")
@@ -21030,7 +21030,7 @@ async function runHarnessCommand(context) {
21030
21030
  assertPositionals("harness impact", context.positionals, 1, "moda harness impact --from=<commit> --to=<commit>");
21031
21031
  if (!context.flags.from)
21032
21032
  throw new CliInputError("harness impact requires --from=<old-commit>.");
21033
- const { localChangeImpact, readRecordedImpactCalls } = await import("./change-impact-b997srew.js");
21033
+ const { localChangeImpact, readRecordedImpactCalls } = await import("./change-impact-cqe813jv.js");
21034
21034
  const result = localChangeImpact({
21035
21035
  checkout: resolve10(context.cwd, context.flags.path ?? "."),
21036
21036
  from: context.flags.from,
@@ -21302,7 +21302,7 @@ async function runHarnessCommand(context) {
21302
21302
  throw new CliInputError("Focused remote prompt analysis is not supported yet.", "Use local --analyst=claude|codex|cursor|local-scan, or drop --concern for a full remote report.");
21303
21303
  }
21304
21304
  if (context.flags["github-actions"] === "true") {
21305
- const { runGithubActionsAnalyze } = await import("./harness-github-actions-bhkr14q4.js");
21305
+ const { runGithubActionsAnalyze } = await import("./harness-github-actions-dxave4sw.js");
21306
21306
  const result = await runGithubActionsAnalyze(rootDir, {
21307
21307
  writeReport: (report2) => {
21308
21308
  const normalized = normalizeHarnessReport(report2);
@@ -21453,8 +21453,8 @@ async function runHarnessCommand(context) {
21453
21453
  }
21454
21454
  const { artifacts, unknowns, canonicalAgentIdentities } = deterministicGraphItems(rootDir, promote === "all" ? undefined : promote);
21455
21455
  tagComponentStatus({ runtimeAgents: [], artifacts }, rootDir);
21456
- const { extractHarnessWithContext: extractHarnessWithContext2 } = await import("./index-sy1p2vp7.js");
21457
- const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-kmvy4nh6.js");
21456
+ const { extractHarnessWithContext: extractHarnessWithContext2 } = await import("./index-0byf2g3b.js");
21457
+ const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-nx002wq4.js");
21458
21458
  let components = { runtimeAgents: [], artifacts: [], warnings: [] };
21459
21459
  if (promote === "all" || promote === "topology" || promote === "tools") {
21460
21460
  const { result, ctx } = extractHarnessWithContext2(rootDir);
@@ -21526,8 +21526,8 @@ async function runHarnessCommand(context) {
21526
21526
  }
21527
21527
  case "extract": {
21528
21528
  writeHumanProgress(context, "Harness extract: tracing model call sites (no LLM, no network)...");
21529
- const { extractHarnessWithContext: extractHarnessWithContext2, serializeExtractResult } = await import("./index-sy1p2vp7.js");
21530
- const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-kmvy4nh6.js");
21529
+ const { extractHarnessWithContext: extractHarnessWithContext2, serializeExtractResult } = await import("./index-0byf2g3b.js");
21530
+ const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-nx002wq4.js");
21531
21531
  const { result, ctx } = extractHarnessWithContext2(rootDir, { fresh: true });
21532
21532
  const items = deterministicGraphItems(rootDir);
21533
21533
  const artifacts = items.artifacts;
@@ -22434,8 +22434,8 @@ var CONCERN_PROMOTED_ARTIFACT_TYPES = {
22434
22434
  evals: new Set(["model_config", "eval"])
22435
22435
  };
22436
22436
  async function deterministicFloorGraph(rootDir, options = {}) {
22437
- const { extractHarnessWithContext: extractHarnessWithContext2 } = await import("./index-sy1p2vp7.js");
22438
- const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-kmvy4nh6.js");
22437
+ const { extractHarnessWithContext: extractHarnessWithContext2 } = await import("./index-0byf2g3b.js");
22438
+ const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-nx002wq4.js");
22439
22439
  const { result, ctx } = extractHarnessWithContext2(rootDir);
22440
22440
  const items = deterministicGraphItems(rootDir);
22441
22441
  const components = mergeEnumeratedComponents(items.artifacts, enumerateHarnessComponents(result, ctx));
@@ -4,7 +4,7 @@ import {
4
4
  } from "./cli-4fv2pthb.js";
5
5
  import {
6
6
  inspectPromptManifest
7
- } from "./cli-fc1rx0gw.js";
7
+ } from "./cli-bh28xd19.js";
8
8
  import {
9
9
  readHarnessSyncState,
10
10
  renderDoctorHuman,
@@ -12,7 +12,7 @@ import {
12
12
  } from "./cli-jkv3y2bj.js";
13
13
  import {
14
14
  callDataAPI
15
- } from "./cli-6m24mgfn.js";
15
+ } from "./cli-ezcpsapd.js";
16
16
  import {
17
17
  describeModaBaseUrl,
18
18
  ensureSecretFilePermissions,
@@ -393,7 +393,7 @@ async function harnessCurrentCheck(cwd, manifestPath, manifestExists, tenantId)
393
393
  };
394
394
  }
395
395
  try {
396
- const { scanHarness } = await import("./harness-pjxdvqk7.js");
396
+ const { scanHarness } = await import("./harness-ra7mcjkx.js");
397
397
  const current = scanHarness({
398
398
  rootDir: cwd,
399
399
  scannerVersion: "doctor",
@@ -21,7 +21,7 @@ import {
21
21
  valueDeclaration,
22
22
  visit,
23
23
  workspacePackages
24
- } from "./cli-117eqfj5.js";
24
+ } from "./cli-je1hfmvv.js";
25
25
  import {
26
26
  require_typescript
27
27
  } from "./cli-r0pkdy83.js";
package/dist/cli.js CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  withSummaryCompare,
27
27
  withToolFailureAnchors,
28
28
  withoutDetectionWindows
29
- } from "./cli-7w81zgtm.js";
29
+ } from "./cli-e9fbqcmw.js";
30
30
  import {
31
31
  createCommandContext
32
32
  } from "./cli-mnhevv08.js";
@@ -77,7 +77,7 @@ import {
77
77
  unknownSignalsSubcommandError,
78
78
  usageLine,
79
79
  writeDryRun
80
- } from "./cli-5vv062qj.js";
80
+ } from "./cli-g2yt5hqj.js";
81
81
  import {
82
82
  envOptOutSet,
83
83
  envSwitchedOff,
@@ -88,7 +88,7 @@ import {
88
88
  import {
89
89
  ApiError,
90
90
  callDataAPI
91
- } from "./cli-6m24mgfn.js";
91
+ } from "./cli-ezcpsapd.js";
92
92
  import {
93
93
  AGENT_ERROR_CODES,
94
94
  EXIT_AUTH_REQUIRED,
@@ -142,6 +142,7 @@ import {
142
142
 
143
143
  // src/cli.ts
144
144
  import { randomUUID as randomUUID4 } from "node:crypto";
145
+ import { setTimeout as delay } from "node:timers/promises";
145
146
  import { z } from "zod";
146
147
 
147
148
  // src/trace-findings.ts
@@ -324,6 +325,18 @@ function retiredCommandError(command, positionals) {
324
325
  return new CliInputError(`The 'moda ${name}' command was retired. Nothing was run. ` + (fix ? "Moda supplies production evidence; engineers make changes in their own code, prompts, tools or skills." : "The old automatic prompt proposal and A/B workflow was retired. Review and edit prompt changes in your project."), `Use ${commands.map((value) => `\`${value}\``).join(", ")}. ` + "Refresh the installed guide and the Moda-managed AGENTS.md block with `moda skills install moda-cli`. " + "Review any user-authored instructions that still reference the retired workflow.", "retired_command", { field: "<command>", suggestedCommands: commands });
325
326
  }
326
327
 
328
+ // src/caller-agent.ts
329
+ function detectCallerAgent(env) {
330
+ const truthy = (value) => value != null && value !== "" && value !== "0" && value.toLowerCase() !== "false";
331
+ if (truthy(env.CLAUDECODE))
332
+ return "claude-code";
333
+ if (truthy(env.CURSOR))
334
+ return "cursor";
335
+ if (truthy(env.MODA_AGENT) || truthy(env.CI))
336
+ return "agent";
337
+ return "human";
338
+ }
339
+
327
340
  // src/telemetry.ts
328
341
  import { spawn as spawn2 } from "node:child_process";
329
342
 
@@ -627,6 +640,7 @@ var TELEMETRY_FLAG = "no-telemetry";
627
640
  var TELEMETRY_TRANSPORT_ENV = "MODA_CLI_TELEMETRY_TRANSPORT";
628
641
  var MAX_TELEMETRY_DURATION_MS = 86400000;
629
642
  var MAX_TELEMETRY_API_REQUEST_COUNT = 1e6;
643
+ var MAX_TELEMETRY_OUTPUT_BYTES = Number.MAX_SAFE_INTEGER;
630
644
  var MAX_UNKNOWN_FLAG_COUNT = 1000;
631
645
  var SEARCH_SURFACE_BY_COMMAND = {
632
646
  search: "message",
@@ -910,6 +924,8 @@ function buildCliUsageEvent(input) {
910
924
  exit_code: input.exitCode,
911
925
  duration_ms: clampInt(input.durationMs, 0, MAX_TELEMETRY_DURATION_MS) ?? 0,
912
926
  api_request_count: clampInt(input.apiRequestCount, 0, MAX_TELEMETRY_API_REQUEST_COUNT) ?? 0,
927
+ agent_host: detectCallerAgent(process.env),
928
+ output_bytes: clampInt(input.outputBytes, 0, MAX_TELEMETRY_OUTPUT_BYTES) ?? 0,
913
929
  cli_version: VERSION,
914
930
  node_version: process.versions.node,
915
931
  platform: process.platform,
@@ -3022,40 +3038,40 @@ function leafManifestFields(leaf, commands) {
3022
3038
  import { fileURLToPath } from "url";
3023
3039
  import { realpathSync } from "fs";
3024
3040
  async function runPromptsCommand(...args) {
3025
- return (await import("./prompts-yssnakd8.js")).runPromptsCommand(...args);
3041
+ return (await import("./prompts-16pzrz65.js")).runPromptsCommand(...args);
3026
3042
  }
3027
3043
  async function runSkillsCommand(...args) {
3028
- return (await import("./skills-qfmm05ma.js")).runSkillsCommand(...args);
3044
+ return (await import("./skills-p0bk6cnn.js")).runSkillsCommand(...args);
3029
3045
  }
3030
3046
  async function runHarnessCommand(...args) {
3031
- return (await import("./harness-pjxdvqk7.js")).runHarnessCommand(...args);
3047
+ return (await import("./harness-ra7mcjkx.js")).runHarnessCommand(...args);
3032
3048
  }
3033
3049
  async function runSyncCommand(...args) {
3034
- return (await import("./sync-by1sp44e.js")).runSyncCommand(...args);
3050
+ return (await import("./sync-ma4z3q96.js")).runSyncCommand(...args);
3035
3051
  }
3036
3052
  async function runRegistryCommand(...args) {
3037
- return (await import("./registry-hj1xa3n7.js")).runRegistryCommand(...args);
3053
+ return (await import("./registry-hvgqw45r.js")).runRegistryCommand(...args);
3038
3054
  }
3039
3055
  async function runDoctorCommand(...args) {
3040
- return (await import("./doctor-k6ej31sr.js")).runDoctorCommand(...args);
3056
+ return (await import("./doctor-qkvw53c6.js")).runDoctorCommand(...args);
3041
3057
  }
3042
3058
  async function runStatusCommand(...args) {
3043
- return (await import("./doctor-k6ej31sr.js")).runStatusCommand(...args);
3059
+ return (await import("./doctor-qkvw53c6.js")).runStatusCommand(...args);
3044
3060
  }
3045
3061
  async function runAuthCommand(...args) {
3046
- return (await import("./profile-commands-3ccyj5q3.js")).runAuthCommand(...args);
3062
+ return (await import("./profile-commands-f7n798cf.js")).runAuthCommand(...args);
3047
3063
  }
3048
3064
  async function runConfigCommand(...args) {
3049
- return (await import("./profile-commands-3ccyj5q3.js")).runConfigCommand(...args);
3065
+ return (await import("./profile-commands-f7n798cf.js")).runConfigCommand(...args);
3050
3066
  }
3051
3067
  async function runProfilesCommand(...args) {
3052
- return (await import("./profile-commands-3ccyj5q3.js")).runProfilesCommand(...args);
3068
+ return (await import("./profile-commands-f7n798cf.js")).runProfilesCommand(...args);
3053
3069
  }
3054
3070
  async function runAgentCommand(...args) {
3055
- return (await import("./agent-dxmbckx7.js")).runAgentCommand(...args);
3071
+ return (await import("./agent-4hhnz80x.js")).runAgentCommand(...args);
3056
3072
  }
3057
3073
  async function runProductionCommand(...args) {
3058
- return (await import("./production-intelligence-w5avw16d.js")).runProductionCommand(...args);
3074
+ return (await import("./production-intelligence-h9yqwqzm.js")).runProductionCommand(...args);
3059
3075
  }
3060
3076
  function parseArgs(argv) {
3061
3077
  const args = argv.slice(2);
@@ -3902,6 +3918,7 @@ function resolveTailSignal(signal) {
3902
3918
  }
3903
3919
  async function runTailCommand(params, context) {
3904
3920
  const intervalMs = (params.interval ?? 15) * 1000;
3921
+ const cancellation = new AbortController;
3905
3922
  const signal = resolveTailSignal(params.signal);
3906
3923
  const limit = params.limit ?? 20;
3907
3924
  const seenConversations = new Set;
@@ -3938,12 +3955,14 @@ async function runTailCommand(params, context) {
3938
3955
  const dataBudget = params.max_events === undefined ? undefined : Math.max(0, params.max_events - metaReserve);
3939
3956
  const capReached = () => dataBudget !== undefined && emitted >= dataBudget;
3940
3957
  const emitLine = (item) => {
3941
- if (capReached())
3958
+ if (cancellation.signal.aborted || capReached())
3942
3959
  return;
3943
3960
  console.log(JSON.stringify(item));
3944
3961
  emitted++;
3945
3962
  };
3946
3963
  const emitMeta = (item) => {
3964
+ if (cancellation.signal.aborted)
3965
+ return;
3947
3966
  if (params.max_events !== undefined && emitted >= params.max_events) {
3948
3967
  safeWriteStderr(`${JSON.stringify(item)}
3949
3968
  `);
@@ -3953,7 +3972,9 @@ async function runTailCommand(params, context) {
3953
3972
  emitted++;
3954
3973
  };
3955
3974
  const pollConversations = async () => {
3956
- const data = await callDataAPI(`/conversations?time_range=1h&limit=${limit}`);
3975
+ const data = await callDataAPI(`/conversations?time_range=1h&limit=${limit}`, { signal: cancellation.signal });
3976
+ if (cancellation.signal.aborted)
3977
+ return;
3957
3978
  const record = asRecord(data) ?? {};
3958
3979
  const rows = Array.isArray(record.conversations) ? record.conversations : [];
3959
3980
  for (const row of [...rows].reverse()) {
@@ -3989,7 +4010,9 @@ async function runTailCommand(params, context) {
3989
4010
  let truncated = false;
3990
4011
  let total = null;
3991
4012
  for (;; ) {
3992
- const data = await callDataAPI(`/emotions?days_back=1&limit=${EMOTIONS_TAIL_PAGE_SIZE}&offset=${offset}`);
4013
+ const data = await callDataAPI(`/emotions?days_back=1&limit=${EMOTIONS_TAIL_PAGE_SIZE}&offset=${offset}`, { signal: cancellation.signal });
4014
+ if (cancellation.signal.aborted)
4015
+ return;
3993
4016
  const record = asRecord(data) ?? {};
3994
4017
  const rows = Array.isArray(record.detections) ? record.detections : [];
3995
4018
  collected.push(...rows.map((row) => asRecord(row)).filter((row) => row !== null));
@@ -4054,16 +4077,29 @@ async function runTailCommand(params, context) {
4054
4077
  if (params.once !== true && context.output.mode === "human") {
4055
4078
  console.error(`Tailing ${signal} every ${intervalMs / 1000}s (Ctrl-C to stop). One JSON line per new item.`);
4056
4079
  }
4057
- for (;; ) {
4058
- if (signal === "traces" || signal === "all")
4059
- await pollConversations();
4060
- if (signal === "emotions" || signal === "all")
4061
- await pollEmotions();
4062
- if (params.once === true)
4063
- break;
4064
- if (params.max_events !== undefined && emitted >= params.max_events)
4065
- break;
4066
- await new Promise((resolve) => setTimeout(resolve, intervalMs));
4080
+ const previousCancellation = activeTailCancellation;
4081
+ activeTailCancellation = cancellation;
4082
+ try {
4083
+ while (!cancellation.signal.aborted) {
4084
+ if (signal === "traces" || signal === "all")
4085
+ await pollConversations();
4086
+ if (cancellation.signal.aborted)
4087
+ break;
4088
+ if (signal === "emotions" || signal === "all")
4089
+ await pollEmotions();
4090
+ if (params.once === true)
4091
+ break;
4092
+ if (params.max_events !== undefined && emitted >= params.max_events)
4093
+ break;
4094
+ await delay(intervalMs, undefined, { signal: cancellation.signal });
4095
+ }
4096
+ cancellation.signal.throwIfAborted();
4097
+ } catch (error) {
4098
+ if (cancellation.signal.aborted)
4099
+ throw cancellation.signal.reason;
4100
+ throw error;
4101
+ } finally {
4102
+ activeTailCancellation = previousCancellation;
4067
4103
  }
4068
4104
  }
4069
4105
  async function attachWorldState(rows, budgetBytes) {
@@ -4108,16 +4144,6 @@ function recordConversationsTelemetry(context, data) {
4108
4144
  has_more: hasMore === true ? "yes" : hasMore === false ? "no" : "na"
4109
4145
  });
4110
4146
  }
4111
- function detectCallerAgent(env) {
4112
- const truthy = (value) => value != null && value !== "" && value !== "0" && value.toLowerCase() !== "false";
4113
- if (truthy(env.CLAUDECODE))
4114
- return "claude-code";
4115
- if (truthy(env.CURSOR))
4116
- return "cursor";
4117
- if (truthy(env.MODA_AGENT) || truthy(env.CI))
4118
- return "agent";
4119
- return "human";
4120
- }
4121
4147
  var LINEAR_CONNECT_GUIDANCE = "Connect Linear in the Moda dashboard (Integrations -> Linear), then retry.";
4122
4148
  function describeLinearLink(linkValue) {
4123
4149
  const link = asRecord(linkValue);
@@ -6758,7 +6784,7 @@ var commandRegistry = createCommandRegistry([
6758
6784
  resetApiRequestCountBeforeRun: true,
6759
6785
  telemetry: "result-and-error",
6760
6786
  handler: async (context) => {
6761
- const { runInit } = await import("./index-xedkdchx.js");
6787
+ const { runInit } = await import("./index-wz0dtzw8.js");
6762
6788
  if (context.outputMode === "agent-stream") {
6763
6789
  context.output.writeEvent({
6764
6790
  event: "started",
@@ -7893,19 +7919,48 @@ function existingFlagProfile(flags) {
7893
7919
  }
7894
7920
  async function dispatchParsedCommand(parsed, startedAt = Date.now()) {
7895
7921
  const previousProfileEnv = process.env.MODA_PROFILE;
7922
+ const write = process.stdout.write;
7923
+ let outputBytes = 0;
7924
+ let usage;
7925
+ let sending;
7926
+ const previousTelemetry = activeUsageTelemetry;
7927
+ const telemetry = {
7928
+ flush: () => {
7929
+ if (!sending && usage) {
7930
+ const pending = usage;
7931
+ usage = undefined;
7932
+ sending = sendCliUsageTelemetry({ ...pending, outputBytes });
7933
+ }
7934
+ return sending ?? Promise.resolve();
7935
+ }
7936
+ };
7937
+ activeUsageTelemetry = telemetry;
7938
+ process.stdout.write = function(chunk, encoding, callback) {
7939
+ const result = write.call(this, chunk, typeof encoding === "string" ? encoding : undefined, typeof encoding === "function" ? encoding : callback);
7940
+ outputBytes += typeof chunk === "string" ? Buffer.byteLength(chunk, typeof encoding === "string" ? encoding : "utf8") : chunk.byteLength;
7941
+ return result;
7942
+ };
7896
7943
  try {
7897
- return await dispatchParsedCommandInner(parsed, startedAt);
7944
+ return await dispatchParsedCommandInner(parsed, startedAt, (input) => {
7945
+ usage = input;
7946
+ });
7898
7947
  } finally {
7899
- if (!isUpdateCheckDisabled(parsed.flags) && parsed.command && !["--version", "-V", "--help", "-h"].includes(parsed.command) && !optOutFlagSet(parsed.flags, "help") && !optOutFlagSet(parsed.flags, "version") && !optOutFlagSet(parsed.flags, "json-schemas")) {
7900
- printUpdateNotice({}, {
7901
- outputMode: resolveOutputMode(parsed.flags, { isTTY: process.stdout.isTTY, env: process.env }),
7902
- quiet: optOutFlagSet(parsed.flags, "quiet")
7903
- });
7948
+ try {
7949
+ if (!isUpdateCheckDisabled(parsed.flags) && parsed.command && !["--version", "-V", "--help", "-h"].includes(parsed.command) && !optOutFlagSet(parsed.flags, "help") && !optOutFlagSet(parsed.flags, "version") && !optOutFlagSet(parsed.flags, "json-schemas")) {
7950
+ printUpdateNotice({}, {
7951
+ outputMode: resolveOutputMode(parsed.flags, { isTTY: process.stdout.isTTY, env: process.env }),
7952
+ quiet: optOutFlagSet(parsed.flags, "quiet")
7953
+ });
7954
+ }
7955
+ } finally {
7956
+ process.stdout.write = write;
7957
+ telemetry.flush();
7958
+ activeUsageTelemetry = previousTelemetry;
7959
+ if (previousProfileEnv === undefined)
7960
+ delete process.env.MODA_PROFILE;
7961
+ else
7962
+ process.env.MODA_PROFILE = previousProfileEnv;
7904
7963
  }
7905
- if (previousProfileEnv === undefined)
7906
- delete process.env.MODA_PROFILE;
7907
- else
7908
- process.env.MODA_PROFILE = previousProfileEnv;
7909
7964
  }
7910
7965
  }
7911
7966
  function usageIdentityFor(parsed, route, legacy, definition) {
@@ -8042,7 +8097,7 @@ function renameErrorCommands(error, renames) {
8042
8097
  }
8043
8098
  return error;
8044
8099
  }
8045
- async function dispatchParsedCommandInner(typedParsed, startedAt) {
8100
+ async function dispatchParsedCommandInner(typedParsed, startedAt, recordUsage) {
8046
8101
  const { command, flags } = typedParsed;
8047
8102
  canonicalizeFlagKeys(flags, typedParsed.bareFlags);
8048
8103
  const switchError = normalizeBooleanFlags(flags);
@@ -8144,7 +8199,7 @@ async function dispatchParsedCommandInner(typedParsed, startedAt) {
8144
8199
  else
8145
8200
  delete adoption.subcommand;
8146
8201
  }
8147
- sendCliUsageTelemetry({
8202
+ recordUsage({
8148
8203
  apiKey: input.apiKey ?? resolveApiKey({ profile: telemetryProfile }),
8149
8204
  profile: telemetryProfile,
8150
8205
  command: identity2?.command ?? handlerTelemetry,
@@ -8250,6 +8305,22 @@ async function dispatchParsedCommandInner(typedParsed, startedAt) {
8250
8305
  ...deprecation ? { deprecation } : {}
8251
8306
  });
8252
8307
  setActiveContext(context);
8308
+ if (activeUsageTelemetry) {
8309
+ activeUsageTelemetry.cancel = (error) => {
8310
+ if (!telemetryDisabled && definition.telemetry === "result-and-error") {
8311
+ reportUsage({
8312
+ definition,
8313
+ identity,
8314
+ status: "error",
8315
+ error,
8316
+ exitCode: EXIT_CANCELLED,
8317
+ apiRequestCount: getApiRequestCount(),
8318
+ outputMode: context.outputMode,
8319
+ recorded: context.getTelemetryMeta()
8320
+ });
8321
+ }
8322
+ };
8323
+ }
8253
8324
  if (deprecation && !context.quiet && (context.outputMode === "human" || context.outputMode === "json")) {
8254
8325
  safeWriteStderr(`Deprecated: ${deprecation.message}
8255
8326
  `);
@@ -8322,6 +8393,8 @@ async function dispatchParsedCommandInner(typedParsed, startedAt) {
8322
8393
  }
8323
8394
  }
8324
8395
  var activeContext;
8396
+ var activeTailCancellation;
8397
+ var activeUsageTelemetry;
8325
8398
  var signalCount = 0;
8326
8399
  function setActiveContext(context) {
8327
8400
  activeContext = context;
@@ -8330,17 +8403,21 @@ function installSignalHandlers() {
8330
8403
  const handleSignal = (signal) => {
8331
8404
  signalCount += 1;
8332
8405
  if (signalCount > 1) {
8333
- process.exit(EXIT_CANCELLED);
8406
+ (activeUsageTelemetry?.flush() ?? Promise.resolve()).finally(() => process.exit(EXIT_CANCELLED));
8407
+ return;
8334
8408
  }
8335
8409
  const reason = `Command cancelled by ${signal}.`;
8410
+ activeTailCancellation?.abort(new CliCancellationError(reason));
8411
+ activeUsageTelemetry?.cancel?.(new CliCancellationError(reason));
8336
8412
  if (activeContext) {
8337
- finishRun(activeContext, { kind: "cancelled", reason }).finally(() => {
8413
+ finishRun(activeContext, { kind: "cancelled", reason }).finally(async () => {
8414
+ await activeUsageTelemetry?.flush();
8338
8415
  process.exit(EXIT_CANCELLED);
8339
8416
  });
8340
8417
  return;
8341
8418
  }
8342
8419
  printCliError(new CliCancellationError(reason));
8343
- process.exit(EXIT_CANCELLED);
8420
+ (activeUsageTelemetry?.flush() ?? Promise.resolve()).finally(() => process.exit(EXIT_CANCELLED));
8344
8421
  };
8345
8422
  process.once("SIGINT", handleSignal);
8346
8423
  process.once("SIGTERM", handleSignal);
@@ -3,16 +3,16 @@ import {
3
3
  promptsDiscoveredCheck,
4
4
  runDoctorCommand,
5
5
  runStatusCommand
6
- } from "./cli-fv22sck1.js";
6
+ } from "./cli-kjvyvq4a.js";
7
7
  import"./cli-4fv2pthb.js";
8
- import"./cli-fc1rx0gw.js";
8
+ import"./cli-bh28xd19.js";
9
9
  import"./cli-mm48br00.js";
10
10
  import"./cli-764m5azg.js";
11
11
  import"./cli-jkv3y2bj.js";
12
12
  import"./cli-mnhevv08.js";
13
- import"./cli-5vv062qj.js";
13
+ import"./cli-g2yt5hqj.js";
14
14
  import"./cli-e0kbye4s.js";
15
- import"./cli-6m24mgfn.js";
15
+ import"./cli-ezcpsapd.js";
16
16
  import"./cli-bd38by3f.js";
17
17
  import"./cli-k4tqwah4.js";
18
18
  import"./cli-9kfxkxmk.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildSourceSnapshot
3
- } from "./cli-117eqfj5.js";
3
+ } from "./cli-je1hfmvv.js";
4
4
  import"./cli-jkv3y2bj.js";
5
5
  import"./cli-97fnztpy.js";
6
6
  import"./cli-krm4w2v9.js";
7
7
  import"./cli-mnhevv08.js";
8
- import"./cli-5vv062qj.js";
8
+ import"./cli-g2yt5hqj.js";
9
9
  import"./cli-e0kbye4s.js";
10
- import"./cli-6m24mgfn.js";
10
+ import"./cli-ezcpsapd.js";
11
11
  import {
12
12
  recordApiRequest
13
13
  } from "./cli-bd38by3f.js";
@@ -47,16 +47,16 @@ import {
47
47
  writeHarnessAnalyzeResult,
48
48
  writeHarnessArtifacts,
49
49
  writeHumanProgress
50
- } from "./cli-117eqfj5.js";
50
+ } from "./cli-je1hfmvv.js";
51
51
  import"./cli-jkv3y2bj.js";
52
52
  import"./cli-97fnztpy.js";
53
53
  import {
54
54
  HARNESS_ANALYZE_CONCERNS
55
55
  } from "./cli-krm4w2v9.js";
56
56
  import"./cli-mnhevv08.js";
57
- import"./cli-5vv062qj.js";
57
+ import"./cli-g2yt5hqj.js";
58
58
  import"./cli-e0kbye4s.js";
59
- import"./cli-6m24mgfn.js";
59
+ import"./cli-ezcpsapd.js";
60
60
  import"./cli-bd38by3f.js";
61
61
  import"./cli-k4tqwah4.js";
62
62
  import"./cli-r0pkdy83.js";
@@ -20,14 +20,14 @@ import {
20
20
  serializeExtractResult,
21
21
  toolNamesOf,
22
22
  valueChildren
23
- } from "./cli-117eqfj5.js";
23
+ } from "./cli-je1hfmvv.js";
24
24
  import"./cli-jkv3y2bj.js";
25
25
  import"./cli-97fnztpy.js";
26
26
  import"./cli-krm4w2v9.js";
27
27
  import"./cli-mnhevv08.js";
28
- import"./cli-5vv062qj.js";
28
+ import"./cli-g2yt5hqj.js";
29
29
  import"./cli-e0kbye4s.js";
30
- import"./cli-6m24mgfn.js";
30
+ import"./cli-ezcpsapd.js";
31
31
  import"./cli-bd38by3f.js";
32
32
  import"./cli-k4tqwah4.js";
33
33
  import"./cli-r0pkdy83.js";
@@ -3,18 +3,18 @@ import {
3
3
  enumerateToolCatalog,
4
4
  enumerateWorkflows,
5
5
  mergeEnumeratedComponents
6
- } from "./cli-8ygykkqh.js";
6
+ } from "./cli-zjcmwdth.js";
7
7
  import {
8
8
  createAgentScopeResolver,
9
9
  enumerateAgents
10
- } from "./cli-117eqfj5.js";
10
+ } from "./cli-je1hfmvv.js";
11
11
  import"./cli-jkv3y2bj.js";
12
12
  import"./cli-97fnztpy.js";
13
13
  import"./cli-krm4w2v9.js";
14
14
  import"./cli-mnhevv08.js";
15
- import"./cli-5vv062qj.js";
15
+ import"./cli-g2yt5hqj.js";
16
16
  import"./cli-e0kbye4s.js";
17
- import"./cli-6m24mgfn.js";
17
+ import"./cli-ezcpsapd.js";
18
18
  import"./cli-bd38by3f.js";
19
19
  import"./cli-k4tqwah4.js";
20
20
  import"./cli-r0pkdy83.js";
@@ -4,7 +4,7 @@ import {
4
4
  import"./cli-d7039574.js";
5
5
  import {
6
6
  buildDoctorReport
7
- } from "./cli-fv22sck1.js";
7
+ } from "./cli-kjvyvq4a.js";
8
8
  import {
9
9
  ConnectCodeError,
10
10
  connectWithCode,
@@ -12,7 +12,7 @@ import {
12
12
  loadToken,
13
13
  login
14
14
  } from "./cli-4fv2pthb.js";
15
- import"./cli-fc1rx0gw.js";
15
+ import"./cli-bh28xd19.js";
16
16
  import {
17
17
  bundledSkillsDir,
18
18
  installIntegrationSkill,
@@ -35,7 +35,7 @@ import {
35
35
  describeCodingAgentEvent,
36
36
  detectAvailableCodingAgents,
37
37
  runCodingAgent
38
- } from "./cli-117eqfj5.js";
38
+ } from "./cli-je1hfmvv.js";
39
39
  import {
40
40
  canonicalText,
41
41
  renderInitBanner,
@@ -51,9 +51,9 @@ import"./cli-krm4w2v9.js";
51
51
  import {
52
52
  createCommandContext
53
53
  } from "./cli-mnhevv08.js";
54
- import"./cli-5vv062qj.js";
54
+ import"./cli-g2yt5hqj.js";
55
55
  import"./cli-e0kbye4s.js";
56
- import"./cli-6m24mgfn.js";
56
+ import"./cli-ezcpsapd.js";
57
57
  import {
58
58
  recordApiRequest,
59
59
  resolveIngestUrl,
@@ -10,7 +10,7 @@ import {
10
10
  overviewTrendsQuery,
11
11
  renderTrendsHuman,
12
12
  trendsSummaryText
13
- } from "./cli-7w81zgtm.js";
13
+ } from "./cli-e9fbqcmw.js";
14
14
  import {
15
15
  renderMarkdownForTerminal,
16
16
  shouldColorTerminalOutput,
@@ -21,7 +21,7 @@ import"./cli-e0kbye4s.js";
21
21
  import {
22
22
  callControlAPI,
23
23
  callDataAPI
24
- } from "./cli-6m24mgfn.js";
24
+ } from "./cli-ezcpsapd.js";
25
25
  import {
26
26
  EXIT_DEGRADED,
27
27
  EXIT_OK,
@@ -13,7 +13,7 @@ import {
13
13
  } from "./cli-4fv2pthb.js";
14
14
  import {
15
15
  ApiError
16
- } from "./cli-6m24mgfn.js";
16
+ } from "./cli-ezcpsapd.js";
17
17
  import {
18
18
  DEFAULT_INGEST_URL,
19
19
  EXIT_AUTH_REQUIRED,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  inventoryFiles,
3
3
  safePromptEvidencePath
4
- } from "./cli-117eqfj5.js";
4
+ } from "./cli-je1hfmvv.js";
5
5
  import"./cli-jkv3y2bj.js";
6
6
  import"./cli-97fnztpy.js";
7
7
  import"./cli-krm4w2v9.js";
8
8
  import"./cli-mnhevv08.js";
9
- import"./cli-5vv062qj.js";
9
+ import"./cli-g2yt5hqj.js";
10
10
  import"./cli-e0kbye4s.js";
11
- import"./cli-6m24mgfn.js";
11
+ import"./cli-ezcpsapd.js";
12
12
  import"./cli-bd38by3f.js";
13
13
  import"./cli-k4tqwah4.js";
14
14
  import {
@@ -3,14 +3,14 @@ import {
3
3
  checkPromptMapping,
4
4
  discoverHarnessPromptSources,
5
5
  safePromptEvidencePath
6
- } from "./cli-117eqfj5.js";
6
+ } from "./cli-je1hfmvv.js";
7
7
  import"./cli-jkv3y2bj.js";
8
8
  import"./cli-97fnztpy.js";
9
9
  import"./cli-krm4w2v9.js";
10
10
  import"./cli-mnhevv08.js";
11
- import"./cli-5vv062qj.js";
11
+ import"./cli-g2yt5hqj.js";
12
12
  import"./cli-e0kbye4s.js";
13
- import"./cli-6m24mgfn.js";
13
+ import"./cli-ezcpsapd.js";
14
14
  import"./cli-bd38by3f.js";
15
15
  import"./cli-k4tqwah4.js";
16
16
  import {
@@ -9,15 +9,15 @@ import {
9
9
  runPromptSync,
10
10
  runPromptsCommand,
11
11
  writePromptSyncProgress
12
- } from "./cli-fc1rx0gw.js";
12
+ } from "./cli-bh28xd19.js";
13
13
  import {
14
14
  promptSourceHashPayload
15
15
  } from "./cli-mm48br00.js";
16
16
  import"./cli-764m5azg.js";
17
17
  import"./cli-mnhevv08.js";
18
- import"./cli-5vv062qj.js";
18
+ import"./cli-g2yt5hqj.js";
19
19
  import"./cli-e0kbye4s.js";
20
- import"./cli-6m24mgfn.js";
20
+ import"./cli-ezcpsapd.js";
21
21
  import"./cli-bd38by3f.js";
22
22
  import"./cli-k4tqwah4.js";
23
23
  import"./cli-9kfxkxmk.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  assertFlags
3
- } from "./cli-5vv062qj.js";
3
+ } from "./cli-g2yt5hqj.js";
4
4
  import {
5
5
  callControlAPI
6
- } from "./cli-6m24mgfn.js";
6
+ } from "./cli-ezcpsapd.js";
7
7
  import {
8
8
  explicitOutputMode,
9
9
  resolveApiKey
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  runSkillSync,
3
3
  runSkillsCommand
4
- } from "./cli-f3jwv55s.js";
4
+ } from "./cli-bevt4ysp.js";
5
5
  import"./cli-2fv0q9tx.js";
6
6
  import"./cli-mnhevv08.js";
7
- import"./cli-5vv062qj.js";
7
+ import"./cli-g2yt5hqj.js";
8
8
  import"./cli-e0kbye4s.js";
9
- import"./cli-6m24mgfn.js";
9
+ import"./cli-ezcpsapd.js";
10
10
  import"./cli-bd38by3f.js";
11
11
  import"./cli-k4tqwah4.js";
12
12
  import"./cli-0semcakc.js";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  runSkillsCommand
3
- } from "./cli-f3jwv55s.js";
3
+ } from "./cli-bevt4ysp.js";
4
4
  import {
5
5
  runPromptsCommand
6
- } from "./cli-fc1rx0gw.js";
6
+ } from "./cli-bh28xd19.js";
7
7
  import"./cli-2fv0q9tx.js";
8
8
  import"./cli-mm48br00.js";
9
9
  import"./cli-764m5azg.js";
10
10
  import {
11
11
  runHarnessCommand
12
- } from "./cli-117eqfj5.js";
12
+ } from "./cli-je1hfmvv.js";
13
13
  import"./cli-jkv3y2bj.js";
14
14
  import"./cli-97fnztpy.js";
15
15
  import"./cli-krm4w2v9.js";
16
16
  import"./cli-mnhevv08.js";
17
- import"./cli-5vv062qj.js";
17
+ import"./cli-g2yt5hqj.js";
18
18
  import"./cli-e0kbye4s.js";
19
- import"./cli-6m24mgfn.js";
19
+ import"./cli-ezcpsapd.js";
20
20
  import"./cli-bd38by3f.js";
21
21
  import {
22
22
  CliInputError
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moda-ai/cli",
3
- "version": "1.55.141",
3
+ "version": "1.55.143",
4
4
  "description": "CLI for Moda: production monitoring and evals for AI agents.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": "moda.skill_index.v1",
3
- "bundled_at": "2026-11-10T01:41:27.475Z",
4
- "cli_version": "1.55.141",
3
+ "bundled_at": "2026-11-10T20:26:45.069Z",
4
+ "cli_version": "1.55.143",
5
5
  "skills": [
6
6
  {
7
7
  "id": "integration-cloudflare-think",