@particle-academy/fancy-flow 0.51.1 → 0.52.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/dist/{chunk-RSRXKZ52.js → chunk-I7ZDPY7C.js} +3 -3
- package/dist/{chunk-RSRXKZ52.js.map → chunk-I7ZDPY7C.js.map} +1 -1
- package/dist/{chunk-4GO2CHAY.js → chunk-JOXMAWAI.js} +20 -22
- package/dist/chunk-JOXMAWAI.js.map +1 -0
- package/dist/{chunk-OK7KJLWA.js → chunk-PEX3ZGCO.js} +3 -3
- package/dist/{chunk-OK7KJLWA.js.map → chunk-PEX3ZGCO.js.map} +1 -1
- package/dist/{chunk-SPINP4EJ.js → chunk-PU3CLTAG.js} +3 -3
- package/dist/{chunk-SPINP4EJ.js.map → chunk-PU3CLTAG.js.map} +1 -1
- package/dist/{chunk-OECW2E5D.js → chunk-PWIHOR57.js} +4 -4
- package/dist/{chunk-OECW2E5D.js.map → chunk-PWIHOR57.js.map} +1 -1
- package/dist/{chunk-VUU3CDBT.js → chunk-RR7A6IUW.js} +3 -3
- package/dist/{chunk-VUU3CDBT.js.map → chunk-RR7A6IUW.js.map} +1 -1
- package/dist/durable.cjs +19 -21
- package/dist/durable.cjs.map +1 -1
- package/dist/durable.js +1 -1
- package/dist/engine.cjs +19 -21
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.js +3 -3
- package/dist/index.cjs +19 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -11
- package/dist/registry.cjs +19 -21
- package/dist/registry.cjs.map +1 -1
- package/dist/registry.js +2 -2
- package/dist/runtime.cjs +19 -21
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.js +3 -3
- package/dist/schema.cjs +19 -21
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.js +2 -2
- package/dist/screens.cjs +19 -21
- package/dist/screens.cjs.map +1 -1
- package/dist/screens.js +4 -4
- package/dist/ux.cjs +19 -21
- package/dist/ux.cjs.map +1 -1
- package/dist/ux.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-4GO2CHAY.js.map +0 -1
package/dist/schema.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { WORKFLOW_SCHEMA_URL, WORKFLOW_SCHEMA_VERSION, exportWorkflow, importWorkflow, migrateSchema, workflowToBlob } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { WORKFLOW_SCHEMA_URL, WORKFLOW_SCHEMA_VERSION, exportWorkflow, importWorkflow, migrateSchema, workflowToBlob } from './chunk-PU3CLTAG.js';
|
|
2
|
+
import './chunk-JOXMAWAI.js';
|
|
3
3
|
import './chunk-F5RPRB7A.js';
|
|
4
4
|
import './chunk-USL4FMFU.js';
|
|
5
5
|
//# sourceMappingURL=schema.js.map
|
package/dist/screens.cjs
CHANGED
|
@@ -9533,7 +9533,7 @@ async function runFlow(graph, executors, onEvent = () => {
|
|
|
9533
9533
|
const exec = pickExecutor(executors, node);
|
|
9534
9534
|
if (!exec) {
|
|
9535
9535
|
const tried = executorLookupIds(node);
|
|
9536
|
-
const msg = `No executor registered for kind=${node.type} \u2014 tried ${tried.map((id2) => `"${id2}"`).join(", ")}
|
|
9536
|
+
const msg = `No executor registered for kind=${node.type} \u2014 tried ${tried.map((id2) => `"${id2}"`).join(", ")}. Key your registry by one of those.`;
|
|
9537
9537
|
errors.push(msg);
|
|
9538
9538
|
onEvent({ type: "node-status", nodeId: node.id, status: "error", text: msg });
|
|
9539
9539
|
onEvent({ type: "log", nodeId: node.id, level: "error", message: msg });
|
|
@@ -9629,30 +9629,28 @@ function collectInputs(node, incoming, portValues, initial, props, declaresProps
|
|
|
9629
9629
|
function executorLookupIds(node) {
|
|
9630
9630
|
const ids = [node.id];
|
|
9631
9631
|
if (node.type) ids.push(node.type);
|
|
9632
|
-
const
|
|
9633
|
-
|
|
9634
|
-
|
|
9635
|
-
|
|
9636
|
-
const
|
|
9637
|
-
|
|
9638
|
-
|
|
9632
|
+
const typeKind = node.type ? getNodeKind(node.type) : null;
|
|
9633
|
+
if (typeKind) {
|
|
9634
|
+
for (const id2 of kindIds(typeKind)) ids.push(id2);
|
|
9635
|
+
} else {
|
|
9636
|
+
const declared = node.data?.kind;
|
|
9637
|
+
const kindName = typeof declared === "string" && declared !== "" ? declared : null;
|
|
9638
|
+
if (kindName) {
|
|
9639
|
+
ids.push(kindName);
|
|
9640
|
+
const dataKind = getNodeKind(kindName);
|
|
9641
|
+
if (dataKind) {
|
|
9642
|
+
for (const id2 of kindIds(dataKind)) ids.push(id2);
|
|
9643
|
+
}
|
|
9644
|
+
}
|
|
9639
9645
|
}
|
|
9646
|
+
ids.push("*");
|
|
9640
9647
|
return [...new Set(ids)];
|
|
9641
9648
|
}
|
|
9642
9649
|
function pickExecutor(executors, node) {
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
if (kindName && kindName !== node.type && executors[kindName]) return executors[kindName];
|
|
9648
|
-
for (const name of [kindName, node.type]) {
|
|
9649
|
-
const kind = name ? getNodeKind(name) : null;
|
|
9650
|
-
if (!kind) continue;
|
|
9651
|
-
for (const id2 of kindIds(kind)) {
|
|
9652
|
-
if (executors[id2]) return executors[id2];
|
|
9653
|
-
}
|
|
9654
|
-
}
|
|
9655
|
-
return executors["*"];
|
|
9650
|
+
for (const id2 of executorLookupIds(node)) {
|
|
9651
|
+
if (executors[id2]) return executors[id2];
|
|
9652
|
+
}
|
|
9653
|
+
return void 0;
|
|
9656
9654
|
}
|
|
9657
9655
|
function activatedPorts(node, result) {
|
|
9658
9656
|
if (result && typeof result === "object") {
|