tongflow 0.1.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/LICENSE +661 -0
- package/README.md +145 -0
- package/abi/tongflow.abi.json +2590 -0
- package/dist/canvas-messages.cjs +4069 -0
- package/dist/canvas-messages.d.cts +13 -0
- package/dist/canvas-messages.d.ts +13 -0
- package/dist/canvas-messages.js +4066 -0
- package/dist/canvas.cjs +24711 -0
- package/dist/canvas.css +2 -0
- package/dist/canvas.d.cts +4121 -0
- package/dist/canvas.d.ts +4121 -0
- package/dist/canvas.js +24495 -0
- package/dist/index.cjs +7584 -0
- package/dist/index.d.cts +5799 -0
- package/dist/index.d.ts +5799 -0
- package/dist/index.js +7461 -0
- package/package.json +143 -0
package/package.json
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tongflow",
|
|
3
|
+
"version": "0.1.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
|
+
"dependencies": {
|
|
70
|
+
"@radix-ui/react-alert-dialog": "1.1.15",
|
|
71
|
+
"@radix-ui/react-checkbox": "1.3.3",
|
|
72
|
+
"@radix-ui/react-dialog": "1.1.15",
|
|
73
|
+
"@radix-ui/react-dropdown-menu": "2.1.16",
|
|
74
|
+
"@radix-ui/react-label": "2.1.7",
|
|
75
|
+
"@radix-ui/react-progress": "1.1.7",
|
|
76
|
+
"@radix-ui/react-select": "2.2.6",
|
|
77
|
+
"@radix-ui/react-separator": "1.1.7",
|
|
78
|
+
"@radix-ui/react-slider": "1.3.6",
|
|
79
|
+
"@radix-ui/react-slot": "1.2.3",
|
|
80
|
+
"@radix-ui/react-switch": "1.2.6",
|
|
81
|
+
"@radix-ui/react-tabs": "1.1.13",
|
|
82
|
+
"@radix-ui/react-tooltip": "1.2.8",
|
|
83
|
+
"@sparkjsdev/spark": "2.1.0",
|
|
84
|
+
"@types/json-schema": "7.0.15",
|
|
85
|
+
"class-variance-authority": "0.7.1",
|
|
86
|
+
"clsx": "2.1.1",
|
|
87
|
+
"json-schema-to-ts": "3.1.1",
|
|
88
|
+
"lucide-react": "0.544.0",
|
|
89
|
+
"masonic": "4.1.0",
|
|
90
|
+
"react-hot-toast": "2.6.0",
|
|
91
|
+
"tailwind-merge": "3.3.1",
|
|
92
|
+
"three": "0.183.2",
|
|
93
|
+
"tw-animate-css": "1.3.8",
|
|
94
|
+
"uuid": "13.0.0",
|
|
95
|
+
"zod": "4.1.8"
|
|
96
|
+
},
|
|
97
|
+
"peerDependencies": {
|
|
98
|
+
"@xyflow/react": "^12",
|
|
99
|
+
"react": ">=18 <20",
|
|
100
|
+
"react-dom": ">=18 <20",
|
|
101
|
+
"use-intl": "^4",
|
|
102
|
+
"zustand": "^5"
|
|
103
|
+
},
|
|
104
|
+
"peerDependenciesMeta": {
|
|
105
|
+
"@xyflow/react": {
|
|
106
|
+
"optional": true
|
|
107
|
+
},
|
|
108
|
+
"react": {
|
|
109
|
+
"optional": true
|
|
110
|
+
},
|
|
111
|
+
"react-dom": {
|
|
112
|
+
"optional": true
|
|
113
|
+
},
|
|
114
|
+
"use-intl": {
|
|
115
|
+
"optional": true
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"devDependencies": {
|
|
119
|
+
"@tailwindcss/cli": "4",
|
|
120
|
+
"@types/node": "20.19.13",
|
|
121
|
+
"@types/react": "19",
|
|
122
|
+
"@types/react-18": "npm:@types/react@18",
|
|
123
|
+
"@types/react-dom": "19",
|
|
124
|
+
"@types/react-dom-18": "npm:@types/react-dom@18",
|
|
125
|
+
"@types/three": "0.183.1",
|
|
126
|
+
"@xyflow/react": "12.9.0",
|
|
127
|
+
"react": "19.2.1",
|
|
128
|
+
"react-dom": "19.2.1",
|
|
129
|
+
"tailwindcss": "4",
|
|
130
|
+
"tsdown": "0.22.14",
|
|
131
|
+
"tsx": "4.20.5",
|
|
132
|
+
"typescript": "5",
|
|
133
|
+
"use-intl": "4.8.3",
|
|
134
|
+
"vitest": "4.1.5",
|
|
135
|
+
"zustand": "5.0.8"
|
|
136
|
+
},
|
|
137
|
+
"scripts": {
|
|
138
|
+
"gen:abi": "tsx scripts/gen-abi-types.ts",
|
|
139
|
+
"build": "tsdown && tailwindcss -i src/canvas/styles/canvas.css -o dist/canvas.css --minify",
|
|
140
|
+
"test": "vitest run",
|
|
141
|
+
"typecheck": "tsc --noEmit -p tsconfig.core.json && tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.react18.json"
|
|
142
|
+
}
|
|
143
|
+
}
|