@mutmutco/cli 4.3.60 → 4.3.61
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/main.cjs +15 -11
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -15788,10 +15788,10 @@ var rollout_plan_default = {
|
|
|
15788
15788
|
note: "The v4.0.0 stamp happens at cut time (D6e #4463); until then the candidate is the origin/development head artifacts (built cli/dist + npm pack), identity proven by dist content hash (D6a)."
|
|
15789
15789
|
},
|
|
15790
15790
|
baseline: {
|
|
15791
|
-
version: "4.3.
|
|
15792
|
-
tag: "v4.3.
|
|
15793
|
-
commit: "
|
|
15794
|
-
npm: "@mutmutco/cli@4.3.
|
|
15791
|
+
version: "4.3.61",
|
|
15792
|
+
tag: "v4.3.61",
|
|
15793
|
+
commit: "f4f05eb96516",
|
|
15794
|
+
npm: "@mutmutco/cli@4.3.61"
|
|
15795
15795
|
},
|
|
15796
15796
|
exitCriterion: "fleet-n-of-n",
|
|
15797
15797
|
hubOnlyShortcut: "forbidden",
|
|
@@ -15808,14 +15808,14 @@ var rollout_plan_default = {
|
|
|
15808
15808
|
repo: "mutmutco/mmi-hub",
|
|
15809
15809
|
role: "canary",
|
|
15810
15810
|
schedule: "train",
|
|
15811
|
-
v3Target: "v4.3.
|
|
15811
|
+
v3Target: "v4.3.61"
|
|
15812
15812
|
}
|
|
15813
15813
|
],
|
|
15814
15814
|
rollbackTrigger: "Any red inside the post-contract soak window: `devops train gate` FAIL attributable to the v4 doors, Hub endpoint health probe failure, a pre-v4 client admitted instead of receiving actionable HTTP 426, or npm consumer install/doctor failure on the v4-only dist.",
|
|
15815
15815
|
rollback: {
|
|
15816
15816
|
independent: true,
|
|
15817
|
-
mechanism: "npm dist-tag latest -> 4.3.
|
|
15818
|
-
v3Target: "v4.3.
|
|
15817
|
+
mechanism: "npm dist-tag latest -> 4.3.61 and redeploy the Hub Lambda from tag v4.3.61 (f4f05eb96516); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
15818
|
+
v3Target: "v4.3.61 (@mutmutco/cli@4.3.61, tag commit f4f05eb96516 \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
15819
15819
|
}
|
|
15820
15820
|
},
|
|
15821
15821
|
{
|
|
@@ -33190,19 +33190,23 @@ function findCommandInManifest(manifest, commandPath3) {
|
|
|
33190
33190
|
return visit(manifest.tree);
|
|
33191
33191
|
}
|
|
33192
33192
|
function registerExplainCommand(program3) {
|
|
33193
|
-
program3.command("explain").description("print a command's purpose, flags, and examples from the live schema \u2014 one grounding call replaces trial-and-error").argument("[command...]", 'the command path to explain (e.g. "issue create")').addOption(new Option("--loop <name>", "print the canonical command sequence: agent | start-work | ship-pr | hotfix").choices(Object.keys(LOOP_PLAYBOOKS))).option("--json", "machine-readable focused command, route, or loop detail").option("--recursive", "include full schemas for immediate children (default: compact child index)").option("--full", "alias for --recursive").action((commandArgs, opts) => {
|
|
33193
|
+
program3.command("explain").description("print a command's purpose, flags, and examples from the live schema \u2014 one grounding call replaces trial-and-error").argument("[command...]", 'the command path to explain (e.g. "issue create")').addOption(new Option("--loop <name>", "print the canonical command sequence: agent | start-work | ship-pr | hotfix").choices(Object.keys(LOOP_PLAYBOOKS))).option("--json", "machine-readable focused command, route, or loop detail").option("--out <path>", "write the output to a UTF-8 file instead of stdout (#5802 byte contract)").option("--recursive", "include full schemas for immediate children (default: compact child index)").option("--full", "alias for --recursive").action((commandArgs, opts) => {
|
|
33194
|
+
const emit = (output) => {
|
|
33195
|
+
if (!opts.out) console.log(output);
|
|
33196
|
+
else console.log(`Wrote explain output to ${opts.out} (UTF-8, ${writeUtf8Receipt(opts.out, output)} bytes)`);
|
|
33197
|
+
};
|
|
33194
33198
|
if (opts.loop) {
|
|
33195
33199
|
if (!LOOP_PLAYBOOKS[opts.loop]) {
|
|
33196
33200
|
const valid = Object.keys(LOOP_PLAYBOOKS).join(", ");
|
|
33197
33201
|
fail(`explain --loop: unknown loop "${opts.loop}"; expected one of: ${valid}`, { code: ERROR_CODES.ERR_BAD_ENUM, expected: Object.keys(LOOP_PLAYBOOKS) });
|
|
33198
33202
|
return;
|
|
33199
33203
|
}
|
|
33200
|
-
|
|
33204
|
+
emit(opts.json ? JSON.stringify({ schema_version: 1, scope: "loop", name: opts.loop, playbook: LOOP_PLAYBOOKS[opts.loop] }, null, 2) : formatExplainLoop(LOOP_PLAYBOOKS[opts.loop]));
|
|
33201
33205
|
return;
|
|
33202
33206
|
}
|
|
33203
33207
|
const manifest = buildCommandManifest(program3);
|
|
33204
33208
|
if (!commandArgs.length) {
|
|
33205
|
-
|
|
33209
|
+
emit(opts.json ? JSON.stringify(compactRouteManifest(manifest), null, 2) : formatManifestHuman(manifest));
|
|
33206
33210
|
return;
|
|
33207
33211
|
}
|
|
33208
33212
|
const commandPath3 = commandArgs.join(" ");
|
|
@@ -33225,7 +33229,7 @@ function registerExplainCommand(program3) {
|
|
|
33225
33229
|
return;
|
|
33226
33230
|
}
|
|
33227
33231
|
const recursive = Boolean(opts.recursive || opts.full);
|
|
33228
|
-
|
|
33232
|
+
emit(opts.json ? JSON.stringify(explainCommandManifest(manifest, command, { recursive }), null, 2) : command.subcommands.length ? formatExplainGroup(command, manifest.name) : formatExplainCommand(command, manifest.name));
|
|
33229
33233
|
});
|
|
33230
33234
|
}
|
|
33231
33235
|
|
package/package.json
CHANGED