@moda-ai/cli 1.55.107 → 1.55.109
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-s7y4147m.js → agent-5kfdbx36.js} +9 -9
- package/dist/{change-impact-4kafnhjs.js → change-impact-v2vbcphy.js} +6 -6
- package/dist/cli-2fv0q9tx.js +141 -0
- package/dist/{cli-wds9vyfc.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-zhytd6vx.js → cli-6zmc6asf.js} +7 -7
- package/dist/{cli-ap7wfbnk.js → cli-7gnw6smk.js} +2 -2
- package/dist/{cli-ctt5e18a.js → cli-84jkd2x7.js} +14 -14
- 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-p62hq2sh.js → cli-ew4pkn5b.js} +7 -7
- package/dist/{cli-00pnbffb.js → cli-hv4bztsm.js} +1 -1
- package/dist/{cli-62e1vy8f.js → cli-m6w66x9d.js} +3 -3
- package/dist/{cli-37z2f5wa.js → cli-mh94f7gp.js} +4 -9
- package/dist/{cli-51zgnfvk.js → cli-rpyepjwb.js} +1 -1
- package/dist/{cli-1nd4339b.js → cli-tca7sztv.js} +2 -2
- package/dist/cli.js +29 -131
- package/dist/{doctor-9bwwb3qh.js → doctor-t0b99wnq.js} +8 -8
- package/dist/{harness-github-actions-hnn2qhew.js → harness-github-actions-e4zrcrym.js} +6 -6
- package/dist/{harness-vvzq3b7j.js → harness-phdj0eqr.js} +6 -6
- package/dist/{index-54s9qh63.js → index-65grk0mp.js} +6 -6
- package/dist/{index-xz7gvfhc.js → index-86wb6vbh.js} +7 -7
- package/dist/{index-pehbgwrh.js → index-zhg2zc3x.js} +14 -14
- package/dist/{production-intelligence-8w7an97c.js → production-intelligence-31p18dfx.js} +3 -3
- package/dist/{profile-commands-zgq8dja0.js → profile-commands-tz3jykvh.js} +4 -4
- package/dist/{prompt-attribution-245m798r.js → prompt-attribution-8ak38a3q.js} +6 -6
- package/dist/prompt-source-mcp.js +6 -6
- package/dist/{prompts-vay4denw.js → prompts-a8zcvc1c.js} +5 -5
- package/dist/{provision-d0sxcka1.js → provision-2dzzb0be.js} +5 -5
- package/dist/{registry-w50mdzsb.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-s64t7fas.js → sync-e76vmfty.js} +11 -13
- 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-0mnbxftj.js +0 -1019
- package/dist/cli-qm5b1vck.js +0 -220
- package/dist/skills-nrn4bqc3.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,
|
|
@@ -53,7 +53,6 @@ import {
|
|
|
53
53
|
ProblemsRemainderSchema,
|
|
54
54
|
SIGNALS_MANAGEMENT_SUBCOMMANDS,
|
|
55
55
|
SignalLabelSchema,
|
|
56
|
-
StepScoresSchema,
|
|
57
56
|
TRACE_GRAIN_FLAGS,
|
|
58
57
|
TraceFindingsSchema,
|
|
59
58
|
UUID_RE,
|
|
@@ -78,7 +77,7 @@ import {
|
|
|
78
77
|
unknownSignalsSubcommandError,
|
|
79
78
|
usageLine,
|
|
80
79
|
writeDryRun
|
|
81
|
-
} from "./cli-
|
|
80
|
+
} from "./cli-mh94f7gp.js";
|
|
82
81
|
import {
|
|
83
82
|
envOptOutSet,
|
|
84
83
|
envSwitchedOff,
|
|
@@ -89,7 +88,7 @@ import {
|
|
|
89
88
|
import {
|
|
90
89
|
ApiError,
|
|
91
90
|
callDataAPI
|
|
92
|
-
} from "./cli-
|
|
91
|
+
} from "./cli-cp8gv24j.js";
|
|
93
92
|
import {
|
|
94
93
|
AGENT_ERROR_CODES,
|
|
95
94
|
EXIT_AUTH_REQUIRED,
|
|
@@ -122,7 +121,7 @@ import {
|
|
|
122
121
|
shellArg,
|
|
123
122
|
validateConfig,
|
|
124
123
|
wasOutputCancelled
|
|
125
|
-
} from "./cli-
|
|
124
|
+
} from "./cli-tca7sztv.js";
|
|
126
125
|
import {
|
|
127
126
|
CliAccessError,
|
|
128
127
|
CliAuthError,
|
|
@@ -1445,7 +1444,7 @@ var NOUN_SUMMARIES = {
|
|
|
1445
1444
|
cohorts: "User cohorts: list, read, preview and compare them, and save or edit one; scope lists with --cohort",
|
|
1446
1445
|
review: "Mark a detection a false positive, correct, or clear the mark",
|
|
1447
1446
|
reviews: "List false-positive marks and detection reviews",
|
|
1448
|
-
skills: "
|
|
1447
|
+
skills: "List, show, push, and install agent skills"
|
|
1449
1448
|
};
|
|
1450
1449
|
function leafFor(noun, verb) {
|
|
1451
1450
|
if (noun === "review")
|
|
@@ -1992,41 +1991,6 @@ var SIGNALS_SUBCOMMAND_HELP = [
|
|
|
1992
1991
|
}
|
|
1993
1992
|
];
|
|
1994
1993
|
var SKILLS_SUBCOMMAND_HELP = [
|
|
1995
|
-
{
|
|
1996
|
-
name: "gen",
|
|
1997
|
-
hidden: true,
|
|
1998
|
-
description: "Generate skills from production traces (paid: clustering + LLM distillation; no dry-run)",
|
|
1999
|
-
usage: "moda skills gen [--source=all|sdk] [--max-sessions=N] [--lookback-hours=N] [--max-traces=N] [--start-at=ISO] [--end-at=ISO] [--wait]",
|
|
2000
|
-
flags: [
|
|
2001
|
-
{ name: "--source=all|sdk", description: "Which traces to learn from (default all)." },
|
|
2002
|
-
{ name: "--max-sessions=<n>", description: "Sessions to process (server default 200). Must be 1 or more." },
|
|
2003
|
-
{ name: "--lookback-hours=<n>", description: "Window to read (server default 720 = 30 days). Must be 1 or more." },
|
|
2004
|
-
{ name: "--start-at=<iso>, --end-at=<iso>", description: "Explicit window instead of --lookback-hours." },
|
|
2005
|
-
{ name: "--max-traces=<n>", description: "Cap on cluster traces loaded for distillation." },
|
|
2006
|
-
{ name: "--reprocess-segments", description: "Re-segment sessions that were already processed." },
|
|
2007
|
-
{ name: "--force-reprocess", description: "Reprocess everything in the window (implies --reprocess-segments)." },
|
|
2008
|
-
{ name: "--no-clustering", description: "Skip clustering; reuse --clustering-run-id." },
|
|
2009
|
-
{ name: "--clustering-run-id=<id>", description: "Use an existing clustering run." },
|
|
2010
|
-
{ name: "--wait", description: "Wait for the run to finish instead of returning once it is accepted." },
|
|
2011
|
-
TENANT_ID
|
|
2012
|
-
],
|
|
2013
|
-
examples: ["moda skills gen", "moda skills gen --lookback-hours=168 --max-sessions=50 --wait"]
|
|
2014
|
-
},
|
|
2015
|
-
{
|
|
2016
|
-
name: "status",
|
|
2017
|
-
hidden: true,
|
|
2018
|
-
description: "Show a skill generation run (default: the latest) and its events",
|
|
2019
|
-
usage: "moda skills status [<run_id>] [--run-id=<id>]",
|
|
2020
|
-
examples: ["moda skills status", "moda skills status <run_id>"]
|
|
2021
|
-
},
|
|
2022
|
-
{
|
|
2023
|
-
name: "pull",
|
|
2024
|
-
hidden: true,
|
|
2025
|
-
description: "Write generated skills into the detected coding agents' skill directories",
|
|
2026
|
-
usage: "moda skills pull [--status=approved|proposed|all]",
|
|
2027
|
-
flags: [{ name: "--status=approved|proposed|all", description: "Which skills to pull (default approved)." }],
|
|
2028
|
-
examples: ["moda skills pull", "moda skills pull --status=all"]
|
|
2029
|
-
},
|
|
2030
1994
|
{
|
|
2031
1995
|
name: "push",
|
|
2032
1996
|
description: "Upload locally authored .claude/skills/**/SKILL.md files to Moda (legacy name: sync)",
|
|
@@ -2036,7 +2000,7 @@ var SKILLS_SUBCOMMAND_HELP = [
|
|
|
2036
2000
|
},
|
|
2037
2001
|
{
|
|
2038
2002
|
name: "list",
|
|
2039
|
-
description: "List the tenant's skills (
|
|
2003
|
+
description: "List the tenant's registered skills (read-only)",
|
|
2040
2004
|
usage: "moda skills list",
|
|
2041
2005
|
examples: ["moda skills list"]
|
|
2042
2006
|
},
|
|
@@ -2046,37 +2010,6 @@ var SKILLS_SUBCOMMAND_HELP = [
|
|
|
2046
2010
|
usage: "moda skills show <key_or_id>",
|
|
2047
2011
|
examples: ["moda skills show refund-policy"]
|
|
2048
2012
|
},
|
|
2049
|
-
{
|
|
2050
|
-
name: "policy",
|
|
2051
|
-
description: "Switch a skill between live (served to agents) and local-only",
|
|
2052
|
-
usage: "moda skills policy <key_or_id> --live|--local [--dry-run]",
|
|
2053
|
-
flags: [
|
|
2054
|
-
{ name: "--live", description: "Include the skill in the served skill surface." },
|
|
2055
|
-
{ name: "--local", description: "Keep the skill local-only (not served)." },
|
|
2056
|
-
DRY_RUN
|
|
2057
|
-
],
|
|
2058
|
-
examples: ["moda skills policy refund-policy --live --dry-run"]
|
|
2059
|
-
},
|
|
2060
|
-
{
|
|
2061
|
-
name: "proposals",
|
|
2062
|
-
hidden: true,
|
|
2063
|
-
description: "List skill improvement proposals (read-only)",
|
|
2064
|
-
usage: "moda skills proposals list [--status=ready_for_pr|all] [--generation-run-id=<id>]",
|
|
2065
|
-
flags: [
|
|
2066
|
-
{ name: "--status=<status>", description: "Proposal status to list (default ready_for_pr; all for every status)." },
|
|
2067
|
-
{ name: "--generation-run-id=<id>", description: "Only proposals from one generation run." },
|
|
2068
|
-
TENANT_ID
|
|
2069
|
-
],
|
|
2070
|
-
examples: ["moda skills proposals list"]
|
|
2071
|
-
},
|
|
2072
|
-
{
|
|
2073
|
-
name: "proposal",
|
|
2074
|
-
hidden: true,
|
|
2075
|
-
description: "Apply a skill proposal: write its SKILL.md locally and acknowledge it on the server",
|
|
2076
|
-
usage: "moda skills proposal apply <proposal_id>",
|
|
2077
|
-
flags: [TENANT_ID],
|
|
2078
|
-
examples: ["moda skills proposal apply <proposal_id>"]
|
|
2079
|
-
},
|
|
2080
2013
|
{
|
|
2081
2014
|
name: "install",
|
|
2082
2015
|
description: "Install bundled integration guides into .claude/skills, or refresh the moda-cli skill (offline; no API key)",
|
|
@@ -2887,7 +2820,7 @@ function buildManifest(commands) {
|
|
|
2887
2820
|
{ term: "ingest key", meaning: "A `moda_sk_` API key for SDKs, CI, and Data API calls. Treat it as a secret." },
|
|
2888
2821
|
{ term: "CLI session token", meaning: "A local browser-auth session token used by CLI auth/bootstrap flows, not by application SDKs." },
|
|
2889
2822
|
{ term: "prompt", meaning: "A code-first prompt file tracked by `.moda/prompts.yml` and synced to Moda." },
|
|
2890
|
-
{ 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." }
|
|
2891
2824
|
]
|
|
2892
2825
|
};
|
|
2893
2826
|
}
|
|
@@ -3088,40 +3021,40 @@ function leafManifestFields(leaf, commands) {
|
|
|
3088
3021
|
import { fileURLToPath } from "url";
|
|
3089
3022
|
import { realpathSync } from "fs";
|
|
3090
3023
|
async function runPromptsCommand(...args) {
|
|
3091
|
-
return (await import("./prompts-
|
|
3024
|
+
return (await import("./prompts-a8zcvc1c.js")).runPromptsCommand(...args);
|
|
3092
3025
|
}
|
|
3093
3026
|
async function runSkillsCommand(...args) {
|
|
3094
|
-
return (await import("./skills-
|
|
3027
|
+
return (await import("./skills-5atq9sgh.js")).runSkillsCommand(...args);
|
|
3095
3028
|
}
|
|
3096
3029
|
async function runHarnessCommand(...args) {
|
|
3097
|
-
return (await import("./harness-
|
|
3030
|
+
return (await import("./harness-phdj0eqr.js")).runHarnessCommand(...args);
|
|
3098
3031
|
}
|
|
3099
3032
|
async function runSyncCommand(...args) {
|
|
3100
|
-
return (await import("./sync-
|
|
3033
|
+
return (await import("./sync-e76vmfty.js")).runSyncCommand(...args);
|
|
3101
3034
|
}
|
|
3102
3035
|
async function runRegistryCommand(...args) {
|
|
3103
|
-
return (await import("./registry-
|
|
3036
|
+
return (await import("./registry-p07epn79.js")).runRegistryCommand(...args);
|
|
3104
3037
|
}
|
|
3105
3038
|
async function runDoctorCommand(...args) {
|
|
3106
|
-
return (await import("./doctor-
|
|
3039
|
+
return (await import("./doctor-t0b99wnq.js")).runDoctorCommand(...args);
|
|
3107
3040
|
}
|
|
3108
3041
|
async function runStatusCommand(...args) {
|
|
3109
|
-
return (await import("./doctor-
|
|
3042
|
+
return (await import("./doctor-t0b99wnq.js")).runStatusCommand(...args);
|
|
3110
3043
|
}
|
|
3111
3044
|
async function runAuthCommand(...args) {
|
|
3112
|
-
return (await import("./profile-commands-
|
|
3045
|
+
return (await import("./profile-commands-tz3jykvh.js")).runAuthCommand(...args);
|
|
3113
3046
|
}
|
|
3114
3047
|
async function runConfigCommand(...args) {
|
|
3115
|
-
return (await import("./profile-commands-
|
|
3048
|
+
return (await import("./profile-commands-tz3jykvh.js")).runConfigCommand(...args);
|
|
3116
3049
|
}
|
|
3117
3050
|
async function runProfilesCommand(...args) {
|
|
3118
|
-
return (await import("./profile-commands-
|
|
3051
|
+
return (await import("./profile-commands-tz3jykvh.js")).runProfilesCommand(...args);
|
|
3119
3052
|
}
|
|
3120
3053
|
async function runAgentCommand(...args) {
|
|
3121
|
-
return (await import("./agent-
|
|
3054
|
+
return (await import("./agent-5kfdbx36.js")).runAgentCommand(...args);
|
|
3122
3055
|
}
|
|
3123
3056
|
async function runProductionCommand(...args) {
|
|
3124
|
-
return (await import("./production-intelligence-
|
|
3057
|
+
return (await import("./production-intelligence-31p18dfx.js")).runProductionCommand(...args);
|
|
3125
3058
|
}
|
|
3126
3059
|
function parseArgs(argv) {
|
|
3127
3060
|
const args = argv.slice(2);
|
|
@@ -3168,8 +3101,6 @@ var RAW_BOOLEAN_FLAGS = new Set([
|
|
|
3168
3101
|
"watch",
|
|
3169
3102
|
"undo",
|
|
3170
3103
|
"all",
|
|
3171
|
-
"wait",
|
|
3172
|
-
"wait-for-completion",
|
|
3173
3104
|
"summary",
|
|
3174
3105
|
"list",
|
|
3175
3106
|
"save",
|
|
@@ -3181,8 +3112,6 @@ var RAW_BOOLEAN_FLAGS = new Set([
|
|
|
3181
3112
|
"discover",
|
|
3182
3113
|
"experimental",
|
|
3183
3114
|
"force",
|
|
3184
|
-
"force-reprocess",
|
|
3185
|
-
"reprocess-segments",
|
|
3186
3115
|
"online",
|
|
3187
3116
|
"offline",
|
|
3188
3117
|
"progress",
|
|
@@ -3192,7 +3121,6 @@ var RAW_BOOLEAN_FLAGS = new Set([
|
|
|
3192
3121
|
"verbose",
|
|
3193
3122
|
"allow-untrack",
|
|
3194
3123
|
"github-actions",
|
|
3195
|
-
"no-clustering",
|
|
3196
3124
|
"no-analyze",
|
|
3197
3125
|
"allow-no-agents",
|
|
3198
3126
|
"json",
|
|
@@ -3666,15 +3594,8 @@ function printTreeHelp(parsed) {
|
|
|
3666
3594
|
return false;
|
|
3667
3595
|
const [noun, verb] = usePath(legacy).split(" ");
|
|
3668
3596
|
const leaf = leafFor(noun, verb);
|
|
3669
|
-
if (!leaf)
|
|
3670
|
-
|
|
3671
|
-
const entry = target?.subcommands?.find((subcommand) => subcommand.name === verb);
|
|
3672
|
-
if (!target || !entry)
|
|
3673
|
-
return false;
|
|
3674
|
-
console.log(`'moda ${legacy.legacy}' is a legacy name for '${legacy.use}'; it still works. ${legacy.note ?? ""}`.trim());
|
|
3675
|
-
printSubcommandHelp(target, entry);
|
|
3676
|
-
return true;
|
|
3677
|
-
}
|
|
3597
|
+
if (!leaf)
|
|
3598
|
+
return false;
|
|
3678
3599
|
const focus = /--family=([a-z_]+)/.exec(legacy.use)?.[1];
|
|
3679
3600
|
console.log(renderLeafHelp(leaf, { legacy, ...focus ? { focus } : {} }));
|
|
3680
3601
|
return true;
|
|
@@ -4248,7 +4169,7 @@ function parseCommandFlags(schema, args, command, options = {}) {
|
|
|
4248
4169
|
]);
|
|
4249
4170
|
const unknown = Object.keys(args).filter((key) => !known.has(key));
|
|
4250
4171
|
if (unknown.includes("dry_run")) {
|
|
4251
|
-
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");
|
|
4252
4173
|
}
|
|
4253
4174
|
if (unknown.length > 0) {
|
|
4254
4175
|
const flagKeys = [
|
|
@@ -6699,21 +6620,6 @@ async function runCommand(command, positional, flags, positionals = positional ?
|
|
|
6699
6620
|
context.output.writeData(data, withCohortScope(params.cohort, data, { summary: countingSummary(data) }));
|
|
6700
6621
|
break;
|
|
6701
6622
|
}
|
|
6702
|
-
case "step-scores": {
|
|
6703
|
-
if (!positional) {
|
|
6704
|
-
throw new CliInputError("<conversation_id> is required", "Usage: moda step-scores <conversation_id>");
|
|
6705
|
-
}
|
|
6706
|
-
const params = StepScoresSchema.parse({ conversation_id: positional });
|
|
6707
|
-
const data = await callDataAPI(`/conversations/${encodeURIComponent(params.conversation_id)}/step-scores`);
|
|
6708
|
-
const record = asRecord(data) ?? {};
|
|
6709
|
-
const steps = Array.isArray(record.steps) ? record.steps : [];
|
|
6710
|
-
const segments = Array.isArray(record.segments) ? record.segments : [];
|
|
6711
|
-
const warnings = steps.length === 0 && segments.length === 0 ? [
|
|
6712
|
-
`No step scores found for trace "${params.conversation_id}" — it may not exist in this tenant, or has not been scored yet.`
|
|
6713
|
-
] : [];
|
|
6714
|
-
context.output.writeData(data, warnings.length > 0 ? { warnings } : undefined);
|
|
6715
|
-
break;
|
|
6716
|
-
}
|
|
6717
6623
|
case "tail": {
|
|
6718
6624
|
const args = flagsToArgs(flags);
|
|
6719
6625
|
const params = parseSpecFlags("tail", args, command);
|
|
@@ -6885,7 +6791,7 @@ var commandRegistry = createCommandRegistry([
|
|
|
6885
6791
|
resetApiRequestCountBeforeRun: true,
|
|
6886
6792
|
telemetry: "result-and-error",
|
|
6887
6793
|
handler: async (context) => {
|
|
6888
|
-
const { runInit } = await import("./index-
|
|
6794
|
+
const { runInit } = await import("./index-zhg2zc3x.js");
|
|
6889
6795
|
if (context.outputMode === "agent-stream") {
|
|
6890
6796
|
context.output.writeEvent({
|
|
6891
6797
|
event: "started",
|
|
@@ -6935,7 +6841,7 @@ var commandRegistry = createCommandRegistry([
|
|
|
6935
6841
|
resetApiRequestCountBeforeRun: true,
|
|
6936
6842
|
telemetry: "result-and-error",
|
|
6937
6843
|
handler: async (context) => {
|
|
6938
|
-
const { runProvision } = await import("./provision-
|
|
6844
|
+
const { runProvision } = await import("./provision-2dzzb0be.js");
|
|
6939
6845
|
return runProvision(context, {
|
|
6940
6846
|
resumeCommand: buildResumeCommand("provision", context.rawFlags)
|
|
6941
6847
|
});
|
|
@@ -7276,14 +7182,13 @@ var commandRegistry = createCommandRegistry([
|
|
|
7276
7182
|
{
|
|
7277
7183
|
name: "push",
|
|
7278
7184
|
description: "Upload the manifest's prompts, skills, tools, and harness sections to the API key's tenant",
|
|
7279
|
-
usage: "moda registry push [--file=<path>] [--dry-run] [--
|
|
7185
|
+
usage: "moda registry push [--file=<path>] [--dry-run] [--message=<text>]",
|
|
7280
7186
|
flags: [
|
|
7281
7187
|
{ name: "--file=<path>", description: "Manifest path (default .moda/registry.json)." },
|
|
7282
7188
|
{ name: "--message=<text>", description: "Message for the registry commit this push records (shown in the dashboard Registry history)." },
|
|
7283
|
-
{ name: "--dry-run", description: "Server-side preview; nothing is written. Without an API key, validates locally only." }
|
|
7284
|
-
{ 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." }
|
|
7285
7190
|
],
|
|
7286
|
-
examples: ["moda registry push --dry-run", "moda registry push
|
|
7191
|
+
examples: ["moda registry push --dry-run", "moda registry push"]
|
|
7287
7192
|
},
|
|
7288
7193
|
{
|
|
7289
7194
|
name: "status",
|
|
@@ -7659,13 +7564,6 @@ var commandRegistry = createCommandRegistry([
|
|
|
7659
7564
|
],
|
|
7660
7565
|
...dataApiDefaults
|
|
7661
7566
|
}),
|
|
7662
|
-
legacyCommand({
|
|
7663
|
-
name: "step-scores",
|
|
7664
|
-
description: "Step scores for a trace (per-segment curves, first bad step, rollup)",
|
|
7665
|
-
examples: ["moda step-scores <conversation_id>"],
|
|
7666
|
-
hidden: true,
|
|
7667
|
-
...dataApiDefaults
|
|
7668
|
-
}),
|
|
7669
7567
|
legacyCommand({
|
|
7670
7568
|
name: "tail",
|
|
7671
7569
|
description: "Live-tail new traces and detections as NDJSON (one JSON line per item); --signal=traces|emotions|all (conversations = legacy alias of traces)",
|
|
@@ -7836,7 +7734,7 @@ var commandRegistry = createCommandRegistry([
|
|
|
7836
7734
|
],
|
|
7837
7735
|
subcommands: SKILLS_SUBCOMMAND_HELP,
|
|
7838
7736
|
auth: "api-key",
|
|
7839
|
-
authNote: "install is local; push, list,
|
|
7737
|
+
authNote: "install is local; push, list, and show need the API key.",
|
|
7840
7738
|
outputModes: ["human", "json", "agent"],
|
|
7841
7739
|
mutability: "write",
|
|
7842
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
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
11
|
+
import"./cli-rpyepjwb.js";
|
|
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-
|
|
4
|
-
import"./cli-
|
|
3
|
+
} from "./cli-84jkd2x7.js";
|
|
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-
|
|
52
|
-
import"./cli-
|
|
51
|
+
} from "./cli-84jkd2x7.js";
|
|
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-
|
|
24
|
-
import"./cli-
|
|
23
|
+
} from "./cli-84jkd2x7.js";
|
|
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-
|
|
11
|
-
import"./cli-
|
|
10
|
+
} from "./cli-84jkd2x7.js";
|
|
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,
|
|
@@ -55,24 +55,24 @@ import {
|
|
|
55
55
|
renderInitNote,
|
|
56
56
|
renderInitSetupPlan,
|
|
57
57
|
renderInitStep
|
|
58
|
-
} from "./cli-
|
|
58
|
+
} from "./cli-rpyepjwb.js";
|
|
59
59
|
import {
|
|
60
60
|
stripAnsi
|
|
61
61
|
} from "./cli-97fnztpy.js";
|
|
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,
|
|
@@ -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-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-84jkd2x7.js";
|
|
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-
|
|
7
|
-
import"./cli-
|
|
6
|
+
} from "./cli-84jkd2x7.js";
|
|
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";
|