@mightybot/mbcli 0.5.412 → 0.5.420

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/README.md +26 -12
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -18,7 +18,7 @@ is just what npm fetches. Pick whichever fits:
18
18
  ```bash
19
19
  npx @mightybot/mbcli@latest version # prod (stable)
20
20
  npx @mightybot/mbcli@latest auth login
21
- npx @mightybot/mbcli@preprod version # preprod (newest build, pre-promotion)
21
+ npx @mightybot/mbcli@preprod version # preprod (newest build, ahead of latest)
22
22
  ```
23
23
 
24
24
  npm fetches + caches only your platform's binary on first run; `@latest` /
@@ -49,19 +49,16 @@ npm i -g @mightybot/mbcli@preprod # or newest preprod
49
49
  | Always newest | ✅ auto | ❌ frozen at install — re-install to upgrade |
50
50
  | Per-run overhead | small | none |
51
51
 
52
- Either way the one-time `~/.npmrc` (above) is required, and `mb setup` works the
53
- same it installs the MCP server to the stable `~/.mightybot/mcp/mb`,
54
- independent of how you run the CLI.
52
+ Either way, `mb setup` works the same it installs the MCP server to the stable
53
+ `~/.mightybot/mcp/mb`, independent of how you run the CLI.
55
54
 
56
55
  ### Release channels
57
56
 
58
- | Tag | Published when | Who uses it |
59
- |-----|----------------|-------------|
60
- | `preprod` | every `master` merge (version `0.5.<run>`) | testers validating a build |
61
- | `latest` | manual promotion of a tested `preprod` version (no rebuild) | everyone |
57
+ - **`@latest`** the stable release. Use this. *(recommended for everyone)*
58
+ - **`@preprod`** — the newest build, ahead of `@latest`; use it to try the most
59
+ recent changes before they're promoted.
62
60
 
63
- Promotion moves the `latest` dist-tag onto the exact `preprod` artifact that was
64
- tested — same bytes, no rebuild.
61
+ `@latest` is promoted from a tested `@preprod` build same bytes, no rebuild.
65
62
 
66
63
  ### Always getting the newest
67
64
 
@@ -73,6 +70,23 @@ npx @mightybot/mbcli@latest version # re-resolves the latest tag
73
70
  npx --prefer-online @mightybot/mbcli version # revalidates cache against the registry
74
71
  ```
75
72
 
73
+ ### Release-age cooldown
74
+
75
+ If your npm config (or your organization's `.npmrc`) sets `min-release-age` as a
76
+ supply-chain guard, npm refuses any version published in the last N days — so a
77
+ **same-day release fails with `ENOVERSIONS` / "No versions available for
78
+ @mightybot/mbcli"** even though it published fine. Override the cooldown to
79
+ install a fresh build:
80
+
81
+ ```bash
82
+ npx --min-release-age=0 @mightybot/mbcli@latest # CLI flag, or
83
+ npm_config_min_release_age=0 npx @mightybot/mbcli@latest # env var
84
+ ```
85
+
86
+ Once the build is older than the cooldown window, plain `npx …` works with no
87
+ flag. (This guard is intentional — it protects against installing a
88
+ freshly-compromised package; the override is only for trusted same-day builds.)
89
+
76
90
  ## One-step setup (auth + MCP)
77
91
 
78
92
  After installing, run **one** command to get fully provisioned — it logs you in
@@ -83,7 +97,7 @@ npx @mightybot/mbcli@latest setup
83
97
  ```
84
98
 
85
99
  `mb setup` = `mb auth login` (browser device auth) + `mb mcp install --agent all`.
86
- Auth flags pass through, e.g. `setup --base-url https://platform-dev.mightybot.ai`.
100
+ Auth flags pass through, e.g. `setup --base-url <your-platform-url>`.
87
101
 
88
102
  ## Commands
89
103
 
@@ -113,7 +127,7 @@ mb setup [auth flags] # mb auth login + mb mcp install --agent all
113
127
  ```
114
128
 
115
129
  Logs in (browser device auth) and registers the MCP server with all detected
116
- agents. Auth flags pass through (e.g. `--base-url https://platform-dev.mightybot.ai`).
130
+ agents. Auth flags pass through (e.g. `--base-url <your-platform-url>`).
117
131
 
118
132
  ### `mb auth` — platform authentication
119
133
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mightybot/mbcli",
3
- "version": "0.5.412",
3
+ "version": "0.5.420",
4
4
  "description": "MightyBot mb CLI and local design-time MCP server",
5
5
  "bin": {
6
6
  "mb": "bin/mb.js"
@@ -15,11 +15,11 @@
15
15
  "license": "UNLICENSED",
16
16
  "private": false,
17
17
  "optionalDependencies": {
18
- "@mightybot/mbcli-darwin-arm64": "0.5.412",
19
- "@mightybot/mbcli-darwin-x64": "0.5.412",
20
- "@mightybot/mbcli-linux-x64": "0.5.412",
21
- "@mightybot/mbcli-linux-arm64": "0.5.412",
22
- "@mightybot/mbcli-win32-x64": "0.5.412"
18
+ "@mightybot/mbcli-darwin-arm64": "0.5.420",
19
+ "@mightybot/mbcli-darwin-x64": "0.5.420",
20
+ "@mightybot/mbcli-linux-x64": "0.5.420",
21
+ "@mightybot/mbcli-linux-arm64": "0.5.420",
22
+ "@mightybot/mbcli-win32-x64": "0.5.420"
23
23
  },
24
24
  "homepage": "https://mightybot.ai"
25
25
  }