@particle-academy/fancy-flow 0.38.0 → 0.40.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/index.cjs +42 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +143 -40
- package/dist/index.d.ts +143 -40
- package/dist/index.js +41 -6
- package/dist/index.js.map +1 -1
- package/package.json +199 -198
package/package.json
CHANGED
|
@@ -1,210 +1,211 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
"name": "@particle-academy/fancy-flow",
|
|
3
|
+
"version": "0.40.0",
|
|
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
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/Particle-Academy/fancy-flow.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/Particle-Academy/fancy-flow#readme",
|
|
10
|
+
"bugs": "https://github.com/Particle-Academy/fancy-flow/issues",
|
|
11
|
+
"type": "module",
|
|
12
|
+
"main": "./dist/index.cjs",
|
|
13
|
+
"module": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
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
|
+
}
|
|
8
25
|
},
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
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
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"./runtime": {
|
|
27
|
-
"import": {
|
|
28
|
-
"types": "./dist/runtime/index.d.ts",
|
|
29
|
-
"default": "./dist/runtime.js"
|
|
30
|
-
},
|
|
31
|
-
"require": {
|
|
32
|
-
"types": "./dist/runtime/index.d.cts",
|
|
33
|
-
"default": "./dist/runtime.cjs"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"./registry": {
|
|
37
|
-
"import": {
|
|
38
|
-
"types": "./dist/registry/index.d.ts",
|
|
39
|
-
"default": "./dist/registry.js"
|
|
40
|
-
},
|
|
41
|
-
"require": {
|
|
42
|
-
"types": "./dist/registry/index.d.cts",
|
|
43
|
-
"default": "./dist/registry.cjs"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"./schema": {
|
|
47
|
-
"import": {
|
|
48
|
-
"types": "./dist/schema/index.d.ts",
|
|
49
|
-
"default": "./dist/schema.js"
|
|
50
|
-
},
|
|
51
|
-
"require": {
|
|
52
|
-
"types": "./dist/schema/index.d.cts",
|
|
53
|
-
"default": "./dist/schema.cjs"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"./layout": {
|
|
57
|
-
"import": {
|
|
58
|
-
"types": "./dist/layout/index.d.ts",
|
|
59
|
-
"default": "./dist/layout.js"
|
|
60
|
-
},
|
|
61
|
-
"require": {
|
|
62
|
-
"types": "./dist/layout/index.d.cts",
|
|
63
|
-
"default": "./dist/layout.cjs"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"./engine": {
|
|
67
|
-
"import": {
|
|
68
|
-
"types": "./dist/engine.d.ts",
|
|
69
|
-
"default": "./dist/engine.js"
|
|
70
|
-
},
|
|
71
|
-
"require": {
|
|
72
|
-
"types": "./dist/engine.d.cts",
|
|
73
|
-
"default": "./dist/engine.cjs"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"./ux": {
|
|
77
|
-
"import": {
|
|
78
|
-
"types": "./dist/ux.d.ts",
|
|
79
|
-
"default": "./dist/ux.js"
|
|
80
|
-
},
|
|
81
|
-
"require": {
|
|
82
|
-
"types": "./dist/ux.d.cts",
|
|
83
|
-
"default": "./dist/ux.cjs"
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"./styles.css": "./dist/styles.css",
|
|
87
|
-
"./rich-input": {
|
|
88
|
-
"import": {
|
|
89
|
-
"types": "./dist/rich-input.d.ts",
|
|
90
|
-
"default": "./dist/rich-input.js"
|
|
91
|
-
},
|
|
92
|
-
"require": {
|
|
93
|
-
"types": "./dist/rich-input.d.cts",
|
|
94
|
-
"default": "./dist/rich-input.cjs"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"./llm/vercel-ai": {
|
|
98
|
-
"import": {
|
|
99
|
-
"types": "./dist/llm/vercel-ai.d.ts",
|
|
100
|
-
"default": "./dist/llm/vercel-ai.js"
|
|
101
|
-
},
|
|
102
|
-
"require": {
|
|
103
|
-
"types": "./dist/llm/vercel-ai.d.cts",
|
|
104
|
-
"default": "./dist/llm/vercel-ai.cjs"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"./llm/prism": {
|
|
108
|
-
"import": {
|
|
109
|
-
"types": "./dist/llm/prism.d.ts",
|
|
110
|
-
"default": "./dist/llm/prism.js"
|
|
111
|
-
},
|
|
112
|
-
"require": {
|
|
113
|
-
"types": "./dist/llm/prism.d.cts",
|
|
114
|
-
"default": "./dist/llm/prism.cjs"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
"./screens": {
|
|
118
|
-
"import": {
|
|
119
|
-
"types": "./dist/screens.d.ts",
|
|
120
|
-
"default": "./dist/screens.js"
|
|
121
|
-
},
|
|
122
|
-
"require": {
|
|
123
|
-
"types": "./dist/screens.d.cts",
|
|
124
|
-
"default": "./dist/screens.cjs"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
26
|
+
"./runtime": {
|
|
27
|
+
"import": {
|
|
28
|
+
"types": "./dist/runtime/index.d.ts",
|
|
29
|
+
"default": "./dist/runtime.js"
|
|
30
|
+
},
|
|
31
|
+
"require": {
|
|
32
|
+
"types": "./dist/runtime/index.d.cts",
|
|
33
|
+
"default": "./dist/runtime.cjs"
|
|
34
|
+
}
|
|
127
35
|
},
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
"test": "vitest run",
|
|
138
|
-
"clean": "rm -rf dist",
|
|
139
|
-
"prepublishOnly": "tsup"
|
|
36
|
+
"./registry": {
|
|
37
|
+
"import": {
|
|
38
|
+
"types": "./dist/registry/index.d.ts",
|
|
39
|
+
"default": "./dist/registry.js"
|
|
40
|
+
},
|
|
41
|
+
"require": {
|
|
42
|
+
"types": "./dist/registry/index.d.cts",
|
|
43
|
+
"default": "./dist/registry.cjs"
|
|
44
|
+
}
|
|
140
45
|
},
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
"@particle-academy/fancy-cms-ui": ">=0.2",
|
|
151
|
-
"@particle-academy/fancy-screens": ">=0.4 <2.0",
|
|
152
|
-
"@particle-academy/react-fancy": ">=3",
|
|
153
|
-
"ai": ">=5",
|
|
154
|
-
"react": "^19.0.0",
|
|
155
|
-
"react-dom": "^19.0.0"
|
|
46
|
+
"./schema": {
|
|
47
|
+
"import": {
|
|
48
|
+
"types": "./dist/schema/index.d.ts",
|
|
49
|
+
"default": "./dist/schema.js"
|
|
50
|
+
},
|
|
51
|
+
"require": {
|
|
52
|
+
"types": "./dist/schema/index.d.cts",
|
|
53
|
+
"default": "./dist/schema.cjs"
|
|
54
|
+
}
|
|
156
55
|
},
|
|
157
|
-
"
|
|
158
|
-
|
|
56
|
+
"./layout": {
|
|
57
|
+
"import": {
|
|
58
|
+
"types": "./dist/layout/index.d.ts",
|
|
59
|
+
"default": "./dist/layout.js"
|
|
60
|
+
},
|
|
61
|
+
"require": {
|
|
62
|
+
"types": "./dist/layout/index.d.cts",
|
|
63
|
+
"default": "./dist/layout.cjs"
|
|
64
|
+
}
|
|
159
65
|
},
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
|
|
169
|
-
"@xyflow/react": "^12.4.0",
|
|
170
|
-
"ai": "^7.0.31",
|
|
171
|
-
"clsx": "^2.1.0",
|
|
172
|
-
"eslint": "^10.8.0",
|
|
173
|
-
"eslint-plugin-react-hooks": "^7.1.1",
|
|
174
|
-
"jsdom": "^29.1.1",
|
|
175
|
-
"react": "^19.2.0",
|
|
176
|
-
"react-dom": "^19.2.0",
|
|
177
|
-
"tsup": "^8.0.0",
|
|
178
|
-
"typescript": "^5.7.0",
|
|
179
|
-
"typescript-eslint": "^8.65.0",
|
|
180
|
-
"vitest": "^3.2.6",
|
|
181
|
-
"zod": "^4.4.3"
|
|
66
|
+
"./engine": {
|
|
67
|
+
"import": {
|
|
68
|
+
"types": "./dist/engine.d.ts",
|
|
69
|
+
"default": "./dist/engine.js"
|
|
70
|
+
},
|
|
71
|
+
"require": {
|
|
72
|
+
"types": "./dist/engine.d.cts",
|
|
73
|
+
"default": "./dist/engine.cjs"
|
|
74
|
+
}
|
|
182
75
|
},
|
|
183
|
-
"
|
|
184
|
-
|
|
76
|
+
"./ux": {
|
|
77
|
+
"import": {
|
|
78
|
+
"types": "./dist/ux.d.ts",
|
|
79
|
+
"default": "./dist/ux.js"
|
|
80
|
+
},
|
|
81
|
+
"require": {
|
|
82
|
+
"types": "./dist/ux.d.cts",
|
|
83
|
+
"default": "./dist/ux.cjs"
|
|
84
|
+
}
|
|
185
85
|
},
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
86
|
+
"./styles.css": "./dist/styles.css",
|
|
87
|
+
"./rich-input": {
|
|
88
|
+
"import": {
|
|
89
|
+
"types": "./dist/rich-input.d.ts",
|
|
90
|
+
"default": "./dist/rich-input.js"
|
|
91
|
+
},
|
|
92
|
+
"require": {
|
|
93
|
+
"types": "./dist/rich-input.d.cts",
|
|
94
|
+
"default": "./dist/rich-input.cjs"
|
|
95
|
+
}
|
|
192
96
|
},
|
|
193
|
-
"
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
"
|
|
201
|
-
|
|
202
|
-
},
|
|
203
|
-
"@particle-academy/fancy-screens": {
|
|
204
|
-
"optional": true
|
|
205
|
-
}
|
|
97
|
+
"./llm/vercel-ai": {
|
|
98
|
+
"import": {
|
|
99
|
+
"types": "./dist/llm/vercel-ai.d.ts",
|
|
100
|
+
"default": "./dist/llm/vercel-ai.js"
|
|
101
|
+
},
|
|
102
|
+
"require": {
|
|
103
|
+
"types": "./dist/llm/vercel-ai.d.cts",
|
|
104
|
+
"default": "./dist/llm/vercel-ai.cjs"
|
|
105
|
+
}
|
|
206
106
|
},
|
|
207
|
-
"
|
|
208
|
-
|
|
107
|
+
"./llm/prism": {
|
|
108
|
+
"import": {
|
|
109
|
+
"types": "./dist/llm/prism.d.ts",
|
|
110
|
+
"default": "./dist/llm/prism.js"
|
|
111
|
+
},
|
|
112
|
+
"require": {
|
|
113
|
+
"types": "./dist/llm/prism.d.cts",
|
|
114
|
+
"default": "./dist/llm/prism.cjs"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"./screens": {
|
|
118
|
+
"import": {
|
|
119
|
+
"types": "./dist/screens.d.ts",
|
|
120
|
+
"default": "./dist/screens.js"
|
|
121
|
+
},
|
|
122
|
+
"require": {
|
|
123
|
+
"types": "./dist/screens.d.cts",
|
|
124
|
+
"default": "./dist/screens.cjs"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"files": [
|
|
129
|
+
"dist",
|
|
130
|
+
"docs",
|
|
131
|
+
"README.md"
|
|
132
|
+
],
|
|
133
|
+
"scripts": {
|
|
134
|
+
"build": "tsup",
|
|
135
|
+
"dev": "tsup --watch",
|
|
136
|
+
"lint": "tsc --noEmit && eslint .",
|
|
137
|
+
"test": "vitest run",
|
|
138
|
+
"clean": "rm -rf dist",
|
|
139
|
+
"prepublishOnly": "tsup"
|
|
140
|
+
},
|
|
141
|
+
"keywords": [
|
|
142
|
+
"react",
|
|
143
|
+
"workflow",
|
|
144
|
+
"flow",
|
|
145
|
+
"graph",
|
|
146
|
+
"agent",
|
|
147
|
+
"fancy"
|
|
148
|
+
],
|
|
149
|
+
"peerDependencies": {
|
|
150
|
+
"@particle-academy/fancy-cms-ui": ">=0.2",
|
|
151
|
+
"@particle-academy/fancy-screens": ">=0.4 <2.0",
|
|
152
|
+
"@particle-academy/react-fancy": ">=3",
|
|
153
|
+
"ai": ">=5",
|
|
154
|
+
"react": "^19.0.0",
|
|
155
|
+
"react-dom": "^19.0.0"
|
|
156
|
+
},
|
|
157
|
+
"dependencies": {
|
|
158
|
+
"@particle-academy/fancy-auto-common": ">=0.1 <2.0"
|
|
159
|
+
},
|
|
160
|
+
"devDependencies": {
|
|
161
|
+
"@dagrejs/dagre": "^3.0.0",
|
|
162
|
+
"@particle-academy/fancy-cms-ui": "^0.2.0",
|
|
163
|
+
"@particle-academy/fancy-query": "^0.8.0",
|
|
164
|
+
"@particle-academy/fancy-screens": "^0.4.3",
|
|
165
|
+
"@particle-academy/react-fancy": "^4.15.0",
|
|
166
|
+
"@testing-library/dom": "^10.4.1",
|
|
167
|
+
"@testing-library/react": "^16.3.2",
|
|
168
|
+
"@types/react": "^19.2.18",
|
|
169
|
+
"@types/react-dom": "^19.2.4",
|
|
170
|
+
"@xyflow/react": "^12.4.0",
|
|
171
|
+
"ai": "^7.0.31",
|
|
172
|
+
"clsx": "^2.1.0",
|
|
173
|
+
"eslint": "^10.8.0",
|
|
174
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
175
|
+
"jsdom": "^29.1.1",
|
|
176
|
+
"react": "^19.2.8",
|
|
177
|
+
"react-dom": "^19.2.8",
|
|
178
|
+
"tsup": "^8.0.0",
|
|
179
|
+
"typescript": "^5.7.0",
|
|
180
|
+
"typescript-eslint": "^8.65.0",
|
|
181
|
+
"vitest": "^3.2.6",
|
|
182
|
+
"zod": "^4.4.3"
|
|
183
|
+
},
|
|
184
|
+
"publishConfig": {
|
|
185
|
+
"access": "public"
|
|
186
|
+
},
|
|
187
|
+
"license": "MIT",
|
|
188
|
+
"sideEffects": [
|
|
189
|
+
"**/*.css"
|
|
190
|
+
],
|
|
191
|
+
"overrides": {
|
|
192
|
+
"esbuild": "^0.28.1"
|
|
193
|
+
},
|
|
194
|
+
"peerDependenciesMeta": {
|
|
195
|
+
"@particle-academy/fancy-cms-ui": {
|
|
196
|
+
"optional": true
|
|
197
|
+
},
|
|
198
|
+
"@particle-academy/react-fancy": {
|
|
199
|
+
"optional": true
|
|
200
|
+
},
|
|
201
|
+
"ai": {
|
|
202
|
+
"optional": true
|
|
203
|
+
},
|
|
204
|
+
"@particle-academy/fancy-screens": {
|
|
205
|
+
"optional": true
|
|
209
206
|
}
|
|
207
|
+
},
|
|
208
|
+
"engines": {
|
|
209
|
+
"node": ">=22"
|
|
210
|
+
}
|
|
210
211
|
}
|