@mightybot/mbcli 0.5.417 → 0.6.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/README.md +22 -59
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -8,60 +8,36 @@ a per-platform optional dependency (`@mightybot/mbcli-<platform>`), and npm
8
8
  installs only the one matching your machine.
9
9
 
10
10
 
11
- ## Runtwo ways
11
+ ## Start here one command
12
12
 
13
- The actual command is always **`mb`**; the package name (`@mightybot/mbcli`)
14
- is just what npm fetches. Pick whichever fits:
15
-
16
- ### Option A — `npx` (no install, always newest)
13
+ With Node.js 16+, this one command is the entire setup it signs you in and
14
+ registers the MCP server with your AI agents:
17
15
 
18
16
  ```bash
19
- npx @mightybot/mbcli@latest version # prod (stable)
20
- npx @mightybot/mbcli@latest auth login
21
- npx @mightybot/mbcli@preprod version # preprod (newest build, pre-promotion)
17
+ npx @mightybot/mbcli@latest setup
22
18
  ```
23
19
 
24
- npm fetches + caches only your platform's binary on first run; `@latest` /
25
- `@preprod` makes npx re-check the registry each run, so you always get the
26
- newest build for that channel. Nothing to upgrade.
20
+ `setup` = `mb auth login` (browser sign-in) + `mb mcp install --agent all`.
21
+ `npx` fetches the right platform binary on demand nothing to install first.
27
22
 
28
- ### Option B global install (`mb` on PATH, shorter commands)
23
+ Run any other command the same way:
29
24
 
30
25
  ```bash
31
- npm i -g @mightybot/mbcli@latest # or @preprod
32
- mb version
33
- mb auth login
34
- mb setup
26
+ npx @mightybot/mbcli@latest workflow list
27
+ npx @mightybot/mbcli@latest version
35
28
  ```
36
29
 
37
- Puts a real `mb` command on your PATH — no `npx`, no scope prefix. Faster
38
- (no per-run resolution), but it does **not** auto-update: you are pinned to the
39
- version installed until you re-run the install to upgrade:
40
-
41
- ```bash
42
- npm i -g @mightybot/mbcli@latest # upgrade to newest latest
43
- npm i -g @mightybot/mbcli@preprod # or newest preprod
44
- ```
45
-
46
- | | `npx …@latest` | `npm i -g …@latest` |
47
- |---|---|---|
48
- | Command | `npx @mightybot/mbcli@latest <cmd>` | `mb <cmd>` |
49
- | Always newest | ✅ auto | ❌ frozen at install — re-install to upgrade |
50
- | Per-run overhead | small | none |
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.
30
+ > Prefer a permanent `mb` on your PATH? `npm i -g @mightybot/mbcli@latest`,
31
+ > then run `mb <cmd>` (re-run the install to upgrade). The MCP server installs to
32
+ > the stable `~/.mightybot/mcp/mb` either way.
55
33
 
56
34
  ### Release channels
57
35
 
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 |
36
+ - **`@latest`** the stable release. Use this. *(recommended for everyone)*
37
+ - **`@preprod`** — the newest build, ahead of `@latest`; use it to try the most
38
+ recent changes before they're promoted.
62
39
 
63
- Promotion moves the `latest` dist-tag onto the exact `preprod` artifact that was
64
- tested — same bytes, no rebuild.
40
+ `@latest` is promoted from a tested `@preprod` build same bytes, no rebuild.
65
41
 
66
42
  ### Always getting the newest
67
43
 
@@ -75,11 +51,11 @@ npx --prefer-online @mightybot/mbcli version # revalidates cache against the re
75
51
 
76
52
  ### Release-age cooldown
77
53
 
78
- If your npm config sets `min-release-age` (the MightyBot repo `.npmrc` sets
79
- `min-release-age=7` as a supply-chain guard), npm refuses any version published
80
- in the last N days — so a **same-day release fails with `ENOVERSIONS` / "No
81
- versions available for @mightybot/mbcli"** even though it published fine.
82
- Override the cooldown to install a fresh build:
54
+ If your npm config (or your organization's `.npmrc`) sets `min-release-age` as a
55
+ supply-chain guard, npm refuses any version published in the last N days — so a
56
+ **same-day release fails with `ENOVERSIONS` / "No versions available for
57
+ @mightybot/mbcli"** even though it published fine. Override the cooldown to
58
+ install a fresh build:
83
59
 
84
60
  ```bash
85
61
  npx --min-release-age=0 @mightybot/mbcli@latest # CLI flag, or
@@ -90,18 +66,6 @@ Once the build is older than the cooldown window, plain `npx …` works with no
90
66
  flag. (This guard is intentional — it protects against installing a
91
67
  freshly-compromised package; the override is only for trusted same-day builds.)
92
68
 
93
- ## One-step setup (auth + MCP)
94
-
95
- After installing, run **one** command to get fully provisioned — it logs you in
96
- and registers the MCP server with Codex / Claude Code / OpenCode:
97
-
98
- ```bash
99
- npx @mightybot/mbcli@latest setup
100
- ```
101
-
102
- `mb setup` = `mb auth login` (browser device auth) + `mb mcp install --agent all`.
103
- Auth flags pass through, e.g. `setup --base-url https://platform-dev.mightybot.ai`.
104
-
105
69
  ## Commands
106
70
 
107
71
  Every example below uses the bare `mb` (after a global install or inside
@@ -130,7 +94,7 @@ mb setup [auth flags] # mb auth login + mb mcp install --agent all
130
94
  ```
131
95
 
132
96
  Logs in (browser device auth) and registers the MCP server with all detected
133
- agents. Auth flags pass through (e.g. `--base-url https://platform-dev.mightybot.ai`).
97
+ agents. Auth flags pass through (e.g. `--base-url <your-platform-url>`).
134
98
 
135
99
  ### `mb auth` — platform authentication
136
100
 
@@ -175,7 +139,6 @@ mb surface step # step-level detail
175
139
  | `mb workflow create` / `update` / `duplicate` / `delete` | Manage definitions. |
176
140
  | `mb workflow export <id>` | Export a definition (e.g. for diffing/backup). |
177
141
  | `mb workflow diff` | Diff two definitions/versions. |
178
- | `mb workflow validate <id>` | Validate a definition. |
179
142
  | `mb workflow versions` / `version` / `version-history` / `version-diff` | Inspect version history and compare versions. |
180
143
 
181
144
  ### `mb git` — git ↔ workflow sync state
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mightybot/mbcli",
3
- "version": "0.5.417",
4
- "description": "MightyBot mb CLI and local design-time MCP server",
3
+ "version": "0.6.00",
4
+ "description": "MightyBot mb CLI and local MCP server",
5
5
  "bin": {
6
6
  "mb": "bin/mb.js"
7
7
  },
@@ -15,11 +15,11 @@
15
15
  "license": "UNLICENSED",
16
16
  "private": false,
17
17
  "optionalDependencies": {
18
- "@mightybot/mbcli-darwin-arm64": "0.5.417",
19
- "@mightybot/mbcli-darwin-x64": "0.5.417",
20
- "@mightybot/mbcli-linux-x64": "0.5.417",
21
- "@mightybot/mbcli-linux-arm64": "0.5.417",
22
- "@mightybot/mbcli-win32-x64": "0.5.417"
18
+ "@mightybot/mbcli-darwin-arm64": "0.6.00",
19
+ "@mightybot/mbcli-darwin-x64": "0.6.00",
20
+ "@mightybot/mbcli-linux-x64": "0.6.00",
21
+ "@mightybot/mbcli-linux-arm64": "0.6.00",
22
+ "@mightybot/mbcli-win32-x64": "0.6.00"
23
23
  },
24
24
  "homepage": "https://mightybot.ai"
25
25
  }