digitalsee-ai-flow-cli 0.7.24-beta.2 → 0.9.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.
@@ -226,8 +226,10 @@ function registerFlowNode(flowCmd) {
226
226
  // 获取失败则回退到列表查找
227
227
  }
228
228
  if (action) {
229
- // 兼容旧 API:非 node package 节点要求必传 action_id,此处设为 '0' 占位
230
- action.id = '0';
229
+ if (!action.id && action.node_schema) {
230
+ // 兼容旧 API:非 node package 节点要求必传 action_id,此处设为 '0' 占位
231
+ action.id = '0';
232
+ }
231
233
  }
232
234
  else {
233
235
  (0, output_1.printInfo)(`获取连接器 ${connectorId} 的动作列表...`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digitalsee-ai-flow-cli",
3
- "version": "0.7.24-beta.2",
3
+ "version": "0.9.1",
4
4
  "description": "AI Flow CLI - manage connection flows and node configurations",
5
5
  "main": "dist/index.js",
6
6
  "bin": {