@particle-academy/fancy-flow 0.21.0 → 0.22.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 (55) hide show
  1. package/dist/{capabilities-DUhAc-EJ.d.ts → capabilities-85Mjn4uW.d.ts} +1 -1
  2. package/dist/{capabilities-ChE3Xi8R.d.cts → capabilities-exVeADXz.d.cts} +1 -1
  3. package/dist/{chunk-L4AX73Q6.js → chunk-KDHLKBL2.js} +11 -5
  4. package/dist/chunk-KDHLKBL2.js.map +1 -0
  5. package/dist/{chunk-G3WHXMZ3.js → chunk-O7F6SGV4.js} +3 -3
  6. package/dist/{chunk-G3WHXMZ3.js.map → chunk-O7F6SGV4.js.map} +1 -1
  7. package/dist/{chunk-HMWYJIRP.js → chunk-OHVSEHDC.js} +3 -3
  8. package/dist/{chunk-HMWYJIRP.js.map → chunk-OHVSEHDC.js.map} +1 -1
  9. package/dist/{chunk-U5F22BHV.js → chunk-YXRLIV7A.js} +4 -2
  10. package/dist/chunk-YXRLIV7A.js.map +1 -0
  11. package/dist/{chunk-JE4ENQSE.js → chunk-YZTBRXBZ.js} +54 -6
  12. package/dist/chunk-YZTBRXBZ.js.map +1 -0
  13. package/dist/engine.cjs +8 -2
  14. package/dist/engine.cjs.map +1 -1
  15. package/dist/engine.d.cts +3 -3
  16. package/dist/engine.d.ts +3 -3
  17. package/dist/engine.js +3 -3
  18. package/dist/index.cjs +4522 -4374
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +24 -7
  21. package/dist/index.d.ts +24 -7
  22. package/dist/index.js +199 -106
  23. package/dist/index.js.map +1 -1
  24. package/dist/llm/vercel-ai.d.cts +2 -2
  25. package/dist/llm/vercel-ai.d.ts +2 -2
  26. package/dist/registry/index.d.cts +5 -5
  27. package/dist/registry/index.d.ts +5 -5
  28. package/dist/registry.cjs +59 -3
  29. package/dist/registry.cjs.map +1 -1
  30. package/dist/registry.js +3 -3
  31. package/dist/{run-flow-ChBi6q-W.d.ts → run-flow-9U-gaYVF.d.ts} +1 -1
  32. package/dist/{run-flow-VKm57Hcj.d.cts → run-flow-AXzOR-Wq.d.cts} +1 -1
  33. package/dist/runtime/index.d.cts +3 -3
  34. package/dist/runtime/index.d.ts +3 -3
  35. package/dist/runtime.cjs +8 -2
  36. package/dist/runtime.cjs.map +1 -1
  37. package/dist/runtime.js +3 -3
  38. package/dist/schema/index.d.cts +1 -1
  39. package/dist/schema/index.d.ts +1 -1
  40. package/dist/schema.cjs.map +1 -1
  41. package/dist/schema.js +2 -2
  42. package/dist/styles.css +41 -0
  43. package/dist/styles.css.map +1 -1
  44. package/dist/{types-VGkCXEO6.d.ts → types-CFEtuRWJ.d.ts} +11 -3
  45. package/dist/{types-sOmpCitB.d.cts → types-CMSrWVYM.d.cts} +1 -1
  46. package/dist/{types-sOmpCitB.d.ts → types-CMSrWVYM.d.ts} +1 -1
  47. package/dist/{types-LG-YckGh.d.cts → types-DneUoivl.d.cts} +11 -3
  48. package/dist/ux.cjs.map +1 -1
  49. package/dist/ux.d.cts +3 -3
  50. package/dist/ux.d.ts +3 -3
  51. package/dist/ux.js +1 -1
  52. package/package.json +1 -1
  53. package/dist/chunk-JE4ENQSE.js.map +0 -1
  54. package/dist/chunk-L4AX73Q6.js.map +0 -1
  55. package/dist/chunk-U5F22BHV.js.map +0 -1
package/dist/registry.js CHANGED
@@ -1,9 +1,9 @@
1
- export { ANY_PORT_TYPE, BUILTIN_KINDS, DEFAULT_MAX_DEPTH, RegistryNode, buildNodeTypes, createConnectionValidator, declaredRoutes, defaultPortCompatibility, llmRouterExecutor as llmBranchExecutor, llmRouterExecutor, registerBuiltinKinds, resolveFallbackPort, subflowExecutor, subflowMode, subflowPorts } from './chunk-JE4ENQSE.js';
1
+ export { ANY_PORT_TYPE, BUILTIN_KINDS, DEFAULT_MAX_DEPTH, RegistryNode, buildNodeTypes, createConnectionValidator, declaredRoutes, defaultPortCompatibility, llmRouterExecutor as llmBranchExecutor, llmRouterExecutor, registerBuiltinKinds, resolveFallbackPort, subflowExecutor, subflowMode, subflowPorts } from './chunk-YZTBRXBZ.js';
2
2
  import './chunk-ZB4HHQMR.js';
3
3
  export { LEGACY_PAUSE_PREFIXES, PAUSE_PREFIX, decodePause, encodePause, isPause, pauseForHuman } from './chunk-UEOE6B52.js';
4
- import './chunk-L4AX73Q6.js';
4
+ import './chunk-KDHLKBL2.js';
5
5
  export { nodeConfig, resolveNodePorts, resolvePortSpec } from './chunk-TITD5W4Y.js';
6
- export { categoryAccent, defaultConfigFor, getNodeKind, kindIds, listNodeKinds, onNodeKindsChanged, registerNodeKind, resolveKindId, validateConfig } from './chunk-U5F22BHV.js';
6
+ export { categoryAccent, defaultConfigFor, getNodeKind, kindIds, listNodeKinds, onNodeKindsChanged, registerNodeKind, resolveKindId, validateConfig } from './chunk-YXRLIV7A.js';
7
7
  export { RichInputPreview, getRichInputAdapter, isRichInputEnabled, onRichInputAdapterChanged, registerRichInputAdapter } from './chunk-F5RPRB7A.js';
8
8
  export { capabilityStatus, getLlmClient, getWorkflowResolver, isResolutionFailure, registerLlmClient, registerWorkflowResolver } from './chunk-USL4FMFU.js';
9
9
  //# sourceMappingURL=registry.js.map
@@ -1,4 +1,4 @@
1
- import { F as FlowGraph, E as ExecutorRegistry, R as RunEvent } from './types-sOmpCitB.js';
1
+ import { F as FlowGraph, E as ExecutorRegistry, R as RunEvent } from './types-CMSrWVYM.js';
2
2
 
3
3
  type RunOptions = {
4
4
  /** Stop the run after this many ms. Default: no timeout. */
@@ -1,4 +1,4 @@
1
- import { F as FlowGraph, E as ExecutorRegistry, R as RunEvent } from './types-sOmpCitB.cjs';
1
+ import { F as FlowGraph, E as ExecutorRegistry, R as RunEvent } from './types-CMSrWVYM.cjs';
2
2
 
3
3
  type RunOptions = {
4
4
  /** Stop the run after this many ms. Default: no timeout. */
@@ -1,6 +1,6 @@
1
- import { a as RunResult, R as RunOptions } from '../run-flow-VKm57Hcj.cjs';
2
- export { r as runFlow } from '../run-flow-VKm57Hcj.cjs';
3
- import { e as NodeRunStatus, F as FlowGraph, E as ExecutorRegistry, b as FlowNode, a as FlowEdge } from '../types-sOmpCitB.cjs';
1
+ import { a as RunResult, R as RunOptions } from '../run-flow-AXzOR-Wq.cjs';
2
+ export { r as runFlow } from '../run-flow-AXzOR-Wq.cjs';
3
+ import { e as NodeRunStatus, F as FlowGraph, E as ExecutorRegistry, a as FlowNode, b as FlowEdge } from '../types-CMSrWVYM.cjs';
4
4
  import { NodeChange, EdgeChange, Connection } from '@xyflow/react';
5
5
 
6
6
  type FlowRunFeedEntry = {
@@ -1,6 +1,6 @@
1
- import { a as RunResult, R as RunOptions } from '../run-flow-ChBi6q-W.js';
2
- export { r as runFlow } from '../run-flow-ChBi6q-W.js';
3
- import { e as NodeRunStatus, F as FlowGraph, E as ExecutorRegistry, b as FlowNode, a as FlowEdge } from '../types-sOmpCitB.js';
1
+ import { a as RunResult, R as RunOptions } from '../run-flow-9U-gaYVF.js';
2
+ export { r as runFlow } from '../run-flow-9U-gaYVF.js';
3
+ import { e as NodeRunStatus, F as FlowGraph, E as ExecutorRegistry, a as FlowNode, b as FlowEdge } from '../types-CMSrWVYM.js';
4
4
  import { NodeChange, EdgeChange, Connection } from '@xyflow/react';
5
5
 
6
6
  type FlowRunFeedEntry = {
package/dist/runtime.cjs CHANGED
@@ -76,8 +76,14 @@ async function runFlow(graph, executors, onEvent = () => {
76
76
  continue;
77
77
  }
78
78
  }
79
- if (node.type === "note") {
80
- onEvent({ type: "node-status", nodeId: node.id, status: "idle", text: "annotation" });
79
+ const visualKind = getNodeKind(node.type ?? "");
80
+ if (node.type === "note" || visualKind?.category === "layout") {
81
+ onEvent({
82
+ type: "node-status",
83
+ nodeId: node.id,
84
+ status: "idle",
85
+ text: visualKind?.category === "layout" ? "lane" : "annotation"
86
+ });
81
87
  continue;
82
88
  }
83
89
  onEvent({ type: "node-status", nodeId: node.id, status: "running" });