@mutmutco/cli 4.0.3 → 4.0.5
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 +19 -12
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -10823,10 +10823,10 @@ var rollout_plan_default = {
|
|
|
10823
10823
|
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)."
|
|
10824
10824
|
},
|
|
10825
10825
|
baseline: {
|
|
10826
|
-
version: "4.0.
|
|
10827
|
-
tag: "v4.0.
|
|
10828
|
-
commit: "
|
|
10829
|
-
npm: "@mutmutco/cli@4.0.
|
|
10826
|
+
version: "4.0.5",
|
|
10827
|
+
tag: "v4.0.5",
|
|
10828
|
+
commit: "4e7248cceee9",
|
|
10829
|
+
npm: "@mutmutco/cli@4.0.5"
|
|
10830
10830
|
},
|
|
10831
10831
|
exitCriterion: "fleet-n-of-n",
|
|
10832
10832
|
hubOnlyShortcut: "forbidden",
|
|
@@ -10843,14 +10843,14 @@ var rollout_plan_default = {
|
|
|
10843
10843
|
repo: "mutmutco/mmi-hub",
|
|
10844
10844
|
role: "canary",
|
|
10845
10845
|
schedule: "train",
|
|
10846
|
-
v3Target: "v4.0.
|
|
10846
|
+
v3Target: "v4.0.5"
|
|
10847
10847
|
}
|
|
10848
10848
|
],
|
|
10849
10849
|
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.",
|
|
10850
10850
|
rollback: {
|
|
10851
10851
|
independent: true,
|
|
10852
|
-
mechanism: "npm dist-tag latest -> 4.0.
|
|
10853
|
-
v3Target: "v4.0.
|
|
10852
|
+
mechanism: "npm dist-tag latest -> 4.0.5 and redeploy the Hub Lambda from tag v4.0.5 (4e7248cceee9); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
10853
|
+
v3Target: "v4.0.5 (@mutmutco/cli@4.0.5, tag commit 4e7248cceee9 \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
10854
10854
|
}
|
|
10855
10855
|
},
|
|
10856
10856
|
{
|
|
@@ -32571,7 +32571,7 @@ function parseCompatRange(raw) {
|
|
|
32571
32571
|
if (typeof raw !== "string") return null;
|
|
32572
32572
|
const match = /^(\d+)\.(?:(\d+)\.)?x$/.exec(raw.trim());
|
|
32573
32573
|
if (!match) return null;
|
|
32574
|
-
return match[2] ===
|
|
32574
|
+
return match[2] === void 0 ? { major: Number(match[1]) } : { major: Number(match[1]), minor: Number(match[2]) };
|
|
32575
32575
|
}
|
|
32576
32576
|
function compatHolds(range, version) {
|
|
32577
32577
|
if (range === void 0) return true;
|
|
@@ -34471,8 +34471,10 @@ function checkClaudeBinary(probe) {
|
|
|
34471
34471
|
};
|
|
34472
34472
|
}
|
|
34473
34473
|
function checkPluginCache(input) {
|
|
34474
|
+
const onPath = input.running ? `active on PATH: ${input.running}` : "active on PATH: (unresolved)";
|
|
34474
34475
|
const evidence = [
|
|
34475
34476
|
`cached versions: ${input.cached}`,
|
|
34477
|
+
onPath,
|
|
34476
34478
|
`stale: ${input.stale.length ? input.stale.join(", ") : "(none)"}`,
|
|
34477
34479
|
`orphaned staging dirs: ${input.staging.length ? input.staging.join(", ") : "(none)"}`
|
|
34478
34480
|
];
|
|
@@ -34481,7 +34483,7 @@ function checkPluginCache(input) {
|
|
|
34481
34483
|
ok: true,
|
|
34482
34484
|
id: "plugin-cache",
|
|
34483
34485
|
label: "plugin cache",
|
|
34484
|
-
detail: input.cached ? `${input.cached} version(s), nothing stale` : "no cache",
|
|
34486
|
+
detail: input.cached ? `${input.cached} version(s), nothing stale \u2014 ${onPath}` : "no cache",
|
|
34485
34487
|
verbose: evidence
|
|
34486
34488
|
};
|
|
34487
34489
|
}
|
|
@@ -34500,8 +34502,9 @@ function checkPluginCache(input) {
|
|
|
34500
34502
|
id: "plugin-cache",
|
|
34501
34503
|
label: "plugin cache",
|
|
34502
34504
|
// Installed-surface convergence belongs to mmi-hub; the host owns its cache lifecycle. Doctor
|
|
34503
|
-
// reports old generations but never races either writer by deleting them.
|
|
34504
|
-
|
|
34505
|
+
// reports old generations but never races either writer by deleting them. The active generation is
|
|
34506
|
+
// named in-line so a stale-but-live PATH is never mistaken for harmless superseded cache (#5256).
|
|
34507
|
+
detail: input.stale.length ? `${input.cached} versions cached (${parts.join("; ")}) \u2014 ${onPath}` : `${parts.join("; ")} \u2014 ${onPath}`,
|
|
34505
34508
|
fix: "run `mmi-hub status` and `mmi-hub update`; if only superseded cache remains, let the host retire it after all older sessions close",
|
|
34506
34509
|
verbose: evidence
|
|
34507
34510
|
};
|
|
@@ -35766,7 +35769,11 @@ function mmiDoctorDeps(opts = {}) {
|
|
|
35766
35769
|
bytes: plan.bytes,
|
|
35767
35770
|
cached: plan.keep.length + plan.prune.length,
|
|
35768
35771
|
staging: plan.staging.map((s) => s.name),
|
|
35769
|
-
stagingBytes: plan.stagingBytes
|
|
35772
|
+
stagingBytes: plan.stagingBytes,
|
|
35773
|
+
// #5256: which generation is actually on PATH — never a prune candidate, but a stale count alone
|
|
35774
|
+
// cannot say whether the process running THIS doctor is on the newest cached generation or a
|
|
35775
|
+
// superseded one that just hasn't been retired yet.
|
|
35776
|
+
running: plan.running
|
|
35770
35777
|
};
|
|
35771
35778
|
},
|
|
35772
35779
|
// #4199: guarded auto-prune (docs/doctor-contract.md § Guarded cache prune). The plan is rebuilt
|
package/package.json
CHANGED