@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.
- package/README.md +22 -59
- 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
|
-
##
|
|
11
|
+
## Start here — one command
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
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
|
|
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
|
-
|
|
25
|
-
|
|
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
|
-
|
|
23
|
+
Run any other command the same way:
|
|
29
24
|
|
|
30
25
|
```bash
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
38
|
-
(
|
|
39
|
-
|
|
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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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
|
-
|
|
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`
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
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
|
|
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.
|
|
4
|
-
"description": "MightyBot mb CLI and local
|
|
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.
|
|
19
|
-
"@mightybot/mbcli-darwin-x64": "0.
|
|
20
|
-
"@mightybot/mbcli-linux-x64": "0.
|
|
21
|
-
"@mightybot/mbcli-linux-arm64": "0.
|
|
22
|
-
"@mightybot/mbcli-win32-x64": "0.
|
|
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
|
}
|