@particle-academy/fancy-flow 0.75.0 → 0.76.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.
Files changed (40) hide show
  1. package/dist/{chunk-2H5H2DDP.js → chunk-4KYW5BT4.js} +4 -4
  2. package/dist/{chunk-2H5H2DDP.js.map → chunk-4KYW5BT4.js.map} +1 -1
  3. package/dist/{chunk-XZFLPKO2.js → chunk-CYVVUKHH.js} +3 -3
  4. package/dist/{chunk-XZFLPKO2.js.map → chunk-CYVVUKHH.js.map} +1 -1
  5. package/dist/{chunk-LKEDPVR3.js → chunk-G4GKDJG5.js} +3 -3
  6. package/dist/{chunk-LKEDPVR3.js.map → chunk-G4GKDJG5.js.map} +1 -1
  7. package/dist/{chunk-4BPCA3ZO.js → chunk-M34S7XUM.js} +3 -3
  8. package/dist/{chunk-4BPCA3ZO.js.map → chunk-M34S7XUM.js.map} +1 -1
  9. package/dist/{chunk-T7E7QPHI.js → chunk-PXVISCSC.js} +4 -4
  10. package/dist/{chunk-T7E7QPHI.js.map → chunk-PXVISCSC.js.map} +1 -1
  11. package/dist/{chunk-W7DMO3H7.js → chunk-V2657EQG.js} +6 -5
  12. package/dist/chunk-V2657EQG.js.map +1 -0
  13. package/dist/{chunk-ZBHIEKCN.js → chunk-ZKAPSUTL.js} +3 -3
  14. package/dist/{chunk-ZBHIEKCN.js.map → chunk-ZKAPSUTL.js.map} +1 -1
  15. package/dist/durable.cjs +4 -3
  16. package/dist/durable.cjs.map +1 -1
  17. package/dist/durable.js +1 -1
  18. package/dist/engine.cjs +4 -3
  19. package/dist/engine.cjs.map +1 -1
  20. package/dist/engine.js +4 -4
  21. package/dist/index.cjs +4 -3
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.js +12 -12
  24. package/dist/registry.cjs +4 -3
  25. package/dist/registry.cjs.map +1 -1
  26. package/dist/registry.js +2 -2
  27. package/dist/runtime.cjs +4 -3
  28. package/dist/runtime.cjs.map +1 -1
  29. package/dist/runtime.js +3 -3
  30. package/dist/schema.cjs +4 -3
  31. package/dist/schema.cjs.map +1 -1
  32. package/dist/schema.js +3 -3
  33. package/dist/screens.cjs +4 -3
  34. package/dist/screens.cjs.map +1 -1
  35. package/dist/screens.js +4 -4
  36. package/dist/ux.cjs +4 -3
  37. package/dist/ux.cjs.map +1 -1
  38. package/dist/ux.js +1 -1
  39. package/package.json +2 -2
  40. package/dist/chunk-W7DMO3H7.js.map +0 -1
package/dist/engine.js CHANGED
@@ -1,9 +1,9 @@
1
- export { runCohort } from './chunk-LKEDPVR3.js';
1
+ export { runCohort } from './chunk-G4GKDJG5.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
- export { checkGraphConnectivity, mayFloat } from './chunk-XZFLPKO2.js';
5
- import { runFlow, getNodeKind, resolveNodePorts } from './chunk-W7DMO3H7.js';
6
- export { RunIdentity, UnresolvedPathError, applyKindSchemaOverlay, clearKindSchemaOverlays, defaultConfigFor, escapeSegment, evaluateConfig, evaluateExpression, getNodeKind, kindIds, listNodeKinds, registerNodeKind, resolveKindId, resolvePath, runFlow, text, truthy, tryResolvePath, unregisterNodeKind, validateConfig } from './chunk-W7DMO3H7.js';
4
+ export { checkGraphConnectivity, mayFloat } from './chunk-CYVVUKHH.js';
5
+ import { runFlow, getNodeKind, resolveNodePorts } from './chunk-V2657EQG.js';
6
+ export { RunIdentity, UnresolvedPathError, applyKindSchemaOverlay, clearKindSchemaOverlays, defaultConfigFor, escapeSegment, evaluateConfig, evaluateExpression, getNodeKind, kindIds, listNodeKinds, registerNodeKind, resolveKindId, resolvePath, runFlow, text, truthy, tryResolvePath, unregisterNodeKind, validateConfig } from './chunk-V2657EQG.js';
7
7
  import { isResolutionFailure, registerLlmClient, registerWorkflowResolver } from './chunk-2QXKDLGT.js';
8
8
 
9
9
  // src/marketplace/manifest.ts
package/dist/index.cjs CHANGED
@@ -2331,8 +2331,9 @@ function possiblePortIds(node) {
2331
2331
  if (!kind) return ["out"];
2332
2332
  const config = nodeConfig(node);
2333
2333
  const representative = typeof kind.outputs === "function" && !configDeclaresPorts(kind.name, config);
2334
- const ids = (resolvePortSpec(kind.outputs, representative ? defaultConfigFor(kind) : config) ?? []).map((p2) => p2.id);
2335
- return ids.length > 0 ? ids : ["out"];
2334
+ const resolved = resolvePortSpec(kind.outputs, representative ? defaultConfigFor(kind) : config);
2335
+ if (resolved === void 0) return ["out"];
2336
+ return resolved.map((p2) => p2.id);
2336
2337
  }
2337
2338
  function configDeclaresPorts(kindName, config) {
2338
2339
  const bare = kindName.startsWith("@") ? kindName.slice(kindName.lastIndexOf("/") + 1) : kindName;
@@ -2658,7 +2659,7 @@ function activatedPorts(node, result) {
2658
2659
  }
2659
2660
  const kind = getNodeKind(node.data?.kind ?? node.type ?? "") ?? void 0;
2660
2661
  const declared = resolveNodePorts(node, kind).outputs?.map((p2) => p2.id);
2661
- return { ports: declared?.length ? declared : ["out"], value: result };
2662
+ return { ports: declared ?? ["out"], value: result };
2662
2663
  }
2663
2664
  function portValueOf(activated, portId) {
2664
2665
  return activated.values && Object.prototype.hasOwnProperty.call(activated.values, portId) ? activated.values[portId] : activated.value;