@moda-ai/cli 1.55.48 → 1.55.49
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-de8bnj8x.js → agent-kw8bdf0d.js} +3 -3
- package/dist/{cli-629tc1d0.js → cli-dwfgfksb.js} +2 -2
- package/dist/{cli-10zgbewk.js → cli-hwfk2b45.js} +16 -3
- package/dist/{cli-0zws61ba.js → cli-txj43jz8.js} +3 -3
- package/dist/cli.js +7 -7
- package/dist/{doctor-dw9bqzeg.js → doctor-g0nk7q45.js} +2 -2
- package/dist/{harness-v7kgnpr6.js → harness-5bckfr6j.js} +1 -1
- package/dist/{harness-github-actions-njdxwsn5.js → harness-github-actions-fndqvrg6.js} +1 -1
- package/dist/{index-40b5v59z.js → index-52facyzk.js} +3 -3
- package/dist/{prompt-attribution-d1vj2cxt.js → prompt-attribution-0v2vdntz.js} +1 -1
- package/dist/prompt-source-mcp.js +1 -1
- package/dist/{prompts-qh1akhfz.js → prompts-nah473mq.js} +1 -1
- package/dist/{sync-ra280dhc.js → sync-08whcy06.js} +2 -2
- package/package.json +1 -1
- package/skills/integration/index.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildDoctorReport
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-dwfgfksb.js";
|
|
4
4
|
import"./cli-h1z9yyqk.js";
|
|
5
|
-
import"./cli-
|
|
5
|
+
import"./cli-txj43jz8.js";
|
|
6
6
|
import"./cli-mm48br00.js";
|
|
7
7
|
import {
|
|
8
8
|
readHarnessSyncState
|
|
@@ -95,7 +95,7 @@ async function buildAgentContext(context) {
|
|
|
95
95
|
const graph = readHarnessGraphIfPresent(context.cwd);
|
|
96
96
|
const reportState = readHarnessReportState(context.cwd);
|
|
97
97
|
const syncState = readHarnessSyncState(context.cwd);
|
|
98
|
-
const harness = graph ? await import("./harness-
|
|
98
|
+
const harness = graph ? await import("./harness-5bckfr6j.js") : undefined;
|
|
99
99
|
const topFindings = doctor.checks.filter((check) => check.status === "fail" || check.status === "warning").slice(0, 12).map(checkToFinding);
|
|
100
100
|
const evidenceRefs = [
|
|
101
101
|
...doctor.checks.map(checkToEvidenceRef),
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./cli-h1z9yyqk.js";
|
|
5
5
|
import {
|
|
6
6
|
inspectPromptManifest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-txj43jz8.js";
|
|
8
8
|
import {
|
|
9
9
|
readHarnessSyncState,
|
|
10
10
|
renderDoctorHuman,
|
|
@@ -395,7 +395,7 @@ async function harnessCurrentCheck(cwd, manifestPath, manifestExists, tenantId)
|
|
|
395
395
|
};
|
|
396
396
|
}
|
|
397
397
|
try {
|
|
398
|
-
const { scanHarness } = await import("./harness-
|
|
398
|
+
const { scanHarness } = await import("./harness-5bckfr6j.js");
|
|
399
399
|
const current = scanHarness({
|
|
400
400
|
rootDir: cwd,
|
|
401
401
|
scannerVersion: "doctor",
|
|
@@ -14049,7 +14049,7 @@ async function runHarnessCommand(context) {
|
|
|
14049
14049
|
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.");
|
|
14050
14050
|
}
|
|
14051
14051
|
if (context.flags["github-actions"] === "true") {
|
|
14052
|
-
const { runGithubActionsAnalyze } = await import("./harness-github-actions-
|
|
14052
|
+
const { runGithubActionsAnalyze } = await import("./harness-github-actions-fndqvrg6.js");
|
|
14053
14053
|
const result = await runGithubActionsAnalyze(rootDir, {
|
|
14054
14054
|
writeReport: (report2) => {
|
|
14055
14055
|
const normalized = normalizeHarnessReport(report2);
|
|
@@ -14725,8 +14725,8 @@ function removeArtifacts(report, ids) {
|
|
|
14725
14725
|
...claim,
|
|
14726
14726
|
kind: "unknown",
|
|
14727
14727
|
subjectId: `unresolved_${removed}`,
|
|
14728
|
-
title: `Unverified
|
|
14729
|
-
summary:
|
|
14728
|
+
title: `Unverified: ${claim.title}`,
|
|
14729
|
+
summary: `${removed} could not be verified against the analyzed source, so it was left out of the harness. ${claim.summary ?? ""}`.trim().slice(0, MAX_HARNESS_REPORT_SUMMARY_LENGTH)
|
|
14730
14730
|
};
|
|
14731
14731
|
});
|
|
14732
14732
|
}
|
|
@@ -14751,6 +14751,19 @@ function repairExternalAnalystReport(report, rootDir, options = {}) {
|
|
|
14751
14751
|
normalized.graph.unknowns.push({ id: `unresolved_${artifact.id}`, question: error instanceof Error ? error.message : String(error), candidateIds: [artifact.id], evidence: artifact.evidence });
|
|
14752
14752
|
}
|
|
14753
14753
|
}
|
|
14754
|
+
for (const artifact of normalized.graph.artifacts) {
|
|
14755
|
+
if (unverified.has(artifact.id) || !requiresArtifactBody(artifact.type))
|
|
14756
|
+
continue;
|
|
14757
|
+
if (artifactHasBody(artifact))
|
|
14758
|
+
continue;
|
|
14759
|
+
unverified.add(artifact.id);
|
|
14760
|
+
normalized.graph.unknowns.push({
|
|
14761
|
+
id: `unresolved_${artifact.id}`,
|
|
14762
|
+
question: `No source for ${artifact.type} ${artifact.name ?? artifact.id} was found in the analyzed snapshot, so its content could not be captured.`,
|
|
14763
|
+
candidateIds: [artifact.id],
|
|
14764
|
+
evidence: artifact.evidence
|
|
14765
|
+
});
|
|
14766
|
+
}
|
|
14754
14767
|
if (unverified.size > 0)
|
|
14755
14768
|
removeArtifacts(normalized, unverified);
|
|
14756
14769
|
deriveRelationshipsFromGraph(normalized.graph);
|
|
@@ -5768,7 +5768,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
|
|
|
5768
5768
|
const analyzedDefinitions = new Map;
|
|
5769
5769
|
if (flags["no-analyze"] !== "true") {
|
|
5770
5770
|
options.onProgress?.("Analyzing prompt sources before sync.");
|
|
5771
|
-
const { analyzeHarnessPrompts } = await import("./harness-
|
|
5771
|
+
const { analyzeHarnessPrompts } = await import("./harness-5bckfr6j.js");
|
|
5772
5772
|
const result = await analyzeHarnessPrompts({
|
|
5773
5773
|
rootDir: process.cwd(),
|
|
5774
5774
|
existing: established.flatMap((prompt) => prompt.sourceDefinition ? [prompt.sourceDefinition.source] : []),
|
|
@@ -5796,7 +5796,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
|
|
|
5796
5796
|
const mergedSources = mergePromptSources(manifest.sources, extraSources);
|
|
5797
5797
|
const manifestUpdate = stableJson(mergedSources) === stableJson(mergePromptSources(manifest.sources, [])) ? undefined : $stringify({ version: 2, prompt_paths: manifest.promptPaths, sources: mergedSources });
|
|
5798
5798
|
const prompts = await discoverPrompts(extraSources);
|
|
5799
|
-
const { checkPromptAttribution } = await import("./prompt-attribution-
|
|
5799
|
+
const { checkPromptAttribution } = await import("./prompt-attribution-0v2vdntz.js");
|
|
5800
5800
|
const attribution = checkPromptAttribution(process.cwd(), prompts.map((prompt) => prompt.key));
|
|
5801
5801
|
const brokenAttribution = attribution.references.filter((reference) => reference.status === "missing");
|
|
5802
5802
|
if (brokenAttribution.length) {
|
|
@@ -6102,7 +6102,7 @@ async function migratePromptManifest(options = {}) {
|
|
|
6102
6102
|
let addedSources = [];
|
|
6103
6103
|
let pendingSources = [];
|
|
6104
6104
|
if (options.discover) {
|
|
6105
|
-
const { analyzeHarnessPrompts } = await import("./harness-
|
|
6105
|
+
const { analyzeHarnessPrompts } = await import("./harness-5bckfr6j.js");
|
|
6106
6106
|
const result = await analyzeHarnessPrompts({
|
|
6107
6107
|
rootDir: root,
|
|
6108
6108
|
existing: manifest.sources,
|
package/dist/cli.js
CHANGED
|
@@ -2967,25 +2967,25 @@ function leafManifestFields(leaf, commands) {
|
|
|
2967
2967
|
import { fileURLToPath } from "url";
|
|
2968
2968
|
import { realpathSync } from "fs";
|
|
2969
2969
|
async function runPromptsCommand(...args) {
|
|
2970
|
-
return (await import("./prompts-
|
|
2970
|
+
return (await import("./prompts-nah473mq.js")).runPromptsCommand(...args);
|
|
2971
2971
|
}
|
|
2972
2972
|
async function runSkillsCommand(...args) {
|
|
2973
2973
|
return (await import("./skills-zfenne8w.js")).runSkillsCommand(...args);
|
|
2974
2974
|
}
|
|
2975
2975
|
async function runHarnessCommand(...args) {
|
|
2976
|
-
return (await import("./harness-
|
|
2976
|
+
return (await import("./harness-5bckfr6j.js")).runHarnessCommand(...args);
|
|
2977
2977
|
}
|
|
2978
2978
|
async function runSyncCommand(...args) {
|
|
2979
|
-
return (await import("./sync-
|
|
2979
|
+
return (await import("./sync-08whcy06.js")).runSyncCommand(...args);
|
|
2980
2980
|
}
|
|
2981
2981
|
async function runRegistryCommand(...args) {
|
|
2982
2982
|
return (await import("./registry-d7xdm4dw.js")).runRegistryCommand(...args);
|
|
2983
2983
|
}
|
|
2984
2984
|
async function runDoctorCommand(...args) {
|
|
2985
|
-
return (await import("./doctor-
|
|
2985
|
+
return (await import("./doctor-g0nk7q45.js")).runDoctorCommand(...args);
|
|
2986
2986
|
}
|
|
2987
2987
|
async function runStatusCommand(...args) {
|
|
2988
|
-
return (await import("./doctor-
|
|
2988
|
+
return (await import("./doctor-g0nk7q45.js")).runStatusCommand(...args);
|
|
2989
2989
|
}
|
|
2990
2990
|
async function runAuthCommand(...args) {
|
|
2991
2991
|
return (await import("./profile-commands-zbyn9xg2.js")).runAuthCommand(...args);
|
|
@@ -2997,7 +2997,7 @@ async function runProfilesCommand(...args) {
|
|
|
2997
2997
|
return (await import("./profile-commands-zbyn9xg2.js")).runProfilesCommand(...args);
|
|
2998
2998
|
}
|
|
2999
2999
|
async function runAgentCommand(...args) {
|
|
3000
|
-
return (await import("./agent-
|
|
3000
|
+
return (await import("./agent-kw8bdf0d.js")).runAgentCommand(...args);
|
|
3001
3001
|
}
|
|
3002
3002
|
async function runProductionCommand(...args) {
|
|
3003
3003
|
return (await import("./production-intelligence-fe5masaa.js")).runProductionCommand(...args);
|
|
@@ -6761,7 +6761,7 @@ var commandRegistry = createCommandRegistry([
|
|
|
6761
6761
|
resetApiRequestCountBeforeRun: true,
|
|
6762
6762
|
telemetry: "result-and-error",
|
|
6763
6763
|
handler: async (context) => {
|
|
6764
|
-
const { runInit } = await import("./index-
|
|
6764
|
+
const { runInit } = await import("./index-52facyzk.js");
|
|
6765
6765
|
if (context.outputMode === "agent-stream") {
|
|
6766
6766
|
context.output.writeEvent({
|
|
6767
6767
|
event: "started",
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
promptsDiscoveredCheck,
|
|
4
4
|
runDoctorCommand,
|
|
5
5
|
runStatusCommand
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-dwfgfksb.js";
|
|
7
7
|
import"./cli-h1z9yyqk.js";
|
|
8
|
-
import"./cli-
|
|
8
|
+
import"./cli-txj43jz8.js";
|
|
9
9
|
import"./cli-mm48br00.js";
|
|
10
10
|
import"./cli-xq45etg1.js";
|
|
11
11
|
import"./cli-m4474bnj.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./cli-hcwdz9sd.js";
|
|
22
22
|
import {
|
|
23
23
|
buildDoctorReport
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-dwfgfksb.js";
|
|
25
25
|
import {
|
|
26
26
|
ConnectCodeError,
|
|
27
27
|
connectWithCode,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
initPrompts,
|
|
34
34
|
runPromptSync
|
|
35
|
-
} from "./cli-
|
|
35
|
+
} from "./cli-txj43jz8.js";
|
|
36
36
|
import"./cli-mm48br00.js";
|
|
37
37
|
import {
|
|
38
38
|
codingAgentDisplayName,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
runCodingAgent,
|
|
47
47
|
runHarnessCommand,
|
|
48
48
|
startRemoteAnalyze
|
|
49
|
-
} from "./cli-
|
|
49
|
+
} from "./cli-hwfk2b45.js";
|
|
50
50
|
import {
|
|
51
51
|
stripAnsi
|
|
52
52
|
} from "./cli-97fnztpy.js";
|
|
@@ -6,11 +6,11 @@ import"./cli-rjav0vj1.js";
|
|
|
6
6
|
import"./cli-hcwdz9sd.js";
|
|
7
7
|
import {
|
|
8
8
|
runPromptsCommand
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-txj43jz8.js";
|
|
10
10
|
import"./cli-mm48br00.js";
|
|
11
11
|
import {
|
|
12
12
|
runHarnessCommand
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-hwfk2b45.js";
|
|
14
14
|
import"./cli-97fnztpy.js";
|
|
15
15
|
import"./cli-xq45etg1.js";
|
|
16
16
|
import"./cli-m4474bnj.js";
|
package/package.json
CHANGED