@mutmutco/hub 4.5.6 → 4.5.7

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 (3) hide show
  1. package/README.md +20 -15
  2. package/dist/index.cjs +954 -410
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -16,28 +16,33 @@ mmi-hub install
16
16
  ## Commands
17
17
 
18
18
  ```text
19
- mmi-hub status read versions, schedule, last run, and actionable failures (default)
20
- mmi-hub install converge now and enable hourly automatic updates
21
- mmi-hub update [--dry-run] converge immediately
22
- mmi-hub autoupdate on|off idempotently enable or disable scheduling; off keeps installed tools
19
+ mmi-hub status what is installed, whether auto-update is on, anything to fix (default)
20
+ mmi-hub install update everything now, then turn on hourly auto-update
21
+ mmi-hub update update everything to the newest release now (--dry-run previews)
22
+ mmi-hub autoupdate on|off turn hourly auto-update on or off; off keeps installed tools
23
23
  ```
24
24
 
25
- `status` and the no-argument command are read-only. They never install, heal, create state, change the schedule, or clean a repository.
26
-
27
- `update`/`install` print a lean, human report (glyphs and color only on an interactive terminal, `NO_COLOR` respected; no line ever exceeds the terminal width):
25
+ Flags: `--json` (machine output), `--dry-run`, `--verbose`, `--quiet`, `--no-color`, `--version`, `--help`.
28
26
 
29
- ```
30
- MMI Hub — updating to 3.139.11 (verified)
27
+ `status` and the no-argument command are read-only. They never install, heal, create state, change the schedule, or clean a repository.
31
28
 
32
- cli 3.139.10 → 3.139.11 updated
33
- claude 3.139.10 → 3.139.11 updated next session
34
- codex 3.139.10 → 3.139.11 retry rerun update — host race
35
- hub 3.139.10 → 3.139.11 updated next run
29
+ Every screen is drawn by the shared installer face (`@mutmutco/installer-face`), so status, update and the rest use one layout and one set of words. Glyphs and colour appear only on an interactive terminal (`NO_COLOR` and `--no-color` respected); piped, the same screen prints as plain text:
36
30
 
37
- 3/4 updated · 1 will retry
31
+ ```text
32
+ mmi-hub - Mutatis Mutandis
33
+ Here's where things stand.
34
+ updater 3.1.1 - already current
35
+ cli 3.1.0 -> 3.1.1 - update available
36
+ auto-update on - hourly
37
+ mmi-hub has an update available.
38
+ Latest release: 3.1.1.
39
+ Next: mmi-hub update
38
40
  ```
39
41
 
40
- Failures close with an action block — consequence, fix command, journal path — never a raw host error. An up-to-date run prints a single line.
42
+ - `update`/`install` print one row per surface (plus the `launcher` row that keeps the one-line installer current), then a closing box with the verdict and one command.
43
+ - `autoupdate on|off` prints one line: `Auto-update is on. mmi-hub checks for updates every hour.` or `Auto-update is off. Installed tools were kept.`
44
+ - Refusals (unknown command, a failed step) go to stderr as `Error: <sentence>` with the command to run next.
45
+ - `--json` keeps its machine shapes; `--version` piped prints the bare version.
41
46
 
42
47
  State remains under `~/.mmi/updater` (override with `$MMI_UPDATER_HOME`) so existing journals and the **MMI Fleet Updater** Windows task continue in place.
43
48