@cnbcool/cnb-api-generate 2.16.8 → 2.16.9

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
@@ -97,11 +97,11 @@ npx csg
97
97
  生成的 Skill 内置 `cnb skills list`,用于列出本地 skills:
98
98
 
99
99
  ```shell
100
- cnb skills list -p -a agent --json
100
+ cnb skills list -p -a codebuddy --json
101
101
  ```
102
102
 
103
103
  | 参数 | 说明 |
104
104
  | --- | --- |
105
105
  | `--json` | 以 JSON 输出 |
106
106
  | `-p` | 查询项目(仓库)级 skills |
107
- | `-a agent` | 按 agent 过滤 |
107
+ | `-a codebuddy` | 按 agent 过滤(此处为当前 NPC 的 agent 名) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cnbcool/cnb-api-generate",
3
- "version": "2.16.8",
3
+ "version": "2.16.9",
4
4
  "main": "./built/index.js",
5
5
  "module": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -36,6 +36,6 @@
36
36
  { "shortName": "get-files", "realTool": "get-pr-files", "description": "获取 PR 附件", "repoOnly": true, "dataTip": "--file-path 附件路径" }
37
37
  ],
38
38
  "skills": [
39
- { "shortName": "list", "realTool": "__skills-list__", "description": "列出本地 skills", "custom": true, "dataTip": "-p -a agent --json" }
39
+ { "shortName": "list", "realTool": "__skills-list__", "description": "列出本地 skills", "custom": true, "dataTip": "-p -a codebuddy --json" }
40
40
  ]
41
41
  }