@botbuddy/cli 1.90.0 → 1.90.1

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.
@@ -1,7 +1,7 @@
1
1
  {
2
- "release_version": "1.90.0",
3
- "source_commit": "976100732f7a88c3521f5a54bbf32d65fc35841e",
4
- "source_sha256": "8623b2b66316bceb148815109366172da1f778d9cfbc8b9647dcc94b0f4f4ff2",
2
+ "release_version": "1.90.1",
3
+ "source_commit": "7fbc2e7eabaa462d3ca8713b30642bb675df6342",
4
+ "source_sha256": "eb13d455da4e123456d80d9ec009441e0f3f8fd09cc572f41afab929332358d5",
5
5
  "target": "darwin-arm64",
6
- "sha256": "795c572b8b46e0ce3c03cfee4411bf4036ab49424fda73c038bcb93a5627fbdb"
6
+ "sha256": "a4677dd03ba8f7b3d8c32d3ccfb1f3dc682b3a26ea93d9942cdb5049645174c3"
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
- "release_version": "1.90.0",
3
- "source_commit": "976100732f7a88c3521f5a54bbf32d65fc35841e",
4
- "source_sha256": "8623b2b66316bceb148815109366172da1f778d9cfbc8b9647dcc94b0f4f4ff2",
2
+ "release_version": "1.90.1",
3
+ "source_commit": "7fbc2e7eabaa462d3ca8713b30642bb675df6342",
4
+ "source_sha256": "eb13d455da4e123456d80d9ec009441e0f3f8fd09cc572f41afab929332358d5",
5
5
  "target": "linux-x64",
6
- "sha256": "8d0cf389f758c99dab3a2f54da5820d029c0ba7e4e062f9bcb0e6835ea566130"
6
+ "sha256": "b3ef42831050890ed19a0db719104cb8bb7434b776dabcca346c8ae21f2ca8f3"
7
7
  }
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "schema_version": 1,
3
- "release_version": "1.90.0",
4
- "source_commit": "976100732f7a88c3521f5a54bbf32d65fc35841e",
5
- "source_sha256": "8623b2b66316bceb148815109366172da1f778d9cfbc8b9647dcc94b0f4f4ff2",
3
+ "release_version": "1.90.1",
4
+ "source_commit": "7fbc2e7eabaa462d3ca8713b30642bb675df6342",
5
+ "source_sha256": "eb13d455da4e123456d80d9ec009441e0f3f8fd09cc572f41afab929332358d5",
6
6
  "targets": {
7
7
  "darwin-arm64": {
8
8
  "goos": "darwin",
9
9
  "goarch": "arm64",
10
10
  "binary": "daemon/bin/darwin-arm64/botbuddy-daemon",
11
- "sha256": "795c572b8b46e0ce3c03cfee4411bf4036ab49424fda73c038bcb93a5627fbdb",
11
+ "sha256": "a4677dd03ba8f7b3d8c32d3ccfb1f3dc682b3a26ea93d9942cdb5049645174c3",
12
12
  "mode": "0755"
13
13
  },
14
14
  "linux-x64": {
15
15
  "goos": "linux",
16
16
  "goarch": "amd64",
17
17
  "binary": "daemon/bin/linux-x64/botbuddy-daemon",
18
- "sha256": "8d0cf389f758c99dab3a2f54da5820d029c0ba7e4e062f9bcb0e6835ea566130",
18
+ "sha256": "b3ef42831050890ed19a0db719104cb8bb7434b776dabcca346c8ae21f2ca8f3",
19
19
  "mode": "0755"
20
20
  }
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botbuddy/cli",
3
- "version": "1.90.0",
3
+ "version": "1.90.1",
4
4
  "description": "BotBuddy — Swarm coordination CLI for multi-agent workflows",
5
5
  "type": "module",
6
6
  "bin": {
package/src/commands.mjs CHANGED
@@ -1566,8 +1566,8 @@ export function mcpHelp(log = console.log) {
1566
1566
  A bb_mcp_ key is tenant-sealed: on a machine serving more than
1567
1567
  one tenant, mint each tenant under a distinct --env <NAME> var
1568
1568
  and commit that repo's matching .botbuddy-agent.json mcp_env.
1569
- Refuses an occupied Keychain slot unless --force (revoke the
1570
- old key first — --force leaves it live server-side).
1569
+ Refuses an occupied Keychain slot unless --force, which
1570
+ replaces the key in that slot and revokes the key it replaces.
1571
1571
  revoke <agent_id> [--tenant <slug>] [--env <NAME>]
1572
1572
  Revoke ONLY that MCP key (returned by setup). Your login and
1573
1573
  live agent sessions keep working. Multi-tenant owners must
package/src/mcp-key.mjs CHANGED
@@ -465,9 +465,12 @@ export async function revokeMcpKey({
465
465
  // and macOS offers no per-service cross-process lock. So we always hand back the
466
466
  // exact, side-effect-free deletion command instead of deleting anything.
467
467
  const slot = envVar || "<NAME>";
468
+ // BOT-3337 AC-2: a key revoked earlier (e.g. by `mcp setup --force`) is still
469
+ // dead; say so instead of reporting a second revoke.
470
+ const already = response.data?.already_revoked === true;
468
471
  return {
469
472
  schema_version: 1,
470
- outcome: "revoked",
473
+ outcome: already ? "already_revoked" : "revoked",
471
474
  agent_id: id,
472
475
  ...(envVar ? { env_var: envVar } : {}),
473
476
  next_step: