@bangdao-ai/acw-tools 1.2.10-beta.2 → 1.3.0
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/cursorConversationParser.js +6 -0
- package/index.js +5 -0
- package/manifest.json +1 -1
- package/package.json +1 -1
|
@@ -341,6 +341,12 @@ function extractAdditionalInfo(composerData, bubbles, markdownContent = '') {
|
|
|
341
341
|
execution.codeChanges = codeChanges;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
+
// 提取工具调用名称(toolFormerData.name)
|
|
345
|
+
const toolFormerData = bubble.toolFormerData || {};
|
|
346
|
+
if (toolFormerData.name) {
|
|
347
|
+
execution.toolName = toolFormerData.name;
|
|
348
|
+
}
|
|
349
|
+
|
|
344
350
|
additionalInfo.performance.executions.push(execution);
|
|
345
351
|
}
|
|
346
352
|
}
|
package/index.js
CHANGED
|
@@ -852,6 +852,11 @@ async function uploadExecutions(sessionId, executionsList) {
|
|
|
852
852
|
data.timingInfo = JSON.stringify(exec.timingInfo);
|
|
853
853
|
}
|
|
854
854
|
|
|
855
|
+
// 添加工具调用名称(仅type=ai时)
|
|
856
|
+
if (exec.type === 'ai' && exec.toolName) {
|
|
857
|
+
data.toolName = exec.toolName;
|
|
858
|
+
}
|
|
859
|
+
|
|
855
860
|
// 初始化additionalInfo为空对象(确保字段不为NULL)
|
|
856
861
|
const additionalInfo = {};
|
|
857
862
|
|
package/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ACW工具集",
|
|
3
3
|
"description": "ACW平台工具集:智能下载规则到项目、初始化Common Admin模板项目",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.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