@moda-ai/cli 1.55.124 → 1.55.126
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-38z6n98a.js → agent-g7pg6qsk.js} +8 -8
- package/dist/{change-impact-yd2f4mev.js → change-impact-p73qj0vj.js} +5 -5
- package/dist/{cli-bgbtrmtr.js → cli-4fv2pthb.js} +1 -1
- package/dist/{cli-8g0rxjgw.js → cli-5vv062qj.js} +2 -2
- package/dist/{cli-jyj7ac5g.js → cli-6hwyagze.js} +3 -3
- package/dist/{cli-cp8gv24j.js → cli-6m24mgfn.js} +1 -1
- package/dist/{cli-eecp6bft.js → cli-6qff9sy8.js} +6 -6
- package/dist/{cli-fjf2909s.js → cli-7w81zgtm.js} +2 -2
- package/dist/{cli-ndag29z1.js → cli-8800mp37.js} +30 -17
- package/dist/{cli-mtjw2xtp.js → cli-aaxzwp8g.js} +5 -5
- package/dist/{cli-tca7sztv.js → cli-bd38by3f.js} +1 -1
- package/dist/{cli-6df723jn.js → cli-d7039574.js} +1 -1
- package/dist/{cli-3thzh1mq.js → cli-mnhevv08.js} +1 -1
- package/dist/{cli-ecp9sdye.js → cli-q96h6rs9.js} +1 -1
- package/dist/{cli-m6w66x9d.js → cli-wkg8bwhs.js} +3 -3
- package/dist/{cli-rmxcfxy5.js → cli-zh32cntw.js} +6 -6
- package/dist/cli.js +22 -20
- package/dist/{doctor-yennaeda.js → doctor-yy9bj65b.js} +7 -7
- package/dist/{harness-tpmp0sgy.js → harness-cpajrhyc.js} +5 -5
- package/dist/{harness-github-actions-3jnzwgk1.js → harness-github-actions-ngy90m19.js} +5 -5
- package/dist/{index-gp66kk63.js → index-an75v9ep.js} +6 -6
- package/dist/{index-pz84mnye.js → index-eb711ctt.js} +5 -5
- package/dist/{index-ted8jvg4.js → index-z8dtmg06.js} +11 -11
- package/dist/{production-intelligence-9k50j0by.js → production-intelligence-w5avw16d.js} +3 -3
- package/dist/{profile-commands-tz3jykvh.js → profile-commands-3ccyj5q3.js} +4 -4
- package/dist/{prompt-attribution-k9cncjzt.js → prompt-attribution-9cr331df.js} +5 -5
- package/dist/prompt-source-mcp.js +5 -5
- package/dist/{prompts-4x1mtvzq.js → prompts-ybk6gc7y.js} +5 -5
- package/dist/{provision-2dzzb0be.js → provision-jjen0rfn.js} +5 -5
- package/dist/{registry-egersrtj.js → registry-hj1xa3n7.js} +3 -3
- package/dist/{skills-ze0zxz7e.js → skills-4bbd6shr.js} +5 -5
- package/dist/{sync-hem2vxd9.js → sync-sjc0av1q.js} +7 -7
- 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-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
3
|
+
} from "./cli-aaxzwp8g.js";
|
|
4
|
+
import"./cli-4fv2pthb.js";
|
|
5
|
+
import"./cli-zh32cntw.js";
|
|
6
6
|
import"./cli-mm48br00.js";
|
|
7
7
|
import"./cli-764m5azg.js";
|
|
8
8
|
import {
|
|
@@ -16,16 +16,16 @@ import {
|
|
|
16
16
|
readHarnessReport,
|
|
17
17
|
validateHarnessReport
|
|
18
18
|
} from "./cli-krm4w2v9.js";
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
19
|
+
import"./cli-mnhevv08.js";
|
|
20
|
+
import"./cli-5vv062qj.js";
|
|
21
21
|
import"./cli-e0kbye4s.js";
|
|
22
|
-
import"./cli-
|
|
22
|
+
import"./cli-6m24mgfn.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveApiKey,
|
|
25
25
|
resolveIngestUrl,
|
|
26
26
|
resolveModaBaseUrl,
|
|
27
27
|
resolveTenantId
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-bd38by3f.js";
|
|
29
29
|
import {
|
|
30
30
|
CliInputError
|
|
31
31
|
} from "./cli-k4tqwah4.js";
|
|
@@ -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-cpajrhyc.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),
|
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
resolvedSymbol,
|
|
12
12
|
returnExpressions,
|
|
13
13
|
valueDeclaration
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-8800mp37.js";
|
|
15
15
|
import"./cli-rpyepjwb.js";
|
|
16
16
|
import"./cli-97fnztpy.js";
|
|
17
17
|
import {
|
|
18
18
|
detectBoundRuntimeClasses
|
|
19
19
|
} from "./cli-krm4w2v9.js";
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
20
|
+
import"./cli-mnhevv08.js";
|
|
21
|
+
import"./cli-5vv062qj.js";
|
|
22
22
|
import"./cli-e0kbye4s.js";
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
23
|
+
import"./cli-6m24mgfn.js";
|
|
24
|
+
import"./cli-bd38by3f.js";
|
|
25
25
|
import"./cli-k4tqwah4.js";
|
|
26
26
|
import {
|
|
27
27
|
require_typescript
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ApiError,
|
|
3
3
|
callControlAPI,
|
|
4
4
|
callDataAPI
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-6m24mgfn.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-bd38by3f.js";
|
|
15
15
|
import {
|
|
16
16
|
CliAccessError,
|
|
17
17
|
CliInputError
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./cli-2fv0q9tx.js";
|
|
4
4
|
import {
|
|
5
5
|
createCommandContext
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-mnhevv08.js";
|
|
7
7
|
import {
|
|
8
8
|
assertFlags,
|
|
9
9
|
assertPositionals
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-5vv062qj.js";
|
|
11
11
|
import {
|
|
12
12
|
callControlAPI
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-6m24mgfn.js";
|
|
14
14
|
import {
|
|
15
15
|
CliInputError
|
|
16
16
|
} from "./cli-k4tqwah4.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
enumerateToolCatalog,
|
|
3
3
|
enumerateWorkflows
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-q96h6rs9.js";
|
|
5
5
|
import {
|
|
6
6
|
require_out
|
|
7
7
|
} from "./cli-764m5azg.js";
|
|
@@ -34,21 +34,21 @@ import {
|
|
|
34
34
|
unwrap,
|
|
35
35
|
valueDeclaration,
|
|
36
36
|
visit
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-8800mp37.js";
|
|
38
38
|
import"./cli-rpyepjwb.js";
|
|
39
39
|
import"./cli-97fnztpy.js";
|
|
40
40
|
import {
|
|
41
41
|
detectBoundRuntimeClasses,
|
|
42
42
|
isTestWorkerConfig
|
|
43
43
|
} from "./cli-krm4w2v9.js";
|
|
44
|
-
import"./cli-
|
|
45
|
-
import"./cli-
|
|
44
|
+
import"./cli-mnhevv08.js";
|
|
45
|
+
import"./cli-5vv062qj.js";
|
|
46
46
|
import"./cli-e0kbye4s.js";
|
|
47
|
-
import"./cli-
|
|
47
|
+
import"./cli-6m24mgfn.js";
|
|
48
48
|
import {
|
|
49
49
|
EXIT_DEGRADED,
|
|
50
50
|
VERSION
|
|
51
|
-
} from "./cli-
|
|
51
|
+
} from "./cli-bd38by3f.js";
|
|
52
52
|
import {
|
|
53
53
|
CliInputError
|
|
54
54
|
} from "./cli-k4tqwah4.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./cli-e0kbye4s.js";
|
|
4
4
|
import {
|
|
5
5
|
callDataAPI
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-6m24mgfn.js";
|
|
7
7
|
import {
|
|
8
8
|
shellArg
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-bd38by3f.js";
|
|
10
10
|
import {
|
|
11
11
|
CliInputError
|
|
12
12
|
} from "./cli-k4tqwah4.js";
|
|
@@ -39,18 +39,22 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
createCommandContext,
|
|
41
41
|
stringOption
|
|
42
|
-
} from "./cli-
|
|
42
|
+
} from "./cli-mnhevv08.js";
|
|
43
43
|
import {
|
|
44
44
|
assertFlags,
|
|
45
45
|
assertPositionals,
|
|
46
46
|
requireTenant
|
|
47
|
-
} from "./cli-
|
|
47
|
+
} from "./cli-5vv062qj.js";
|
|
48
|
+
import {
|
|
49
|
+
parseBooleanFlagValue
|
|
50
|
+
} from "./cli-e0kbye4s.js";
|
|
48
51
|
import {
|
|
49
52
|
ApiError,
|
|
50
53
|
callControlAPI
|
|
51
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-6m24mgfn.js";
|
|
52
55
|
import {
|
|
53
56
|
EXIT_DEGRADED,
|
|
57
|
+
PLATFORM_API_KEY_PREFIX,
|
|
54
58
|
embeddedTenantIdFromApiKey,
|
|
55
59
|
getActiveProfile,
|
|
56
60
|
recordApiRequest,
|
|
@@ -59,7 +63,7 @@ import {
|
|
|
59
63
|
resolveModaBaseUrl,
|
|
60
64
|
resolveTenantId,
|
|
61
65
|
shellArg
|
|
62
|
-
} from "./cli-
|
|
66
|
+
} from "./cli-bd38by3f.js";
|
|
63
67
|
import {
|
|
64
68
|
CliInputError,
|
|
65
69
|
CliInputRequiredError
|
|
@@ -17792,7 +17796,7 @@ function sanitizeHarnessName(value) {
|
|
|
17792
17796
|
return value.replace(/[^A-Za-z0-9._-]+/g, "-").replace(/^[^A-Za-z0-9]+/, "").slice(0, 128) || "harness";
|
|
17793
17797
|
}
|
|
17794
17798
|
// src/harness-register/register.ts
|
|
17795
|
-
var REGISTER_FLAGS = ["mode", "root", "entry", "image", "model-base-url-env", "model-env", "model-api-key-env"];
|
|
17799
|
+
var REGISTER_FLAGS = ["mode", "root", "entry", "image", "model-base-url-env", "model-env", "model-api-key-env", "staff-only"];
|
|
17796
17800
|
var REGISTRATION_FLAGS = ["limit", "offset", "harness", "include-retired"];
|
|
17797
17801
|
var EXCLUSION_REASONS = {
|
|
17798
17802
|
secret_path: "secret file; never opened",
|
|
@@ -17811,9 +17815,13 @@ var EXCLUSION_REASONS = {
|
|
|
17811
17815
|
async function runHarnessRegister(context, argv = process.argv) {
|
|
17812
17816
|
const options = parseRegisterOptions(context, argv);
|
|
17813
17817
|
const profileOptions = { profile: context.profile, env: context.env };
|
|
17814
|
-
|
|
17818
|
+
const apiKey = resolveApiKey(profileOptions);
|
|
17819
|
+
if (!context.dryRun && !apiKey) {
|
|
17815
17820
|
throw new CliInputError("No Moda API key found for harness register.", "Run `moda harness register --dry-run` to review the bundle without one, or set MODA_API_KEY / run `moda auth login --api-key=<key>`.");
|
|
17816
17821
|
}
|
|
17822
|
+
if (!context.dryRun && options.staffOnly && !apiKey?.startsWith(PLATFORM_API_KEY_PREFIX)) {
|
|
17823
|
+
throw new CliInputError("--staff-only is for Moda staff and needs a platform admin key.", `Use a ${PLATFORM_API_KEY_PREFIX} key and pass the customer tenant with --tenant-id=<id>.`);
|
|
17824
|
+
}
|
|
17817
17825
|
const outDir = mkdtempSync(join12(tmpdir2(), "moda-harness-register-"));
|
|
17818
17826
|
try {
|
|
17819
17827
|
writeProgress(context, `Collecting ${options.harnessRoot} into a ${options.mode}-mode bundle...`);
|
|
@@ -17838,7 +17846,7 @@ async function registerCollected(context, options, collected) {
|
|
|
17838
17846
|
baseUrl: resolveModaBaseUrl(profileOptions),
|
|
17839
17847
|
create: async (body) => await whenEnabled(() => callControlAPI("/harness-registrations", {
|
|
17840
17848
|
method: "POST",
|
|
17841
|
-
body: JSON.stringify(body)
|
|
17849
|
+
body: JSON.stringify(options.staffOnly ? { ...body, staffOnly: true } : body)
|
|
17842
17850
|
}, profileOptions)),
|
|
17843
17851
|
complete: async (id) => await callControlAPI(`/harness-registrations/${encodeURIComponent(id)}/complete`, { method: "POST" }, profileOptions, { timeoutMs: 300000 })
|
|
17844
17852
|
};
|
|
@@ -17930,6 +17938,9 @@ function parseRegisterOptions(context, argv) {
|
|
|
17930
17938
|
if (mode !== "source" && mode !== "sealed") {
|
|
17931
17939
|
throw new CliInputError(`--mode must be source or sealed, not '${flags.mode}'.`);
|
|
17932
17940
|
}
|
|
17941
|
+
const staffOnly = flags["staff-only"] === undefined ? false : parseBooleanFlagValue(flags["staff-only"]);
|
|
17942
|
+
if (staffOnly === undefined)
|
|
17943
|
+
throw new CliInputError(`--staff-only takes no value or true/false, not '${flags["staff-only"]}'.`);
|
|
17933
17944
|
const imageRef = flags.image;
|
|
17934
17945
|
if (imageRef !== undefined && !IMAGE_REF.test(imageRef)) {
|
|
17935
17946
|
throw new CliInputError("--image must be pinned by digest: <ref>@sha256:<64 hex>.", "Example: --image=ghcr.io/acme/agent@sha256:3f1c...");
|
|
@@ -17967,7 +17978,7 @@ function parseRegisterOptions(context, argv) {
|
|
|
17967
17978
|
throw new CliInputError(`Harness name '${harnessName}' is not valid.`, 'Use 1-128 letters, digits, ".", "_" or "-", e.g. `moda harness register support-agent`.');
|
|
17968
17979
|
}
|
|
17969
17980
|
const { entrypoint } = entrypointOf(command, modelRouting2);
|
|
17970
|
-
return { harnessName, harnessRoot, mode, ...entrypoint ? { entrypoint } : {}, ...imageRef ? { imageRef } : {} };
|
|
17981
|
+
return { harnessName, harnessRoot, mode, ...entrypoint ? { entrypoint } : {}, ...imageRef ? { imageRef } : {}, ...staffOnly ? { staffOnly } : {} };
|
|
17971
17982
|
}
|
|
17972
17983
|
function buildRegisterReport(collected) {
|
|
17973
17984
|
const { manifest, dependencyMap } = collected;
|
|
@@ -18149,6 +18160,8 @@ function renderRegistrationStatus(registration) {
|
|
|
18149
18160
|
` Harness ${registration.harnessName} (${registration.mode} mode)`,
|
|
18150
18161
|
` Status ${registration.status}`
|
|
18151
18162
|
];
|
|
18163
|
+
if (registration.staffOnly)
|
|
18164
|
+
lines.push(" Staff staff-only: replay reaches it by id; never the latest registration");
|
|
18152
18165
|
if (registration.unchanged)
|
|
18153
18166
|
lines.push(" Unchanged nothing the harness depends on changed since this registration, so no new one was created");
|
|
18154
18167
|
if (registration.failureReason)
|
|
@@ -21010,7 +21023,7 @@ async function runHarnessCommand(context) {
|
|
|
21010
21023
|
throw new CliInputError(`'moda harness ${subcommand}' has no dry-run mode, so nothing was sent.`, `Remove --dry-run to run it for real. Harness commands with a real dry-run: ${[...HARNESS_DRY_RUN_SUBCOMMANDS].join(", ")}.`);
|
|
21011
21024
|
}
|
|
21012
21025
|
if (subcommand === "skeleton" || subcommand === "skeleton-diff") {
|
|
21013
|
-
const { runSkeletonCommand } = await import("./cli-
|
|
21026
|
+
const { runSkeletonCommand } = await import("./cli-6qff9sy8.js");
|
|
21014
21027
|
return runSkeletonCommand(context);
|
|
21015
21028
|
}
|
|
21016
21029
|
if (subcommand === "register")
|
|
@@ -21022,7 +21035,7 @@ async function runHarnessCommand(context) {
|
|
|
21022
21035
|
assertPositionals("harness impact", context.positionals, 1, "moda harness impact --from=<commit> --to=<commit>");
|
|
21023
21036
|
if (!context.flags.from)
|
|
21024
21037
|
throw new CliInputError("harness impact requires --from=<old-commit>.");
|
|
21025
|
-
const { localChangeImpact, readRecordedImpactCalls } = await import("./change-impact-
|
|
21038
|
+
const { localChangeImpact, readRecordedImpactCalls } = await import("./change-impact-p73qj0vj.js");
|
|
21026
21039
|
const result = localChangeImpact({
|
|
21027
21040
|
checkout: resolve10(context.cwd, context.flags.path ?? "."),
|
|
21028
21041
|
from: context.flags.from,
|
|
@@ -21294,7 +21307,7 @@ async function runHarnessCommand(context) {
|
|
|
21294
21307
|
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.");
|
|
21295
21308
|
}
|
|
21296
21309
|
if (context.flags["github-actions"] === "true") {
|
|
21297
|
-
const { runGithubActionsAnalyze } = await import("./harness-github-actions-
|
|
21310
|
+
const { runGithubActionsAnalyze } = await import("./harness-github-actions-ngy90m19.js");
|
|
21298
21311
|
const result = await runGithubActionsAnalyze(rootDir, {
|
|
21299
21312
|
writeReport: (report2) => {
|
|
21300
21313
|
const normalized = normalizeHarnessReport(report2);
|
|
@@ -21445,8 +21458,8 @@ async function runHarnessCommand(context) {
|
|
|
21445
21458
|
}
|
|
21446
21459
|
const { artifacts, unknowns, canonicalAgentIdentities } = deterministicGraphItems(rootDir, promote === "all" ? undefined : promote);
|
|
21447
21460
|
tagComponentStatus({ runtimeAgents: [], artifacts }, rootDir);
|
|
21448
|
-
const { extractHarnessWithContext: extractHarnessWithContext2 } = await import("./index-
|
|
21449
|
-
const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-
|
|
21461
|
+
const { extractHarnessWithContext: extractHarnessWithContext2 } = await import("./index-eb711ctt.js");
|
|
21462
|
+
const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-an75v9ep.js");
|
|
21450
21463
|
let components = { runtimeAgents: [], artifacts: [], warnings: [] };
|
|
21451
21464
|
if (promote === "all" || promote === "topology" || promote === "tools") {
|
|
21452
21465
|
const { result, ctx } = extractHarnessWithContext2(rootDir);
|
|
@@ -21518,8 +21531,8 @@ async function runHarnessCommand(context) {
|
|
|
21518
21531
|
}
|
|
21519
21532
|
case "extract": {
|
|
21520
21533
|
writeHumanProgress(context, "Harness extract: tracing model call sites (no LLM, no network)...");
|
|
21521
|
-
const { extractHarnessWithContext: extractHarnessWithContext2, serializeExtractResult } = await import("./index-
|
|
21522
|
-
const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-
|
|
21534
|
+
const { extractHarnessWithContext: extractHarnessWithContext2, serializeExtractResult } = await import("./index-eb711ctt.js");
|
|
21535
|
+
const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-an75v9ep.js");
|
|
21523
21536
|
const { result, ctx } = extractHarnessWithContext2(rootDir, { fresh: true });
|
|
21524
21537
|
const items = deterministicGraphItems(rootDir);
|
|
21525
21538
|
const artifacts = items.artifacts;
|
|
@@ -22426,8 +22439,8 @@ var CONCERN_PROMOTED_ARTIFACT_TYPES = {
|
|
|
22426
22439
|
evals: new Set(["model_config", "eval"])
|
|
22427
22440
|
};
|
|
22428
22441
|
async function deterministicFloorGraph(rootDir, options = {}) {
|
|
22429
|
-
const { extractHarnessWithContext: extractHarnessWithContext2 } = await import("./index-
|
|
22430
|
-
const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-
|
|
22442
|
+
const { extractHarnessWithContext: extractHarnessWithContext2 } = await import("./index-eb711ctt.js");
|
|
22443
|
+
const { enumerateHarnessComponents, mergeEnumeratedComponents } = await import("./index-an75v9ep.js");
|
|
22431
22444
|
const { result, ctx } = extractHarnessWithContext2(rootDir);
|
|
22432
22445
|
const items = deterministicGraphItems(rootDir);
|
|
22433
22446
|
const components = mergeEnumeratedComponents(items.artifacts, enumerateHarnessComponents(result, ctx));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAuthSessionValid,
|
|
3
3
|
loadAuthSession
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-4fv2pthb.js";
|
|
5
5
|
import {
|
|
6
6
|
inspectPromptManifest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-zh32cntw.js";
|
|
8
8
|
import {
|
|
9
9
|
readHarnessSyncState,
|
|
10
10
|
renderDoctorHuman,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./cli-rpyepjwb.js";
|
|
13
13
|
import {
|
|
14
14
|
callDataAPI
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-6m24mgfn.js";
|
|
16
16
|
import {
|
|
17
17
|
describeModaBaseUrl,
|
|
18
18
|
ensureSecretFilePermissions,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveSecretReference,
|
|
28
28
|
resolveTenantId,
|
|
29
29
|
secretFilePathFromRef
|
|
30
|
-
} from "./cli-
|
|
30
|
+
} from "./cli-bd38by3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__require
|
|
33
33
|
} from "./cli-0v6na3yp.js";
|
|
@@ -393,7 +393,7 @@ async function harnessCurrentCheck(cwd, manifestPath, manifestExists, tenantId)
|
|
|
393
393
|
};
|
|
394
394
|
}
|
|
395
395
|
try {
|
|
396
|
-
const { scanHarness } = await import("./harness-
|
|
396
|
+
const { scanHarness } = await import("./harness-cpajrhyc.js");
|
|
397
397
|
const current = scanHarness({
|
|
398
398
|
rootDir: cwd,
|
|
399
399
|
scannerVersion: "doctor",
|
|
@@ -2295,4 +2295,4 @@ function apiKeyHeaders(key, options = {}, url) {
|
|
|
2295
2295
|
return headers;
|
|
2296
2296
|
}
|
|
2297
2297
|
|
|
2298
|
-
export { PROD_BASE_URL, DEFAULT_INGEST_URL, getModaPaths, getModaDir, isLoopbackBaseUrl, describeBaseUrlSource, loadProfileConfig, saveProfileConfig, getActiveProfile, setActiveProfile, upsertProfile, clearStoredApiKeyCredentials, secretFilePathFromRef, resolveSecretReference, resolveApiKeyFromActiveProfile, resolveTenantIdFromActiveProfile, ensureSecretFilePermissions, writeSecretJsonFile, VERSION, MODA_BASE_URL, loadCliConfig, saveCliConfig, resolveApiKey, embeddedTenantIdFromApiKey, resolveIngestUrl2 as resolveIngestUrl, resolveTenantId, resolveApiTenantId, resolveModaBaseUrl, describeModaBaseUrl, refusedBaseUrlMessage, resolveModaBaseUrlStrict, validateConfig, isPlatformApiKey, setPlatformTenantOverride, apiKeyHeaders, recordApiRequest, getApiRequestCount, resetApiRequestCount, shellArg, apiForbiddenReason, errorBodyFields, apiForbiddenError, LEGACY_NAMES, canonicalCommandText, setAgentUpdateNotice, EXIT_OK, EXIT_ERROR, EXIT_DEGRADED, EXIT_AUTH_REQUIRED, EXIT_INPUT_REQUIRED, EXIT_CANCELLED, AGENT_ERROR_CODES, wasOutputCancelled, safeWriteStdout, safeWriteStderr, explicitOutputMode, outputModeFromFlags, resolveOutputMode, createCliOutput, agentEnvelopeFits, errorToAgentError, agentMaxOutputBytes, continuationCommand };
|
|
2298
|
+
export { PROD_BASE_URL, DEFAULT_INGEST_URL, getModaPaths, getModaDir, isLoopbackBaseUrl, describeBaseUrlSource, loadProfileConfig, saveProfileConfig, getActiveProfile, setActiveProfile, upsertProfile, clearStoredApiKeyCredentials, secretFilePathFromRef, resolveSecretReference, resolveApiKeyFromActiveProfile, resolveTenantIdFromActiveProfile, ensureSecretFilePermissions, writeSecretJsonFile, VERSION, MODA_BASE_URL, loadCliConfig, saveCliConfig, resolveApiKey, embeddedTenantIdFromApiKey, resolveIngestUrl2 as resolveIngestUrl, resolveTenantId, resolveApiTenantId, resolveModaBaseUrl, describeModaBaseUrl, refusedBaseUrlMessage, resolveModaBaseUrlStrict, validateConfig, PLATFORM_API_KEY_PREFIX, isPlatformApiKey, setPlatformTenantOverride, apiKeyHeaders, recordApiRequest, getApiRequestCount, resetApiRequestCount, shellArg, apiForbiddenReason, errorBodyFields, apiForbiddenError, LEGACY_NAMES, canonicalCommandText, setAgentUpdateNotice, EXIT_OK, EXIT_ERROR, EXIT_DEGRADED, EXIT_AUTH_REQUIRED, EXIT_INPUT_REQUIRED, EXIT_CANCELLED, AGENT_ERROR_CODES, wasOutputCancelled, safeWriteStdout, safeWriteStderr, explicitOutputMode, outputModeFromFlags, resolveOutputMode, createCliOutput, agentEnvelopeFits, errorToAgentError, agentMaxOutputBytes, continuationCommand };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchApiKeyProbe
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-d7039574.js";
|
|
4
4
|
import {
|
|
5
5
|
authFetch,
|
|
6
6
|
getCachedLoginContext
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-4fv2pthb.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-bd38by3f.js";
|
|
19
19
|
import {
|
|
20
20
|
CliAccessError,
|
|
21
21
|
CliInputError,
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
} from "./cli-764m5azg.js";
|
|
8
8
|
import {
|
|
9
9
|
createCommandContext
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-mnhevv08.js";
|
|
11
11
|
import {
|
|
12
12
|
assertFlags,
|
|
13
13
|
assertPositionals
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-5vv062qj.js";
|
|
15
15
|
import {
|
|
16
16
|
callControlAPI
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-6m24mgfn.js";
|
|
18
18
|
import {
|
|
19
19
|
CliInputError
|
|
20
20
|
} from "./cli-k4tqwah4.js";
|
|
@@ -270,7 +270,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
|
|
|
270
270
|
const analyzedDefinitions = new Map;
|
|
271
271
|
if (flags["no-analyze"] !== "true") {
|
|
272
272
|
options.onProgress?.("Analyzing prompt sources before sync.");
|
|
273
|
-
const { analyzeHarnessPrompts } = await import("./harness-
|
|
273
|
+
const { analyzeHarnessPrompts } = await import("./harness-cpajrhyc.js");
|
|
274
274
|
const result = await analyzeHarnessPrompts({
|
|
275
275
|
rootDir: process.cwd(),
|
|
276
276
|
existing: established.flatMap((prompt) => prompt.sourceDefinition ? [prompt.sourceDefinition.source] : []),
|
|
@@ -298,7 +298,7 @@ async function runPromptSyncExclusive(flags, profileOptions, options) {
|
|
|
298
298
|
const mergedSources = mergePromptSources(manifest.sources, extraSources);
|
|
299
299
|
const manifestUpdate = stableJson(mergedSources) === stableJson(mergePromptSources(manifest.sources, [])) ? undefined : $stringify({ version: 2, prompt_paths: manifest.promptPaths, sources: mergedSources });
|
|
300
300
|
const prompts = await discoverPrompts(extraSources);
|
|
301
|
-
const { checkPromptAttribution } = await import("./prompt-attribution-
|
|
301
|
+
const { checkPromptAttribution } = await import("./prompt-attribution-9cr331df.js");
|
|
302
302
|
const attribution = checkPromptAttribution(process.cwd(), prompts.map((prompt) => prompt.key));
|
|
303
303
|
const brokenAttribution = attribution.references.filter((reference) => reference.status === "missing");
|
|
304
304
|
if (brokenAttribution.length) {
|
|
@@ -604,7 +604,7 @@ async function migratePromptManifest(options = {}) {
|
|
|
604
604
|
let addedSources = [];
|
|
605
605
|
let pendingSources = [];
|
|
606
606
|
if (options.discover) {
|
|
607
|
-
const { analyzeHarnessPrompts } = await import("./harness-
|
|
607
|
+
const { analyzeHarnessPrompts } = await import("./harness-cpajrhyc.js");
|
|
608
608
|
const result = await analyzeHarnessPrompts({
|
|
609
609
|
rootDir: root,
|
|
610
610
|
existing: manifest.sources,
|
package/dist/cli.js
CHANGED
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
withSummaryCompare,
|
|
27
27
|
withToolFailureAnchors,
|
|
28
28
|
withoutDetectionWindows
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-7w81zgtm.js";
|
|
30
30
|
import {
|
|
31
31
|
createCommandContext
|
|
32
|
-
} from "./cli-
|
|
32
|
+
} from "./cli-mnhevv08.js";
|
|
33
33
|
import {
|
|
34
34
|
AuditSchema,
|
|
35
35
|
BOOK_PROBLEM_SORTS,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
unknownSignalsSubcommandError,
|
|
78
78
|
usageLine,
|
|
79
79
|
writeDryRun
|
|
80
|
-
} from "./cli-
|
|
80
|
+
} from "./cli-5vv062qj.js";
|
|
81
81
|
import {
|
|
82
82
|
envOptOutSet,
|
|
83
83
|
envSwitchedOff,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
import {
|
|
89
89
|
ApiError,
|
|
90
90
|
callDataAPI
|
|
91
|
-
} from "./cli-
|
|
91
|
+
} from "./cli-6m24mgfn.js";
|
|
92
92
|
import {
|
|
93
93
|
AGENT_ERROR_CODES,
|
|
94
94
|
EXIT_AUTH_REQUIRED,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
shellArg,
|
|
122
122
|
validateConfig,
|
|
123
123
|
wasOutputCancelled
|
|
124
|
-
} from "./cli-
|
|
124
|
+
} from "./cli-bd38by3f.js";
|
|
125
125
|
import {
|
|
126
126
|
CliAccessError,
|
|
127
127
|
CliAuthError,
|
|
@@ -2242,6 +2242,7 @@ var HARNESS_SUBCOMMAND_HELP = [
|
|
|
2242
2242
|
{ name: "--entry -- <cmd...>", description: 'How the harness starts; everything after `--` is the command. `--entry="<cmd>"` also works.' },
|
|
2243
2243
|
{ name: "--model-base-url-env=<NAME>", description: "Env var that sets the model base URL, so replay can route inference. Also --model-env and --model-api-key-env. Names only." },
|
|
2244
2244
|
{ name: "--image=<ref>@sha256:<digest>", description: "Sealed mode: the harness image, pinned by digest." },
|
|
2245
|
+
{ name: "--staff-only", description: "Moda staff only (platform admin key plus --tenant-id): register a pinned build, e.g. an older commit to replay an incident against. Replay reaches it by id; it never becomes the latest registration." },
|
|
2245
2246
|
{ name: "--dry-run", description: "Collect and print the full report; upload nothing (no API key needed)." }
|
|
2246
2247
|
],
|
|
2247
2248
|
examples: [
|
|
@@ -3021,40 +3022,40 @@ function leafManifestFields(leaf, commands) {
|
|
|
3021
3022
|
import { fileURLToPath } from "url";
|
|
3022
3023
|
import { realpathSync } from "fs";
|
|
3023
3024
|
async function runPromptsCommand(...args) {
|
|
3024
|
-
return (await import("./prompts-
|
|
3025
|
+
return (await import("./prompts-ybk6gc7y.js")).runPromptsCommand(...args);
|
|
3025
3026
|
}
|
|
3026
3027
|
async function runSkillsCommand(...args) {
|
|
3027
|
-
return (await import("./skills-
|
|
3028
|
+
return (await import("./skills-4bbd6shr.js")).runSkillsCommand(...args);
|
|
3028
3029
|
}
|
|
3029
3030
|
async function runHarnessCommand(...args) {
|
|
3030
|
-
return (await import("./harness-
|
|
3031
|
+
return (await import("./harness-cpajrhyc.js")).runHarnessCommand(...args);
|
|
3031
3032
|
}
|
|
3032
3033
|
async function runSyncCommand(...args) {
|
|
3033
|
-
return (await import("./sync-
|
|
3034
|
+
return (await import("./sync-sjc0av1q.js")).runSyncCommand(...args);
|
|
3034
3035
|
}
|
|
3035
3036
|
async function runRegistryCommand(...args) {
|
|
3036
|
-
return (await import("./registry-
|
|
3037
|
+
return (await import("./registry-hj1xa3n7.js")).runRegistryCommand(...args);
|
|
3037
3038
|
}
|
|
3038
3039
|
async function runDoctorCommand(...args) {
|
|
3039
|
-
return (await import("./doctor-
|
|
3040
|
+
return (await import("./doctor-yy9bj65b.js")).runDoctorCommand(...args);
|
|
3040
3041
|
}
|
|
3041
3042
|
async function runStatusCommand(...args) {
|
|
3042
|
-
return (await import("./doctor-
|
|
3043
|
+
return (await import("./doctor-yy9bj65b.js")).runStatusCommand(...args);
|
|
3043
3044
|
}
|
|
3044
3045
|
async function runAuthCommand(...args) {
|
|
3045
|
-
return (await import("./profile-commands-
|
|
3046
|
+
return (await import("./profile-commands-3ccyj5q3.js")).runAuthCommand(...args);
|
|
3046
3047
|
}
|
|
3047
3048
|
async function runConfigCommand(...args) {
|
|
3048
|
-
return (await import("./profile-commands-
|
|
3049
|
+
return (await import("./profile-commands-3ccyj5q3.js")).runConfigCommand(...args);
|
|
3049
3050
|
}
|
|
3050
3051
|
async function runProfilesCommand(...args) {
|
|
3051
|
-
return (await import("./profile-commands-
|
|
3052
|
+
return (await import("./profile-commands-3ccyj5q3.js")).runProfilesCommand(...args);
|
|
3052
3053
|
}
|
|
3053
3054
|
async function runAgentCommand(...args) {
|
|
3054
|
-
return (await import("./agent-
|
|
3055
|
+
return (await import("./agent-g7pg6qsk.js")).runAgentCommand(...args);
|
|
3055
3056
|
}
|
|
3056
3057
|
async function runProductionCommand(...args) {
|
|
3057
|
-
return (await import("./production-intelligence-
|
|
3058
|
+
return (await import("./production-intelligence-w5avw16d.js")).runProductionCommand(...args);
|
|
3058
3059
|
}
|
|
3059
3060
|
function parseArgs(argv) {
|
|
3060
3061
|
const args = argv.slice(2);
|
|
@@ -3132,7 +3133,8 @@ var RAW_BOOLEAN_FLAGS = new Set([
|
|
|
3132
3133
|
"no-tui",
|
|
3133
3134
|
"no-telemetry",
|
|
3134
3135
|
"no-update-check",
|
|
3135
|
-
"pretty"
|
|
3136
|
+
"pretty",
|
|
3137
|
+
"staff-only"
|
|
3136
3138
|
]);
|
|
3137
3139
|
var GLOBAL_BOOLEAN_FLAGS = new Set([
|
|
3138
3140
|
"agent",
|
|
@@ -6787,7 +6789,7 @@ var commandRegistry = createCommandRegistry([
|
|
|
6787
6789
|
resetApiRequestCountBeforeRun: true,
|
|
6788
6790
|
telemetry: "result-and-error",
|
|
6789
6791
|
handler: async (context) => {
|
|
6790
|
-
const { runInit } = await import("./index-
|
|
6792
|
+
const { runInit } = await import("./index-z8dtmg06.js");
|
|
6791
6793
|
if (context.outputMode === "agent-stream") {
|
|
6792
6794
|
context.output.writeEvent({
|
|
6793
6795
|
event: "started",
|
|
@@ -6837,7 +6839,7 @@ var commandRegistry = createCommandRegistry([
|
|
|
6837
6839
|
resetApiRequestCountBeforeRun: true,
|
|
6838
6840
|
telemetry: "result-and-error",
|
|
6839
6841
|
handler: async (context) => {
|
|
6840
|
-
const { runProvision } = await import("./provision-
|
|
6842
|
+
const { runProvision } = await import("./provision-jjen0rfn.js");
|
|
6841
6843
|
return runProvision(context, {
|
|
6842
6844
|
resumeCommand: buildResumeCommand("provision", context.rawFlags)
|
|
6843
6845
|
});
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
promptsDiscoveredCheck,
|
|
4
4
|
runDoctorCommand,
|
|
5
5
|
runStatusCommand
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
6
|
+
} from "./cli-aaxzwp8g.js";
|
|
7
|
+
import"./cli-4fv2pthb.js";
|
|
8
|
+
import"./cli-zh32cntw.js";
|
|
9
9
|
import"./cli-mm48br00.js";
|
|
10
10
|
import"./cli-764m5azg.js";
|
|
11
11
|
import"./cli-rpyepjwb.js";
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
12
|
+
import"./cli-mnhevv08.js";
|
|
13
|
+
import"./cli-5vv062qj.js";
|
|
14
14
|
import"./cli-e0kbye4s.js";
|
|
15
|
-
import"./cli-
|
|
16
|
-
import"./cli-
|
|
15
|
+
import"./cli-6m24mgfn.js";
|
|
16
|
+
import"./cli-bd38by3f.js";
|
|
17
17
|
import"./cli-k4tqwah4.js";
|
|
18
18
|
import"./cli-9kfxkxmk.js";
|
|
19
19
|
import"./cli-0semcakc.js";
|
|
@@ -48,17 +48,17 @@ import {
|
|
|
48
48
|
writeHarnessAnalyzeResult,
|
|
49
49
|
writeHarnessArtifacts,
|
|
50
50
|
writeHumanProgress
|
|
51
|
-
} from "./cli-
|
|
51
|
+
} from "./cli-8800mp37.js";
|
|
52
52
|
import"./cli-rpyepjwb.js";
|
|
53
53
|
import"./cli-97fnztpy.js";
|
|
54
54
|
import {
|
|
55
55
|
HARNESS_ANALYZE_CONCERNS
|
|
56
56
|
} from "./cli-krm4w2v9.js";
|
|
57
|
-
import"./cli-
|
|
58
|
-
import"./cli-
|
|
57
|
+
import"./cli-mnhevv08.js";
|
|
58
|
+
import"./cli-5vv062qj.js";
|
|
59
59
|
import"./cli-e0kbye4s.js";
|
|
60
|
-
import"./cli-
|
|
61
|
-
import"./cli-
|
|
60
|
+
import"./cli-6m24mgfn.js";
|
|
61
|
+
import"./cli-bd38by3f.js";
|
|
62
62
|
import"./cli-k4tqwah4.js";
|
|
63
63
|
import"./cli-r0pkdy83.js";
|
|
64
64
|
import"./cli-9kfxkxmk.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSourceSnapshot
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-8800mp37.js";
|
|
4
4
|
import"./cli-rpyepjwb.js";
|
|
5
5
|
import"./cli-97fnztpy.js";
|
|
6
6
|
import"./cli-krm4w2v9.js";
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
7
|
+
import"./cli-mnhevv08.js";
|
|
8
|
+
import"./cli-5vv062qj.js";
|
|
9
9
|
import"./cli-e0kbye4s.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-6m24mgfn.js";
|
|
11
11
|
import {
|
|
12
12
|
recordApiRequest
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-bd38by3f.js";
|
|
14
14
|
import"./cli-k4tqwah4.js";
|
|
15
15
|
import"./cli-r0pkdy83.js";
|
|
16
16
|
import"./cli-9kfxkxmk.js";
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
enumerateToolCatalog,
|
|
4
4
|
enumerateWorkflows,
|
|
5
5
|
mergeEnumeratedComponents
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-q96h6rs9.js";
|
|
7
7
|
import {
|
|
8
8
|
createAgentScopeResolver,
|
|
9
9
|
enumerateAgents
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-8800mp37.js";
|
|
11
11
|
import"./cli-rpyepjwb.js";
|
|
12
12
|
import"./cli-97fnztpy.js";
|
|
13
13
|
import"./cli-krm4w2v9.js";
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
14
|
+
import"./cli-mnhevv08.js";
|
|
15
|
+
import"./cli-5vv062qj.js";
|
|
16
16
|
import"./cli-e0kbye4s.js";
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
17
|
+
import"./cli-6m24mgfn.js";
|
|
18
|
+
import"./cli-bd38by3f.js";
|
|
19
19
|
import"./cli-k4tqwah4.js";
|
|
20
20
|
import"./cli-r0pkdy83.js";
|
|
21
21
|
import"./cli-9kfxkxmk.js";
|
|
@@ -20,15 +20,15 @@ import {
|
|
|
20
20
|
serializeExtractResult,
|
|
21
21
|
toolNamesOf,
|
|
22
22
|
valueChildren
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-8800mp37.js";
|
|
24
24
|
import"./cli-rpyepjwb.js";
|
|
25
25
|
import"./cli-97fnztpy.js";
|
|
26
26
|
import"./cli-krm4w2v9.js";
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
27
|
+
import"./cli-mnhevv08.js";
|
|
28
|
+
import"./cli-5vv062qj.js";
|
|
29
29
|
import"./cli-e0kbye4s.js";
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
30
|
+
import"./cli-6m24mgfn.js";
|
|
31
|
+
import"./cli-bd38by3f.js";
|
|
32
32
|
import"./cli-k4tqwah4.js";
|
|
33
33
|
import"./cli-r0pkdy83.js";
|
|
34
34
|
import"./cli-9kfxkxmk.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
selectTenantAndCreateKey
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-wkg8bwhs.js";
|
|
4
4
|
import {
|
|
5
5
|
agentsMdProblem,
|
|
6
6
|
runSkillSync
|
|
7
|
-
} from "./cli-
|
|
8
|
-
import"./cli-
|
|
7
|
+
} from "./cli-6hwyagze.js";
|
|
8
|
+
import"./cli-d7039574.js";
|
|
9
9
|
import {
|
|
10
10
|
buildDoctorReport
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-aaxzwp8g.js";
|
|
12
12
|
import {
|
|
13
13
|
ConnectCodeError,
|
|
14
14
|
connectWithCode,
|
|
15
15
|
loadAuthSession,
|
|
16
16
|
loadToken,
|
|
17
17
|
login
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-4fv2pthb.js";
|
|
19
19
|
import {
|
|
20
20
|
initPrompts,
|
|
21
21
|
runPromptSync
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-zh32cntw.js";
|
|
23
23
|
import {
|
|
24
24
|
bundledSkillsDir,
|
|
25
25
|
installIntegrationSkill,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
runCodingAgent,
|
|
48
48
|
runHarnessCommand,
|
|
49
49
|
startRemoteAnalyze
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-8800mp37.js";
|
|
51
51
|
import {
|
|
52
52
|
canonicalText,
|
|
53
53
|
renderInitBanner,
|
|
@@ -62,17 +62,17 @@ import {
|
|
|
62
62
|
import"./cli-krm4w2v9.js";
|
|
63
63
|
import {
|
|
64
64
|
createCommandContext
|
|
65
|
-
} from "./cli-
|
|
66
|
-
import"./cli-
|
|
65
|
+
} from "./cli-mnhevv08.js";
|
|
66
|
+
import"./cli-5vv062qj.js";
|
|
67
67
|
import"./cli-e0kbye4s.js";
|
|
68
|
-
import"./cli-
|
|
68
|
+
import"./cli-6m24mgfn.js";
|
|
69
69
|
import {
|
|
70
70
|
VERSION,
|
|
71
71
|
recordApiRequest,
|
|
72
72
|
resolveIngestUrl,
|
|
73
73
|
resolveModaBaseUrl,
|
|
74
74
|
shellArg
|
|
75
|
-
} from "./cli-
|
|
75
|
+
} from "./cli-bd38by3f.js";
|
|
76
76
|
import {
|
|
77
77
|
CliAuthError,
|
|
78
78
|
CliInputError
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
overviewTrendsQuery,
|
|
11
11
|
renderTrendsHuman,
|
|
12
12
|
trendsSummaryText
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-7w81zgtm.js";
|
|
14
14
|
import {
|
|
15
15
|
renderMarkdownForTerminal,
|
|
16
16
|
shouldColorTerminalOutput,
|
|
@@ -21,7 +21,7 @@ import"./cli-e0kbye4s.js";
|
|
|
21
21
|
import {
|
|
22
22
|
callControlAPI,
|
|
23
23
|
callDataAPI
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-6m24mgfn.js";
|
|
25
25
|
import {
|
|
26
26
|
EXIT_DEGRADED,
|
|
27
27
|
EXIT_OK,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolveModaBaseUrl,
|
|
32
32
|
safeWriteStderr,
|
|
33
33
|
shellArg
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-bd38by3f.js";
|
|
35
35
|
import {
|
|
36
36
|
CliAuthError,
|
|
37
37
|
CliInputError,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
probeApiKey,
|
|
3
3
|
redactApiKey,
|
|
4
4
|
resolveApiKeyCredential
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-d7039574.js";
|
|
6
6
|
import {
|
|
7
7
|
authFetch,
|
|
8
8
|
clearAuthSession,
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
loadAuthSession,
|
|
11
11
|
login,
|
|
12
12
|
revokeCliSessionToken
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-4fv2pthb.js";
|
|
14
14
|
import {
|
|
15
15
|
ApiError
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-6m24mgfn.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_INGEST_URL,
|
|
19
19
|
EXIT_AUTH_REQUIRED,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
setActiveProfile,
|
|
45
45
|
shellArg,
|
|
46
46
|
upsertProfile
|
|
47
|
-
} from "./cli-
|
|
47
|
+
} from "./cli-bd38by3f.js";
|
|
48
48
|
import {
|
|
49
49
|
CliInputError
|
|
50
50
|
} from "./cli-k4tqwah4.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
inventoryFiles,
|
|
3
3
|
safePromptEvidencePath
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-8800mp37.js";
|
|
5
5
|
import"./cli-rpyepjwb.js";
|
|
6
6
|
import"./cli-97fnztpy.js";
|
|
7
7
|
import"./cli-krm4w2v9.js";
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
8
|
+
import"./cli-mnhevv08.js";
|
|
9
|
+
import"./cli-5vv062qj.js";
|
|
10
10
|
import"./cli-e0kbye4s.js";
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
11
|
+
import"./cli-6m24mgfn.js";
|
|
12
|
+
import"./cli-bd38by3f.js";
|
|
13
13
|
import"./cli-k4tqwah4.js";
|
|
14
14
|
import {
|
|
15
15
|
require_typescript
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
checkPromptMapping,
|
|
4
4
|
discoverHarnessPromptSources,
|
|
5
5
|
safePromptEvidencePath
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-8800mp37.js";
|
|
7
7
|
import"./cli-rpyepjwb.js";
|
|
8
8
|
import"./cli-97fnztpy.js";
|
|
9
9
|
import"./cli-krm4w2v9.js";
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
10
|
+
import"./cli-mnhevv08.js";
|
|
11
|
+
import"./cli-5vv062qj.js";
|
|
12
12
|
import"./cli-e0kbye4s.js";
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
13
|
+
import"./cli-6m24mgfn.js";
|
|
14
|
+
import"./cli-bd38by3f.js";
|
|
15
15
|
import"./cli-k4tqwah4.js";
|
|
16
16
|
import {
|
|
17
17
|
inspectCodeSelectors,
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
runPromptSync,
|
|
10
10
|
runPromptsCommand,
|
|
11
11
|
writePromptSyncProgress
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-zh32cntw.js";
|
|
13
13
|
import {
|
|
14
14
|
promptSourceHashPayload
|
|
15
15
|
} from "./cli-mm48br00.js";
|
|
16
16
|
import"./cli-764m5azg.js";
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
17
|
+
import"./cli-mnhevv08.js";
|
|
18
|
+
import"./cli-5vv062qj.js";
|
|
19
19
|
import"./cli-e0kbye4s.js";
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
20
|
+
import"./cli-6m24mgfn.js";
|
|
21
|
+
import"./cli-bd38by3f.js";
|
|
22
22
|
import"./cli-k4tqwah4.js";
|
|
23
23
|
import"./cli-9kfxkxmk.js";
|
|
24
24
|
import"./cli-0semcakc.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
selectTenantAndCreateKey
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
3
|
+
} from "./cli-wkg8bwhs.js";
|
|
4
|
+
import"./cli-d7039574.js";
|
|
5
5
|
import {
|
|
6
6
|
loadAuthSession
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-4fv2pthb.js";
|
|
8
8
|
import {
|
|
9
9
|
stringOption
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-mnhevv08.js";
|
|
11
11
|
import"./cli-e0kbye4s.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveIngestUrl,
|
|
14
14
|
resolveModaBaseUrl
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-bd38by3f.js";
|
|
16
16
|
import {
|
|
17
17
|
CliAuthError
|
|
18
18
|
} from "./cli-k4tqwah4.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertFlags
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-5vv062qj.js";
|
|
4
4
|
import {
|
|
5
5
|
callControlAPI
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-6m24mgfn.js";
|
|
7
7
|
import {
|
|
8
8
|
explicitOutputMode,
|
|
9
9
|
resolveApiKey
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-bd38by3f.js";
|
|
11
11
|
import {
|
|
12
12
|
CliInputError
|
|
13
13
|
} from "./cli-k4tqwah4.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runSkillSync,
|
|
3
3
|
runSkillsCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-6hwyagze.js";
|
|
5
5
|
import"./cli-2fv0q9tx.js";
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
6
|
+
import"./cli-mnhevv08.js";
|
|
7
|
+
import"./cli-5vv062qj.js";
|
|
8
8
|
import"./cli-e0kbye4s.js";
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
9
|
+
import"./cli-6m24mgfn.js";
|
|
10
|
+
import"./cli-bd38by3f.js";
|
|
11
11
|
import"./cli-k4tqwah4.js";
|
|
12
12
|
import"./cli-0semcakc.js";
|
|
13
13
|
import"./cli-0v6na3yp.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runSkillsCommand
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-6hwyagze.js";
|
|
4
4
|
import {
|
|
5
5
|
runPromptsCommand
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-zh32cntw.js";
|
|
7
7
|
import"./cli-2fv0q9tx.js";
|
|
8
8
|
import"./cli-mm48br00.js";
|
|
9
9
|
import"./cli-764m5azg.js";
|
|
10
10
|
import {
|
|
11
11
|
runHarnessCommand
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-8800mp37.js";
|
|
13
13
|
import"./cli-rpyepjwb.js";
|
|
14
14
|
import"./cli-97fnztpy.js";
|
|
15
15
|
import"./cli-krm4w2v9.js";
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
16
|
+
import"./cli-mnhevv08.js";
|
|
17
|
+
import"./cli-5vv062qj.js";
|
|
18
18
|
import"./cli-e0kbye4s.js";
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
19
|
+
import"./cli-6m24mgfn.js";
|
|
20
|
+
import"./cli-bd38by3f.js";
|
|
21
21
|
import {
|
|
22
22
|
CliInputError
|
|
23
23
|
} from "./cli-k4tqwah4.js";
|
package/package.json
CHANGED