@mutmutco/codex-plugin 4.5.177 → 4.5.178
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
|
@@ -15958,7 +15958,6 @@ function encodeGitHubContents(content) {
|
|
|
15958
15958
|
}
|
|
15959
15959
|
|
|
15960
15960
|
// src/bootstrap-ruleset.ts
|
|
15961
|
-
init_github_client();
|
|
15962
15961
|
var PRODUCT_RULESET_NAME = "mmi-product-required-checks";
|
|
15963
15962
|
var PRODUCT_PENDING_RULESET_PREFIX = "mmi-product-required-checks-pending-";
|
|
15964
15963
|
var PRODUCT_GATE_CONTEXT = "gate";
|
|
@@ -19193,10 +19192,10 @@ var rollout_plan_default = {
|
|
|
19193
19192
|
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)."
|
|
19194
19193
|
},
|
|
19195
19194
|
baseline: {
|
|
19196
|
-
version: "4.5.
|
|
19197
|
-
tag: "v4.5.
|
|
19198
|
-
commit: "
|
|
19199
|
-
npm: "@mutmutco/cli@4.5.
|
|
19195
|
+
version: "4.5.178",
|
|
19196
|
+
tag: "v4.5.178",
|
|
19197
|
+
commit: "849ac348b955",
|
|
19198
|
+
npm: "@mutmutco/cli@4.5.178"
|
|
19200
19199
|
},
|
|
19201
19200
|
exitCriterion: "fleet-n-of-n",
|
|
19202
19201
|
hubOnlyShortcut: "forbidden",
|
|
@@ -19213,14 +19212,14 @@ var rollout_plan_default = {
|
|
|
19213
19212
|
repo: "mutmutco/mmi-hub",
|
|
19214
19213
|
role: "canary",
|
|
19215
19214
|
schedule: "train",
|
|
19216
|
-
v3Target: "v4.5.
|
|
19215
|
+
v3Target: "v4.5.178"
|
|
19217
19216
|
}
|
|
19218
19217
|
],
|
|
19219
19218
|
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.",
|
|
19220
19219
|
rollback: {
|
|
19221
19220
|
independent: true,
|
|
19222
|
-
mechanism: "npm dist-tag latest -> 4.5.
|
|
19223
|
-
v3Target: "v4.5.
|
|
19221
|
+
mechanism: "npm dist-tag latest -> 4.5.178 and redeploy the Hub Lambda from tag v4.5.178 (849ac348b955); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
19222
|
+
v3Target: "v4.5.178 (@mutmutco/cli@4.5.178, tag commit 849ac348b955 \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
19224
19223
|
}
|
|
19225
19224
|
},
|
|
19226
19225
|
{
|
|
@@ -25762,20 +25761,15 @@ async function defaultWatchRun(deps, runId, repo) {
|
|
|
25762
25761
|
} catch {
|
|
25763
25762
|
watchSaidSuccess = false;
|
|
25764
25763
|
}
|
|
25765
|
-
let confirmError;
|
|
25766
25764
|
for (let attempt = 0; attempt < RUN_CONFIRM_ATTEMPTS2; attempt++) {
|
|
25767
25765
|
if (attempt > 0) await new Promise((resolve7) => setTimeout(resolve7, RUN_CONFIRM_DELAY_MS2));
|
|
25768
25766
|
try {
|
|
25769
25767
|
const parsed = JSON.parse(await deps.run("gh", ["run", "view", String(runId), "--repo", repo, "--json", "status,conclusion"]));
|
|
25770
25768
|
if (parsed.status === "completed") return parsed.conclusion === "success" ? "success" : "failure";
|
|
25771
|
-
|
|
25772
|
-
} catch (e) {
|
|
25773
|
-
confirmError = e;
|
|
25769
|
+
} catch {
|
|
25774
25770
|
}
|
|
25775
25771
|
}
|
|
25776
|
-
|
|
25777
|
-
if (confirmError) return "pending";
|
|
25778
|
-
return "success";
|
|
25772
|
+
return watchSaidSuccess ? "pending" : "failure";
|
|
25779
25773
|
}
|
|
25780
25774
|
function alignmentPhaseEntry(dev, rc) {
|
|
25781
25775
|
if (!dev && !rc) return { state: "skipped", note: "no protected-branch alignment leg on this release" };
|
|
@@ -30066,6 +30060,14 @@ async function runPipelineWithBump(bump, mode, input) {
|
|
|
30066
30060
|
return { ...await runTrainApplyPipeline(mode, input), bump };
|
|
30067
30061
|
}
|
|
30068
30062
|
|
|
30063
|
+
// src/registry-repositories.ts
|
|
30064
|
+
function qualifyRegistryRepo(raw) {
|
|
30065
|
+
return raw.includes("/") ? raw : `mutmutco/${raw}`;
|
|
30066
|
+
}
|
|
30067
|
+
function registryRepoKey(repo) {
|
|
30068
|
+
return repo.toLowerCase();
|
|
30069
|
+
}
|
|
30070
|
+
|
|
30069
30071
|
// src/ci-audit.ts
|
|
30070
30072
|
var HUB_REPO4 = "mutmutco/MMI-Hub";
|
|
30071
30073
|
var HUB_GATE_CONTEXTS = ["cli", "infra", "docs"];
|
|
@@ -30425,8 +30427,8 @@ function collectRegistryRepos(projects) {
|
|
|
30425
30427
|
const seen = /* @__PURE__ */ new Map();
|
|
30426
30428
|
for (const project2 of projects) {
|
|
30427
30429
|
for (const raw of project2.repos ?? []) {
|
|
30428
|
-
const repo = raw
|
|
30429
|
-
const key = repo
|
|
30430
|
+
const repo = qualifyRegistryRepo(raw);
|
|
30431
|
+
const key = registryRepoKey(repo);
|
|
30430
30432
|
if (!seen.has(key)) seen.set(key, repo);
|
|
30431
30433
|
}
|
|
30432
30434
|
}
|
|
@@ -41600,8 +41602,15 @@ async function runPrLand(prNumber, options, deps) {
|
|
|
41600
41602
|
return queueMerged(base, deps);
|
|
41601
41603
|
}
|
|
41602
41604
|
const deadline = (deps.now ?? (() => Date.now()))() + (options.queueTimeoutMs ?? PR_LAND_QUEUE_TIMEOUT_MS);
|
|
41603
|
-
|
|
41604
|
-
|
|
41605
|
+
let confirmed;
|
|
41606
|
+
if (options.enqueueOnly) {
|
|
41607
|
+
const read = await deps.readMergeQueue(prNumber, repo);
|
|
41608
|
+
if (read.isInMergeQueue || read.state === "MERGED") confirmed = read;
|
|
41609
|
+
}
|
|
41610
|
+
if (!confirmed) {
|
|
41611
|
+
await (deps.sleep ?? ((ms) => new Promise((resolve7) => setTimeout(resolve7, ms))))(deps.pollDelayMs?.(0) ?? PR_LAND_POLL_MS);
|
|
41612
|
+
}
|
|
41613
|
+
return pollPrMergeQueue(prNumber, options, deps, base, confirmed, deadline);
|
|
41605
41614
|
}
|
|
41606
41615
|
if (merge.mergeStatus === "merged") {
|
|
41607
41616
|
return {
|
package/cli/package.json
CHANGED
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"name": "@mutmutco/{{REPO_SLUG}}-module",
|
|
9
9
|
"version": "0.1.0",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@mutmutco/mmwork-ds": "0.
|
|
11
|
+
"@mutmutco/mmwork-ds": "1.0.3",
|
|
12
12
|
"react": "^19.0.0",
|
|
13
13
|
"react-dom": "^19.0.0"
|
|
14
14
|
},
|
|
@@ -18,15 +18,17 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"node_modules/@mutmutco/mmwork-ds": {
|
|
21
|
-
"version": "0.
|
|
22
|
-
"resolved": "https://npm.pkg.github.com/download/@mutmutco/mmwork-ds/0.
|
|
23
|
-
"integrity": "sha512-
|
|
21
|
+
"version": "1.0.3",
|
|
22
|
+
"resolved": "https://npm.pkg.github.com/download/@mutmutco/mmwork-ds/1.0.3/dddf1e0a330db9586409539952f0afe1bf0a0d9d",
|
|
23
|
+
"integrity": "sha512-c7T16s3nZtWTq8RDYPfQ6LdmF2C3ZtX7zevqEER493GTsYDgmlXESCIQ1kgfzRmrQv2lXq2SP9k/RzMf2HFP/A==",
|
|
24
24
|
"bin": {
|
|
25
25
|
"mmwork-check-i18n": "check-i18n.mjs",
|
|
26
|
-
"mmwork-check-ui": "check-ui.mjs"
|
|
26
|
+
"mmwork-check-ui": "check-ui.mjs",
|
|
27
|
+
"mmwork-kit-mcp": "kit-mcp.mjs"
|
|
27
28
|
},
|
|
28
29
|
"peerDependencies": {
|
|
29
30
|
"react": ">=18",
|
|
31
|
+
"react-dom": ">=18",
|
|
30
32
|
"typescript": ">=5 <7"
|
|
31
33
|
}
|
|
32
34
|
},
|