@moda-ai/cli 1.55.39 → 1.55.40
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-bhe95ae8.js → agent-ck6y31n2.js} +8 -8
- package/dist/{cli-qzag917n.js → cli-0xc5htv7.js} +1 -1
- package/dist/{cli-39617gab.js → cli-1z1sx8dg.js} +3 -3
- package/dist/{cli-jmbt1hf9.js → cli-4tg0hkbz.js} +8 -8
- package/dist/{cli-4hkesrkq.js → cli-77ekrx7d.js} +1 -1
- package/dist/{cli-6gtgm2gx.js → cli-7bn406mt.js} +4 -4
- package/dist/{cli-msgp78ag.js → cli-a8nxbtpk.js} +5 -5
- package/dist/{cli-c7vj8tq1.js → cli-azage7s0.js} +5 -5
- package/dist/{cli-2h2nvq6w.js → cli-daqkdnm1.js} +1 -1
- package/dist/{cli-k9se46y4.js → cli-f1jfrqgf.js} +21 -4
- package/dist/{cli-1vqq24qh.js → cli-gt3yq1y5.js} +2 -2
- package/dist/{cli-ptm7pwqg.js → cli-pmzh2qjy.js} +1 -1
- package/dist/{cli-wr6f0kyw.js → cli-t0pb7qbs.js} +1 -0
- package/dist/{cli-jkza0bj6.js → cli-xddtv3yn.js} +1 -1
- package/dist/{cli-as4c1xwm.js → cli-ypqwcf9n.js} +5 -5
- package/dist/cli.js +313 -26
- package/dist/{doctor-3v20hc26.js → doctor-p8sp6cbk.js} +7 -7
- package/dist/{fix-s3zkjt69.js → fix-0r974yge.js} +4 -4
- package/dist/{harness-n4569wbm.js → harness-72ejenza.js} +5 -5
- package/dist/{harness-github-actions-mcy21e4d.js → harness-github-actions-2qc4gg2w.js} +5 -5
- package/dist/{index-2qm3h7v2.js → index-w7v472w4.js} +11 -11
- package/dist/{production-intelligence-z2cad1hv.js → production-intelligence-hs2sm8t5.js} +3 -3
- package/dist/{profile-commands-7ck1tqfv.js → profile-commands-se9947c1.js} +3 -3
- package/dist/{prompt-attribution-dm50am6e.js → prompt-attribution-3987hhqz.js} +5 -5
- package/dist/prompt-source-mcp.js +5 -5
- package/dist/{prompts-ab-9e0dsmce.js → prompts-ab-gmd10n5d.js} +7 -7
- package/dist/{prompts-propose-91qrjpd0.js → prompts-propose-q626zmm4.js} +7 -7
- package/dist/{prompts-p9hhxx0c.js → prompts-ysm9ra72.js} +5 -5
- package/dist/{provision-x4wkyw60.js → provision-cya5rpxa.js} +5 -5
- package/dist/{registry-nq8qsqtv.js → registry-7xz09ry0.js} +3 -3
- package/dist/{skills-rk2pmwx8.js → skills-x6yszxxn.js} +5 -5
- package/dist/{sync-xxbfjcz5.js → sync-trjzvam9.js} +7 -7
- package/package.json +1 -1
- package/skills/integration/index.json +2 -2
- package/skills/moda-cli/SKILL.md +6 -2
- package/skills/moda-cli/references/commands.md +1 -0
- package/skills/moda-cli/references/detections.md +29 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildDoctorReport
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
3
|
+
} from "./cli-a8nxbtpk.js";
|
|
4
|
+
import"./cli-pmzh2qjy.js";
|
|
5
|
+
import"./cli-4tg0hkbz.js";
|
|
6
6
|
import"./cli-mm48br00.js";
|
|
7
7
|
import {
|
|
8
8
|
readHarnessSyncState
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
readHarnessReport,
|
|
16
16
|
validateHarnessReport
|
|
17
17
|
} from "./cli-cesds766.js";
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
18
|
+
import"./cli-xddtv3yn.js";
|
|
19
|
+
import"./cli-f1jfrqgf.js";
|
|
20
|
+
import"./cli-0xc5htv7.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveApiKey,
|
|
23
23
|
resolveIngestUrl,
|
|
24
24
|
resolveModaBaseUrl,
|
|
25
25
|
resolveTenantId
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-t0pb7qbs.js";
|
|
27
27
|
import {
|
|
28
28
|
CliInputError
|
|
29
29
|
} from "./cli-k4tqwah4.js";
|
|
@@ -94,7 +94,7 @@ async function buildAgentContext(context) {
|
|
|
94
94
|
const graph = readHarnessGraphIfPresent(context.cwd);
|
|
95
95
|
const reportState = readHarnessReportState(context.cwd);
|
|
96
96
|
const syncState = readHarnessSyncState(context.cwd);
|
|
97
|
-
const harness = graph ? await import("./harness-
|
|
97
|
+
const harness = graph ? await import("./harness-72ejenza.js") : undefined;
|
|
98
98
|
const topFindings = doctor.checks.filter((check) => check.status === "fail" || check.status === "warning").slice(0, 12).map(checkToFinding);
|
|
99
99
|
const evidenceRefs = [
|
|
100
100
|
...doctor.checks.map(checkToEvidenceRef),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchApiKeyProbe
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-77ekrx7d.js";
|
|
4
4
|
import {
|
|
5
5
|
authFetch,
|
|
6
6
|
getCachedLoginContext
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-pmzh2qjy.js";
|
|
8
8
|
import {
|
|
9
9
|
embeddedTenantIdFromApiKey,
|
|
10
10
|
getModaDir,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
resolveTenantIdFromActiveProfile,
|
|
16
16
|
saveCliConfig,
|
|
17
17
|
writeSecretJsonFile
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-t0pb7qbs.js";
|
|
19
19
|
import {
|
|
20
20
|
CliAccessError,
|
|
21
21
|
CliInputError,
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
} from "./cli-mm48br00.js";
|
|
5
5
|
import {
|
|
6
6
|
createCommandContext
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-xddtv3yn.js";
|
|
8
8
|
import {
|
|
9
9
|
assertFlags,
|
|
10
10
|
assertPositionals
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-f1jfrqgf.js";
|
|
12
12
|
import {
|
|
13
13
|
callControlAPI
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-0xc5htv7.js";
|
|
15
15
|
import {
|
|
16
16
|
CliInputError
|
|
17
17
|
} from "./cli-k4tqwah4.js";
|
|
@@ -5725,9 +5725,9 @@ async function runPromptsCommand(input, legacyFlags, legacyProfileOptions) {
|
|
|
5725
5725
|
await promotePrompt(positionals, flags, profileOptions, context);
|
|
5726
5726
|
break;
|
|
5727
5727
|
case "ab":
|
|
5728
|
-
return (await import("./prompts-ab-
|
|
5728
|
+
return (await import("./prompts-ab-gmd10n5d.js")).runPromptAb(flags, profileOptions, context);
|
|
5729
5729
|
case "propose":
|
|
5730
|
-
await (await import("./prompts-propose-
|
|
5730
|
+
await (await import("./prompts-propose-q626zmm4.js")).runPromptPropose(positionals, flags, profileOptions, context);
|
|
5731
5731
|
break;
|
|
5732
5732
|
case "list":
|
|
5733
5733
|
case "show":
|
|
@@ -5830,7 +5830,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
|
|
|
5830
5830
|
const analyzedDefinitions = new Map;
|
|
5831
5831
|
if (flags["no-analyze"] !== "true") {
|
|
5832
5832
|
options.onProgress?.("Analyzing prompt sources before sync.");
|
|
5833
|
-
const { analyzeHarnessPrompts } = await import("./harness-
|
|
5833
|
+
const { analyzeHarnessPrompts } = await import("./harness-72ejenza.js");
|
|
5834
5834
|
const result = await analyzeHarnessPrompts({
|
|
5835
5835
|
rootDir: process.cwd(),
|
|
5836
5836
|
existing: established.flatMap((prompt) => prompt.sourceDefinition ? [prompt.sourceDefinition.source] : []),
|
|
@@ -5858,7 +5858,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
|
|
|
5858
5858
|
const mergedSources = mergePromptSources(manifest.sources, extraSources);
|
|
5859
5859
|
const manifestUpdate = stableJson(mergedSources) === stableJson(mergePromptSources(manifest.sources, [])) ? undefined : $stringify({ version: 2, prompt_paths: manifest.promptPaths, sources: mergedSources });
|
|
5860
5860
|
const prompts = await discoverPrompts(extraSources);
|
|
5861
|
-
const { checkPromptAttribution } = await import("./prompt-attribution-
|
|
5861
|
+
const { checkPromptAttribution } = await import("./prompt-attribution-3987hhqz.js");
|
|
5862
5862
|
const attribution = checkPromptAttribution(process.cwd(), prompts.map((prompt) => prompt.key));
|
|
5863
5863
|
const brokenAttribution = attribution.references.filter((reference) => reference.status === "missing");
|
|
5864
5864
|
if (brokenAttribution.length) {
|
|
@@ -6164,7 +6164,7 @@ async function migratePromptManifest(options = {}) {
|
|
|
6164
6164
|
let addedSources = [];
|
|
6165
6165
|
let pendingSources = [];
|
|
6166
6166
|
if (options.discover) {
|
|
6167
|
-
const { analyzeHarnessPrompts } = await import("./harness-
|
|
6167
|
+
const { analyzeHarnessPrompts } = await import("./harness-72ejenza.js");
|
|
6168
6168
|
const result = await analyzeHarnessPrompts({
|
|
6169
6169
|
rootDir: root,
|
|
6170
6170
|
existing: manifest.sources,
|
|
@@ -13,22 +13,22 @@ import {
|
|
|
13
13
|
} from "./cli-hcwdz9sd.js";
|
|
14
14
|
import {
|
|
15
15
|
createCommandContext
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-xddtv3yn.js";
|
|
17
17
|
import {
|
|
18
18
|
assertFlags,
|
|
19
19
|
assertPositionals,
|
|
20
20
|
writeDryRun
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-f1jfrqgf.js";
|
|
22
22
|
import {
|
|
23
23
|
callControlAPI
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-0xc5htv7.js";
|
|
25
25
|
import {
|
|
26
26
|
recordApiRequest,
|
|
27
27
|
resolveApiKey,
|
|
28
28
|
resolveIngestUrl,
|
|
29
29
|
resolveTenantId,
|
|
30
30
|
shellArg
|
|
31
|
-
} from "./cli-
|
|
31
|
+
} from "./cli-t0pb7qbs.js";
|
|
32
32
|
import {
|
|
33
33
|
CliInputError
|
|
34
34
|
} from "./cli-k4tqwah4.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAuthSessionValid,
|
|
3
3
|
loadAuthSession
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-pmzh2qjy.js";
|
|
5
5
|
import {
|
|
6
6
|
inspectPromptManifest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-4tg0hkbz.js";
|
|
8
8
|
import {
|
|
9
9
|
readHarnessSyncState,
|
|
10
10
|
renderDoctorHuman,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./cli-xq45etg1.js";
|
|
13
13
|
import {
|
|
14
14
|
callDataAPI
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-0xc5htv7.js";
|
|
16
16
|
import {
|
|
17
17
|
ensureSecretFilePermissions,
|
|
18
18
|
getActiveProfile,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
resolveSecretReference,
|
|
27
27
|
resolveTenantId,
|
|
28
28
|
secretFilePathFromRef
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-t0pb7qbs.js";
|
|
30
30
|
import {
|
|
31
31
|
__require
|
|
32
32
|
} from "./cli-0v6na3yp.js";
|
|
@@ -376,7 +376,7 @@ async function harnessCurrentCheck(cwd, manifestPath, manifestExists, tenantId)
|
|
|
376
376
|
};
|
|
377
377
|
}
|
|
378
378
|
try {
|
|
379
|
-
const { scanHarness } = await import("./harness-
|
|
379
|
+
const { scanHarness } = await import("./harness-72ejenza.js");
|
|
380
380
|
const current = scanHarness({
|
|
381
381
|
rootDir: cwd,
|
|
382
382
|
scannerVersion: "doctor",
|
|
@@ -44,16 +44,16 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
createCommandContext,
|
|
46
46
|
stringOption
|
|
47
|
-
} from "./cli-
|
|
47
|
+
} from "./cli-xddtv3yn.js";
|
|
48
48
|
import {
|
|
49
49
|
assertFlags,
|
|
50
50
|
assertPositionals,
|
|
51
51
|
requireTenant
|
|
52
|
-
} from "./cli-
|
|
52
|
+
} from "./cli-f1jfrqgf.js";
|
|
53
53
|
import {
|
|
54
54
|
ApiError,
|
|
55
55
|
callControlAPI
|
|
56
|
-
} from "./cli-
|
|
56
|
+
} from "./cli-0xc5htv7.js";
|
|
57
57
|
import {
|
|
58
58
|
embeddedTenantIdFromApiKey,
|
|
59
59
|
getActiveProfile,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
resolveModaBaseUrl,
|
|
64
64
|
resolveTenantId,
|
|
65
65
|
shellArg
|
|
66
|
-
} from "./cli-
|
|
66
|
+
} from "./cli-t0pb7qbs.js";
|
|
67
67
|
import {
|
|
68
68
|
CliInputError,
|
|
69
69
|
CliInputRequiredError
|
|
@@ -14048,7 +14048,7 @@ async function runHarnessCommand(context) {
|
|
|
14048
14048
|
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.");
|
|
14049
14049
|
}
|
|
14050
14050
|
if (context.flags["github-actions"] === "true") {
|
|
14051
|
-
const { runGithubActionsAnalyze } = await import("./harness-github-actions-
|
|
14051
|
+
const { runGithubActionsAnalyze } = await import("./harness-github-actions-2qc4gg2w.js");
|
|
14052
14052
|
const result = await runGithubActionsAnalyze(rootDir, {
|
|
14053
14053
|
writeReport: (report2) => {
|
|
14054
14054
|
const normalized = normalizeHarnessReport(report2);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ApiError,
|
|
3
3
|
callControlAPI,
|
|
4
4
|
callDataAPI
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-0xc5htv7.js";
|
|
6
6
|
import {
|
|
7
7
|
continuationCommand,
|
|
8
8
|
embeddedTenantIdFromApiKey,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveApiTenantId,
|
|
12
12
|
setPlatformTenantOverride,
|
|
13
13
|
shellArg
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-t0pb7qbs.js";
|
|
15
15
|
import {
|
|
16
16
|
CliAccessError,
|
|
17
17
|
CliInputError
|
|
@@ -131,6 +131,9 @@ var TRACE_GRAIN_FLAGS = {
|
|
|
131
131
|
frustrations: ["search", "status", "elicitor", "trajectory", "signal", "sort", "order"],
|
|
132
132
|
hallucinations: ["search", "status", "rule", "source", "sort", "order"]
|
|
133
133
|
};
|
|
134
|
+
var MAX_CONVERSATION_IDS_FILTER = 50;
|
|
135
|
+
var conversationIdsFlag = () => z.string().min(1).max(MAX_CONVERSATION_IDS_FILTER * 257).optional().describe(`Scope everything to several trace IDs, comma-separated (up to ${MAX_CONVERSATION_IDS_FILTER}; or --ids-from)`);
|
|
136
|
+
var idsFromFilterFlag = () => z.string().min(1).optional().describe(`Read the trace IDs to scope to from a file, or - for stdin, one per line (up to ${MAX_CONVERSATION_IDS_FILTER})`);
|
|
134
137
|
var FrustrationsSchema = z.object({
|
|
135
138
|
days_back: daysBackFlag(7),
|
|
136
139
|
limit: z.number().int().min(1).max(20).default(10).optional().describe("Maximum detections to return"),
|
|
@@ -139,7 +142,9 @@ var FrustrationsSchema = z.object({
|
|
|
139
142
|
window: z.number().int().min(1).max(5).default(1).optional().describe("Messages on each side with --include-window"),
|
|
140
143
|
user_id: z.string().min(1).max(256).optional().describe("Scope everything to one end user"),
|
|
141
144
|
conversation_id: z.string().min(1).max(256).optional().describe("Scope everything to one trace ID"),
|
|
142
|
-
...emotionTraceFilters
|
|
145
|
+
...emotionTraceFilters,
|
|
146
|
+
conversation_ids: conversationIdsFlag(),
|
|
147
|
+
ids_from: idsFromFilterFlag()
|
|
143
148
|
});
|
|
144
149
|
var ToolFailuresSchema = z.object({
|
|
145
150
|
days_back: daysBackFlag(7)
|
|
@@ -318,6 +323,8 @@ var EmotionsSchema = z.object({
|
|
|
318
323
|
family: z.enum(EMOTION_FAMILIES).optional().describe("Only this family in the detections list (summary covers all)"),
|
|
319
324
|
user_id: z.string().min(1).max(256).optional().describe("Scope everything to one end user"),
|
|
320
325
|
conversation_id: z.string().min(1).max(256).optional().describe("Scope everything to one trace ID"),
|
|
326
|
+
conversation_ids: conversationIdsFlag(),
|
|
327
|
+
ids_from: idsFromFilterFlag(),
|
|
321
328
|
include_window: boolFlag().describe("Keep each detection's conversation context (agent output omits it by default)"),
|
|
322
329
|
...emotionTraceFilters
|
|
323
330
|
});
|
|
@@ -326,6 +333,8 @@ var HallucinationsSchema = z.object({
|
|
|
326
333
|
limit: z.number().int().min(1).max(20).default(10).optional().describe("Maximum detections to return"),
|
|
327
334
|
offset: z.number().int().min(0).max(1e4).optional().describe("Number of detections to skip"),
|
|
328
335
|
conversation_id: z.string().max(200).optional().describe("Scope summary and list to one trace ID"),
|
|
336
|
+
conversation_ids: conversationIdsFlag(),
|
|
337
|
+
ids_from: idsFromFilterFlag(),
|
|
329
338
|
kind: z.enum(["contradicted", "verified"]).optional().describe("Only this kind in the detections list"),
|
|
330
339
|
group_by: z.enum(["message", "trace"]).optional().describe("message (default): one row per scored message. trace: one row per trace, totals count traces as the dashboard does"),
|
|
331
340
|
search: z.string().trim().min(1).max(200).optional().describe("Trace ID substring; needs --group-by=trace"),
|
|
@@ -361,6 +370,8 @@ var LazinessSchema = z.object({
|
|
|
361
370
|
limit: z.number().int().min(1).max(50).default(10).optional().describe("Maximum detections to return"),
|
|
362
371
|
offset: z.number().int().min(0).max(1e4).optional().describe("Number of detections to skip"),
|
|
363
372
|
conversation_id: z.string().max(200).optional().describe("One trace's detections"),
|
|
373
|
+
conversation_ids: conversationIdsFlag(),
|
|
374
|
+
ids_from: idsFromFilterFlag(),
|
|
364
375
|
family: z.enum(LAZINESS_FAMILIES).optional().describe("Only this laziness family"),
|
|
365
376
|
group_by: z.enum(["trace"]).optional().describe("Accepted for symmetry: laziness rows are always one per trace"),
|
|
366
377
|
search: z.string().trim().min(1).max(200).optional().describe("Trace ID substring"),
|
|
@@ -445,6 +456,11 @@ var AskSchema = z.object({
|
|
|
445
456
|
days_back: daysBackFlag(7),
|
|
446
457
|
stream: boolFlag().describe("Stream live progress (default in a terminal; --no-stream turns it off)")
|
|
447
458
|
});
|
|
459
|
+
var TraceFindingsSchema = z.object({
|
|
460
|
+
conversation_id: z.string().min(1).max(255).describe("Trace ID"),
|
|
461
|
+
limit: z.number().int().min(1).max(50).default(3).optional().describe("Detections shown per family (counts always cover every detection)"),
|
|
462
|
+
ids_from: z.string().min(1).optional().describe("Read several trace ids, one per line, from a file or - for stdin (batch mode, up to 25)")
|
|
463
|
+
});
|
|
448
464
|
var TraceSignalsSchema = z.object({
|
|
449
465
|
conversation_id: z.string().min(1).describe("Trace ID")
|
|
450
466
|
});
|
|
@@ -685,6 +701,7 @@ var COMMAND_FLAG_SPECS = {
|
|
|
685
701
|
signals: { schema: SignalsListSchema, handParsed: true },
|
|
686
702
|
signal: { schema: SignalSchema, positionals: [{ name: "signal_id", key: "id", required: true }] },
|
|
687
703
|
"trace-signals": { schema: TraceSignalsSchema, handParsed: true, positionals: [TRACE_ID] },
|
|
704
|
+
"trace-findings": { schema: TraceFindingsSchema, positionals: [TRACE_ID] },
|
|
688
705
|
"signal-label": { schema: SignalLabelSchema, extra: DRY_RUN, handParsed: true, positionals: [{ name: "signal_id", key: "id", required: true }] },
|
|
689
706
|
emotions: { schema: EmotionsSchema },
|
|
690
707
|
laziness: { schema: LazinessSchema },
|
|
@@ -1430,4 +1447,4 @@ function unknownSignalsSubcommandError(sub, args = []) {
|
|
|
1430
1447
|
${SIGNAL_USAGE}`);
|
|
1431
1448
|
}
|
|
1432
1449
|
|
|
1433
|
-
export { TRACE_GRAIN_FLAGS, BOOK_PROBLEM_SORTS, DREAM_PROBLEM_SORTS, PROBLEMS_MAX_LIMIT, PROBLEMS_DEFAULT_LIMIT, ProblemsRemainderSchema, UUID_RE, ProblemImpactSchema, PROBLEM_FEEDBACK_ACTIONS, ProblemFeedbackSchema, ProblemLinearFileSchema, SignalLabelSchema, DETECTION_VERDICTS, DetectionReviewSchema, FALSE_POSITIVE_KINDS, FalsePositiveSchema, EMOTION_FAMILIES, LAZINESS_FAMILIES, StepScoresSchema, AuditSchema, FEEDBACK_USAGE, isFeedbackRefFlag, buildFeedbackRequest, writeDryRun, COMMAND_FLAG_SPECS, flagSpecFor, kebabFlag, schemaShape, describeField, specFlagKeys, specFlagNames, describeSpecFlags, closestMatches, usageLine, renderFlagHelp, subcommandHelpFlags, manifestFlagFields, requireTenant, assertFlags, assertPositionals, runUsersCommand, runUserCommand, runProblemReopenCommand, runSignalsManagementCommand, SIGNALS_MANAGEMENT_SUBCOMMANDS, unknownSignalsSubcommandError };
|
|
1450
|
+
export { TRACE_GRAIN_FLAGS, MAX_CONVERSATION_IDS_FILTER, BOOK_PROBLEM_SORTS, DREAM_PROBLEM_SORTS, PROBLEMS_MAX_LIMIT, PROBLEMS_DEFAULT_LIMIT, ProblemsRemainderSchema, UUID_RE, ProblemImpactSchema, PROBLEM_FEEDBACK_ACTIONS, ProblemFeedbackSchema, ProblemLinearFileSchema, SignalLabelSchema, DETECTION_VERDICTS, DetectionReviewSchema, FALSE_POSITIVE_KINDS, FalsePositiveSchema, EMOTION_FAMILIES, LAZINESS_FAMILIES, StepScoresSchema, AuditSchema, TraceFindingsSchema, FEEDBACK_USAGE, isFeedbackRefFlag, buildFeedbackRequest, writeDryRun, COMMAND_FLAG_SPECS, flagSpecFor, kebabFlag, schemaShape, describeField, specFlagKeys, specFlagNames, describeSpecFlags, closestMatches, usageLine, renderFlagHelp, subcommandHelpFlags, manifestFlagFields, requireTenant, assertFlags, assertPositionals, runUsersCommand, runUserCommand, runProblemReopenCommand, runSignalsManagementCommand, SIGNALS_MANAGEMENT_SUBCOMMANDS, unknownSignalsSubcommandError };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shellArg
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-t0pb7qbs.js";
|
|
4
4
|
import {
|
|
5
5
|
CliInputError
|
|
6
6
|
} from "./cli-k4tqwah4.js";
|
|
@@ -676,4 +676,4 @@ var MODA_INTELLIGENCE_V1_JSON_SCHEMA = {
|
|
|
676
676
|
}
|
|
677
677
|
};
|
|
678
678
|
|
|
679
|
-
export { BATCH_MAX_TARGETS, BATCH_CONCURRENCY, parseBatchTarget, collectBatchTargets, mapWithConcurrency, contextTarget, asRecord, asString, asNumber, frustrationAnchorIndex, frustrationsFromEmotions, withFrustrationAnchors, trimToolFailureConversations, withToolFailureAnchors, embeddedWindowSize, withoutDetectionWindows, compactProblemDossier, toolFailureExamplesCommand, toolCatalogGetCommand, shapeToolCatalogDetail, INTELLIGENCE_SCHEMA_VERSION, MODA_INTELLIGENCE_V1_JSON_SCHEMA };
|
|
679
|
+
export { BATCH_MAX_TARGETS, BATCH_CONCURRENCY, parseBatchTarget, parseTargetLines, readIdsFrom, collectBatchTargets, mapWithConcurrency, contextTarget, asRecord, asString, asNumber, frustrationAnchorIndex, frustrationsFromEmotions, withFrustrationAnchors, trimToolFailureConversations, withToolFailureAnchors, embeddedWindowSize, withoutDetectionWindows, compactProblemDossier, toolFailureExamplesCommand, toolCatalogGetCommand, shapeToolCatalogDetail, INTELLIGENCE_SCHEMA_VERSION, MODA_INTELLIGENCE_V1_JSON_SCHEMA };
|
|
@@ -668,6 +668,7 @@ var LEGACY_NAMES = [
|
|
|
668
668
|
{ legacy: "world-state", use: "moda traces state <conversation_id>", canonical: { command: "traces", subcommand: "state" } },
|
|
669
669
|
{ legacy: "audit", use: "moda traces spans <conversation_id|trace_id>", canonical: { command: "traces", subcommand: "spans" } },
|
|
670
670
|
{ legacy: "trace", use: "moda traces spans <conversation_id|trace_id>", canonical: { command: "traces", subcommand: "spans" } },
|
|
671
|
+
{ legacy: "trace-findings", use: "moda traces findings <conversation_id>", canonical: { command: "traces", subcommand: "findings" }, silent: true },
|
|
671
672
|
{ legacy: "problem", use: "moda problems get <problem_id>", canonical: { command: "problems", subcommand: "get" } },
|
|
672
673
|
{ legacy: "problems remainder", use: "moda problems unexplained", canonical: { command: "problems", subcommand: "unexplained" } },
|
|
673
674
|
{ legacy: "problem-impact", use: "moda problems impact", canonical: { command: "problems", subcommand: "impact" } },
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
parsePromptFileForAb,
|
|
5
5
|
readPromptLock,
|
|
6
6
|
runPromptSync
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-4tg0hkbz.js";
|
|
8
8
|
import {
|
|
9
9
|
DEFAULT_POLL_INTERVAL_MS,
|
|
10
10
|
DEFAULT_WAIT_TIMEOUT_MS,
|
|
11
11
|
fetchLatestRun
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-daqkdnm1.js";
|
|
13
13
|
import {
|
|
14
14
|
UUID_RE
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-f1jfrqgf.js";
|
|
16
16
|
import {
|
|
17
17
|
callControlAPI,
|
|
18
18
|
callDataAPI
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-0xc5htv7.js";
|
|
20
20
|
import {
|
|
21
21
|
EXIT_ERROR,
|
|
22
22
|
EXIT_OK,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
setPlatformTenantOverride,
|
|
25
25
|
shellArg,
|
|
26
26
|
validateConfig
|
|
27
|
-
} from "./cli-
|
|
27
|
+
} from "./cli-t0pb7qbs.js";
|
|
28
28
|
import {
|
|
29
29
|
CliInputError
|
|
30
30
|
} from "./cli-k4tqwah4.js";
|