@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 +1 -1
- package/src/commands.mjs +3 -0
- package/src/setup-block.mjs +1 -0
package/package.json
CHANGED
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>]
|
package/src/setup-block.mjs
CHANGED
|
@@ -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,
|