@particle-academy/fancy-flow 0.3.0 → 0.4.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-DDHKYIH2.js → chunk-2BZ6OE5H.js} +229 -435
- package/dist/chunk-2BZ6OE5H.js.map +1 -0
- package/dist/{chunk-FGUJNX65.js → chunk-35OXF6W3.js} +3 -3
- package/dist/{chunk-FGUJNX65.js.map → chunk-35OXF6W3.js.map} +1 -1
- package/dist/chunk-4PZQRN5Y.js +114 -0
- package/dist/chunk-4PZQRN5Y.js.map +1 -0
- package/dist/chunk-DW66NGU5.js +138 -0
- package/dist/chunk-DW66NGU5.js.map +1 -0
- package/dist/{chunk-YPINKH2D.js → engine.cjs} +4 -111
- package/dist/engine.cjs.map +1 -0
- package/dist/engine.d.cts +35 -0
- package/dist/engine.d.ts +35 -0
- package/dist/engine.js +3 -0
- package/dist/engine.js.map +1 -0
- package/dist/index.cjs +227 -464
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +19 -19
- package/dist/index.d.ts +19 -19
- package/dist/index.js +6 -6
- package/dist/registry/index.d.cts +2 -3
- package/dist/registry/index.d.ts +2 -3
- package/dist/registry.cjs +225 -462
- package/dist/registry.cjs.map +1 -1
- package/dist/registry.js +2 -3
- package/dist/runtime/index.d.cts +4 -32
- package/dist/runtime/index.d.ts +4 -32
- package/dist/runtime.cjs +226 -463
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.js +3 -3
- package/dist/schema/index.d.cts +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/dist/schema.js +0 -1
- package/dist/{types-Ch4sAvum.d.cts → types-TemTtb04.d.cts} +1 -1
- package/dist/{types-Ch4sAvum.d.ts → types-TemTtb04.d.ts} +1 -1
- package/package.json +46 -9
- package/dist/chunk-7D4SUZUM.js +0 -35
- package/dist/chunk-7D4SUZUM.js.map +0 -1
- package/dist/chunk-DDHKYIH2.js.map +0 -1
- package/dist/chunk-YPINKH2D.js.map +0 -1
package/dist/runtime.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { applyStatusesToNodes,
|
|
2
|
-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { applyStatusesToNodes, useFlowRun, useFlowState } from './chunk-4PZQRN5Y.js';
|
|
2
|
+
export { runFlow } from './chunk-DW66NGU5.js';
|
|
3
|
+
import './chunk-2BZ6OE5H.js';
|
|
4
4
|
//# sourceMappingURL=runtime.js.map
|
|
5
5
|
//# sourceMappingURL=runtime.js.map
|
package/dist/schema/index.d.cts
CHANGED
package/dist/schema/index.d.ts
CHANGED
package/dist/schema.js
CHANGED
|
@@ -100,4 +100,4 @@ type RunEvent = {
|
|
|
100
100
|
error: string;
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
export type { ActionNodeData as A, BaseNodeData as B, DecisionNodeData as D, ExecutorRegistry as E,
|
|
103
|
+
export type { ActionNodeData as A, BaseNodeData as B, DecisionNodeData as D, ExecutorRegistry as E, FlowNode as F, NodeExecutor as N, OutputNodeData as O, PortDescriptor as P, RunEvent as R, SubgraphNodeData as S, TriggerNodeData as T, FlowGraph as a, FlowEdge as b, FlowNodeData as c, FlowNodeKind as d, NodeRunStatus as e, NoteNodeData as f };
|
|
@@ -100,4 +100,4 @@ type RunEvent = {
|
|
|
100
100
|
error: string;
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
export type { ActionNodeData as A, BaseNodeData as B, DecisionNodeData as D, ExecutorRegistry as E,
|
|
103
|
+
export type { ActionNodeData as A, BaseNodeData as B, DecisionNodeData as D, ExecutorRegistry as E, FlowNode as F, NodeExecutor as N, OutputNodeData as O, PortDescriptor as P, RunEvent as R, SubgraphNodeData as S, TriggerNodeData as T, FlowGraph as a, FlowEdge as b, FlowNodeData as c, FlowNodeKind as d, NodeRunStatus as e, NoteNodeData as f };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@particle-academy/fancy-flow",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Workflow editor + runner. Six built-in node kits (trigger / action / decision / output / note / subgraph), tokenized theme, topological execution with per-node status. React-flow bundled; consumers npm install fancy-flow and get nothing extra.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,16 +14,42 @@
|
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
|
-
"import": {
|
|
18
|
-
|
|
17
|
+
"import": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"default": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"require": {
|
|
22
|
+
"types": "./dist/index.d.cts",
|
|
23
|
+
"default": "./dist/index.cjs"
|
|
24
|
+
}
|
|
19
25
|
},
|
|
20
26
|
"./runtime": {
|
|
21
|
-
"import": {
|
|
22
|
-
|
|
27
|
+
"import": {
|
|
28
|
+
"types": "./dist/runtime.d.ts",
|
|
29
|
+
"default": "./dist/runtime.js"
|
|
30
|
+
},
|
|
31
|
+
"require": {
|
|
32
|
+
"types": "./dist/runtime.d.cts",
|
|
33
|
+
"default": "./dist/runtime.cjs"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"./engine": {
|
|
37
|
+
"import": {
|
|
38
|
+
"types": "./dist/engine.d.ts",
|
|
39
|
+
"default": "./dist/engine.js"
|
|
40
|
+
},
|
|
41
|
+
"require": {
|
|
42
|
+
"types": "./dist/engine.d.cts",
|
|
43
|
+
"default": "./dist/engine.cjs"
|
|
44
|
+
}
|
|
23
45
|
},
|
|
24
46
|
"./styles.css": "./dist/styles.css"
|
|
25
47
|
},
|
|
26
|
-
"files": [
|
|
48
|
+
"files": [
|
|
49
|
+
"dist",
|
|
50
|
+
"docs",
|
|
51
|
+
"README.md"
|
|
52
|
+
],
|
|
27
53
|
"scripts": {
|
|
28
54
|
"build": "tsup",
|
|
29
55
|
"dev": "tsup --watch",
|
|
@@ -31,7 +57,14 @@
|
|
|
31
57
|
"clean": "rm -rf dist",
|
|
32
58
|
"prepublishOnly": "tsup"
|
|
33
59
|
},
|
|
34
|
-
"keywords": [
|
|
60
|
+
"keywords": [
|
|
61
|
+
"react",
|
|
62
|
+
"workflow",
|
|
63
|
+
"flow",
|
|
64
|
+
"graph",
|
|
65
|
+
"agent",
|
|
66
|
+
"fancy"
|
|
67
|
+
],
|
|
35
68
|
"peerDependencies": {
|
|
36
69
|
"react": "^18.0.0 || ^19.0.0",
|
|
37
70
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
@@ -48,7 +81,11 @@
|
|
|
48
81
|
"tsup": "^8.0.0",
|
|
49
82
|
"typescript": "^5.7.0"
|
|
50
83
|
},
|
|
51
|
-
"publishConfig": {
|
|
84
|
+
"publishConfig": {
|
|
85
|
+
"access": "public"
|
|
86
|
+
},
|
|
52
87
|
"license": "MIT",
|
|
53
|
-
"sideEffects": [
|
|
88
|
+
"sideEffects": [
|
|
89
|
+
"**/*.css"
|
|
90
|
+
]
|
|
54
91
|
}
|
package/dist/chunk-7D4SUZUM.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
8
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
|
-
}) : x)(function(x) {
|
|
10
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
|
-
});
|
|
13
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
14
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
|
-
};
|
|
16
|
-
var __copyProps = (to, from, except, desc) => {
|
|
17
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
18
|
-
for (let key of __getOwnPropNames(from))
|
|
19
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
20
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
21
|
-
}
|
|
22
|
-
return to;
|
|
23
|
-
};
|
|
24
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
25
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
26
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
27
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
28
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
29
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
30
|
-
mod
|
|
31
|
-
));
|
|
32
|
-
|
|
33
|
-
export { __commonJS, __require, __toESM };
|
|
34
|
-
//# sourceMappingURL=chunk-7D4SUZUM.js.map
|
|
35
|
-
//# sourceMappingURL=chunk-7D4SUZUM.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-7D4SUZUM.js"}
|