@botbuddy/cli 1.24.0 → 1.25.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/package.json +2 -1
  2. package/src/commands.mjs +6 -4
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@botbuddy/cli",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "description": "BotBuddy — Swarm coordination CLI for multi-agent workflows",
5
5
  "type": "module",
6
6
  "bin": {
7
+ "bb": "./bin/botbuddy.mjs",
7
8
  "botbuddy": "./bin/botbuddy.mjs",
8
9
  "pw": "./bin/pw.mjs",
9
10
  "bb-pw": "./bin/bb-pw.mjs"
package/src/commands.mjs CHANGED
@@ -78,15 +78,17 @@ export async function run(argv, {
78
78
  if (args.length > 0) return cmdToolHelp(args);
79
79
  return cmdHelp();
80
80
  default:
81
- die(`Unknown command: ${command}. Run ${cyan("botbuddy help")} for usage.`);
81
+ die(`Unknown command: ${command}. Run ${cyan("bb help")} for usage.`);
82
82
  }
83
83
  }
84
84
 
85
85
  function cmdHelp() {
86
- console.log(`${bold("botbuddy")} ${dim(`v${VERSION}`)} — Swarm coordination CLI
86
+ console.log(`${bold("bb")} ${dim(`v${VERSION}`)} — Swarm coordination CLI
87
+
88
+ ${dim(`Run everything as ${cyan("bb <command>")} — the short, preferred alias. ${cyan("botbuddy <command>")} is the identical long form.`)}
87
89
 
88
90
  ${bold("USAGE")}
89
- botbuddy start Start BotBuddy (login + codex server + bridge)
91
+ bb start Start BotBuddy (login + codex server + bridge)
90
92
 
91
93
  ${bold("OPTIONS")}
92
94
  start [options]
@@ -170,7 +172,7 @@ async function cmdToolHelp(args) {
170
172
  const res = await fetch(discoveryUrlFor(SERVER_URL, tool));
171
173
  if (!res.ok) {
172
174
  die(res.status === 404
173
- ? `Unknown tool: ${tool}. Run ${cyan("botbuddy help --tools")} to list them.`
175
+ ? `Unknown tool: ${tool}. Run ${cyan("bb help --tools")} to list them.`
174
176
  : `Discovery failed: ${res.status} ${res.statusText}`);
175
177
  }
176
178
  console.log(formatDiscovery(await res.json(), { tool }));