@moda-ai/cli 1.55.65 → 1.55.66

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-7rq27nht.js";
3
+ } from "./cli-bw10eqsm.js";
4
4
  import"./cli-27kkk5z4.js";
5
- import"./cli-7mdzvenp.js";
5
+ import"./cli-my8zmezy.js";
6
6
  import"./cli-mm48br00.js";
7
7
  import {
8
8
  readHarnessSyncState
@@ -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-462pdr5e.js") : undefined;
99
+ const harness = graph ? await import("./harness-h6zwk7g8.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),
@@ -44,6 +44,7 @@ import {
44
44
  callControlAPI
45
45
  } from "./cli-bpnt0z0y.js";
46
46
  import {
47
+ EXIT_DEGRADED,
47
48
  embeddedTenantIdFromApiKey,
48
49
  getActiveProfile,
49
50
  recordApiRequest,
@@ -96,7 +97,7 @@ import {
96
97
  } from "./cli-9a4b1wxz.js";
97
98
  import {
98
99
  extractHarnessWithContext
99
- } from "./cli-vqhaj5tv.js";
100
+ } from "./cli-28mf9mhw.js";
100
101
  import {
101
102
  mergeBoundRuntimeClasses,
102
103
  tagComponentStatus
@@ -16890,7 +16891,7 @@ async function runHarnessCommand(context) {
16890
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.");
16891
16892
  }
16892
16893
  if (context.flags["github-actions"] === "true") {
16893
- const { runGithubActionsAnalyze } = await import("./harness-github-actions-vt8tt6n9.js");
16894
+ const { runGithubActionsAnalyze } = await import("./harness-github-actions-cceykdhf.js");
16894
16895
  const result = await runGithubActionsAnalyze(rootDir, {
16895
16896
  writeReport: (report2) => {
16896
16897
  const normalized = normalizeHarnessReport(report2);
@@ -17063,11 +17064,14 @@ async function runHarnessCommand(context) {
17063
17064
  }
17064
17065
  case "extract": {
17065
17066
  writeHumanProgress(context, "Harness extract: tracing model call sites (no LLM, no network)...");
17066
- const { extractHarness, serializeExtractResult } = await import("./index-xkgawks9.js");
17067
+ const { extractHarness, serializeExtractResult } = await import("./index-5y8h731g.js");
17067
17068
  const result = extractHarness(rootDir, { fresh: true });
17068
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).`);
17069
- context.output.writeData(serializeExtractResult(result));
17070
- return { exitCode: 0 };
17070
+ context.output.writeData(serializeExtractResult(result), {
17071
+ status: result.warnings.length > 0 ? "degraded" : "success",
17072
+ ...result.warnings.length > 0 ? { warnings: result.warnings } : {}
17073
+ });
17074
+ return { exitCode: result.warnings.length > 0 ? EXIT_DEGRADED : 0 };
17071
17075
  }
17072
17076
  case "agents": {
17073
17077
  const graph = loadOrScanHarness(rootDir, tenant, context);