tongflow 0.2.0 → 1.0.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/package.json CHANGED
@@ -1,235 +1,237 @@
1
1
  {
2
- "name": "tongflow",
3
- "version": "0.2.0",
4
- "description": "TongFlow workflow core: ABI, node registry, connection validation, workflow exporter, headless canvas model and agent graph tools.",
5
- "author": "tong-io",
6
- "license": "AGPL-3.0-only",
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/tong-io/tongflow",
10
- "directory": "packages/tongflow"
11
- },
12
- "homepage": "https://github.com/tong-io/tongflow#readme",
13
- "keywords": [
14
- "tongflow",
15
- "workflow",
16
- "aigc",
17
- "multimodal",
18
- "agent"
19
- ],
20
- "type": "module",
21
- "sideEffects": [
22
- "*.css",
23
- "./dist/canvas.js",
24
- "./dist/canvas.cjs"
25
- ],
26
- "main": "./dist/index.cjs",
27
- "module": "./dist/index.js",
28
- "types": "./dist/index.d.ts",
29
- "exports": {
30
- ".": {
31
- "import": {
32
- "types": "./dist/index.d.ts",
33
- "default": "./dist/index.js"
34
- },
35
- "require": {
36
- "types": "./dist/index.d.cts",
37
- "default": "./dist/index.cjs"
38
- }
39
- },
40
- "./canvas": {
41
- "import": {
42
- "types": "./dist/canvas.d.ts",
43
- "default": "./dist/canvas.js"
44
- },
45
- "require": {
46
- "types": "./dist/canvas.d.cts",
47
- "default": "./dist/canvas.cjs"
48
- }
49
- },
50
- "./canvas/messages": {
51
- "import": {
52
- "types": "./dist/canvas-messages.d.ts",
53
- "default": "./dist/canvas-messages.js"
54
- },
55
- "require": {
56
- "types": "./dist/canvas-messages.d.cts",
57
- "default": "./dist/canvas-messages.cjs"
58
- }
59
- },
60
- "./canvas.css": "./dist/canvas.css",
61
- "./abi": "./abi/tongflow.abi.json",
62
- "./package.json": "./package.json"
63
- },
64
- "files": [
65
- "dist",
66
- "abi",
67
- "README.md"
68
- ],
69
- "scripts": {
70
- "gen:abi": "tsx scripts/gen-abi-types.ts",
71
- "build": "tsdown && tailwindcss -i src/canvas/styles/canvas.css -o dist/canvas.css --minify",
72
- "test": "vitest run",
73
- "typecheck": "tsc --noEmit -p tsconfig.core.json && tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.react18.json"
74
- },
75
- "dependencies": {
76
- "@types/json-schema": "7.0.15",
77
- "json-schema-to-ts": "3.1.1",
78
- "zod": "4.1.8"
79
- },
80
- "peerDependencies": {
81
- "@radix-ui/react-alert-dialog": "^1.1.15",
82
- "@radix-ui/react-checkbox": "^1.3.3",
83
- "@radix-ui/react-dialog": "^1.1.15",
84
- "@radix-ui/react-dropdown-menu": "^2.1.16",
85
- "@radix-ui/react-label": "^2.1.7",
86
- "@radix-ui/react-progress": "^1.1.7",
87
- "@radix-ui/react-select": "^2.2.6",
88
- "@radix-ui/react-separator": "^1.1.7",
89
- "@radix-ui/react-slider": "^1.3.6",
90
- "@radix-ui/react-slot": "^1.2.3",
91
- "@radix-ui/react-switch": "^1.2.6",
92
- "@radix-ui/react-tabs": "^1.1.13",
93
- "@radix-ui/react-tooltip": "^1.2.8",
94
- "@sparkjsdev/spark": "^2.1.0",
95
- "@xyflow/react": "^12",
96
- "class-variance-authority": "^0.7.1",
97
- "clsx": "^2.1.1",
98
- "lucide-react": "^0.544.0",
99
- "masonic": "^4.1.0",
100
- "react": ">=18 <20",
101
- "react-dom": ">=18 <20",
102
- "react-hot-toast": "^2.6.0",
103
- "tailwind-merge": "^3.3.1",
104
- "three": "^0.183.2",
105
- "tw-animate-css": "^1.3.8",
106
- "use-intl": "^4",
107
- "uuid": "^13.0.0",
108
- "zustand": "^5"
109
- },
110
- "peerDependenciesMeta": {
111
- "@radix-ui/react-alert-dialog": {
112
- "optional": true
113
- },
114
- "@radix-ui/react-checkbox": {
115
- "optional": true
116
- },
117
- "@radix-ui/react-dialog": {
118
- "optional": true
119
- },
120
- "@radix-ui/react-dropdown-menu": {
121
- "optional": true
122
- },
123
- "@radix-ui/react-label": {
124
- "optional": true
125
- },
126
- "@radix-ui/react-progress": {
127
- "optional": true
128
- },
129
- "@radix-ui/react-select": {
130
- "optional": true
131
- },
132
- "@radix-ui/react-separator": {
133
- "optional": true
134
- },
135
- "@radix-ui/react-slider": {
136
- "optional": true
137
- },
138
- "@radix-ui/react-slot": {
139
- "optional": true
140
- },
141
- "@radix-ui/react-switch": {
142
- "optional": true
143
- },
144
- "@radix-ui/react-tabs": {
145
- "optional": true
146
- },
147
- "@radix-ui/react-tooltip": {
148
- "optional": true
149
- },
150
- "@sparkjsdev/spark": {
151
- "optional": true
152
- },
153
- "@xyflow/react": {
154
- "optional": true
155
- },
156
- "class-variance-authority": {
157
- "optional": true
158
- },
159
- "clsx": {
160
- "optional": true
161
- },
162
- "lucide-react": {
163
- "optional": true
164
- },
165
- "masonic": {
166
- "optional": true
167
- },
168
- "react": {
169
- "optional": true
170
- },
171
- "react-dom": {
172
- "optional": true
173
- },
174
- "react-hot-toast": {
175
- "optional": true
176
- },
177
- "tailwind-merge": {
178
- "optional": true
179
- },
180
- "three": {
181
- "optional": true
182
- },
183
- "tw-animate-css": {
184
- "optional": true
185
- },
186
- "use-intl": {
187
- "optional": true
188
- },
189
- "uuid": {
190
- "optional": true
191
- }
192
- },
193
- "devDependencies": {
194
- "@radix-ui/react-alert-dialog": "1.1.15",
195
- "@radix-ui/react-checkbox": "1.3.3",
196
- "@radix-ui/react-dialog": "1.1.15",
197
- "@radix-ui/react-dropdown-menu": "2.1.16",
198
- "@radix-ui/react-label": "2.1.7",
199
- "@radix-ui/react-progress": "1.1.7",
200
- "@radix-ui/react-select": "2.2.6",
201
- "@radix-ui/react-separator": "1.1.7",
202
- "@radix-ui/react-slider": "1.3.6",
203
- "@radix-ui/react-slot": "1.2.3",
204
- "@radix-ui/react-switch": "1.2.6",
205
- "@radix-ui/react-tabs": "1.1.13",
206
- "@radix-ui/react-tooltip": "1.2.8",
207
- "@sparkjsdev/spark": "2.1.0",
208
- "@tailwindcss/cli": "4",
209
- "@types/node": "20.19.13",
210
- "@types/react": "19",
211
- "@types/react-18": "npm:@types/react@18",
212
- "@types/react-dom": "19",
213
- "@types/react-dom-18": "npm:@types/react-dom@18",
214
- "@types/three": "0.183.1",
215
- "@xyflow/react": "12.9.0",
216
- "class-variance-authority": "0.7.1",
217
- "clsx": "2.1.1",
218
- "lucide-react": "0.544.0",
219
- "masonic": "4.1.0",
220
- "react": "19.2.1",
221
- "react-dom": "19.2.1",
222
- "react-hot-toast": "2.6.0",
223
- "tailwind-merge": "3.3.1",
224
- "tailwindcss": "4",
225
- "three": "0.183.2",
226
- "tsdown": "0.22.14",
227
- "tsx": "4.20.5",
228
- "tw-animate-css": "1.3.8",
229
- "typescript": "5",
230
- "use-intl": "4.8.3",
231
- "uuid": "13.0.0",
232
- "vitest": "4.1.5",
233
- "zustand": "5.0.8"
2
+ "name": "tongflow",
3
+ "version": "1.0.0",
4
+ "description": "TongFlow workflow core: ABI, node registry, connection validation, workflow exporter, headless canvas model and agent graph tools.",
5
+ "author": "tong-io",
6
+ "license": "AGPL-3.0-only",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/tong-io/tongflow",
10
+ "directory": "packages/tongflow"
11
+ },
12
+ "homepage": "https://github.com/tong-io/tongflow#readme",
13
+ "keywords": [
14
+ "tongflow",
15
+ "workflow",
16
+ "modality-first",
17
+ "multimodal",
18
+ "agent",
19
+ "enterprise",
20
+ "generative-ai"
21
+ ],
22
+ "type": "module",
23
+ "sideEffects": [
24
+ "*.css",
25
+ "./dist/canvas.js",
26
+ "./dist/canvas.cjs"
27
+ ],
28
+ "main": "./dist/index.cjs",
29
+ "module": "./dist/index.js",
30
+ "types": "./dist/index.d.ts",
31
+ "exports": {
32
+ ".": {
33
+ "import": {
34
+ "types": "./dist/index.d.ts",
35
+ "default": "./dist/index.js"
36
+ },
37
+ "require": {
38
+ "types": "./dist/index.d.cts",
39
+ "default": "./dist/index.cjs"
40
+ }
41
+ },
42
+ "./canvas": {
43
+ "import": {
44
+ "types": "./dist/canvas.d.ts",
45
+ "default": "./dist/canvas.js"
46
+ },
47
+ "require": {
48
+ "types": "./dist/canvas.d.cts",
49
+ "default": "./dist/canvas.cjs"
50
+ }
51
+ },
52
+ "./canvas/messages": {
53
+ "import": {
54
+ "types": "./dist/canvas-messages.d.ts",
55
+ "default": "./dist/canvas-messages.js"
56
+ },
57
+ "require": {
58
+ "types": "./dist/canvas-messages.d.cts",
59
+ "default": "./dist/canvas-messages.cjs"
60
+ }
61
+ },
62
+ "./canvas.css": "./dist/canvas.css",
63
+ "./abi": "./abi/tongflow.abi.json",
64
+ "./package.json": "./package.json"
65
+ },
66
+ "files": [
67
+ "dist",
68
+ "abi",
69
+ "README.md"
70
+ ],
71
+ "dependencies": {
72
+ "@types/json-schema": "7.0.15",
73
+ "json-schema-to-ts": "3.1.1",
74
+ "zod": "4.1.8"
75
+ },
76
+ "peerDependencies": {
77
+ "@radix-ui/react-alert-dialog": "^1.1.15",
78
+ "@radix-ui/react-checkbox": "^1.3.3",
79
+ "@radix-ui/react-dialog": "^1.1.15",
80
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
81
+ "@radix-ui/react-label": "^2.1.7",
82
+ "@radix-ui/react-progress": "^1.1.7",
83
+ "@radix-ui/react-select": "^2.2.6",
84
+ "@radix-ui/react-separator": "^1.1.7",
85
+ "@radix-ui/react-slider": "^1.3.6",
86
+ "@radix-ui/react-slot": "^1.2.3",
87
+ "@radix-ui/react-switch": "^1.2.6",
88
+ "@radix-ui/react-tabs": "^1.1.13",
89
+ "@radix-ui/react-tooltip": "^1.2.8",
90
+ "@sparkjsdev/spark": "^2.1.0",
91
+ "@xyflow/react": "^12",
92
+ "class-variance-authority": "^0.7.1",
93
+ "clsx": "^2.1.1",
94
+ "lucide-react": "^0.544.0",
95
+ "masonic": "^4.1.0",
96
+ "react": ">=18 <20",
97
+ "react-dom": ">=18 <20",
98
+ "react-hot-toast": "^2.6.0",
99
+ "tailwind-merge": "^3.3.1",
100
+ "three": "^0.183.2",
101
+ "tw-animate-css": "^1.3.8",
102
+ "use-intl": "^4",
103
+ "uuid": "^13.0.0",
104
+ "zustand": "^5"
105
+ },
106
+ "peerDependenciesMeta": {
107
+ "@radix-ui/react-alert-dialog": {
108
+ "optional": true
109
+ },
110
+ "@radix-ui/react-checkbox": {
111
+ "optional": true
112
+ },
113
+ "@radix-ui/react-dialog": {
114
+ "optional": true
115
+ },
116
+ "@radix-ui/react-dropdown-menu": {
117
+ "optional": true
118
+ },
119
+ "@radix-ui/react-label": {
120
+ "optional": true
121
+ },
122
+ "@radix-ui/react-progress": {
123
+ "optional": true
124
+ },
125
+ "@radix-ui/react-select": {
126
+ "optional": true
127
+ },
128
+ "@radix-ui/react-separator": {
129
+ "optional": true
130
+ },
131
+ "@radix-ui/react-slider": {
132
+ "optional": true
133
+ },
134
+ "@radix-ui/react-slot": {
135
+ "optional": true
136
+ },
137
+ "@radix-ui/react-switch": {
138
+ "optional": true
139
+ },
140
+ "@radix-ui/react-tabs": {
141
+ "optional": true
142
+ },
143
+ "@radix-ui/react-tooltip": {
144
+ "optional": true
145
+ },
146
+ "@sparkjsdev/spark": {
147
+ "optional": true
148
+ },
149
+ "@xyflow/react": {
150
+ "optional": true
151
+ },
152
+ "class-variance-authority": {
153
+ "optional": true
154
+ },
155
+ "clsx": {
156
+ "optional": true
157
+ },
158
+ "lucide-react": {
159
+ "optional": true
160
+ },
161
+ "masonic": {
162
+ "optional": true
163
+ },
164
+ "react": {
165
+ "optional": true
166
+ },
167
+ "react-dom": {
168
+ "optional": true
169
+ },
170
+ "react-hot-toast": {
171
+ "optional": true
172
+ },
173
+ "tailwind-merge": {
174
+ "optional": true
175
+ },
176
+ "three": {
177
+ "optional": true
178
+ },
179
+ "tw-animate-css": {
180
+ "optional": true
181
+ },
182
+ "use-intl": {
183
+ "optional": true
184
+ },
185
+ "uuid": {
186
+ "optional": true
234
187
  }
235
- }
188
+ },
189
+ "devDependencies": {
190
+ "@radix-ui/react-alert-dialog": "1.1.15",
191
+ "@radix-ui/react-checkbox": "1.3.3",
192
+ "@radix-ui/react-dialog": "1.1.15",
193
+ "@radix-ui/react-dropdown-menu": "2.1.16",
194
+ "@radix-ui/react-label": "2.1.7",
195
+ "@radix-ui/react-progress": "1.1.7",
196
+ "@radix-ui/react-select": "2.2.6",
197
+ "@radix-ui/react-separator": "1.1.7",
198
+ "@radix-ui/react-slider": "1.3.6",
199
+ "@radix-ui/react-slot": "1.2.3",
200
+ "@radix-ui/react-switch": "1.2.6",
201
+ "@radix-ui/react-tabs": "1.1.13",
202
+ "@radix-ui/react-tooltip": "1.2.8",
203
+ "@sparkjsdev/spark": "2.1.0",
204
+ "@tailwindcss/cli": "4",
205
+ "@types/node": "20.19.13",
206
+ "@types/react": "19",
207
+ "@types/react-18": "npm:@types/react@18",
208
+ "@types/react-dom": "19",
209
+ "@types/react-dom-18": "npm:@types/react-dom@18",
210
+ "@types/three": "0.183.1",
211
+ "@xyflow/react": "12.9.0",
212
+ "class-variance-authority": "0.7.1",
213
+ "clsx": "2.1.1",
214
+ "lucide-react": "0.544.0",
215
+ "masonic": "4.1.0",
216
+ "react": "19.2.1",
217
+ "react-dom": "19.2.1",
218
+ "react-hot-toast": "2.6.0",
219
+ "tailwind-merge": "3.3.1",
220
+ "tailwindcss": "4",
221
+ "three": "0.183.2",
222
+ "tsdown": "0.22.14",
223
+ "tsx": "4.20.5",
224
+ "tw-animate-css": "1.3.8",
225
+ "typescript": "5",
226
+ "use-intl": "4.8.3",
227
+ "uuid": "13.0.0",
228
+ "vitest": "4.1.5",
229
+ "zustand": "5.0.8"
230
+ },
231
+ "scripts": {
232
+ "gen:abi": "tsx scripts/gen-abi-types.ts",
233
+ "build": "tsdown && tailwindcss -i src/canvas/styles/canvas.css -o dist/canvas.css --minify",
234
+ "test": "vitest run",
235
+ "typecheck": "tsc --noEmit -p tsconfig.core.json && tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.react18.json"
236
+ }
237
+ }