@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/engine.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { runCohort } from './chunk-
|
|
1
|
+
export { runCohort } from './chunk-RR7A6IUW.js';
|
|
2
2
|
import { decodePause } from './chunk-UEOE6B52.js';
|
|
3
3
|
export { LEGACY_PAUSE_PREFIXES, PAUSE_PREFIX, decodePause, encodePause, isPause, pauseForHuman } from './chunk-UEOE6B52.js';
|
|
4
|
-
import { runFlow, getNodeKind, resolveNodePorts } from './chunk-
|
|
5
|
-
export { RunIdentity, defaultConfigFor, escapeSegment, getNodeKind, kindIds, listNodeKinds, registerNodeKind, resolveKindId, runFlow, validateConfig } from './chunk-
|
|
4
|
+
import { runFlow, getNodeKind, resolveNodePorts } from './chunk-JOXMAWAI.js';
|
|
5
|
+
export { RunIdentity, defaultConfigFor, escapeSegment, getNodeKind, kindIds, listNodeKinds, registerNodeKind, resolveKindId, runFlow, validateConfig } from './chunk-JOXMAWAI.js';
|
|
6
6
|
import './chunk-F5RPRB7A.js';
|
|
7
7
|
import { isResolutionFailure, registerLlmClient, registerWorkflowResolver } from './chunk-USL4FMFU.js';
|
|
8
8
|
|
package/dist/index.cjs
CHANGED
|
@@ -11220,7 +11220,7 @@ async function runFlow(graph, executors, onEvent = () => {
|
|
|
11220
11220
|
const exec = pickExecutor(executors, node);
|
|
11221
11221
|
if (!exec) {
|
|
11222
11222
|
const tried = executorLookupIds(node);
|
|
11223
|
-
const msg = `No executor registered for kind=${node.type} \u2014 tried ${tried.map((id2) => `"${id2}"`).join(", ")}
|
|
11223
|
+
const msg = `No executor registered for kind=${node.type} \u2014 tried ${tried.map((id2) => `"${id2}"`).join(", ")}. Key your registry by one of those.`;
|
|
11224
11224
|
errors.push(msg);
|
|
11225
11225
|
onEvent({ type: "node-status", nodeId: node.id, status: "error", text: msg });
|
|
11226
11226
|
onEvent({ type: "log", nodeId: node.id, level: "error", message: msg });
|
|
@@ -11316,30 +11316,28 @@ function collectInputs(node, incoming, portValues, initial, props, declaresProps
|
|
|
11316
11316
|
function executorLookupIds(node) {
|
|
11317
11317
|
const ids = [node.id];
|
|
11318
11318
|
if (node.type) ids.push(node.type);
|
|
11319
|
-
const
|
|
11320
|
-
|
|
11321
|
-
|
|
11322
|
-
|
|
11323
|
-
const
|
|
11324
|
-
|
|
11325
|
-
|
|
11319
|
+
const typeKind = node.type ? getNodeKind(node.type) : null;
|
|
11320
|
+
if (typeKind) {
|
|
11321
|
+
for (const id2 of kindIds(typeKind)) ids.push(id2);
|
|
11322
|
+
} else {
|
|
11323
|
+
const declared = node.data?.kind;
|
|
11324
|
+
const kindName = typeof declared === "string" && declared !== "" ? declared : null;
|
|
11325
|
+
if (kindName) {
|
|
11326
|
+
ids.push(kindName);
|
|
11327
|
+
const dataKind = getNodeKind(kindName);
|
|
11328
|
+
if (dataKind) {
|
|
11329
|
+
for (const id2 of kindIds(dataKind)) ids.push(id2);
|
|
11330
|
+
}
|
|
11331
|
+
}
|
|
11326
11332
|
}
|
|
11333
|
+
ids.push("*");
|
|
11327
11334
|
return [...new Set(ids)];
|
|
11328
11335
|
}
|
|
11329
11336
|
function pickExecutor(executors, node) {
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
11333
|
-
|
|
11334
|
-
if (kindName && kindName !== node.type && executors[kindName]) return executors[kindName];
|
|
11335
|
-
for (const name of [kindName, node.type]) {
|
|
11336
|
-
const kind = name ? getNodeKind(name) : null;
|
|
11337
|
-
if (!kind) continue;
|
|
11338
|
-
for (const id2 of kindIds(kind)) {
|
|
11339
|
-
if (executors[id2]) return executors[id2];
|
|
11340
|
-
}
|
|
11341
|
-
}
|
|
11342
|
-
return executors["*"];
|
|
11337
|
+
for (const id2 of executorLookupIds(node)) {
|
|
11338
|
+
if (executors[id2]) return executors[id2];
|
|
11339
|
+
}
|
|
11340
|
+
return void 0;
|
|
11343
11341
|
}
|
|
11344
11342
|
function activatedPorts(node, result) {
|
|
11345
11343
|
if (result && typeof result === "object") {
|