@botbuddy/cli 1.28.0 → 1.29.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botbuddy/cli",
3
- "version": "1.28.0",
3
+ "version": "1.29.0",
4
4
  "description": "BotBuddy — Swarm coordination CLI for multi-agent workflows",
5
5
  "type": "module",
6
6
  "bin": {
package/src/commands.mjs CHANGED
@@ -612,6 +612,9 @@ export function mcpHelp(log = console.log) {
612
612
  ${cyan("botbuddy login")} owner/client credential), store it in the
613
613
  Keychain under ${dim("BOTBUDDY_MCP_KEY")} (or --env <NAME>), and print
614
614
  the .mcp.json / .codex/config.toml snippets that reference it.
615
+ A bb_mcp_ key is tenant-sealed: on a machine serving more than
616
+ one tenant, mint each tenant under a distinct --env <NAME> var
617
+ and commit that repo's matching .botbuddy-agent.json mcp_env.
615
618
  Refuses an occupied Keychain slot unless --force (revoke the
616
619
  old key first — --force leaves it live server-side).
617
620
  revoke <agent_id> [--tenant <slug>] [--env <NAME>]
@@ -65,6 +65,7 @@ export const SETUP_BLOCK = `SETUP — the connectivity ladder (install → conne
65
65
  3. bb mcp setup tier 2 · MCP key (bb_mcp_, tenant-bound) → Keychain + .mcp.json ($BOTBUDDY_MCP_KEY)
66
66
  (Keychainless host: the key is printed ONCE — store + export + edit .mcp.json yourself)
67
67
  the repo's pre-committed .botbuddy-agent.json binds tenant + mcp_env
68
+ multi-tenant machine: mint each tenant under a distinct --env <NAME> var (they collide otherwise)
68
69
  4. register_agent (over MCP) tier 3 · session token (bb_agent_, per-session, 8 h)
69
70
  5. export BOTBUDDY_AGENT_KEY=<session_token> and BOTBUDDY_SESSION_ID=<session_id>
70
71
  6. bb wait needs the tier-3 token; bb run/test also accept $BOTBUDDY_SESSION_ID,