@moda-ai/cli 1.55.64 → 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.
- package/dist/{agent-hn9z5mtw.js → agent-ybekhjk0.js} +3 -3
- package/dist/{cli-rec661n7.js → cli-17v88cy7.js} +9 -5
- package/dist/{cli-vqhaj5tv.js → cli-28mf9mhw.js} +632 -102
- package/dist/{cli-7rq27nht.js → cli-bw10eqsm.js} +2 -2
- package/dist/{cli-7mdzvenp.js → cli-my8zmezy.js} +3 -3
- package/dist/cli.js +8 -8
- package/dist/{doctor-6bccjmx8.js → doctor-9meb05d8.js} +2 -2
- package/dist/{harness-github-actions-vt8tt6n9.js → harness-github-actions-cceykdhf.js} +2 -2
- package/dist/{harness-462pdr5e.js → harness-h6zwk7g8.js} +2 -2
- package/dist/{index-1cjavfpa.js → index-0pca9xsq.js} +4 -4
- package/dist/{index-xkgawks9.js → index-5y8h731g.js} +1 -1
- package/dist/{prompt-attribution-nha0sccy.js → prompt-attribution-fhe22taz.js} +2 -2
- package/dist/prompt-source-mcp.js +2 -2
- package/dist/{prompts-nhsbq9me.js → prompts-jgjfz7az.js} +1 -1
- package/dist/{sync-tvf4cggm.js → sync-wnf62ny6.js} +3 -3
- package/package.json +1 -1
- package/skills/integration/index.json +2 -2
- package/skills/moda-cli/references/output-protocol.md +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildDoctorReport
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-bw10eqsm.js";
|
|
4
4
|
import"./cli-27kkk5z4.js";
|
|
5
|
-
import"./cli-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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);
|