@bangdao-ai/acw-tools 1.1.34 → 1.2.0-beta.1

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.
@@ -153,6 +153,12 @@ function extractAdditionalInfo(composerData, bubbles, markdownContent = '') {
153
153
  }
154
154
  };
155
155
 
156
+ // 新增: 记录 cursorCommands (只在数组不为空时添加)
157
+ const cursorCommands = bubble.context?.cursorCommands;
158
+ if (cursorCommands && Array.isArray(cursorCommands) && cursorCommands.length > 0) {
159
+ execution.cursorCommands = cursorCommands.map(cmd => cmd.filename).filter(Boolean);
160
+ }
161
+
156
162
  additionalInfo.performance.executions.push(execution);
157
163
 
158
164
  } else if (bubbleType === 2) {
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ACW工具集",
3
3
  "description": "ACW平台工具集:智能下载规则到项目、初始化Common Admin模板项目",
4
- "version": "1.1.34",
4
+ "version": "1.2.0",
5
5
  "author": "邦道科技 - 产品技术中心",
6
6
  "homepage": "https://www.npmjs.com/package/@bangdao-ai/acw-tools",
7
7
  "repository": "https://www.npmjs.com/package/@bangdao-ai/acw-tools?activeTab=readme",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bangdao-ai/acw-tools",
3
- "version": "1.1.34",
3
+ "version": "1.2.0-beta.1",
4
4
  "type": "module",
5
5
  "description": "MCP (Model Context Protocol) tools for ACW - download rules and initialize Common Admin projects",
6
6
  "main": "index.js",
@@ -42,6 +42,7 @@
42
42
  "dependencies": {
43
43
  "@modelcontextprotocol/sdk": "^1.18.2",
44
44
  "adm-zip": "^0.5.10",
45
+ "better-sqlite3": "^12.4.1",
45
46
  "node-fetch": "^3.3.2",
46
47
  "sql.js": "^1.13.0",
47
48
  "zod": "^3.25.76"