@moda-ai/cli 1.55.108 → 1.55.110
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/README.md +3 -3
- package/dist/{agent-vvefg4bm.js → agent-5kfdbx36.js} +8 -8
- package/dist/{change-impact-5h3k9kg6.js → change-impact-v2vbcphy.js} +5 -5
- package/dist/cli-2fv0q9tx.js +141 -0
- package/dist/{cli-xxpaq3n8.js → cli-3r578f36.js} +6 -6
- package/dist/{cli-13zdcv4w.js → cli-3thzh1mq.js} +1 -1
- package/dist/{cli-998n4kz9.js → cli-6df723jn.js} +1 -1
- package/dist/{cli-5z2f1w5m.js → cli-6zmc6asf.js} +6 -6
- package/dist/{cli-ap7wfbnk.js → cli-7gnw6smk.js} +2 -2
- package/dist/{cli-r2dxdhg8.js → cli-84jkd2x7.js} +13 -13
- package/dist/{cli-mc3z77bv.js → cli-8qtxp95w.js} +1 -1
- package/dist/cli-ahqr7wsp.js +429 -0
- package/dist/{cli-qwnkv4jy.js → cli-bgbtrmtr.js} +1 -1
- package/dist/{cli-n9ng8mym.js → cli-cp8gv24j.js} +1 -1
- package/dist/{cli-eq09n00v.js → cli-ew4pkn5b.js} +6 -6
- package/dist/{cli-ekartfps.js → cli-hv4bztsm.js} +1 -1
- package/dist/{cli-62e1vy8f.js → cli-m6w66x9d.js} +3 -3
- package/dist/{cli-2bhhk2nn.js → cli-mh94f7gp.js} +2 -2
- package/dist/{cli-1nd4339b.js → cli-tca7sztv.js} +2 -2
- package/dist/cli.js +29 -108
- package/dist/{doctor-1hhktzsz.js → doctor-t0b99wnq.js} +7 -7
- package/dist/{harness-github-actions-1hq2ed0v.js → harness-github-actions-e4zrcrym.js} +5 -5
- package/dist/{harness-7s0w2wc9.js → harness-phdj0eqr.js} +5 -5
- package/dist/{index-9adksf01.js → index-65grk0mp.js} +5 -5
- package/dist/{index-n1jx9hta.js → index-86wb6vbh.js} +6 -6
- package/dist/{index-2g0ft2hm.js → index-zhg2zc3x.js} +13 -13
- package/dist/{production-intelligence-8w7an97c.js → production-intelligence-nphep7xw.js} +5 -3
- package/dist/{profile-commands-zgq8dja0.js → profile-commands-tz3jykvh.js} +4 -4
- package/dist/{prompt-attribution-c1a5pysf.js → prompt-attribution-8ak38a3q.js} +5 -5
- package/dist/prompt-source-mcp.js +5 -5
- package/dist/{prompts-fdqrbawx.js → prompts-a8zcvc1c.js} +5 -5
- package/dist/{provision-d0sxcka1.js → provision-2dzzb0be.js} +5 -5
- package/dist/{registry-vxrxw1tj.js → registry-p07epn79.js} +22 -18
- package/dist/skills-5atq9sgh.js +17 -0
- package/dist/{skills-bundled-7jes6hqx.js → skills-bundled-tcxpw88n.js} +2 -2
- package/dist/{sync-gxgpfztm.js → sync-e76vmfty.js} +10 -12
- package/package.json +1 -1
- package/skills/integration/index.json +2 -2
- package/skills/moda-cli/SKILL.md +1 -1
- package/skills/moda-cli/references/commands.md +2 -2
- package/skills/moda-cli/references/dashboard-parity.md +1 -1
- package/skills/moda-cli/references/output-protocol.md +4 -4
- package/skills/moda-cli/references/registry.md +1 -3
- package/dist/cli-h7hfpmwa.js +0 -1019
- package/dist/cli-qm5b1vck.js +0 -220
- package/dist/skills-rjbnv8nn.js +0 -23
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-7gnw6smk.js";
|
|
30
30
|
import {
|
|
31
31
|
createCommandContext
|
|
32
|
-
} from "./cli-
|
|
32
|
+
} from "./cli-3thzh1mq.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-mh94f7gp.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-cp8gv24j.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-tca7sztv.js";
|
|
125
125
|
import {
|
|
126
126
|
CliAccessError,
|
|
127
127
|
CliAuthError,
|
|
@@ -1444,7 +1444,7 @@ var NOUN_SUMMARIES = {
|
|
|
1444
1444
|
cohorts: "User cohorts: list, read, preview and compare them, and save or edit one; scope lists with --cohort",
|
|
1445
1445
|
review: "Mark a detection a false positive, correct, or clear the mark",
|
|
1446
1446
|
reviews: "List false-positive marks and detection reviews",
|
|
1447
|
-
skills: "
|
|
1447
|
+
skills: "List, show, push, and install agent skills"
|
|
1448
1448
|
};
|
|
1449
1449
|
function leafFor(noun, verb) {
|
|
1450
1450
|
if (noun === "review")
|
|
@@ -1991,41 +1991,6 @@ var SIGNALS_SUBCOMMAND_HELP = [
|
|
|
1991
1991
|
}
|
|
1992
1992
|
];
|
|
1993
1993
|
var SKILLS_SUBCOMMAND_HELP = [
|
|
1994
|
-
{
|
|
1995
|
-
name: "gen",
|
|
1996
|
-
hidden: true,
|
|
1997
|
-
description: "Generate skills from production traces (paid: clustering + LLM distillation; no dry-run)",
|
|
1998
|
-
usage: "moda skills gen [--source=all|sdk] [--max-sessions=N] [--lookback-hours=N] [--max-traces=N] [--start-at=ISO] [--end-at=ISO] [--wait]",
|
|
1999
|
-
flags: [
|
|
2000
|
-
{ name: "--source=all|sdk", description: "Which traces to learn from (default all)." },
|
|
2001
|
-
{ name: "--max-sessions=<n>", description: "Sessions to process (server default 200). Must be 1 or more." },
|
|
2002
|
-
{ name: "--lookback-hours=<n>", description: "Window to read (server default 720 = 30 days). Must be 1 or more." },
|
|
2003
|
-
{ name: "--start-at=<iso>, --end-at=<iso>", description: "Explicit window instead of --lookback-hours." },
|
|
2004
|
-
{ name: "--max-traces=<n>", description: "Cap on cluster traces loaded for distillation." },
|
|
2005
|
-
{ name: "--reprocess-segments", description: "Re-segment sessions that were already processed." },
|
|
2006
|
-
{ name: "--force-reprocess", description: "Reprocess everything in the window (implies --reprocess-segments)." },
|
|
2007
|
-
{ name: "--no-clustering", description: "Skip clustering; reuse --clustering-run-id." },
|
|
2008
|
-
{ name: "--clustering-run-id=<id>", description: "Use an existing clustering run." },
|
|
2009
|
-
{ name: "--wait", description: "Wait for the run to finish instead of returning once it is accepted." },
|
|
2010
|
-
TENANT_ID
|
|
2011
|
-
],
|
|
2012
|
-
examples: ["moda skills gen", "moda skills gen --lookback-hours=168 --max-sessions=50 --wait"]
|
|
2013
|
-
},
|
|
2014
|
-
{
|
|
2015
|
-
name: "status",
|
|
2016
|
-
hidden: true,
|
|
2017
|
-
description: "Show a skill generation run (default: the latest) and its events",
|
|
2018
|
-
usage: "moda skills status [<run_id>] [--run-id=<id>]",
|
|
2019
|
-
examples: ["moda skills status", "moda skills status <run_id>"]
|
|
2020
|
-
},
|
|
2021
|
-
{
|
|
2022
|
-
name: "pull",
|
|
2023
|
-
hidden: true,
|
|
2024
|
-
description: "Write generated skills into the detected coding agents' skill directories",
|
|
2025
|
-
usage: "moda skills pull [--status=approved|proposed|all]",
|
|
2026
|
-
flags: [{ name: "--status=approved|proposed|all", description: "Which skills to pull (default approved)." }],
|
|
2027
|
-
examples: ["moda skills pull", "moda skills pull --status=all"]
|
|
2028
|
-
},
|
|
2029
1994
|
{
|
|
2030
1995
|
name: "push",
|
|
2031
1996
|
description: "Upload locally authored .claude/skills/**/SKILL.md files to Moda (legacy name: sync)",
|
|
@@ -2035,7 +2000,7 @@ var SKILLS_SUBCOMMAND_HELP = [
|
|
|
2035
2000
|
},
|
|
2036
2001
|
{
|
|
2037
2002
|
name: "list",
|
|
2038
|
-
description: "List the tenant's skills (
|
|
2003
|
+
description: "List the tenant's registered skills (read-only)",
|
|
2039
2004
|
usage: "moda skills list",
|
|
2040
2005
|
examples: ["moda skills list"]
|
|
2041
2006
|
},
|
|
@@ -2045,37 +2010,6 @@ var SKILLS_SUBCOMMAND_HELP = [
|
|
|
2045
2010
|
usage: "moda skills show <key_or_id>",
|
|
2046
2011
|
examples: ["moda skills show refund-policy"]
|
|
2047
2012
|
},
|
|
2048
|
-
{
|
|
2049
|
-
name: "policy",
|
|
2050
|
-
description: "Switch a skill between live (served to agents) and local-only",
|
|
2051
|
-
usage: "moda skills policy <key_or_id> --live|--local [--dry-run]",
|
|
2052
|
-
flags: [
|
|
2053
|
-
{ name: "--live", description: "Include the skill in the served skill surface." },
|
|
2054
|
-
{ name: "--local", description: "Keep the skill local-only (not served)." },
|
|
2055
|
-
DRY_RUN
|
|
2056
|
-
],
|
|
2057
|
-
examples: ["moda skills policy refund-policy --live --dry-run"]
|
|
2058
|
-
},
|
|
2059
|
-
{
|
|
2060
|
-
name: "proposals",
|
|
2061
|
-
hidden: true,
|
|
2062
|
-
description: "List skill improvement proposals (read-only)",
|
|
2063
|
-
usage: "moda skills proposals list [--status=ready_for_pr|all] [--generation-run-id=<id>]",
|
|
2064
|
-
flags: [
|
|
2065
|
-
{ name: "--status=<status>", description: "Proposal status to list (default ready_for_pr; all for every status)." },
|
|
2066
|
-
{ name: "--generation-run-id=<id>", description: "Only proposals from one generation run." },
|
|
2067
|
-
TENANT_ID
|
|
2068
|
-
],
|
|
2069
|
-
examples: ["moda skills proposals list"]
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
name: "proposal",
|
|
2073
|
-
hidden: true,
|
|
2074
|
-
description: "Apply a skill proposal: write its SKILL.md locally and acknowledge it on the server",
|
|
2075
|
-
usage: "moda skills proposal apply <proposal_id>",
|
|
2076
|
-
flags: [TENANT_ID],
|
|
2077
|
-
examples: ["moda skills proposal apply <proposal_id>"]
|
|
2078
|
-
},
|
|
2079
2013
|
{
|
|
2080
2014
|
name: "install",
|
|
2081
2015
|
description: "Install bundled integration guides into .claude/skills, or refresh the moda-cli skill (offline; no API key)",
|
|
@@ -2886,7 +2820,7 @@ function buildManifest(commands) {
|
|
|
2886
2820
|
{ term: "ingest key", meaning: "A `moda_sk_` API key for SDKs, CI, and Data API calls. Treat it as a secret." },
|
|
2887
2821
|
{ term: "CLI session token", meaning: "A local browser-auth session token used by CLI auth/bootstrap flows, not by application SDKs." },
|
|
2888
2822
|
{ term: "prompt", meaning: "A code-first prompt file tracked by `.moda/prompts.yml` and synced to Moda." },
|
|
2889
|
-
{ term: "skill", meaning: "A SKILL.md agent instruction file
|
|
2823
|
+
{ term: "skill", meaning: "A SKILL.md agent instruction file pushed to Moda or installed by the CLI." }
|
|
2890
2824
|
]
|
|
2891
2825
|
};
|
|
2892
2826
|
}
|
|
@@ -3087,40 +3021,40 @@ function leafManifestFields(leaf, commands) {
|
|
|
3087
3021
|
import { fileURLToPath } from "url";
|
|
3088
3022
|
import { realpathSync } from "fs";
|
|
3089
3023
|
async function runPromptsCommand(...args) {
|
|
3090
|
-
return (await import("./prompts-
|
|
3024
|
+
return (await import("./prompts-a8zcvc1c.js")).runPromptsCommand(...args);
|
|
3091
3025
|
}
|
|
3092
3026
|
async function runSkillsCommand(...args) {
|
|
3093
|
-
return (await import("./skills-
|
|
3027
|
+
return (await import("./skills-5atq9sgh.js")).runSkillsCommand(...args);
|
|
3094
3028
|
}
|
|
3095
3029
|
async function runHarnessCommand(...args) {
|
|
3096
|
-
return (await import("./harness-
|
|
3030
|
+
return (await import("./harness-phdj0eqr.js")).runHarnessCommand(...args);
|
|
3097
3031
|
}
|
|
3098
3032
|
async function runSyncCommand(...args) {
|
|
3099
|
-
return (await import("./sync-
|
|
3033
|
+
return (await import("./sync-e76vmfty.js")).runSyncCommand(...args);
|
|
3100
3034
|
}
|
|
3101
3035
|
async function runRegistryCommand(...args) {
|
|
3102
|
-
return (await import("./registry-
|
|
3036
|
+
return (await import("./registry-p07epn79.js")).runRegistryCommand(...args);
|
|
3103
3037
|
}
|
|
3104
3038
|
async function runDoctorCommand(...args) {
|
|
3105
|
-
return (await import("./doctor-
|
|
3039
|
+
return (await import("./doctor-t0b99wnq.js")).runDoctorCommand(...args);
|
|
3106
3040
|
}
|
|
3107
3041
|
async function runStatusCommand(...args) {
|
|
3108
|
-
return (await import("./doctor-
|
|
3042
|
+
return (await import("./doctor-t0b99wnq.js")).runStatusCommand(...args);
|
|
3109
3043
|
}
|
|
3110
3044
|
async function runAuthCommand(...args) {
|
|
3111
|
-
return (await import("./profile-commands-
|
|
3045
|
+
return (await import("./profile-commands-tz3jykvh.js")).runAuthCommand(...args);
|
|
3112
3046
|
}
|
|
3113
3047
|
async function runConfigCommand(...args) {
|
|
3114
|
-
return (await import("./profile-commands-
|
|
3048
|
+
return (await import("./profile-commands-tz3jykvh.js")).runConfigCommand(...args);
|
|
3115
3049
|
}
|
|
3116
3050
|
async function runProfilesCommand(...args) {
|
|
3117
|
-
return (await import("./profile-commands-
|
|
3051
|
+
return (await import("./profile-commands-tz3jykvh.js")).runProfilesCommand(...args);
|
|
3118
3052
|
}
|
|
3119
3053
|
async function runAgentCommand(...args) {
|
|
3120
|
-
return (await import("./agent-
|
|
3054
|
+
return (await import("./agent-5kfdbx36.js")).runAgentCommand(...args);
|
|
3121
3055
|
}
|
|
3122
3056
|
async function runProductionCommand(...args) {
|
|
3123
|
-
return (await import("./production-intelligence-
|
|
3057
|
+
return (await import("./production-intelligence-nphep7xw.js")).runProductionCommand(...args);
|
|
3124
3058
|
}
|
|
3125
3059
|
function parseArgs(argv) {
|
|
3126
3060
|
const args = argv.slice(2);
|
|
@@ -3167,8 +3101,6 @@ var RAW_BOOLEAN_FLAGS = new Set([
|
|
|
3167
3101
|
"watch",
|
|
3168
3102
|
"undo",
|
|
3169
3103
|
"all",
|
|
3170
|
-
"wait",
|
|
3171
|
-
"wait-for-completion",
|
|
3172
3104
|
"summary",
|
|
3173
3105
|
"list",
|
|
3174
3106
|
"save",
|
|
@@ -3180,8 +3112,6 @@ var RAW_BOOLEAN_FLAGS = new Set([
|
|
|
3180
3112
|
"discover",
|
|
3181
3113
|
"experimental",
|
|
3182
3114
|
"force",
|
|
3183
|
-
"force-reprocess",
|
|
3184
|
-
"reprocess-segments",
|
|
3185
3115
|
"online",
|
|
3186
3116
|
"offline",
|
|
3187
3117
|
"progress",
|
|
@@ -3191,7 +3121,6 @@ var RAW_BOOLEAN_FLAGS = new Set([
|
|
|
3191
3121
|
"verbose",
|
|
3192
3122
|
"allow-untrack",
|
|
3193
3123
|
"github-actions",
|
|
3194
|
-
"no-clustering",
|
|
3195
3124
|
"no-analyze",
|
|
3196
3125
|
"allow-no-agents",
|
|
3197
3126
|
"json",
|
|
@@ -3665,15 +3594,8 @@ function printTreeHelp(parsed) {
|
|
|
3665
3594
|
return false;
|
|
3666
3595
|
const [noun, verb] = usePath(legacy).split(" ");
|
|
3667
3596
|
const leaf = leafFor(noun, verb);
|
|
3668
|
-
if (!leaf)
|
|
3669
|
-
|
|
3670
|
-
const entry = target?.subcommands?.find((subcommand) => subcommand.name === verb);
|
|
3671
|
-
if (!target || !entry)
|
|
3672
|
-
return false;
|
|
3673
|
-
console.log(`'moda ${legacy.legacy}' is a legacy name for '${legacy.use}'; it still works. ${legacy.note ?? ""}`.trim());
|
|
3674
|
-
printSubcommandHelp(target, entry);
|
|
3675
|
-
return true;
|
|
3676
|
-
}
|
|
3597
|
+
if (!leaf)
|
|
3598
|
+
return false;
|
|
3677
3599
|
const focus = /--family=([a-z_]+)/.exec(legacy.use)?.[1];
|
|
3678
3600
|
console.log(renderLeafHelp(leaf, { legacy, ...focus ? { focus } : {} }));
|
|
3679
3601
|
return true;
|
|
@@ -4247,7 +4169,7 @@ function parseCommandFlags(schema, args, command, options = {}) {
|
|
|
4247
4169
|
]);
|
|
4248
4170
|
const unknown = Object.keys(args).filter((key) => !known.has(key));
|
|
4249
4171
|
if (unknown.includes("dry_run")) {
|
|
4250
|
-
throw new CliInputError(`'moda ${command}' has no dry-run mode (it does not write), so nothing was sent.`, `Remove --dry-run. Every write takes --dry-run: problems feedback|reopen|link, review, feedback, signals <write subcommands>, sync, registry push, harness sync/delete/register, prompts sync/decide, skills
|
|
4172
|
+
throw new CliInputError(`'moda ${command}' has no dry-run mode (it does not write), so nothing was sent.`, `Remove --dry-run. Every write takes --dry-run: problems feedback|reopen|link, review, feedback, signals <write subcommands>, sync, registry push, harness sync/delete/register, prompts sync/decide, skills push.`, "unsupported_dry_run");
|
|
4251
4173
|
}
|
|
4252
4174
|
if (unknown.length > 0) {
|
|
4253
4175
|
const flagKeys = [
|
|
@@ -6869,7 +6791,7 @@ var commandRegistry = createCommandRegistry([
|
|
|
6869
6791
|
resetApiRequestCountBeforeRun: true,
|
|
6870
6792
|
telemetry: "result-and-error",
|
|
6871
6793
|
handler: async (context) => {
|
|
6872
|
-
const { runInit } = await import("./index-
|
|
6794
|
+
const { runInit } = await import("./index-zhg2zc3x.js");
|
|
6873
6795
|
if (context.outputMode === "agent-stream") {
|
|
6874
6796
|
context.output.writeEvent({
|
|
6875
6797
|
event: "started",
|
|
@@ -6919,7 +6841,7 @@ var commandRegistry = createCommandRegistry([
|
|
|
6919
6841
|
resetApiRequestCountBeforeRun: true,
|
|
6920
6842
|
telemetry: "result-and-error",
|
|
6921
6843
|
handler: async (context) => {
|
|
6922
|
-
const { runProvision } = await import("./provision-
|
|
6844
|
+
const { runProvision } = await import("./provision-2dzzb0be.js");
|
|
6923
6845
|
return runProvision(context, {
|
|
6924
6846
|
resumeCommand: buildResumeCommand("provision", context.rawFlags)
|
|
6925
6847
|
});
|
|
@@ -7260,14 +7182,13 @@ var commandRegistry = createCommandRegistry([
|
|
|
7260
7182
|
{
|
|
7261
7183
|
name: "push",
|
|
7262
7184
|
description: "Upload the manifest's prompts, skills, tools, and harness sections to the API key's tenant",
|
|
7263
|
-
usage: "moda registry push [--file=<path>] [--dry-run] [--
|
|
7185
|
+
usage: "moda registry push [--file=<path>] [--dry-run] [--message=<text>]",
|
|
7264
7186
|
flags: [
|
|
7265
7187
|
{ name: "--file=<path>", description: "Manifest path (default .moda/registry.json)." },
|
|
7266
7188
|
{ name: "--message=<text>", description: "Message for the registry commit this push records (shown in the dashboard Registry history)." },
|
|
7267
|
-
{ name: "--dry-run", description: "Server-side preview; nothing is written. Without an API key, validates locally only." }
|
|
7268
|
-
{ name: "--live", description: "Mark every pushed skill live (included in the served skill surface)." }
|
|
7189
|
+
{ name: "--dry-run", description: "Server-side preview; nothing is written. Without an API key, validates locally only." }
|
|
7269
7190
|
],
|
|
7270
|
-
examples: ["moda registry push --dry-run", "moda registry push
|
|
7191
|
+
examples: ["moda registry push --dry-run", "moda registry push"]
|
|
7271
7192
|
},
|
|
7272
7193
|
{
|
|
7273
7194
|
name: "status",
|
|
@@ -7813,7 +7734,7 @@ var commandRegistry = createCommandRegistry([
|
|
|
7813
7734
|
],
|
|
7814
7735
|
subcommands: SKILLS_SUBCOMMAND_HELP,
|
|
7815
7736
|
auth: "api-key",
|
|
7816
|
-
authNote: "install is local; push, list,
|
|
7737
|
+
authNote: "install is local; push, list, and show need the API key.",
|
|
7817
7738
|
outputModes: ["human", "json", "agent"],
|
|
7818
7739
|
mutability: "write",
|
|
7819
7740
|
validateConfigBeforeRun: false,
|
|
@@ -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-ew4pkn5b.js";
|
|
7
|
+
import"./cli-bgbtrmtr.js";
|
|
8
|
+
import"./cli-3r578f36.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-3thzh1mq.js";
|
|
13
|
+
import"./cli-mh94f7gp.js";
|
|
14
14
|
import"./cli-e0kbye4s.js";
|
|
15
|
-
import"./cli-
|
|
16
|
-
import"./cli-
|
|
15
|
+
import"./cli-cp8gv24j.js";
|
|
16
|
+
import"./cli-tca7sztv.js";
|
|
17
17
|
import"./cli-k4tqwah4.js";
|
|
18
18
|
import"./cli-9kfxkxmk.js";
|
|
19
19
|
import"./cli-0semcakc.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSourceSnapshot
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-84jkd2x7.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-3thzh1mq.js";
|
|
8
|
+
import"./cli-mh94f7gp.js";
|
|
9
9
|
import"./cli-e0kbye4s.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-cp8gv24j.js";
|
|
11
11
|
import {
|
|
12
12
|
recordApiRequest
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-tca7sztv.js";
|
|
14
14
|
import"./cli-k4tqwah4.js";
|
|
15
15
|
import"./cli-r0pkdy83.js";
|
|
16
16
|
import"./cli-9kfxkxmk.js";
|
|
@@ -48,17 +48,17 @@ import {
|
|
|
48
48
|
writeHarnessAnalyzeResult,
|
|
49
49
|
writeHarnessArtifacts,
|
|
50
50
|
writeHumanProgress
|
|
51
|
-
} from "./cli-
|
|
51
|
+
} from "./cli-84jkd2x7.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-3thzh1mq.js";
|
|
58
|
+
import"./cli-mh94f7gp.js";
|
|
59
59
|
import"./cli-e0kbye4s.js";
|
|
60
|
-
import"./cli-
|
|
61
|
-
import"./cli-
|
|
60
|
+
import"./cli-cp8gv24j.js";
|
|
61
|
+
import"./cli-tca7sztv.js";
|
|
62
62
|
import"./cli-k4tqwah4.js";
|
|
63
63
|
import"./cli-r0pkdy83.js";
|
|
64
64
|
import"./cli-9kfxkxmk.js";
|
|
@@ -20,15 +20,15 @@ import {
|
|
|
20
20
|
serializeExtractResult,
|
|
21
21
|
toolNamesOf,
|
|
22
22
|
valueChildren
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-84jkd2x7.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-3thzh1mq.js";
|
|
28
|
+
import"./cli-mh94f7gp.js";
|
|
29
29
|
import"./cli-e0kbye4s.js";
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
30
|
+
import"./cli-cp8gv24j.js";
|
|
31
|
+
import"./cli-tca7sztv.js";
|
|
32
32
|
import"./cli-k4tqwah4.js";
|
|
33
33
|
import"./cli-r0pkdy83.js";
|
|
34
34
|
import"./cli-9kfxkxmk.js";
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
enumerateToolCatalog,
|
|
4
4
|
enumerateWorkflows,
|
|
5
5
|
mergeEnumeratedComponents
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-hv4bztsm.js";
|
|
7
7
|
import {
|
|
8
8
|
createAgentScopeResolver,
|
|
9
9
|
enumerateAgents
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-84jkd2x7.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-3thzh1mq.js";
|
|
15
|
+
import"./cli-mh94f7gp.js";
|
|
16
16
|
import"./cli-e0kbye4s.js";
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
17
|
+
import"./cli-cp8gv24j.js";
|
|
18
|
+
import"./cli-tca7sztv.js";
|
|
19
19
|
import"./cli-k4tqwah4.js";
|
|
20
20
|
import"./cli-r0pkdy83.js";
|
|
21
21
|
import"./cli-9kfxkxmk.js";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
selectTenantAndCreateKey
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-m6w66x9d.js";
|
|
4
4
|
import {
|
|
5
5
|
agentsMdProblem,
|
|
6
6
|
runSkillSync
|
|
7
|
-
} from "./cli-
|
|
8
|
-
import"./cli-
|
|
7
|
+
} from "./cli-ahqr7wsp.js";
|
|
8
|
+
import"./cli-6df723jn.js";
|
|
9
9
|
import {
|
|
10
10
|
buildDoctorReport
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-ew4pkn5b.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-bgbtrmtr.js";
|
|
19
19
|
import {
|
|
20
20
|
initPrompts,
|
|
21
21
|
runPromptSync
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-3r578f36.js";
|
|
23
23
|
import {
|
|
24
24
|
bundledSkillsDir,
|
|
25
25
|
installIntegrationSkill,
|
|
26
26
|
readBundledIndex
|
|
27
|
-
} from "./cli-
|
|
28
|
-
import"./cli-
|
|
27
|
+
} from "./cli-8qtxp95w.js";
|
|
28
|
+
import"./cli-2fv0q9tx.js";
|
|
29
29
|
import {
|
|
30
30
|
detectAgents
|
|
31
31
|
} from "./cli-rjav0vj1.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
runCodingAgent,
|
|
48
48
|
runHarnessCommand,
|
|
49
49
|
startRemoteAnalyze
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-84jkd2x7.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-3thzh1mq.js";
|
|
66
|
+
import"./cli-mh94f7gp.js";
|
|
67
67
|
import"./cli-e0kbye4s.js";
|
|
68
|
-
import"./cli-
|
|
68
|
+
import"./cli-cp8gv24j.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-tca7sztv.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-7gnw6smk.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-cp8gv24j.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-tca7sztv.js";
|
|
35
35
|
import {
|
|
36
36
|
CliAuthError,
|
|
37
37
|
CliInputError,
|
|
@@ -229,6 +229,8 @@ class AskStreamCollector {
|
|
|
229
229
|
break;
|
|
230
230
|
}
|
|
231
231
|
case "done": {
|
|
232
|
+
if (typeof event.answer === "string")
|
|
233
|
+
this.answer = event.answer;
|
|
232
234
|
this.terminal = true;
|
|
233
235
|
this.confidence = normalizeStreamConfidence(event.confidence);
|
|
234
236
|
if (typeof event.elapsedMs === "number")
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
probeApiKey,
|
|
3
3
|
redactApiKey,
|
|
4
4
|
resolveApiKeyCredential
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-6df723jn.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-bgbtrmtr.js";
|
|
14
14
|
import {
|
|
15
15
|
ApiError
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-cp8gv24j.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-tca7sztv.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-84jkd2x7.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-3thzh1mq.js";
|
|
9
|
+
import"./cli-mh94f7gp.js";
|
|
10
10
|
import"./cli-e0kbye4s.js";
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
11
|
+
import"./cli-cp8gv24j.js";
|
|
12
|
+
import"./cli-tca7sztv.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-84jkd2x7.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-3thzh1mq.js";
|
|
11
|
+
import"./cli-mh94f7gp.js";
|
|
12
12
|
import"./cli-e0kbye4s.js";
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
13
|
+
import"./cli-cp8gv24j.js";
|
|
14
|
+
import"./cli-tca7sztv.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-3r578f36.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-3thzh1mq.js";
|
|
18
|
+
import"./cli-mh94f7gp.js";
|
|
19
19
|
import"./cli-e0kbye4s.js";
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
20
|
+
import"./cli-cp8gv24j.js";
|
|
21
|
+
import"./cli-tca7sztv.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-m6w66x9d.js";
|
|
4
|
+
import"./cli-6df723jn.js";
|
|
5
5
|
import {
|
|
6
6
|
loadAuthSession
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-bgbtrmtr.js";
|
|
8
8
|
import {
|
|
9
9
|
stringOption
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-3thzh1mq.js";
|
|
11
11
|
import"./cli-e0kbye4s.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveIngestUrl,
|
|
14
14
|
resolveModaBaseUrl
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-tca7sztv.js";
|
|
16
16
|
import {
|
|
17
17
|
CliAuthError
|
|
18
18
|
} from "./cli-k4tqwah4.js";
|