@mutmutco/cli 3.115.0 → 3.117.0

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.
Files changed (2) hide show
  1. package/dist/main.cjs +23 -12
  2. package/package.json +1 -1
package/dist/main.cjs CHANGED
@@ -11653,13 +11653,13 @@ async function npmSelfUpdateCli(target, onStep, deps = {}) {
11653
11653
  const message = narrateNpmLine(line);
11654
11654
  if (!message || message === last) return;
11655
11655
  last = message;
11656
- onStep?.(message);
11656
+ onStep?.(message, { alwaysShow: message.startsWith("downloading ") });
11657
11657
  }
11658
11658
  });
11659
11659
  if (!result.ok) return { ok: false, detail: npmFailureTail(result.output) };
11660
11660
  const probe = deps.probeVersion ?? (async () => (await runHostBin("mmi-cli", ["--version"], { timeout: CLI_VERSION_PROBE_TIMEOUT_MS })).stdout);
11661
11661
  const verified = await verifyInstalledCli(probe, target);
11662
- onStep?.(verified.detail);
11662
+ onStep?.(verified.detail, { alwaysShow: true });
11663
11663
  return verified.ok ? { ok: true, detail: `${command} exited 0 \u2014 ${verified.detail}` } : { ok: false, detail: `${command} exited 0 but ${verified.detail}` };
11664
11664
  }
11665
11665
  function kiloConfigListsPlugin(configRoot, home = (0, import_node_os5.homedir)(), read = (p) => (0, import_node_fs17.readFileSync)(p, "utf8"), exists = import_node_fs17.existsSync) {
@@ -15779,10 +15779,10 @@ var rollout_plan_default = {
15779
15779
  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)."
15780
15780
  },
15781
15781
  baseline: {
15782
- version: "3.115.0",
15783
- tag: "v3.115.0",
15784
- commit: "955ec7ae88f1",
15785
- npm: "@mutmutco/cli@3.115.0"
15782
+ version: "3.117.0",
15783
+ tag: "v3.117.0",
15784
+ commit: "12488a5818a0",
15785
+ npm: "@mutmutco/cli@3.117.0"
15786
15786
  },
15787
15787
  exitCriterion: "fleet-n-of-n",
15788
15788
  hubOnlyShortcut: "forbidden",
@@ -15799,14 +15799,14 @@ var rollout_plan_default = {
15799
15799
  repo: "mutmutco/mmi-hub",
15800
15800
  role: "canary",
15801
15801
  schedule: "train",
15802
- v3Target: "v3.115.0"
15802
+ v3Target: "v3.117.0"
15803
15803
  }
15804
15804
  ],
15805
15805
  rollbackTrigger: "Any red inside the post-cut soak window: `devops train gate` FAIL attributable to the v4 doors, Hub endpoint health probe failure, a v3 client refused while the compat window must still admit it (SUPPORTED_MINOR_WINDOW=2, MIN_CLIENT_VERSION 0.0.0 \u2014 D6a), or npm consumer install/doctor failure on the v4 dist.",
15806
15806
  rollback: {
15807
15807
  independent: true,
15808
- mechanism: "npm dist-tag latest -> 3.115.0 and redeploy the Hub Lambda from tag v3.115.0 (955ec7ae88f1); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
15809
- v3Target: "v3.115.0 (@mutmutco/cli@3.115.0, tag commit 955ec7ae88f1 \u2014 the preserved latest-v3 distribution, D6b)"
15808
+ mechanism: "npm dist-tag latest -> 3.117.0 and redeploy the Hub Lambda from tag v3.117.0 (12488a5818a0); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
15809
+ v3Target: "v3.117.0 (@mutmutco/cli@3.117.0, tag commit 12488a5818a0 \u2014 the preserved latest-v3 distribution, D6b)"
15810
15810
  }
15811
15811
  },
15812
15812
  {
@@ -36833,6 +36833,16 @@ function defaultRegistrationHeal(home, env) {
36833
36833
 
36834
36834
  // src/doctor-render.ts
36835
36835
  var RESTART_LINE = "\u21BB Restart Claude to finish.";
36836
+ var HOST_RESTART_LINES = {
36837
+ codex: "\u21BB Restart Codex to finish.",
36838
+ kimi: "\u21BB Restart Kimi to finish.",
36839
+ kilo: "\u21BB Restart Kilo to finish.",
36840
+ cursor: "\u21BB Restart Cursor to finish.",
36841
+ jervcode: "\u21BB Restart JervCode to finish."
36842
+ };
36843
+ function restartLineForHost(host) {
36844
+ return host && HOST_RESTART_LINES[host] || RESTART_LINE;
36845
+ }
36836
36846
  var VERBOSE_INDENT = " ";
36837
36847
  function checkGlyph(check) {
36838
36848
  if (!check.ok) return "\u2717";
@@ -36848,7 +36858,7 @@ function renderCheckLine(check) {
36848
36858
  }
36849
36859
  function renderReport(checks, opts) {
36850
36860
  const lines = checks.map(renderCheckLine);
36851
- if (opts.restartPending) lines.push(RESTART_LINE);
36861
+ if (opts.restartPending) lines.push(restartLineForHost(opts.host));
36852
36862
  return lines.join("\n");
36853
36863
  }
36854
36864
  function renderTally(checks) {
@@ -38213,8 +38223,9 @@ async function runDoctorClean(opts, io, deps) {
38213
38223
  const healIntent = (line) => {
38214
38224
  if (!opts.json) io.log(`\u21BB ${line}`);
38215
38225
  };
38216
- const healStep = (message) => {
38217
- if (!opts.json && opts.verbose) io.log(`${VERBOSE_INDENT}${message.trim()}`);
38226
+ const healStep = (message, stepOpts) => {
38227
+ if (opts.json) return;
38228
+ if (opts.verbose || stepOpts?.alwaysShow) io.log(`${VERBOSE_INDENT}${message.trim()}`);
38218
38229
  };
38219
38230
  const releasedNote = deps.releasedVersionNote?.();
38220
38231
  let pluginHealed = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/cli",
3
- "version": "3.115.0",
3
+ "version": "3.117.0",
4
4
  "description": "MMI Future CLI — the org dev toolbox and shared cross-IDE engine for every registry-declared MMI coding surface.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",