@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/runtime.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { applyOutputsToNodes, applyStatusesToNodes, createHistory, useFlowHistory, useFlowRun, useFlowState } from './chunk-
|
|
2
|
-
export { runCohort } from './chunk-
|
|
3
|
-
export { RunIdentity, escapeSegment, runFlow } from './chunk-
|
|
1
|
+
export { applyOutputsToNodes, applyStatusesToNodes, createHistory, useFlowHistory, useFlowRun, useFlowState } from './chunk-PEX3ZGCO.js';
|
|
2
|
+
export { runCohort } from './chunk-RR7A6IUW.js';
|
|
3
|
+
export { RunIdentity, escapeSegment, runFlow } from './chunk-JOXMAWAI.js';
|
|
4
4
|
import './chunk-F5RPRB7A.js';
|
|
5
5
|
import './chunk-USL4FMFU.js';
|
|
6
6
|
//# sourceMappingURL=runtime.js.map
|
package/dist/schema.cjs
CHANGED
|
@@ -9348,7 +9348,7 @@ async function runFlow(graph, executors, onEvent = () => {
|
|
|
9348
9348
|
const exec = pickExecutor(executors, node);
|
|
9349
9349
|
if (!exec) {
|
|
9350
9350
|
const tried = executorLookupIds(node);
|
|
9351
|
-
const msg = `No executor registered for kind=${node.type} \u2014 tried ${tried.map((id2) => `"${id2}"`).join(", ")}
|
|
9351
|
+
const msg = `No executor registered for kind=${node.type} \u2014 tried ${tried.map((id2) => `"${id2}"`).join(", ")}. Key your registry by one of those.`;
|
|
9352
9352
|
errors.push(msg);
|
|
9353
9353
|
onEvent({ type: "node-status", nodeId: node.id, status: "error", text: msg });
|
|
9354
9354
|
onEvent({ type: "log", nodeId: node.id, level: "error", message: msg });
|
|
@@ -9444,30 +9444,28 @@ function collectInputs(node, incoming, portValues, initial, props, declaresProps
|
|
|
9444
9444
|
function executorLookupIds(node) {
|
|
9445
9445
|
const ids = [node.id];
|
|
9446
9446
|
if (node.type) ids.push(node.type);
|
|
9447
|
-
const
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
const
|
|
9452
|
-
|
|
9453
|
-
|
|
9447
|
+
const typeKind = node.type ? getNodeKind(node.type) : null;
|
|
9448
|
+
if (typeKind) {
|
|
9449
|
+
for (const id2 of kindIds(typeKind)) ids.push(id2);
|
|
9450
|
+
} else {
|
|
9451
|
+
const declared = node.data?.kind;
|
|
9452
|
+
const kindName = typeof declared === "string" && declared !== "" ? declared : null;
|
|
9453
|
+
if (kindName) {
|
|
9454
|
+
ids.push(kindName);
|
|
9455
|
+
const dataKind = getNodeKind(kindName);
|
|
9456
|
+
if (dataKind) {
|
|
9457
|
+
for (const id2 of kindIds(dataKind)) ids.push(id2);
|
|
9458
|
+
}
|
|
9459
|
+
}
|
|
9454
9460
|
}
|
|
9461
|
+
ids.push("*");
|
|
9455
9462
|
return [...new Set(ids)];
|
|
9456
9463
|
}
|
|
9457
9464
|
function pickExecutor(executors, node) {
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
if (kindName && kindName !== node.type && executors[kindName]) return executors[kindName];
|
|
9463
|
-
for (const name of [kindName, node.type]) {
|
|
9464
|
-
const kind = name ? getNodeKind(name) : null;
|
|
9465
|
-
if (!kind) continue;
|
|
9466
|
-
for (const id2 of kindIds(kind)) {
|
|
9467
|
-
if (executors[id2]) return executors[id2];
|
|
9468
|
-
}
|
|
9469
|
-
}
|
|
9470
|
-
return executors["*"];
|
|
9465
|
+
for (const id2 of executorLookupIds(node)) {
|
|
9466
|
+
if (executors[id2]) return executors[id2];
|
|
9467
|
+
}
|
|
9468
|
+
return void 0;
|
|
9471
9469
|
}
|
|
9472
9470
|
function activatedPorts(node, result) {
|
|
9473
9471
|
if (result && typeof result === "object") {
|