@particle-academy/fancy-flow 0.11.0 → 0.13.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/capabilities-B6r1Snfj.d.ts +77 -0
- package/dist/capabilities-D-V9Rxv1.d.cts +77 -0
- package/dist/chunk-BB45F6S3.js +38 -0
- package/dist/chunk-BB45F6S3.js.map +1 -0
- package/dist/{chunk-2NQT2A3I.js → chunk-L4AX73Q6.js} +5 -4
- package/dist/chunk-L4AX73Q6.js.map +1 -0
- package/dist/{chunk-3GMBLHTM.js → chunk-MFMRTRPO.js} +3 -3
- package/dist/{chunk-3GMBLHTM.js.map → chunk-MFMRTRPO.js.map} +1 -1
- package/dist/{chunk-YNOI7ONN.js → chunk-WEZJFMLV.js} +224 -51
- package/dist/chunk-WEZJFMLV.js.map +1 -0
- package/dist/engine.cjs +3 -2
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.d.cts +4 -2
- package/dist/engine.d.ts +4 -2
- package/dist/engine.js +1 -1
- package/dist/index.cjs +396 -215
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/llm/vercel-ai.cjs +59 -0
- package/dist/llm/vercel-ai.cjs.map +1 -0
- package/dist/llm/vercel-ai.d.cts +59 -0
- package/dist/llm/vercel-ai.d.ts +59 -0
- package/dist/llm/vercel-ai.js +49 -0
- package/dist/llm/vercel-ai.js.map +1 -0
- package/dist/registry/index.d.cts +60 -4
- package/dist/registry/index.d.ts +60 -4
- package/dist/registry.cjs +455 -93
- package/dist/registry.cjs.map +1 -1
- package/dist/registry.js +3 -1
- package/dist/runtime/index.d.cts +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime.cjs +3 -2
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.js +2 -2
- package/dist/schema/index.d.cts +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/dist/{types-CsEe3EQl.d.ts → types-CnnKPnpt.d.ts} +1 -1
- package/dist/{types-BwLr5tZV.d.cts → types-H60tQAxr.d.cts} +1 -1
- package/dist/{types-BS3Gwnkq.d.cts → types-fc0fFKkf.d.cts} +7 -1
- package/dist/{types-BS3Gwnkq.d.ts → types-fc0fFKkf.d.ts} +7 -1
- package/dist/ux.d.cts +2 -2
- package/dist/ux.d.ts +2 -2
- package/package.json +19 -3
- package/dist/chunk-2NQT2A3I.js.map +0 -1
- package/dist/chunk-YNOI7ONN.js.map +0 -1
package/dist/registry.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
export { BUILTIN_KINDS, RegistryNode, buildNodeTypes, registerBuiltinKinds } from './chunk-
|
|
1
|
+
export { BUILTIN_KINDS, DEFAULT_MAX_DEPTH, RegistryNode, buildNodeTypes, declaredRoutes, llmBranchExecutor, registerBuiltinKinds, resolveFallbackPort, subflowExecutor, subflowMode, subflowPorts } from './chunk-WEZJFMLV.js';
|
|
2
2
|
import './chunk-NF6NPY5N.js';
|
|
3
|
+
import './chunk-L4AX73Q6.js';
|
|
3
4
|
export { nodeConfig, resolveNodePorts, resolvePortSpec } from './chunk-TITD5W4Y.js';
|
|
4
5
|
export { categoryAccent, defaultConfigFor, getNodeKind, kindIds, listNodeKinds, onNodeKindsChanged, registerNodeKind, resolveKindId, validateConfig } from './chunk-U5F22BHV.js';
|
|
5
6
|
export { RichInputPreview, getRichInputAdapter, isRichInputEnabled, onRichInputAdapterChanged, registerRichInputAdapter } from './chunk-F5RPRB7A.js';
|
|
7
|
+
export { capabilityStatus, getLlmClient, getWorkflowResolver, registerLlmClient, registerWorkflowResolver } from './chunk-BB45F6S3.js';
|
|
6
8
|
//# sourceMappingURL=registry.js.map
|
|
7
9
|
//# sourceMappingURL=registry.js.map
|
package/dist/runtime/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RunResult, RunOptions } from '../engine.cjs';
|
|
2
2
|
export { runFlow } from '../engine.cjs';
|
|
3
|
-
import { b as NodeRunStatus,
|
|
3
|
+
import { b as NodeRunStatus, F as FlowGraph, E as ExecutorRegistry, a as FlowNode, c as FlowEdge } from '../types-fc0fFKkf.cjs';
|
|
4
4
|
import { NodeChange, EdgeChange, Connection } from '@xyflow/react';
|
|
5
5
|
|
|
6
6
|
type FlowRunFeedEntry = {
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RunResult, RunOptions } from '../engine.js';
|
|
2
2
|
export { runFlow } from '../engine.js';
|
|
3
|
-
import { b as NodeRunStatus,
|
|
3
|
+
import { b as NodeRunStatus, F as FlowGraph, E as ExecutorRegistry, a as FlowNode, c as FlowEdge } from '../types-fc0fFKkf.js';
|
|
4
4
|
import { NodeChange, EdgeChange, Connection } from '@xyflow/react';
|
|
5
5
|
|
|
6
6
|
type FlowRunFeedEntry = {
|
package/dist/runtime.cjs
CHANGED
|
@@ -50,7 +50,7 @@ function resolveNodePorts(node, kind) {
|
|
|
50
50
|
// src/runtime/run-flow.ts
|
|
51
51
|
async function runFlow(graph, executors, onEvent = () => {
|
|
52
52
|
}, options = {}) {
|
|
53
|
-
const { signal, initialInputs = {}, timeoutMs } = options;
|
|
53
|
+
const { signal, initialInputs = {}, timeoutMs, depth = 0 } = options;
|
|
54
54
|
const outputs = {};
|
|
55
55
|
const portValues = /* @__PURE__ */ new Map();
|
|
56
56
|
const completed = /* @__PURE__ */ new Set();
|
|
@@ -98,7 +98,8 @@ async function runFlow(graph, executors, onEvent = () => {
|
|
|
98
98
|
abort: (reason) => {
|
|
99
99
|
throw new Error(reason ?? "aborted");
|
|
100
100
|
},
|
|
101
|
-
emit: onEvent
|
|
101
|
+
emit: onEvent,
|
|
102
|
+
depth
|
|
102
103
|
})
|
|
103
104
|
);
|
|
104
105
|
outputs[node.id] = result;
|