digitalsee-ai-flow-cli 0.7.24-beta.2 → 0.7.24-beta.3
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
|
-
|
|
230
|
-
|
|
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} 的动作列表...`);
|