@moda-ai/cli 1.55.27 → 1.55.29
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/{agent-vp9prdma.js → agent-0w9rtdsw.js} +22 -16
- package/dist/cli-3n0gz4d0.js +17971 -0
- package/dist/{cli-q9nsvqqg.js → cli-3retgh64.js} +85 -1165
- package/dist/{cli-ccjfwzqx.js → cli-97jew729.js} +1 -1
- package/dist/{cli-r5pp7qny.js → cli-99p2jh28.js} +42 -456
- package/dist/{cli-0pkc8jhg.js → cli-9bgk5jeh.js} +8 -6
- package/dist/{cli-hmjdgxrn.js → cli-9bgnvth2.js} +5 -3
- package/dist/cli-9kfxkxmk.js +6994 -0
- package/dist/cli-cesds766.js +1516 -0
- package/dist/{cli-v8q7sd7g.js → cli-dr6x0zv7.js} +1 -1
- package/dist/{cli-pg5qfmqc.js → cli-e23g9ywa.js} +1 -1
- package/dist/{cli-vdkwkkp5.js → cli-fwpqghgc.js} +4 -2
- package/dist/cli-k4tqwah4.js +89 -0
- package/dist/{cli-6et4z504.js → cli-mg5zv4s6.js} +15 -13
- package/dist/{cli-wzds257x.js → cli-n2hng3gv.js} +6 -4
- package/dist/cli-ns5fcnkz.js +341 -0
- package/dist/{cli-4h0ave0f.js → cli-ny48a8de.js} +12 -9
- package/dist/{cli-qwgct6x7.js → cli-qpq84eee.js} +5220 -32716
- package/dist/cli-xq45etg1.js +1098 -0
- package/dist/cli-yf39avhh.js +754 -0
- package/dist/cli-yz8xcpyk.js +12 -0
- package/dist/cli.js +435 -192
- package/dist/doctor-k3ta6h2y.js +24 -0
- package/dist/{fix-75s9s0d6.js → fix-w5z02wt4.js} +8 -9
- package/dist/{harness-a7tb9a23.js → harness-7azmzytc.js} +15 -7
- package/dist/{harness-github-actions-6v4wydb8.js → harness-github-actions-bv2qrnqb.js} +11 -5
- package/dist/harness-report-rd9c4e9v.js +54 -0
- package/dist/{index-91bpc8g8.js → index-d1z50dsq.js} +41 -33
- package/dist/{production-intelligence-7nqddd4f.js → production-intelligence-wvsgjxth.js} +9 -6
- package/dist/{profile-commands-49yn02yg.js → profile-commands-h8evz9x0.js} +7 -4
- package/dist/prompt-attribution-1nytc9wj.js +148 -0
- package/dist/prompt-source-mcp.js +14 -7
- package/dist/prompt-sources-07tczyqa.js +19 -0
- package/dist/{prompts-17wyrst6.js → prompts-6y9wfq5z.js} +8 -7
- package/dist/prompts-ab-ezrd63sk.js +70 -0
- package/dist/prompts-propose-2k3enm2q.js +255 -0
- package/dist/{provision-bc3h68e1.js → provision-y5bdbh4y.js} +9 -6
- package/dist/{registry-fpzhjznj.js → registry-96aze5wp.js} +7 -4
- package/dist/{skills-ccdbqghj.js → skills-j8865009.js} +7 -5
- package/dist/{sync-hkxce5zh.js → sync-ew7yvy0e.js} +16 -10
- package/package.json +1 -1
- package/skills/integration/index.json +2 -2
- package/dist/doctor-wmre3mr7.js +0 -22
|
@@ -1,32 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildDoctorReport
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
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-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-pg5qfmqc.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-
|
|
29
|
-
import
|
|
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
|
} : {
|