@mutmutco/codex-plugin 4.6.43 → 4.6.44
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/cli/dist/main.cjs
CHANGED
|
@@ -28556,10 +28556,10 @@ var rollout_plan_default = {
|
|
|
28556
28556
|
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)."
|
|
28557
28557
|
},
|
|
28558
28558
|
baseline: {
|
|
28559
|
-
version: "4.6.
|
|
28560
|
-
tag: "v4.6.
|
|
28561
|
-
commit: "
|
|
28562
|
-
npm: "@mutmutco/cli@4.6.
|
|
28559
|
+
version: "4.6.44",
|
|
28560
|
+
tag: "v4.6.44",
|
|
28561
|
+
commit: "2ce6b7e5afc3",
|
|
28562
|
+
npm: "@mutmutco/cli@4.6.44"
|
|
28563
28563
|
},
|
|
28564
28564
|
exitCriterion: "fleet-n-of-n",
|
|
28565
28565
|
hubOnlyShortcut: "forbidden",
|
|
@@ -28576,14 +28576,14 @@ var rollout_plan_default = {
|
|
|
28576
28576
|
repo: "mutmutco/mmi-hub",
|
|
28577
28577
|
role: "canary",
|
|
28578
28578
|
schedule: "train",
|
|
28579
|
-
v3Target: "v4.6.
|
|
28579
|
+
v3Target: "v4.6.44"
|
|
28580
28580
|
}
|
|
28581
28581
|
],
|
|
28582
28582
|
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.",
|
|
28583
28583
|
rollback: {
|
|
28584
28584
|
independent: true,
|
|
28585
|
-
mechanism: "npm dist-tag latest -> 4.6.
|
|
28586
|
-
v3Target: "v4.6.
|
|
28585
|
+
mechanism: "npm dist-tag latest -> 4.6.44 and redeploy the Hub Lambda from tag v4.6.44 (2ce6b7e5afc3); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
28586
|
+
v3Target: "v4.6.44 (@mutmutco/cli@4.6.44, tag commit 2ce6b7e5afc3 \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
28587
28587
|
}
|
|
28588
28588
|
},
|
|
28589
28589
|
{
|
|
@@ -42191,6 +42191,31 @@ function compactRouteManifest(manifest, onlyHouse) {
|
|
|
42191
42191
|
}
|
|
42192
42192
|
};
|
|
42193
42193
|
}
|
|
42194
|
+
function filterCompactRouteManifest(output, match) {
|
|
42195
|
+
return { ...output, routes: output.routes.filter((route) => match.test(route.path)) };
|
|
42196
|
+
}
|
|
42197
|
+
function pruneManifestTree(node, match) {
|
|
42198
|
+
const subcommands = node.subcommands.map((child2) => pruneManifestTree(child2, match)).filter((child2) => child2 !== void 0);
|
|
42199
|
+
if (match.test(node.name) || match.test(node.path) || subcommands.length > 0) {
|
|
42200
|
+
return { ...node, subcommands };
|
|
42201
|
+
}
|
|
42202
|
+
return void 0;
|
|
42203
|
+
}
|
|
42204
|
+
function filterTreeAndIndex(tree, index, match) {
|
|
42205
|
+
return {
|
|
42206
|
+
tree: pruneManifestTree(tree, match) ?? { ...tree, subcommands: [] },
|
|
42207
|
+
index: index.filter((leaf) => match.test(leaf.name) || match.test(leaf.path))
|
|
42208
|
+
};
|
|
42209
|
+
}
|
|
42210
|
+
function filterCommandManifest(manifest, match) {
|
|
42211
|
+
const full = filterTreeAndIndex(manifest.tree, manifest.index, match);
|
|
42212
|
+
const primary = filterTreeAndIndex(manifest.primary_tree, manifest.primary_index, match);
|
|
42213
|
+
return { ...manifest, tree: full.tree, index: full.index, primary_tree: primary.tree, primary_index: primary.index };
|
|
42214
|
+
}
|
|
42215
|
+
function filterPrimaryCommandManifest(manifest, match) {
|
|
42216
|
+
const filtered = filterTreeAndIndex(manifest.tree, manifest.index, match);
|
|
42217
|
+
return { ...manifest, tree: filtered.tree, index: filtered.index };
|
|
42218
|
+
}
|
|
42194
42219
|
var DOOR_DECLARATIONS = [
|
|
42195
42220
|
{ door: "board", question: "What is on my board \u2014 and what is next?", path: "board read", source: "the live GitHub Project v2 board, read through the Hub board API" },
|
|
42196
42221
|
{ door: "registry", question: "What repos and projects exist, with what META?", path: "org project list", source: "the Hub org registry (DDB)" },
|
|
@@ -73729,11 +73754,24 @@ function registerDeveloperCommands(program3) {
|
|
|
73729
73754
|
console.log("mmi-cli devops org rules gitignore: up to date");
|
|
73730
73755
|
}
|
|
73731
73756
|
});
|
|
73732
|
-
program3.command("commands").description("print the grouped agentic-coding map; JSON defaults to bounded routes").option("--all", "human: include operational depth; JSON: emit the exhaustive schema-2 manifest").option("--json", "machine-readable progressive discovery").option("--primary", "with --json, emit the compatibility schema-2 primary tree and index").addOption(new Option("--house <house>", "with --json, limit routes to one house").choices([...HOUSE_ROOTS, "core"])).action((o) => {
|
|
73757
|
+
program3.command("commands").description("print the grouped agentic-coding map; JSON defaults to bounded routes").option("--all", "human: include operational depth; JSON: emit the exhaustive schema-2 manifest").option("--json", "machine-readable progressive discovery; the compact default emits an OBJECT {schema_version, scope:'routes', routes[{path,house,summary,detail}], houses, doors, next{full:'mmi-cli commands --all --json'}} \u2014 never a top-level `commands` array; --all --json emits the exhaustive schema-2 manifest {scope:'all', tree, index, houses, doors, flat_alias_cut, primary_tree, primary_index, error_codes}").option("--primary", "with --json, emit the compatibility schema-2 primary tree and index").addOption(new Option("--house <house>", "with --json, limit routes to one house").choices([...HOUSE_ROOTS, "core"])).addOption(new Option("--match <regex>", "with --json, keep only routes/commands whose path or name matches this regular expression (case-insensitive)")).action((o) => {
|
|
73733
73758
|
if (o.house && !o.json) {
|
|
73734
73759
|
fail("commands: --house requires --json", { code: ERROR_CODES.ERR_CONFLICTING_FLAGS, offending_flag: "--house" });
|
|
73735
73760
|
return;
|
|
73736
73761
|
}
|
|
73762
|
+
if (o.match && !o.json) {
|
|
73763
|
+
fail("commands: --match requires --json", { code: ERROR_CODES.ERR_CONFLICTING_FLAGS, offending_flag: "--match" });
|
|
73764
|
+
return;
|
|
73765
|
+
}
|
|
73766
|
+
let match;
|
|
73767
|
+
if (o.match) {
|
|
73768
|
+
try {
|
|
73769
|
+
match = new RegExp(o.match, "i");
|
|
73770
|
+
} catch {
|
|
73771
|
+
fail(`commands: --match '${o.match}' is not a valid regular expression`, { code: ERROR_CODES.ERR_INVALID_INPUT, offending_flag: "--match" });
|
|
73772
|
+
return;
|
|
73773
|
+
}
|
|
73774
|
+
}
|
|
73737
73775
|
const conflicting = [o.all ? "--all" : "", o.primary ? "--primary" : "", o.house ? "--house" : ""].filter(Boolean);
|
|
73738
73776
|
if (o.json && conflicting.length > 1) {
|
|
73739
73777
|
fail(`commands: ${conflicting.join(" and ")} are mutually exclusive`, { code: ERROR_CODES.ERR_CONFLICTING_FLAGS, offending_flag: conflicting.join(",") });
|
|
@@ -73741,7 +73779,7 @@ function registerDeveloperCommands(program3) {
|
|
|
73741
73779
|
}
|
|
73742
73780
|
const manifest = buildCommandManifest(program3);
|
|
73743
73781
|
if (o.json) {
|
|
73744
|
-
const output = o.all ? manifest : o.primary ? primaryCommandManifest(manifest) : compactRouteManifest(manifest, o.house);
|
|
73782
|
+
const output = o.all ? match ? filterCommandManifest(manifest, match) : manifest : o.primary ? match ? filterPrimaryCommandManifest(primaryCommandManifest(manifest), match) : primaryCommandManifest(manifest) : match ? filterCompactRouteManifest(compactRouteManifest(manifest, o.house), match) : compactRouteManifest(manifest, o.house);
|
|
73745
73783
|
consoleIo.log(JSON.stringify(output, null, 2));
|
|
73746
73784
|
return;
|
|
73747
73785
|
}
|
package/cli/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
".github/workflows/agent-pr.yml": {
|
|
3
|
-
"blob": "
|
|
4
|
-
"reason": "train-only markers around the release-align replay and
|
|
3
|
+
"blob": "228f2f3289b187e47c91d88c8582c7d856708a3b",
|
|
4
|
+
"reason": "train-only markers around the release-align replay, its comment and the scripts/next-version.mjs org-owned entry, stripped for single-track repos (#10076, #10085); the #7717 note says it applies only on repos with a release train (#10071); guarded paths for train repos, permissions and operator responsibilities unchanged"
|
|
5
5
|
},
|
|
6
6
|
"scripts/next-version.mjs": {
|
|
7
7
|
"blob": "7faba0bb3ee48074702da48d149657820d74de1a",
|
|
@@ -164,8 +164,11 @@ Craft essentials every agent applies (owner, 2026-10-25, #8839):
|
|
|
164
164
|
it serves `<pack-dir>` on `127.0.0.1`, measures each named board per width and theme, runs
|
|
165
165
|
`impeccable detect --json` over the board files and writes `check.json`. `--boards` takes one
|
|
166
166
|
comma-separated list (an unquoted shell glob passes only its first match); the server serves only
|
|
167
|
-
files directly inside `<pack-dir>`;
|
|
168
|
-
|
|
167
|
+
files directly inside `<pack-dir>`; BRP rhythm and sibling alignment are measured against the kit
|
|
168
|
+
space scale read live from the page's `:root` `--space-*` / `--mm-space-*` tokens (kit 4px fallback
|
|
169
|
+
steps when a board defines none), so off-scale padding/gap/sibling-margin values and 1–3px sibling
|
|
170
|
+
edge near-misses are named in `check.json` `detail.rhythm` / `detail.align` and fail the run
|
|
171
|
+
(exit 0 clean, 2 with faults — no standing caveat). Boards that load `/kit/kit.css` and
|
|
169
172
|
`/kit/kit.js` are canvas boards: use `review.mjs <folder> --no-open`, which serves the kit beside
|
|
170
173
|
each board on `127.0.0.1` and runs live-DOM `impeccable detect` per board.
|
|
171
174
|
`artifacts/review/kit-assets.mjs`, `review.mjs`'s kit and board serving, and
|