bpmax-cli 0.2.1-beta.16 → 0.2.1-beta.17

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/dist/bin.js CHANGED
@@ -469,7 +469,7 @@ function pluginAgentCapabilityForRequest(method, normalizedPath) {
469
469
  // package.json
470
470
  var package_default = {
471
471
  name: "bpmax-cli",
472
- version: "0.2.1-beta.16",
472
+ version: "0.2.1-beta.17",
473
473
  description: "CLI for BPMAX environments with multi-profile config and local login callback flow",
474
474
  type: "module",
475
475
  bin: {
@@ -9102,13 +9102,12 @@ function renderConfigWorkspaceGuide(options) {
9102
9102
  ([directory, purpose]) => `| \`${directory}\` | ${purpose} |`
9103
9103
  ).join("\n");
9104
9104
  return `${start}
9105
- # BPMAX \u914D\u7F6E\u5DE5\u4F5C\u533A\uFF1A${display(options.env)}
9105
+ # BPMAX \u914D\u7F6E\u76EE\u5F55\uFF1A${display(options.env)}
9106
9106
 
9107
9107
  ## \u73AF\u5883
9108
9108
  - Profile: \`${display(options.profileName)}\`
9109
9109
  - Env: \`${display(options.env)}\`
9110
9110
  - BPMAX: \`${display(options.environment.bpmax_base_url || options.profile.origin)}\`
9111
- - Workspace: \`${display(options.environment.workspace || options.profile.workspace)}\`
9112
9111
  - sysconfigdiff: \`${display(options.environment.sysconfigdiff_base_url)}\`
9113
9112
  - sysconfig user: \`${display(options.environment.username)}\`
9114
9113
  - secrets: \`[REDACTED]\`
@@ -9133,7 +9132,7 @@ ${directoryRows}
9133
9132
  ${rows}
9134
9133
  | \u63D2\u4EF6 typed config | \u63D2\u4EF6\u4E13\u9879 skill | \`${commandPrefix3} config plugin <domain> ...\` |
9135
9134
  | \u6700\u65B0\u914D\u7F6E\u540C\u6B65 | \`bpmax-config-latest\` | \`${commandPrefix3} config latest pull ${options.env}\` |
9136
- | \u957F\u671F\u8BB0\u5FC6 | \`bpmax-memory-protocol\` | \`${commandPrefix3} memory search --scope all --query "<workspace> <flow_type> <task>"\` |
9135
+ | \u957F\u671F\u8BB0\u5FC6 | \`bpmax-memory-protocol\` | \`${commandPrefix3} memory search --scope all --query "<env> <flow_type> <task>"\` |
9137
9136
  | \u5B8C\u6574\u914D\u7F6E\u7F16\u6392 | \`bpmax-e2e-flow-config-orchestrator\` | \u6309\u7F16\u6392 Skill \u6267\u884C |
9138
9137
  | \u7AEF\u5230\u7AEF\u56DE\u5F52 | \`bpmax-e2e-flow-test-operator\` | \u6309\u56DE\u5F52 Skill \u6267\u884C |
9139
9138
 
@@ -9173,17 +9172,17 @@ ${commandPrefix3} config latest pull ${envArg} --profile ${profileArg} --format
9173
9172
  \`\`\`
9174
9173
 
9175
9174
  ## Memory \u4F7F\u7528\u89C4\u5219
9176
- \u5F00\u59CB\u914D\u7F6E\u3001\u6392\u67E5\u6216\u6D4B\u8BD5\u524D\uFF0C\u5148\u8C03\u7528 \`bpmax-memory-protocol\` \u6216\u76F4\u63A5\u641C\u7D22 BPMAX memory\u3002\u67E5\u8BE2\u8BCD\u81F3\u5C11\u5305\u542B\u4E1A\u52A1\u540D\u3001workspace\u3001flow_type\u3001\u6A21\u677F/\u6570\u636E\u96C6/\u5BF9\u8C61 id \u548C\u76EE\u6807\u52A8\u4F5C\u3002
9175
+ \u5F00\u59CB\u914D\u7F6E\u3001\u6392\u67E5\u6216\u6D4B\u8BD5\u524D\uFF0C\u5148\u8C03\u7528 \`bpmax-memory-protocol\` \u6216\u76F4\u63A5\u641C\u7D22 BPMAX memory\u3002\u67E5\u8BE2\u8BCD\u81F3\u5C11\u5305\u542B\u73AF\u5883\u540D\u3001\u4E1A\u52A1\u540D\u3001flow_type\u3001\u6A21\u677F/\u6570\u636E\u96C6/\u5BF9\u8C61 id \u548C\u76EE\u6807\u52A8\u4F5C\uFF1B\u4E0D\u8981\u628A BPMAX \`w:...\` \u5DE5\u4F5C\u533A\u5F53\u6210\u914D\u7F6E\u8303\u56F4\u8FB9\u754C\u3002
9177
9176
 
9178
9177
  \`\`\`bash
9179
9178
  ${commandPrefix3} memory status --profile ${profileArg} --format json
9180
- ${commandPrefix3} memory search --profile ${profileArg} --scope all --query "${display(options.environment.workspace || options.profile.workspace)} <flow_type> <task>" --format json
9179
+ ${commandPrefix3} memory search --profile ${profileArg} --scope all --query "${display(options.env)} <flow_type> <task>" --format json
9181
9180
  \`\`\`
9182
9181
 
9183
9182
  \u9A8C\u8BC1\u901A\u8FC7\u540E\uFF0C\u53EA\u5199\u53EF\u590D\u7528\u7ED3\u8BBA\uFF1A\`decision\`\u3001\`task_learning\`\u3001\`anti_pattern\`\u3001\`environmental\` \u6216 \`convention\`\u3002\u672A\u5B8C\u6210\u6216\u4E2D\u65AD\u6001\u53EA\u5199 \`session_state\`\u3002\u7981\u6B62\u5199\u5165 API Key\u3001Authorization\u3001token\u3001password\u3001\u9A8C\u8BC1\u7801\u3001\u624B\u673A\u53F7\u3001\u5B8C\u6574 payload \u6216\u5927\u6BB5\u63A5\u53E3\u54CD\u5E94\u3002
9184
9183
 
9185
9184
  \`\`\`bash
9186
- ${commandPrefix3} memory add --profile ${profileArg} --scope user --text "<learning>" --metadata '{"type":"task_learning","project_id":"bpmax","workspace":"${display(options.environment.workspace || options.profile.workspace)}"}' --format json
9185
+ ${commandPrefix3} memory add --profile ${profileArg} --scope user --text "<learning>" --metadata '{"type":"task_learning","project_id":"bpmax","env":"${display(options.env)}"}' --format json
9187
9186
  \`\`\`
9188
9187
  ${end}
9189
9188
  `;