bpmax-cli 0.2.1-beta.12 → 0.2.1-beta.14

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": "bpmax-cli",
3
- "version": "0.2.1-beta.12",
3
+ "version": "0.2.1-beta.14",
4
4
  "description": "CLI for BPMAX environments with multi-profile config and local login callback flow",
5
5
  "type": "module",
6
6
  "bin": {
@@ -33,6 +33,26 @@ bpmax-cli init --agent <agent> --channel feishu --url "<BPMAX_URL>" --name local
33
33
  - 找到匹配业务 skill 后,先复制 `next_commands.bbs_list` 里的 `--config-dir` 前缀运行 `bpmax-cli --config-dir <config_dir> bbs ensure <skill-key> --agent <agent> --profile <profile> --format json`,再按该业务 skill 的规则执行。
34
34
  - 只有没有匹配 BBS,或 BBS 不覆盖当前需求时,才回落到通用 `bpmax-flow`、`bpmax-project` 或 `bpmax-api` 路径。
35
35
 
36
+ ## Issue 提报
37
+
38
+ 用户要求“提 issue”、“创建 GitLab issue”、“报 bug 到 bpmax-cli”或需要把当前问题沉淀到 bpmax-cli 仓库时,使用 `bpmax-cli issue create` 或语义别名 `bpmax-cli issue report`。
39
+
40
+ 推荐流程:
41
+
42
+ ```bash
43
+ bpmax-cli issue create --title "<标题>" --description-file <file.md> --label bug --dry-run --format json
44
+ bpmax-cli issue create --title "<标题>" --description-file <file.md> --label bug --format json
45
+ ```
46
+
47
+ 规则:
48
+
49
+ - 默认 GitLab 地址是 `https://gitlab.yitaiyitai.com`,默认项目是 `bpmax/bpmax-cli`;跨项目时显式加 `--project <group/project>`。
50
+ - 复杂描述先写到临时 markdown 文件,再用 `--description-file <file>`,不要把长日志或多行正文塞进命令行参数。
51
+ - 涉及 assignee 时用 `--assignee-id <id>`,可重复或传逗号分隔;涉及保密问题时加 `--confidential`。
52
+ - 默认先跑 `--dry-run --format json` 核对标题、正文、标签、项目和 assignee;确认后再去掉 `--dry-run` 实际提交。
53
+ - 需要指定凭据来源时用 `--token-env <ENV_NAME>`;不要在命令行、skill、memory、issue 正文或日志里写入 token 原文。
54
+ - 创建成功后,最终回复必须包含 CLI 返回的 issue URL;`pretty` 输出会直接打印 URL,`json` 输出读取 `issue.web_url`。
55
+
36
56
  ## 路由规则
37
57
 
38
58
  - 环境配置、全局参数、命令发现、原始 API 降级:先读 `../bpmax-shared/SKILL.md`
@@ -49,6 +69,7 @@ bpmax-cli init --agent <agent> --channel feishu --url "<BPMAX_URL>" --name local
49
69
  - BPMAX Business Skills 查询、同步、安装、更新、卸载:读 `../bpmax-business-skill/SKILL.md`
50
70
  - AI 任务方案、任务书、任务拆解、subagent 分工、实施任务表、进度 CSV:读 `../bpmax-ai-taskbook/SKILL.md`
51
71
  - 审批矩阵、角色矩阵、矩阵规则记录、`matrix_owner`、`cc_matrix`、规则 seed、审批人映射:读 `../bpmax-approval-matrix/SKILL.md`
72
+ - bpmax-cli 自身问题提报、GitLab issue 创建:留在本 skill 的 “Issue 提报” 小节,使用 `bpmax-cli issue create/report`
52
73
 
53
74
  ## 规则
54
75