bpmax-cli 0.1.29 → 0.1.30

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 CHANGED
@@ -236,6 +236,29 @@ Running `npm install` or `npm run install:skills` copies project skills into det
236
236
 
237
237
  Only directories that already exist, or whose parent agent home exists, are targeted.
238
238
 
239
+ After installation, the script prints an agent-oriented guide. The recommended agent flow is:
240
+
241
+ 1. Ask the user to directly input any BPMAX workspace page URL in the target workspace.
242
+ 2. Initialize bpmax-cli for the current agent:
243
+
244
+ ```bash
245
+ bpmax-cli init --agent <agent> --channel feishu --url "<USER_URL>" --name local --format json
246
+ ```
247
+
248
+ 3. Show `message_card.authorization_url` and `message_card.user_code` to the user, then run `message_card.next_command` exactly after the user confirms the code.
249
+
250
+ For local terminal/browser setup, `bpmax-cli setup "<USER_URL>" --name local` remains available.
251
+
252
+ For business requests, first look for BPMAX Business Skills (BBS):
253
+
254
+ ```bash
255
+ bpmax-cli bbs list --profile <profile> --format json
256
+ bpmax-cli bbs sync --agent <agent> --profile <profile> --format json
257
+ bpmax-cli bbs ensure <skill-key> --agent <agent> --profile <profile> --format json
258
+ ```
259
+
260
+ Use `bbs sync` when there is no local/catalog match, then check again before falling back to generic flow/project/API commands. `bbs sync` installs only the catalog skill; individual business skills are installed lazily with `bbs ensure`.
261
+
239
262
  If `aily-skillhub` is available in `PATH`, the installer also runs:
240
263
 
241
264
  ```bash
package/dist/bin.js CHANGED
@@ -665,7 +665,7 @@ async function parseJsonInput(input, label = "JSON input") {
665
665
  // package.json
666
666
  var package_default = {
667
667
  name: "bpmax-cli",
668
- version: "0.1.29",
668
+ version: "0.1.30",
669
669
  description: "CLI for BPMAX environments with multi-profile config and local login callback flow",
670
670
  type: "module",
671
671
  bin: {