@moda-ai/cli 1.55.26 → 1.55.28

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 (44) hide show
  1. package/dist/{agent-nqmha8ck.js → agent-0w9rtdsw.js} +22 -16
  2. package/dist/cli-3n0gz4d0.js +17971 -0
  3. package/dist/{cli-b4740tnv.js → cli-3retgh64.js} +85 -1165
  4. package/dist/{cli-1mbb0ct0.js → cli-97jew729.js} +1 -1
  5. package/dist/{cli-sqsjd08w.js → cli-99p2jh28.js} +105 -893
  6. package/dist/{cli-k6q8dbpk.js → cli-9bgk5jeh.js} +8 -6
  7. package/dist/{cli-q6f6vrrr.js → cli-9bgnvth2.js} +5 -3
  8. package/dist/cli-9kfxkxmk.js +6994 -0
  9. package/dist/cli-cesds766.js +1516 -0
  10. package/dist/{cli-cdrvjva5.js → cli-dr6x0zv7.js} +28 -6
  11. package/dist/{cli-jtyvbd8d.js → cli-e23g9ywa.js} +1 -1
  12. package/dist/cli-fwpqghgc.js +569 -0
  13. package/dist/cli-k4tqwah4.js +89 -0
  14. package/dist/{cli-8tfk8qeb.js → cli-mg5zv4s6.js} +18 -15
  15. package/dist/{cli-jgfm7w1r.js → cli-n2hng3gv.js} +9 -6
  16. package/dist/cli-ns5fcnkz.js +341 -0
  17. package/dist/{cli-5g1tv80h.js → cli-ny48a8de.js} +12 -9
  18. package/dist/{cli-d577kq6h.js → cli-qpq84eee.js} +5220 -32715
  19. package/dist/cli-xq45etg1.js +1098 -0
  20. package/dist/cli-yf39avhh.js +754 -0
  21. package/dist/cli-yz8xcpyk.js +12 -0
  22. package/dist/cli.js +355 -283
  23. package/dist/doctor-k3ta6h2y.js +24 -0
  24. package/dist/{fix-crkwdkt4.js → fix-w5z02wt4.js} +47 -50
  25. package/dist/{harness-x3e7d68b.js → harness-7azmzytc.js} +15 -7
  26. package/dist/{harness-github-actions-fjhvhgpj.js → harness-github-actions-bv2qrnqb.js} +11 -5
  27. package/dist/harness-report-rd9c4e9v.js +54 -0
  28. package/dist/{index-2kf3fnnb.js → index-d1z50dsq.js} +45 -36
  29. package/dist/{production-intelligence-7n83c701.js → production-intelligence-wvsgjxth.js} +21 -18
  30. package/dist/{profile-commands-ct2t0bfr.js → profile-commands-h8evz9x0.js} +9 -5
  31. package/dist/prompt-attribution-1nytc9wj.js +148 -0
  32. package/dist/prompt-source-mcp.js +14 -7
  33. package/dist/prompt-sources-07tczyqa.js +19 -0
  34. package/dist/{prompts-92aqqb2k.js → prompts-6y9wfq5z.js} +8 -7
  35. package/dist/prompts-ab-ezrd63sk.js +70 -0
  36. package/dist/prompts-propose-2k3enm2q.js +255 -0
  37. package/dist/{provision-gn8raqpt.js → provision-y5bdbh4y.js} +9 -6
  38. package/dist/{registry-ex162j5y.js → registry-96aze5wp.js} +7 -4
  39. package/dist/{skills-2mbsj9bt.js → skills-j8865009.js} +7 -5
  40. package/dist/{sync-kghmmmk5.js → sync-ew7yvy0e.js} +16 -10
  41. package/package.json +1 -1
  42. package/skills/integration/index.json +2 -2
  43. package/dist/cli-bb7133m7.js +0 -144
  44. package/dist/doctor-w913fj4g.js +0 -22
@@ -1,32 +1,37 @@
1
1
  import {
2
2
  buildDoctorReport
3
- } from "./cli-5g1tv80h.js";
4
- import"./cli-q6f6vrrr.js";
5
- import"./cli-b4740tnv.js";
3
+ } from "./cli-ny48a8de.js";
4
+ import"./cli-9bgnvth2.js";
5
+ import"./cli-3retgh64.js";
6
6
  import"./cli-mm48br00.js";
7
+ import {
8
+ readHarnessSyncState
9
+ } from "./cli-xq45etg1.js";
7
10
  import {
8
11
  HARNESS_REPORT_APPROVAL_PATH,
9
12
  HARNESS_REPORT_PATH,
10
- graphForSync,
11
13
  hashHarnessReport,
12
14
  hashStableJson,
13
15
  readHarnessReport,
14
- readHarnessSyncState,
15
- summarizeHarness,
16
16
  validateHarnessReport
17
- } from "./cli-d577kq6h.js";
18
- import"./cli-97fnztpy.js";
19
- import"./cli-cdrvjva5.js";
20
- import"./cli-jgfm7w1r.js";
21
- import"./cli-jtyvbd8d.js";
17
+ } from "./cli-cesds766.js";
18
+ import"./cli-dr6x0zv7.js";
19
+ import"./cli-n2hng3gv.js";
20
+ import"./cli-e23g9ywa.js";
22
21
  import {
23
- CliInputError,
24
22
  resolveApiKey,
25
23
  resolveIngestUrl,
26
24
  resolveModaBaseUrl,
27
25
  resolveTenantId
28
- } from "./cli-sqsjd08w.js";
29
- import"./cli-0v6na3yp.js";
26
+ } from "./cli-99p2jh28.js";
27
+ import {
28
+ CliInputError
29
+ } from "./cli-k4tqwah4.js";
30
+ import"./cli-9kfxkxmk.js";
31
+ import"./cli-ns5fcnkz.js";
32
+ import {
33
+ __require
34
+ } from "./cli-0v6na3yp.js";
30
35
 
31
36
  // src/agent.ts
32
37
  import { existsSync, readFileSync, statSync } from "node:fs";
@@ -89,6 +94,7 @@ async function buildAgentContext(context) {
89
94
  const graph = readHarnessGraphIfPresent(context.cwd);
90
95
  const reportState = readHarnessReportState(context.cwd);
91
96
  const syncState = readHarnessSyncState(context.cwd);
97
+ const harness = graph ? await import("./harness-7azmzytc.js") : undefined;
92
98
  const topFindings = doctor.checks.filter((check) => check.status === "fail" || check.status === "warning").slice(0, 12).map(checkToFinding);
93
99
  const evidenceRefs = [
94
100
  ...doctor.checks.map(checkToEvidenceRef),
@@ -118,7 +124,7 @@ async function buildAgentContext(context) {
118
124
  manifest: {
119
125
  path: HARNESS_PATH,
120
126
  exists: graph !== undefined,
121
- summary: graph ? summarizeHarness(graph) : null
127
+ summary: graph && harness ? harness.summarizeHarness(graph) : null
122
128
  },
123
129
  report: reportState.state,
124
130
  sync: syncState ? {
@@ -126,7 +132,7 @@ async function buildAgentContext(context) {
126
132
  exists: true,
127
133
  source: syncState.source,
128
134
  updatedAt: syncState.updatedAt,
129
- stale: graph ? syncState.localGraphHash !== hashStableJson(graphForSync(graph)) : undefined,
135
+ stale: graph && harness ? syncState.localGraphHash !== hashStableJson(harness.graphForSync(graph)) : undefined,
130
136
  remoteHarnessId: syncState.remote.harnessId,
131
137
  remoteVersionId: syncState.remote.versionId
132
138
  } : {