@moda-ai/cli 1.55.44 → 1.55.45
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.
|
@@ -854,6 +854,11 @@ var MODA_INTELLIGENCE_V1_JSON_SCHEMA = {
|
|
|
854
854
|
}
|
|
855
855
|
},
|
|
856
856
|
warnings: { type: "array", items: { type: "string" } },
|
|
857
|
+
caveats: {
|
|
858
|
+
type: "object",
|
|
859
|
+
required: ["version"],
|
|
860
|
+
properties: { version: { const: "moda.caveats.v1" } }
|
|
861
|
+
},
|
|
857
862
|
meta: { type: "object" }
|
|
858
863
|
}
|
|
859
864
|
};
|
package/dist/cli.js
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
withSummaryCompare,
|
|
27
27
|
withToolFailureAnchors,
|
|
28
28
|
withoutDetectionWindows
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-4m0rgkx4.js";
|
|
30
30
|
import {
|
|
31
31
|
createCommandContext
|
|
32
32
|
} from "./cli-8pcq2et6.js";
|
|
@@ -3287,7 +3287,7 @@ async function runAgentCommand(...args) {
|
|
|
3287
3287
|
return (await import("./agent-5ax7fqhe.js")).runAgentCommand(...args);
|
|
3288
3288
|
}
|
|
3289
3289
|
async function runProductionCommand(...args) {
|
|
3290
|
-
return (await import("./production-intelligence-
|
|
3290
|
+
return (await import("./production-intelligence-0z6v6tpp.js")).runProductionCommand(...args);
|
|
3291
3291
|
}
|
|
3292
3292
|
function parseArgs(argv) {
|
|
3293
3293
|
const args = argv.slice(2);
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
overviewTrendsQuery,
|
|
11
11
|
renderTrendsHuman,
|
|
12
12
|
trendsSummaryText
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-4m0rgkx4.js";
|
|
14
14
|
import {
|
|
15
15
|
renderMarkdownForTerminal,
|
|
16
16
|
shouldColorTerminalOutput,
|
|
@@ -1271,6 +1271,7 @@ function coerceIntelligenceV1(record, context) {
|
|
|
1271
1271
|
const nextCommands = Array.isArray(record.next_commands) ? record.next_commands.flatMap(coerceV1NextCommand) : [];
|
|
1272
1272
|
const warnings = stringArray(record.warnings);
|
|
1273
1273
|
const meta = asRecord(record.meta);
|
|
1274
|
+
const caveats = asRecord(record.caveats);
|
|
1274
1275
|
return {
|
|
1275
1276
|
schema_version: INTELLIGENCE_SCHEMA_VERSION,
|
|
1276
1277
|
generated_at: asString(record.generated_at) ?? new Date().toISOString(),
|
|
@@ -1285,6 +1286,7 @@ function coerceIntelligenceV1(record, context) {
|
|
|
1285
1286
|
evidence_refs: evidenceRefs,
|
|
1286
1287
|
next_commands: nextCommands,
|
|
1287
1288
|
warnings,
|
|
1289
|
+
...caveats?.version === "moda.caveats.v1" ? { caveats } : {},
|
|
1288
1290
|
...meta ? { meta } : {}
|
|
1289
1291
|
};
|
|
1290
1292
|
}
|
package/package.json
CHANGED