@moda-ai/cli 1.55.66 → 1.55.67

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.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  buildDoctorReport
3
- } from "./cli-bw10eqsm.js";
3
+ } from "./cli-ff4675az.js";
4
4
  import"./cli-27kkk5z4.js";
5
- import"./cli-my8zmezy.js";
5
+ import"./cli-nhnr529r.js";
6
6
  import"./cli-mm48br00.js";
7
7
  import {
8
8
  readHarnessSyncState
@@ -14,7 +14,7 @@ import {
14
14
  hashStableJson,
15
15
  readHarnessReport,
16
16
  validateHarnessReport
17
- } from "./cli-1fcx3eyn.js";
17
+ } from "./cli-z0v1j51p.js";
18
18
  import"./cli-m702wdtv.js";
19
19
  import"./cli-e0kbye4s.js";
20
20
  import"./cli-wcax07xh.js";
@@ -30,7 +30,7 @@ import {
30
30
  } from "./cli-k4tqwah4.js";
31
31
  import"./cli-9kfxkxmk.js";
32
32
  import"./cli-9a4b1wxz.js";
33
- import"./cli-mfvwvh84.js";
33
+ import"./cli-ysh0mdwp.js";
34
34
  import {
35
35
  __require
36
36
  } from "./cli-0v6na3yp.js";
@@ -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-h6zwk7g8.js") : undefined;
99
+ const harness = graph ? await import("./harness-cp1j845n.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),
@@ -29,7 +29,7 @@ import {
29
29
  stampRemoteSnapshotTruncation,
30
30
  validateHarnessReport,
31
31
  writeHarnessReportArtifacts
32
- } from "./cli-1fcx3eyn.js";
32
+ } from "./cli-z0v1j51p.js";
33
33
  import {
34
34
  createCommandContext,
35
35
  stringOption
@@ -97,11 +97,11 @@ import {
97
97
  } from "./cli-9a4b1wxz.js";
98
98
  import {
99
99
  extractHarnessWithContext
100
- } from "./cli-28mf9mhw.js";
100
+ } from "./cli-p2s3nwc6.js";
101
101
  import {
102
102
  mergeBoundRuntimeClasses,
103
103
  tagComponentStatus
104
- } from "./cli-mfvwvh84.js";
104
+ } from "./cli-ysh0mdwp.js";
105
105
  import {
106
106
  require_typescript
107
107
  } from "./cli-gmvbapx7.js";
@@ -16891,7 +16891,7 @@ async function runHarnessCommand(context) {
16891
16891
  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.");
16892
16892
  }
16893
16893
  if (context.flags["github-actions"] === "true") {
16894
- const { runGithubActionsAnalyze } = await import("./harness-github-actions-cceykdhf.js");
16894
+ const { runGithubActionsAnalyze } = await import("./harness-github-actions-3tkqqmn3.js");
16895
16895
  const result = await runGithubActionsAnalyze(rootDir, {
16896
16896
  writeReport: (report2) => {
16897
16897
  const normalized = normalizeHarnessReport(report2);
@@ -17064,7 +17064,7 @@ async function runHarnessCommand(context) {
17064
17064
  }
17065
17065
  case "extract": {
17066
17066
  writeHumanProgress(context, "Harness extract: tracing model call sites (no LLM, no network)...");
17067
- const { extractHarness, serializeExtractResult } = await import("./index-5y8h731g.js");
17067
+ const { extractHarness, serializeExtractResult } = await import("./index-a3k99ct8.js");
17068
17068
  const result = extractHarness(rootDir, { fresh: true });
17069
17069
  writeHumanProgress(context, `Harness extract: ${result.callSites.length} call sites, ${result.roles.length} traced roles across ${result.files} files (${result.programs} programs, ${result.durationMs.toLocaleString()} ms).`);
17070
17070
  context.output.writeData(serializeExtractResult(result), {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./cli-27kkk5z4.js";
5
5
  import {
6
6
  inspectPromptManifest
7
- } from "./cli-my8zmezy.js";
7
+ } from "./cli-nhnr529r.js";
8
8
  import {
9
9
  readHarnessSyncState,
10
10
  renderDoctorHuman,
@@ -395,7 +395,7 @@ async function harnessCurrentCheck(cwd, manifestPath, manifestExists, tenantId)
395
395
  };
396
396
  }
397
397
  try {
398
- const { scanHarness } = await import("./harness-h6zwk7g8.js");
398
+ const { scanHarness } = await import("./harness-cp1j845n.js");
399
399
  const current = scanHarness({
400
400
  rootDir: cwd,
401
401
  scannerVersion: "doctor",
@@ -5768,7 +5768,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
5768
5768
  const analyzedDefinitions = new Map;
5769
5769
  if (flags["no-analyze"] !== "true") {
5770
5770
  options.onProgress?.("Analyzing prompt sources before sync.");
5771
- const { analyzeHarnessPrompts } = await import("./harness-h6zwk7g8.js");
5771
+ const { analyzeHarnessPrompts } = await import("./harness-cp1j845n.js");
5772
5772
  const result = await analyzeHarnessPrompts({
5773
5773
  rootDir: process.cwd(),
5774
5774
  existing: established.flatMap((prompt) => prompt.sourceDefinition ? [prompt.sourceDefinition.source] : []),
@@ -5796,7 +5796,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
5796
5796
  const mergedSources = mergePromptSources(manifest.sources, extraSources);
5797
5797
  const manifestUpdate = stableJson(mergedSources) === stableJson(mergePromptSources(manifest.sources, [])) ? undefined : $stringify({ version: 2, prompt_paths: manifest.promptPaths, sources: mergedSources });
5798
5798
  const prompts = await discoverPrompts(extraSources);
5799
- const { checkPromptAttribution } = await import("./prompt-attribution-fhe22taz.js");
5799
+ const { checkPromptAttribution } = await import("./prompt-attribution-68r2331s.js");
5800
5800
  const attribution = checkPromptAttribution(process.cwd(), prompts.map((prompt) => prompt.key));
5801
5801
  const brokenAttribution = attribution.references.filter((reference) => reference.status === "missing");
5802
5802
  if (brokenAttribution.length) {
@@ -6102,7 +6102,7 @@ async function migratePromptManifest(options = {}) {
6102
6102
  let addedSources = [];
6103
6103
  let pendingSources = [];
6104
6104
  if (options.discover) {
6105
- const { analyzeHarnessPrompts } = await import("./harness-h6zwk7g8.js");
6105
+ const { analyzeHarnessPrompts } = await import("./harness-cp1j845n.js");
6106
6106
  const result = await analyzeHarnessPrompts({
6107
6107
  rootDir: root,
6108
6108
  existing: manifest.sources,
@@ -6303,7 +6303,7 @@ async function readHarnessSources(reportPath) {
6303
6303
  if (!graph) {
6304
6304
  throw new CliInputError(`${selected} is not a harness report with a graph (schema: ${schemaLabel}). Regenerate it with \`${HARNESS_REANALYZE_COMMAND}\`.`);
6305
6305
  }
6306
- const { normalizeHarnessReport } = await import("./harness-report-wbrrfzny.js");
6306
+ const { normalizeHarnessReport } = await import("./harness-report-d28wg4w5.js");
6307
6307
  const { backfillPromptSource, resolvePromptSource } = await loadPromptSources();
6308
6308
  const report = normalizeHarnessReport(raw);
6309
6309
  const artifacts = (report.graph.artifacts ?? []).filter((artifact) => artifact.type === "prompt");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildImportGraphReachability
3
- } from "./cli-mfvwvh84.js";
3
+ } from "./cli-ysh0mdwp.js";
4
4
  import {
5
5
  require_typescript
6
6
  } from "./cli-gmvbapx7.js";
@@ -1141,6 +1141,9 @@ function itemStatus(analysis, rootDir, item) {
1141
1141
  return "reachable";
1142
1142
  return CODE_FILE.test(file) && !TEST_RUNNER_FILE.test(file) ? "defined_only" : undefined;
1143
1143
  }
1144
+ function staticStatus(status) {
1145
+ return status === "in_prod" ? "reachable" : status;
1146
+ }
1144
1147
  function tagComponentStatus(graph, rootDir) {
1145
1148
  if (process.env.MODA_HARNESS_DETERMINISTIC_MERGE === "0")
1146
1149
  return { tagged: 0, counts: {} };
@@ -1158,11 +1161,13 @@ function tagComponentStatus(graph, rootDir) {
1158
1161
  if (item.status === undefined || !HARNESS_COMPONENT_STATUSES.has(item.status)) {
1159
1162
  const status = itemStatus(analysis, rootDir, item);
1160
1163
  if (status) {
1161
- item.status = status;
1164
+ item.status = staticStatus(status);
1162
1165
  tagged += 1;
1163
1166
  } else {
1164
1167
  delete item.status;
1165
1168
  }
1169
+ } else {
1170
+ item.status = staticStatus(item.status);
1166
1171
  }
1167
1172
  counts[item.status ?? "unknown"] += 1;
1168
1173
  }
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  HARNESS_COMPONENT_STATUSES,
6
6
  normalizeComponentStatus
7
- } from "./cli-mfvwvh84.js";
7
+ } from "./cli-ysh0mdwp.js";
8
8
  import {
9
9
  __require
10
10
  } from "./cli-0v6na3yp.js";
package/dist/cli.js CHANGED
@@ -2975,25 +2975,25 @@ function leafManifestFields(leaf, commands) {
2975
2975
  import { fileURLToPath } from "url";
2976
2976
  import { realpathSync } from "fs";
2977
2977
  async function runPromptsCommand(...args) {
2978
- return (await import("./prompts-jgjfz7az.js")).runPromptsCommand(...args);
2978
+ return (await import("./prompts-12f51m9n.js")).runPromptsCommand(...args);
2979
2979
  }
2980
2980
  async function runSkillsCommand(...args) {
2981
2981
  return (await import("./skills-c25dmy28.js")).runSkillsCommand(...args);
2982
2982
  }
2983
2983
  async function runHarnessCommand(...args) {
2984
- return (await import("./harness-h6zwk7g8.js")).runHarnessCommand(...args);
2984
+ return (await import("./harness-cp1j845n.js")).runHarnessCommand(...args);
2985
2985
  }
2986
2986
  async function runSyncCommand(...args) {
2987
- return (await import("./sync-wnf62ny6.js")).runSyncCommand(...args);
2987
+ return (await import("./sync-vq1cb51s.js")).runSyncCommand(...args);
2988
2988
  }
2989
2989
  async function runRegistryCommand(...args) {
2990
2990
  return (await import("./registry-ztn727mn.js")).runRegistryCommand(...args);
2991
2991
  }
2992
2992
  async function runDoctorCommand(...args) {
2993
- return (await import("./doctor-9meb05d8.js")).runDoctorCommand(...args);
2993
+ return (await import("./doctor-seknfzwz.js")).runDoctorCommand(...args);
2994
2994
  }
2995
2995
  async function runStatusCommand(...args) {
2996
- return (await import("./doctor-9meb05d8.js")).runStatusCommand(...args);
2996
+ return (await import("./doctor-seknfzwz.js")).runStatusCommand(...args);
2997
2997
  }
2998
2998
  async function runAuthCommand(...args) {
2999
2999
  return (await import("./profile-commands-fa2858ez.js")).runAuthCommand(...args);
@@ -3005,7 +3005,7 @@ async function runProfilesCommand(...args) {
3005
3005
  return (await import("./profile-commands-fa2858ez.js")).runProfilesCommand(...args);
3006
3006
  }
3007
3007
  async function runAgentCommand(...args) {
3008
- return (await import("./agent-ybekhjk0.js")).runAgentCommand(...args);
3008
+ return (await import("./agent-gg0jgjcw.js")).runAgentCommand(...args);
3009
3009
  }
3010
3010
  async function runProductionCommand(...args) {
3011
3011
  return (await import("./production-intelligence-40teyxyv.js")).runProductionCommand(...args);
@@ -6769,7 +6769,7 @@ var commandRegistry = createCommandRegistry([
6769
6769
  resetApiRequestCountBeforeRun: true,
6770
6770
  telemetry: "result-and-error",
6771
6771
  handler: async (context) => {
6772
- const { runInit } = await import("./index-0pca9xsq.js");
6772
+ const { runInit } = await import("./index-ttxbqyr2.js");
6773
6773
  if (context.outputMode === "agent-stream") {
6774
6774
  context.output.writeEvent({
6775
6775
  event: "started",
@@ -3,9 +3,9 @@ import {
3
3
  promptsDiscoveredCheck,
4
4
  runDoctorCommand,
5
5
  runStatusCommand
6
- } from "./cli-bw10eqsm.js";
6
+ } from "./cli-ff4675az.js";
7
7
  import"./cli-27kkk5z4.js";
8
- import"./cli-my8zmezy.js";
8
+ import"./cli-nhnr529r.js";
9
9
  import"./cli-mm48br00.js";
10
10
  import"./cli-k0vxtzxb.js";
11
11
  import"./cli-m702wdtv.js";
@@ -45,12 +45,12 @@ import {
45
45
  writeHarnessAnalyzeResult,
46
46
  writeHarnessArtifacts,
47
47
  writeHumanProgress
48
- } from "./cli-17v88cy7.js";
48
+ } from "./cli-8ac7g36q.js";
49
49
  import"./cli-k0vxtzxb.js";
50
50
  import"./cli-97fnztpy.js";
51
51
  import {
52
52
  HARNESS_ANALYZE_CONCERNS
53
- } from "./cli-1fcx3eyn.js";
53
+ } from "./cli-z0v1j51p.js";
54
54
  import"./cli-m702wdtv.js";
55
55
  import"./cli-e0kbye4s.js";
56
56
  import"./cli-wcax07xh.js";
@@ -60,8 +60,8 @@ import"./cli-k4tqwah4.js";
60
60
  import"./cli-fsgh8mq5.js";
61
61
  import"./cli-9kfxkxmk.js";
62
62
  import"./cli-9a4b1wxz.js";
63
- import"./cli-28mf9mhw.js";
64
- import"./cli-mfvwvh84.js";
63
+ import"./cli-p2s3nwc6.js";
64
+ import"./cli-ysh0mdwp.js";
65
65
  import"./cli-gmvbapx7.js";
66
66
  import"./cli-0v6na3yp.js";
67
67
  export {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  buildSourceSnapshot
3
- } from "./cli-17v88cy7.js";
3
+ } from "./cli-8ac7g36q.js";
4
4
  import"./cli-k0vxtzxb.js";
5
5
  import"./cli-97fnztpy.js";
6
- import"./cli-1fcx3eyn.js";
6
+ import"./cli-z0v1j51p.js";
7
7
  import"./cli-m702wdtv.js";
8
8
  import"./cli-e0kbye4s.js";
9
9
  import"./cli-wcax07xh.js";
@@ -15,8 +15,8 @@ import"./cli-k4tqwah4.js";
15
15
  import"./cli-fsgh8mq5.js";
16
16
  import"./cli-9kfxkxmk.js";
17
17
  import"./cli-9a4b1wxz.js";
18
- import"./cli-28mf9mhw.js";
19
- import"./cli-mfvwvh84.js";
18
+ import"./cli-p2s3nwc6.js";
19
+ import"./cli-ysh0mdwp.js";
20
20
  import"./cli-gmvbapx7.js";
21
21
  import"./cli-0v6na3yp.js";
22
22
 
@@ -24,9 +24,9 @@ import {
24
24
  stampRemoteSnapshotTruncation,
25
25
  validateHarnessReport,
26
26
  writeHarnessReportArtifacts
27
- } from "./cli-1fcx3eyn.js";
27
+ } from "./cli-z0v1j51p.js";
28
28
  import"./cli-k4tqwah4.js";
29
- import"./cli-mfvwvh84.js";
29
+ import"./cli-ysh0mdwp.js";
30
30
  import"./cli-0v6na3yp.js";
31
31
  export {
32
32
  writeHarnessReportArtifacts,
@@ -15,8 +15,8 @@ import {
15
15
  serializeExtractResult,
16
16
  toolNamesOf,
17
17
  valueChildren
18
- } from "./cli-28mf9mhw.js";
19
- import"./cli-mfvwvh84.js";
18
+ } from "./cli-p2s3nwc6.js";
19
+ import"./cli-ysh0mdwp.js";
20
20
  import"./cli-gmvbapx7.js";
21
21
  import"./cli-0v6na3yp.js";
22
22
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildDoctorReport
3
- } from "./cli-bw10eqsm.js";
3
+ } from "./cli-ff4675az.js";
4
4
  import {
5
5
  selectTenantAndCreateKey
6
6
  } from "./cli-rdwy3y4f.js";
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  initPrompts,
22
22
  runPromptSync
23
- } from "./cli-my8zmezy.js";
23
+ } from "./cli-nhnr529r.js";
24
24
  import {
25
25
  agentsMdProblem,
26
26
  runSkillSync
@@ -46,7 +46,7 @@ import {
46
46
  runCodingAgent,
47
47
  runHarnessCommand,
48
48
  startRemoteAnalyze
49
- } from "./cli-17v88cy7.js";
49
+ } from "./cli-8ac7g36q.js";
50
50
  import {
51
51
  canonicalText,
52
52
  renderInitBanner,
@@ -58,7 +58,7 @@ import {
58
58
  import {
59
59
  stripAnsi
60
60
  } from "./cli-97fnztpy.js";
61
- import"./cli-1fcx3eyn.js";
61
+ import"./cli-z0v1j51p.js";
62
62
  import {
63
63
  createCommandContext
64
64
  } from "./cli-m702wdtv.js";
@@ -79,8 +79,8 @@ import {
79
79
  import"./cli-fsgh8mq5.js";
80
80
  import"./cli-9kfxkxmk.js";
81
81
  import"./cli-9a4b1wxz.js";
82
- import"./cli-28mf9mhw.js";
83
- import"./cli-mfvwvh84.js";
82
+ import"./cli-p2s3nwc6.js";
83
+ import"./cli-ysh0mdwp.js";
84
84
  import"./cli-gmvbapx7.js";
85
85
  import"./cli-0v6na3yp.js";
86
86
 
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  inventoryFiles,
3
3
  safePromptEvidencePath
4
- } from "./cli-17v88cy7.js";
4
+ } from "./cli-8ac7g36q.js";
5
5
  import"./cli-k0vxtzxb.js";
6
6
  import"./cli-97fnztpy.js";
7
- import"./cli-1fcx3eyn.js";
7
+ import"./cli-z0v1j51p.js";
8
8
  import"./cli-m702wdtv.js";
9
9
  import"./cli-e0kbye4s.js";
10
10
  import"./cli-wcax07xh.js";
@@ -14,8 +14,8 @@ import"./cli-k4tqwah4.js";
14
14
  import"./cli-fsgh8mq5.js";
15
15
  import"./cli-9kfxkxmk.js";
16
16
  import"./cli-9a4b1wxz.js";
17
- import"./cli-28mf9mhw.js";
18
- import"./cli-mfvwvh84.js";
17
+ import"./cli-p2s3nwc6.js";
18
+ import"./cli-ysh0mdwp.js";
19
19
  import {
20
20
  require_typescript
21
21
  } from "./cli-gmvbapx7.js";
@@ -3,10 +3,10 @@ import {
3
3
  checkPromptMapping,
4
4
  discoverHarnessPromptSources,
5
5
  safePromptEvidencePath
6
- } from "./cli-17v88cy7.js";
6
+ } from "./cli-8ac7g36q.js";
7
7
  import"./cli-k0vxtzxb.js";
8
8
  import"./cli-97fnztpy.js";
9
- import"./cli-1fcx3eyn.js";
9
+ import"./cli-z0v1j51p.js";
10
10
  import"./cli-m702wdtv.js";
11
11
  import"./cli-e0kbye4s.js";
12
12
  import"./cli-wcax07xh.js";
@@ -19,8 +19,8 @@ import {
19
19
  } from "./cli-fsgh8mq5.js";
20
20
  import"./cli-9kfxkxmk.js";
21
21
  import"./cli-9a4b1wxz.js";
22
- import"./cli-28mf9mhw.js";
23
- import"./cli-mfvwvh84.js";
22
+ import"./cli-p2s3nwc6.js";
23
+ import"./cli-ysh0mdwp.js";
24
24
  import"./cli-gmvbapx7.js";
25
25
  import {
26
26
  __commonJS,
@@ -9,7 +9,7 @@ import {
9
9
  runPromptSync,
10
10
  runPromptsCommand,
11
11
  writePromptSyncProgress
12
- } from "./cli-my8zmezy.js";
12
+ } from "./cli-nhnr529r.js";
13
13
  import {
14
14
  promptSourceHashPayload
15
15
  } from "./cli-mm48br00.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runPromptsCommand
3
- } from "./cli-my8zmezy.js";
3
+ } from "./cli-nhnr529r.js";
4
4
  import {
5
5
  runSkillsCommand
6
6
  } from "./cli-p2tfx93b.js";
@@ -10,10 +10,10 @@ import"./cli-hcwdz9sd.js";
10
10
  import"./cli-mm48br00.js";
11
11
  import {
12
12
  runHarnessCommand
13
- } from "./cli-17v88cy7.js";
13
+ } from "./cli-8ac7g36q.js";
14
14
  import"./cli-k0vxtzxb.js";
15
15
  import"./cli-97fnztpy.js";
16
- import"./cli-1fcx3eyn.js";
16
+ import"./cli-z0v1j51p.js";
17
17
  import"./cli-m702wdtv.js";
18
18
  import"./cli-e0kbye4s.js";
19
19
  import"./cli-wcax07xh.js";
@@ -25,8 +25,8 @@ import {
25
25
  import"./cli-fsgh8mq5.js";
26
26
  import"./cli-9kfxkxmk.js";
27
27
  import"./cli-9a4b1wxz.js";
28
- import"./cli-28mf9mhw.js";
29
- import"./cli-mfvwvh84.js";
28
+ import"./cli-p2s3nwc6.js";
29
+ import"./cli-ysh0mdwp.js";
30
30
  import"./cli-gmvbapx7.js";
31
31
  import"./cli-0v6na3yp.js";
32
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moda-ai/cli",
3
- "version": "1.55.66",
3
+ "version": "1.55.67",
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-10-21T06:09:18.486Z",
4
- "cli_version": "1.55.66",
3
+ "bundled_at": "2026-10-21T06:14:31.391Z",
4
+ "cli_version": "1.55.67",
5
5
  "skills": [
6
6
  {
7
7
  "id": "integration-cloudflare-think",