@requence/service 1.0.0-alpha.4 → 1.0.0-alpha.45

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.
Files changed (90) hide show
  1. package/CHANGELOG.md +246 -0
  2. package/build/{chunk-0x9092n4.js → chunk-6w7td62p.js} +5 -44
  3. package/build/chunk-6w7td62p.js.map +10 -0
  4. package/build/cli.js +19 -12
  5. package/build/cli.js.map +3 -3
  6. package/build/index.js +930 -863
  7. package/build/index.js.map +18 -16
  8. package/build/types/helpers/src/files/RequenceFile.d.ts +40 -0
  9. package/build/types/helpers/src/files/RequenceFile.d.ts.map +1 -0
  10. package/build/types/helpers/src/files/RequenceStream.d.ts +32 -0
  11. package/build/types/helpers/src/files/RequenceStream.d.ts.map +1 -0
  12. package/build/types/helpers/src/files/fileObject.d.ts +16 -0
  13. package/build/types/helpers/src/files/fileObject.d.ts.map +1 -0
  14. package/build/types/helpers/src/files/index.d.ts +7 -0
  15. package/build/types/helpers/src/files/index.d.ts.map +1 -0
  16. package/build/types/helpers/src/files/isValidMimeType.d.ts +5 -0
  17. package/build/types/helpers/src/files/isValidMimeType.d.ts.map +1 -0
  18. package/build/types/helpers/src/files/mapOutput.d.ts +10 -0
  19. package/build/types/helpers/src/files/mapOutput.d.ts.map +1 -0
  20. package/build/types/helpers/src/files/streamObject.d.ts +14 -0
  21. package/build/types/helpers/src/files/streamObject.d.ts.map +1 -0
  22. package/build/types/helpers/src/files/types.d.ts +4 -0
  23. package/build/types/helpers/src/files/types.d.ts.map +1 -0
  24. package/build/types/helpers/src/index.d.ts +10 -6
  25. package/build/types/helpers/src/index.d.ts.map +1 -1
  26. package/build/types/helpers/src/jsonschema/mapSchema.d.ts +20 -0
  27. package/build/types/helpers/src/jsonschema/mapSchema.d.ts.map +1 -0
  28. package/build/types/helpers/src/jsonschema/types.d.ts +13 -0
  29. package/build/types/helpers/src/jsonschema/types.d.ts.map +1 -0
  30. package/build/types/helpers/src/jsonschema/validate.d.ts +32 -0
  31. package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -0
  32. package/build/types/helpers/src/jsonschema/zod.d.ts +15 -0
  33. package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -0
  34. package/build/types/helpers/src/protocol/NodeTree.d.ts +993 -0
  35. package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -0
  36. package/build/types/helpers/src/protocol/command.d.ts +853 -0
  37. package/build/types/helpers/src/protocol/command.d.ts.map +1 -0
  38. package/build/types/helpers/src/protocol/helpers.d.ts +7 -0
  39. package/build/types/helpers/src/protocol/helpers.d.ts.map +1 -0
  40. package/build/types/helpers/src/protocol/index.d.ts +7 -0
  41. package/build/types/helpers/src/protocol/index.d.ts.map +1 -0
  42. package/build/types/helpers/src/protocol/nodeType.d.ts +434 -0
  43. package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -0
  44. package/build/types/helpers/src/protocol/taskOptions.d.ts +23 -0
  45. package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -0
  46. package/build/types/helpers/src/protocol/treeNodes.d.ts +1542 -0
  47. package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -0
  48. package/build/types/helpers/src/protocol/update.d.ts +379 -0
  49. package/build/types/helpers/src/protocol/update.d.ts.map +1 -0
  50. package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts +3 -0
  51. package/build/types/helpers/src/utils/callbackToAsyncIterator.d.ts.map +1 -0
  52. package/build/types/helpers/src/utils/clone.d.ts +3 -0
  53. package/build/types/helpers/src/utils/clone.d.ts.map +1 -0
  54. package/build/types/helpers/src/utils/createObjectProxy.d.ts +2 -0
  55. package/build/types/helpers/src/utils/createObjectProxy.d.ts.map +1 -0
  56. package/build/types/helpers/src/{createRemotePromise.d.ts → utils/createRemotePromise.d.ts} +1 -1
  57. package/build/types/helpers/src/utils/createRemotePromise.d.ts.map +1 -0
  58. package/build/types/helpers/src/utils/isRecord.d.ts +2 -0
  59. package/build/types/helpers/src/utils/isRecord.d.ts.map +1 -0
  60. package/build/types/helpers/src/utils/mapData.d.ts +18 -0
  61. package/build/types/helpers/src/utils/mapData.d.ts.map +1 -0
  62. package/build/types/helpers/src/{utils.d.ts → utils/matchSchema.d.ts} +2 -2
  63. package/build/types/helpers/src/utils/matchSchema.d.ts.map +1 -0
  64. package/build/types/helpers/src/utils/obfuscate.d.ts.map +1 -0
  65. package/build/types/helpers/src/utils/requenceCallback.d.ts +17 -0
  66. package/build/types/helpers/src/utils/requenceCallback.d.ts.map +1 -0
  67. package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts +8 -0
  68. package/build/types/helpers/src/utils/resolveRequenceTypes.d.ts.map +1 -0
  69. package/build/types/service/src/createAmqpConnection.d.ts +19 -20
  70. package/build/types/service/src/createAmqpConnection.d.ts.map +1 -1
  71. package/build/types/service/src/helpers.d.ts +72 -99
  72. package/build/types/service/src/helpers.d.ts.map +1 -1
  73. package/build/types/service/src/index.d.ts +8 -4
  74. package/build/types/service/src/index.d.ts.map +1 -1
  75. package/build/types/service/src/macro.d.ts +2 -0
  76. package/build/types/service/src/macro.d.ts.map +1 -0
  77. package/build/types/service/src/mapInput.d.ts +2 -0
  78. package/build/types/service/src/mapInput.d.ts.map +1 -0
  79. package/build/types/service/src/utils.d.ts +6 -0
  80. package/build/types/service/src/utils.d.ts.map +1 -0
  81. package/package.json +8 -7
  82. package/build/chunk-0x9092n4.js.map +0 -12
  83. package/build/types/helpers/src/clone.d.ts +0 -3
  84. package/build/types/helpers/src/clone.d.ts.map +0 -1
  85. package/build/types/helpers/src/createObjectProxy.d.ts +0 -2
  86. package/build/types/helpers/src/createObjectProxy.d.ts.map +0 -1
  87. package/build/types/helpers/src/createRemotePromise.d.ts.map +0 -1
  88. package/build/types/helpers/src/obfuscate.d.ts.map +0 -1
  89. package/build/types/helpers/src/utils.d.ts.map +0 -1
  90. /package/build/types/helpers/src/{obfuscate.d.ts → utils/obfuscate.d.ts} +0 -0
@@ -0,0 +1,1542 @@
1
+ import { z } from 'zod/v4';
2
+ export declare const treeSchema: z.ZodObject<{
3
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4
+ id: z.ZodDefault<z.ZodUUID>;
5
+ type: z.ZodLiteral<"entry">;
6
+ alias: z.ZodOptional<z.ZodString>;
7
+ inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
8
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
9
+ name: z.ZodNullable<z.ZodString>;
10
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
11
+ types: z.ZodOptional<z.ZodObject<{
12
+ input: z.ZodString;
13
+ output: z.ZodString;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>>>;
16
+ position: z.ZodDefault<z.ZodObject<{
17
+ x: z.ZodNumber;
18
+ y: z.ZodNumber;
19
+ }, z.core.$strip>>;
20
+ size: z.ZodOptional<z.ZodObject<{
21
+ width: z.ZodOptional<z.ZodNumber>;
22
+ height: z.ZodOptional<z.ZodNumber>;
23
+ }, z.core.$strip>>;
24
+ }, z.core.$strict>, z.ZodObject<{
25
+ id: z.ZodDefault<z.ZodUUID>;
26
+ type: z.ZodLiteral<"service">;
27
+ alias: z.ZodOptional<z.ZodString>;
28
+ inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
29
+ type: z.ZodLiteral<"object">;
30
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
31
+ type: z.ZodLiteral<"null">;
32
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
33
+ $ref: z.ZodString;
34
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
35
+ inputTypes: z.ZodOptional<z.ZodObject<{
36
+ input: z.ZodString;
37
+ output: z.ZodString;
38
+ }, z.core.$strip>>;
39
+ name: z.ZodString;
40
+ version: z.ZodString;
41
+ configuration: z.ZodOptional<z.ZodAny>;
42
+ configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
43
+ ttl: z.ZodOptional<z.ZodNumber>;
44
+ retry: z.ZodOptional<z.ZodNumber>;
45
+ retryDelay: z.ZodOptional<z.ZodNumber>;
46
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
47
+ name: z.ZodNullable<z.ZodString>;
48
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
49
+ types: z.ZodOptional<z.ZodObject<{
50
+ input: z.ZodString;
51
+ output: z.ZodString;
52
+ }, z.core.$strip>>;
53
+ }, z.core.$strip>>>;
54
+ position: z.ZodDefault<z.ZodObject<{
55
+ x: z.ZodNumber;
56
+ y: z.ZodNumber;
57
+ }, z.core.$strip>>;
58
+ size: z.ZodOptional<z.ZodObject<{
59
+ width: z.ZodOptional<z.ZodNumber>;
60
+ height: z.ZodOptional<z.ZodNumber>;
61
+ }, z.core.$strip>>;
62
+ }, z.core.$strict>, z.ZodObject<{
63
+ id: z.ZodDefault<z.ZodUUID>;
64
+ type: z.ZodLiteral<"logic">;
65
+ alias: z.ZodOptional<z.ZodString>;
66
+ script: z.ZodString;
67
+ concurrency: z.ZodDefault<z.ZodBoolean>;
68
+ language: z.ZodDefault<z.ZodEnum<{
69
+ javascript: "javascript";
70
+ python: "python";
71
+ typescript: "typescript";
72
+ }>>;
73
+ outputNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
74
+ maxExecutionTime: z.ZodDefault<z.ZodNumber>;
75
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
76
+ name: z.ZodNullable<z.ZodString>;
77
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
78
+ types: z.ZodOptional<z.ZodObject<{
79
+ input: z.ZodString;
80
+ output: z.ZodString;
81
+ }, z.core.$strip>>;
82
+ }, z.core.$strip>>>;
83
+ position: z.ZodDefault<z.ZodObject<{
84
+ x: z.ZodNumber;
85
+ y: z.ZodNumber;
86
+ }, z.core.$strip>>;
87
+ size: z.ZodOptional<z.ZodObject<{
88
+ width: z.ZodOptional<z.ZodNumber>;
89
+ height: z.ZodOptional<z.ZodNumber>;
90
+ }, z.core.$strip>>;
91
+ }, z.core.$strict>, z.ZodObject<{
92
+ id: z.ZodDefault<z.ZodUUID>;
93
+ type: z.ZodLiteral<"or">;
94
+ alias: z.ZodOptional<z.ZodString>;
95
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
96
+ name: z.ZodNullable<z.ZodString>;
97
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
98
+ types: z.ZodOptional<z.ZodObject<{
99
+ input: z.ZodString;
100
+ output: z.ZodString;
101
+ }, z.core.$strip>>;
102
+ }, z.core.$strip>>>;
103
+ position: z.ZodDefault<z.ZodObject<{
104
+ x: z.ZodNumber;
105
+ y: z.ZodNumber;
106
+ }, z.core.$strip>>;
107
+ size: z.ZodOptional<z.ZodObject<{
108
+ width: z.ZodOptional<z.ZodNumber>;
109
+ height: z.ZodOptional<z.ZodNumber>;
110
+ }, z.core.$strip>>;
111
+ }, z.core.$strict>, z.ZodObject<{
112
+ id: z.ZodDefault<z.ZodUUID>;
113
+ type: z.ZodLiteral<"reference">;
114
+ alias: z.ZodOptional<z.ZodString>;
115
+ reference: z.ZodString;
116
+ inputTypes: z.ZodOptional<z.ZodObject<{
117
+ input: z.ZodString;
118
+ output: z.ZodString;
119
+ }, z.core.$strip>>;
120
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
121
+ name: z.ZodNullable<z.ZodString>;
122
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
123
+ types: z.ZodOptional<z.ZodObject<{
124
+ input: z.ZodString;
125
+ output: z.ZodString;
126
+ }, z.core.$strip>>;
127
+ }, z.core.$strip>>>;
128
+ position: z.ZodDefault<z.ZodObject<{
129
+ x: z.ZodNumber;
130
+ y: z.ZodNumber;
131
+ }, z.core.$strip>>;
132
+ size: z.ZodOptional<z.ZodObject<{
133
+ width: z.ZodOptional<z.ZodNumber>;
134
+ height: z.ZodOptional<z.ZodNumber>;
135
+ }, z.core.$strip>>;
136
+ }, z.core.$strict>, z.ZodObject<{
137
+ id: z.ZodDefault<z.ZodUUID>;
138
+ type: z.ZodLiteral<"exit">;
139
+ alias: z.ZodOptional<z.ZodString>;
140
+ position: z.ZodDefault<z.ZodObject<{
141
+ x: z.ZodNumber;
142
+ y: z.ZodNumber;
143
+ }, z.core.$strip>>;
144
+ size: z.ZodOptional<z.ZodObject<{
145
+ width: z.ZodOptional<z.ZodNumber>;
146
+ height: z.ZodOptional<z.ZodNumber>;
147
+ }, z.core.$strip>>;
148
+ }, z.core.$strict>, z.ZodObject<{
149
+ id: z.ZodDefault<z.ZodUUID>;
150
+ type: z.ZodLiteral<"comment">;
151
+ text: z.ZodDefault<z.ZodString>;
152
+ alias: z.ZodOptional<z.ZodString>;
153
+ position: z.ZodDefault<z.ZodObject<{
154
+ x: z.ZodNumber;
155
+ y: z.ZodNumber;
156
+ }, z.core.$strip>>;
157
+ size: z.ZodOptional<z.ZodObject<{
158
+ width: z.ZodOptional<z.ZodNumber>;
159
+ height: z.ZodOptional<z.ZodNumber>;
160
+ }, z.core.$strip>>;
161
+ }, z.core.$strip>]>>;
162
+ edges: z.ZodArray<z.ZodObject<{
163
+ id: z.ZodUUID;
164
+ source: z.ZodUUID;
165
+ sourceHandle: z.ZodNullable<z.ZodString>;
166
+ target: z.ZodUUID;
167
+ }, z.core.$strip>>;
168
+ allowMultipleOutputs: z.ZodDefault<z.ZodBoolean>;
169
+ }, z.core.$strict>;
170
+ export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
171
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
172
+ id: z.ZodDefault<z.ZodUUID>;
173
+ type: z.ZodLiteral<"entry">;
174
+ alias: z.ZodOptional<z.ZodString>;
175
+ inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
176
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
177
+ name: z.ZodNullable<z.ZodString>;
178
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
179
+ types: z.ZodOptional<z.ZodObject<{
180
+ input: z.ZodString;
181
+ output: z.ZodString;
182
+ }, z.core.$strip>>;
183
+ }, z.core.$strip>>>;
184
+ position: z.ZodDefault<z.ZodObject<{
185
+ x: z.ZodNumber;
186
+ y: z.ZodNumber;
187
+ }, z.core.$strip>>;
188
+ size: z.ZodOptional<z.ZodObject<{
189
+ width: z.ZodOptional<z.ZodNumber>;
190
+ height: z.ZodOptional<z.ZodNumber>;
191
+ }, z.core.$strip>>;
192
+ }, z.core.$strict>, z.ZodObject<{
193
+ id: z.ZodDefault<z.ZodUUID>;
194
+ type: z.ZodLiteral<"service">;
195
+ alias: z.ZodOptional<z.ZodString>;
196
+ inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
197
+ type: z.ZodLiteral<"object">;
198
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
199
+ type: z.ZodLiteral<"null">;
200
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
201
+ $ref: z.ZodString;
202
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
203
+ inputTypes: z.ZodOptional<z.ZodObject<{
204
+ input: z.ZodString;
205
+ output: z.ZodString;
206
+ }, z.core.$strip>>;
207
+ name: z.ZodString;
208
+ version: z.ZodString;
209
+ configuration: z.ZodOptional<z.ZodAny>;
210
+ configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
211
+ ttl: z.ZodOptional<z.ZodNumber>;
212
+ retry: z.ZodOptional<z.ZodNumber>;
213
+ retryDelay: z.ZodOptional<z.ZodNumber>;
214
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
215
+ name: z.ZodNullable<z.ZodString>;
216
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
217
+ types: z.ZodOptional<z.ZodObject<{
218
+ input: z.ZodString;
219
+ output: z.ZodString;
220
+ }, z.core.$strip>>;
221
+ }, z.core.$strip>>>;
222
+ position: z.ZodDefault<z.ZodObject<{
223
+ x: z.ZodNumber;
224
+ y: z.ZodNumber;
225
+ }, z.core.$strip>>;
226
+ size: z.ZodOptional<z.ZodObject<{
227
+ width: z.ZodOptional<z.ZodNumber>;
228
+ height: z.ZodOptional<z.ZodNumber>;
229
+ }, z.core.$strip>>;
230
+ }, z.core.$strict>, z.ZodObject<{
231
+ id: z.ZodDefault<z.ZodUUID>;
232
+ type: z.ZodLiteral<"logic">;
233
+ alias: z.ZodOptional<z.ZodString>;
234
+ script: z.ZodString;
235
+ concurrency: z.ZodDefault<z.ZodBoolean>;
236
+ language: z.ZodDefault<z.ZodEnum<{
237
+ javascript: "javascript";
238
+ python: "python";
239
+ typescript: "typescript";
240
+ }>>;
241
+ outputNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
242
+ maxExecutionTime: z.ZodDefault<z.ZodNumber>;
243
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
244
+ name: z.ZodNullable<z.ZodString>;
245
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
246
+ types: z.ZodOptional<z.ZodObject<{
247
+ input: z.ZodString;
248
+ output: z.ZodString;
249
+ }, z.core.$strip>>;
250
+ }, z.core.$strip>>>;
251
+ position: z.ZodDefault<z.ZodObject<{
252
+ x: z.ZodNumber;
253
+ y: z.ZodNumber;
254
+ }, z.core.$strip>>;
255
+ size: z.ZodOptional<z.ZodObject<{
256
+ width: z.ZodOptional<z.ZodNumber>;
257
+ height: z.ZodOptional<z.ZodNumber>;
258
+ }, z.core.$strip>>;
259
+ }, z.core.$strict>, z.ZodObject<{
260
+ id: z.ZodDefault<z.ZodUUID>;
261
+ type: z.ZodLiteral<"or">;
262
+ alias: z.ZodOptional<z.ZodString>;
263
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
264
+ name: z.ZodNullable<z.ZodString>;
265
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
266
+ types: z.ZodOptional<z.ZodObject<{
267
+ input: z.ZodString;
268
+ output: z.ZodString;
269
+ }, z.core.$strip>>;
270
+ }, z.core.$strip>>>;
271
+ position: z.ZodDefault<z.ZodObject<{
272
+ x: z.ZodNumber;
273
+ y: z.ZodNumber;
274
+ }, z.core.$strip>>;
275
+ size: z.ZodOptional<z.ZodObject<{
276
+ width: z.ZodOptional<z.ZodNumber>;
277
+ height: z.ZodOptional<z.ZodNumber>;
278
+ }, z.core.$strip>>;
279
+ }, z.core.$strict>, z.ZodObject<{
280
+ id: z.ZodDefault<z.ZodUUID>;
281
+ type: z.ZodLiteral<"reference">;
282
+ alias: z.ZodOptional<z.ZodString>;
283
+ reference: z.ZodString;
284
+ inputTypes: z.ZodOptional<z.ZodObject<{
285
+ input: z.ZodString;
286
+ output: z.ZodString;
287
+ }, z.core.$strip>>;
288
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
289
+ name: z.ZodNullable<z.ZodString>;
290
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
291
+ types: z.ZodOptional<z.ZodObject<{
292
+ input: z.ZodString;
293
+ output: z.ZodString;
294
+ }, z.core.$strip>>;
295
+ }, z.core.$strip>>>;
296
+ position: z.ZodDefault<z.ZodObject<{
297
+ x: z.ZodNumber;
298
+ y: z.ZodNumber;
299
+ }, z.core.$strip>>;
300
+ size: z.ZodOptional<z.ZodObject<{
301
+ width: z.ZodOptional<z.ZodNumber>;
302
+ height: z.ZodOptional<z.ZodNumber>;
303
+ }, z.core.$strip>>;
304
+ }, z.core.$strict>, z.ZodObject<{
305
+ id: z.ZodDefault<z.ZodUUID>;
306
+ type: z.ZodLiteral<"exit">;
307
+ alias: z.ZodOptional<z.ZodString>;
308
+ position: z.ZodDefault<z.ZodObject<{
309
+ x: z.ZodNumber;
310
+ y: z.ZodNumber;
311
+ }, z.core.$strip>>;
312
+ size: z.ZodOptional<z.ZodObject<{
313
+ width: z.ZodOptional<z.ZodNumber>;
314
+ height: z.ZodOptional<z.ZodNumber>;
315
+ }, z.core.$strip>>;
316
+ }, z.core.$strict>, z.ZodObject<{
317
+ id: z.ZodDefault<z.ZodUUID>;
318
+ type: z.ZodLiteral<"comment">;
319
+ text: z.ZodDefault<z.ZodString>;
320
+ alias: z.ZodOptional<z.ZodString>;
321
+ position: z.ZodDefault<z.ZodObject<{
322
+ x: z.ZodNumber;
323
+ y: z.ZodNumber;
324
+ }, z.core.$strip>>;
325
+ size: z.ZodOptional<z.ZodObject<{
326
+ width: z.ZodOptional<z.ZodNumber>;
327
+ height: z.ZodOptional<z.ZodNumber>;
328
+ }, z.core.$strip>>;
329
+ }, z.core.$strip>]>>;
330
+ edges: z.ZodArray<z.ZodObject<{
331
+ id: z.ZodUUID;
332
+ source: z.ZodUUID;
333
+ sourceHandle: z.ZodNullable<z.ZodString>;
334
+ target: z.ZodUUID;
335
+ }, z.core.$strip>>;
336
+ allowMultipleOutputs: z.ZodDefault<z.ZodBoolean>;
337
+ }, z.core.$strict>, z.ZodTransform<{
338
+ nodes: ({
339
+ id: string;
340
+ type: "entry";
341
+ inputSchema: import("json-schema").JSONSchema7;
342
+ outputs: {
343
+ name: string | null;
344
+ schema: import("json-schema").JSONSchema7 | null;
345
+ types?: {
346
+ input: string;
347
+ output: string;
348
+ } | undefined;
349
+ }[];
350
+ position: {
351
+ x: number;
352
+ y: number;
353
+ };
354
+ alias?: string | undefined;
355
+ size?: {
356
+ width?: number | undefined;
357
+ height?: number | undefined;
358
+ } | undefined;
359
+ } | {
360
+ id: string;
361
+ type: "service";
362
+ inputSchema: ({
363
+ type: "object";
364
+ } & import("json-schema").JSONSchema7) | {
365
+ type: "null";
366
+ } | ({
367
+ $ref: string;
368
+ } & import("json-schema").JSONSchema7);
369
+ name: string;
370
+ version: string;
371
+ configurationSchema: import("json-schema").JSONSchema7;
372
+ outputs: {
373
+ name: string | null;
374
+ schema: import("json-schema").JSONSchema7 | null;
375
+ types?: {
376
+ input: string;
377
+ output: string;
378
+ } | undefined;
379
+ }[];
380
+ position: {
381
+ x: number;
382
+ y: number;
383
+ };
384
+ alias?: string | undefined;
385
+ inputTypes?: {
386
+ input: string;
387
+ output: string;
388
+ } | undefined;
389
+ configuration?: any;
390
+ ttl?: number | undefined;
391
+ retry?: number | undefined;
392
+ retryDelay?: number | undefined;
393
+ size?: {
394
+ width?: number | undefined;
395
+ height?: number | undefined;
396
+ } | undefined;
397
+ } | {
398
+ id: string;
399
+ type: "logic";
400
+ script: string;
401
+ concurrency: boolean;
402
+ language: "javascript" | "python" | "typescript";
403
+ maxExecutionTime: number;
404
+ outputs: {
405
+ name: string | null;
406
+ schema: import("json-schema").JSONSchema7 | null;
407
+ types?: {
408
+ input: string;
409
+ output: string;
410
+ } | undefined;
411
+ }[];
412
+ position: {
413
+ x: number;
414
+ y: number;
415
+ };
416
+ alias?: string | undefined;
417
+ outputNames?: string[] | undefined;
418
+ size?: {
419
+ width?: number | undefined;
420
+ height?: number | undefined;
421
+ } | undefined;
422
+ } | {
423
+ id: string;
424
+ type: "or";
425
+ outputs: {
426
+ name: string | null;
427
+ schema: import("json-schema").JSONSchema7 | null;
428
+ types?: {
429
+ input: string;
430
+ output: string;
431
+ } | undefined;
432
+ }[];
433
+ position: {
434
+ x: number;
435
+ y: number;
436
+ };
437
+ alias?: string | undefined;
438
+ size?: {
439
+ width?: number | undefined;
440
+ height?: number | undefined;
441
+ } | undefined;
442
+ } | {
443
+ id: string;
444
+ type: "reference";
445
+ reference: string;
446
+ outputs: {
447
+ name: string | null;
448
+ schema: import("json-schema").JSONSchema7 | null;
449
+ types?: {
450
+ input: string;
451
+ output: string;
452
+ } | undefined;
453
+ }[];
454
+ position: {
455
+ x: number;
456
+ y: number;
457
+ };
458
+ alias?: string | undefined;
459
+ inputTypes?: {
460
+ input: string;
461
+ output: string;
462
+ } | undefined;
463
+ size?: {
464
+ width?: number | undefined;
465
+ height?: number | undefined;
466
+ } | undefined;
467
+ } | {
468
+ id: string;
469
+ type: "exit";
470
+ position: {
471
+ x: number;
472
+ y: number;
473
+ };
474
+ alias?: string | undefined;
475
+ size?: {
476
+ width?: number | undefined;
477
+ height?: number | undefined;
478
+ } | undefined;
479
+ } | {
480
+ id: string;
481
+ type: "comment";
482
+ text: string;
483
+ position: {
484
+ x: number;
485
+ y: number;
486
+ };
487
+ alias?: string | undefined;
488
+ size?: {
489
+ width?: number | undefined;
490
+ height?: number | undefined;
491
+ } | undefined;
492
+ })[];
493
+ edges: {
494
+ id: string;
495
+ source: string;
496
+ sourceHandle: string | null;
497
+ target: string;
498
+ }[];
499
+ }, {
500
+ nodes: ({
501
+ id: string;
502
+ type: "entry";
503
+ inputSchema: import("json-schema").JSONSchema7;
504
+ outputs: {
505
+ name: string | null;
506
+ schema: import("json-schema").JSONSchema7 | null;
507
+ types?: {
508
+ input: string;
509
+ output: string;
510
+ } | undefined;
511
+ }[];
512
+ position: {
513
+ x: number;
514
+ y: number;
515
+ };
516
+ alias?: string | undefined;
517
+ size?: {
518
+ width?: number | undefined;
519
+ height?: number | undefined;
520
+ } | undefined;
521
+ } | {
522
+ id: string;
523
+ type: "service";
524
+ inputSchema: ({
525
+ type: "object";
526
+ } & import("json-schema").JSONSchema7) | {
527
+ type: "null";
528
+ } | ({
529
+ $ref: string;
530
+ } & import("json-schema").JSONSchema7);
531
+ name: string;
532
+ version: string;
533
+ configurationSchema: import("json-schema").JSONSchema7;
534
+ outputs: {
535
+ name: string | null;
536
+ schema: import("json-schema").JSONSchema7 | null;
537
+ types?: {
538
+ input: string;
539
+ output: string;
540
+ } | undefined;
541
+ }[];
542
+ position: {
543
+ x: number;
544
+ y: number;
545
+ };
546
+ alias?: string | undefined;
547
+ inputTypes?: {
548
+ input: string;
549
+ output: string;
550
+ } | undefined;
551
+ configuration?: any;
552
+ ttl?: number | undefined;
553
+ retry?: number | undefined;
554
+ retryDelay?: number | undefined;
555
+ size?: {
556
+ width?: number | undefined;
557
+ height?: number | undefined;
558
+ } | undefined;
559
+ } | {
560
+ id: string;
561
+ type: "logic";
562
+ script: string;
563
+ concurrency: boolean;
564
+ language: "javascript" | "python" | "typescript";
565
+ maxExecutionTime: number;
566
+ outputs: {
567
+ name: string | null;
568
+ schema: import("json-schema").JSONSchema7 | null;
569
+ types?: {
570
+ input: string;
571
+ output: string;
572
+ } | undefined;
573
+ }[];
574
+ position: {
575
+ x: number;
576
+ y: number;
577
+ };
578
+ alias?: string | undefined;
579
+ outputNames?: string[] | undefined;
580
+ size?: {
581
+ width?: number | undefined;
582
+ height?: number | undefined;
583
+ } | undefined;
584
+ } | {
585
+ id: string;
586
+ type: "or";
587
+ outputs: {
588
+ name: string | null;
589
+ schema: import("json-schema").JSONSchema7 | null;
590
+ types?: {
591
+ input: string;
592
+ output: string;
593
+ } | undefined;
594
+ }[];
595
+ position: {
596
+ x: number;
597
+ y: number;
598
+ };
599
+ alias?: string | undefined;
600
+ size?: {
601
+ width?: number | undefined;
602
+ height?: number | undefined;
603
+ } | undefined;
604
+ } | {
605
+ id: string;
606
+ type: "reference";
607
+ reference: string;
608
+ outputs: {
609
+ name: string | null;
610
+ schema: import("json-schema").JSONSchema7 | null;
611
+ types?: {
612
+ input: string;
613
+ output: string;
614
+ } | undefined;
615
+ }[];
616
+ position: {
617
+ x: number;
618
+ y: number;
619
+ };
620
+ alias?: string | undefined;
621
+ inputTypes?: {
622
+ input: string;
623
+ output: string;
624
+ } | undefined;
625
+ size?: {
626
+ width?: number | undefined;
627
+ height?: number | undefined;
628
+ } | undefined;
629
+ } | {
630
+ id: string;
631
+ type: "exit";
632
+ position: {
633
+ x: number;
634
+ y: number;
635
+ };
636
+ alias?: string | undefined;
637
+ size?: {
638
+ width?: number | undefined;
639
+ height?: number | undefined;
640
+ } | undefined;
641
+ } | {
642
+ id: string;
643
+ type: "comment";
644
+ text: string;
645
+ position: {
646
+ x: number;
647
+ y: number;
648
+ };
649
+ alias?: string | undefined;
650
+ size?: {
651
+ width?: number | undefined;
652
+ height?: number | undefined;
653
+ } | undefined;
654
+ })[];
655
+ edges: {
656
+ id: string;
657
+ source: string;
658
+ sourceHandle: string | null;
659
+ target: string;
660
+ }[];
661
+ allowMultipleOutputs: boolean;
662
+ }>>;
663
+ export declare const treeReferenceSchema: z.ZodObject<{
664
+ id: z.ZodString;
665
+ options: z.ZodObject<{
666
+ maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
667
+ compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
668
+ "mcp-tool": "mcp-tool";
669
+ }>>>;
670
+ mode: z.ZodDefault<z.ZodEnum<{
671
+ linear: "linear";
672
+ continuous: "continuous";
673
+ }>>;
674
+ priority: z.ZodDefault<z.ZodInt>;
675
+ uploadUrl: z.ZodOptional<z.ZodString>;
676
+ streamUrl: z.ZodOptional<z.ZodString>;
677
+ referencedBy: z.ZodOptional<z.ZodObject<{
678
+ rootTaskId: z.ZodUUID;
679
+ taskId: z.ZodUUID;
680
+ nodeId: z.ZodUUID;
681
+ messageId: z.ZodUUID;
682
+ }, z.core.$strip>>;
683
+ }, z.core.$strip>;
684
+ tree: z.ZodObject<{
685
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
686
+ id: z.ZodDefault<z.ZodUUID>;
687
+ type: z.ZodLiteral<"entry">;
688
+ alias: z.ZodOptional<z.ZodString>;
689
+ inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
690
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
691
+ name: z.ZodNullable<z.ZodString>;
692
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
693
+ types: z.ZodOptional<z.ZodObject<{
694
+ input: z.ZodString;
695
+ output: z.ZodString;
696
+ }, z.core.$strip>>;
697
+ }, z.core.$strip>>>;
698
+ position: z.ZodDefault<z.ZodObject<{
699
+ x: z.ZodNumber;
700
+ y: z.ZodNumber;
701
+ }, z.core.$strip>>;
702
+ size: z.ZodOptional<z.ZodObject<{
703
+ width: z.ZodOptional<z.ZodNumber>;
704
+ height: z.ZodOptional<z.ZodNumber>;
705
+ }, z.core.$strip>>;
706
+ }, z.core.$strict>, z.ZodObject<{
707
+ id: z.ZodDefault<z.ZodUUID>;
708
+ type: z.ZodLiteral<"service">;
709
+ alias: z.ZodOptional<z.ZodString>;
710
+ inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
711
+ type: z.ZodLiteral<"object">;
712
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
713
+ type: z.ZodLiteral<"null">;
714
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
715
+ $ref: z.ZodString;
716
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
717
+ inputTypes: z.ZodOptional<z.ZodObject<{
718
+ input: z.ZodString;
719
+ output: z.ZodString;
720
+ }, z.core.$strip>>;
721
+ name: z.ZodString;
722
+ version: z.ZodString;
723
+ configuration: z.ZodOptional<z.ZodAny>;
724
+ configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
725
+ ttl: z.ZodOptional<z.ZodNumber>;
726
+ retry: z.ZodOptional<z.ZodNumber>;
727
+ retryDelay: z.ZodOptional<z.ZodNumber>;
728
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
729
+ name: z.ZodNullable<z.ZodString>;
730
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
731
+ types: z.ZodOptional<z.ZodObject<{
732
+ input: z.ZodString;
733
+ output: z.ZodString;
734
+ }, z.core.$strip>>;
735
+ }, z.core.$strip>>>;
736
+ position: z.ZodDefault<z.ZodObject<{
737
+ x: z.ZodNumber;
738
+ y: z.ZodNumber;
739
+ }, z.core.$strip>>;
740
+ size: z.ZodOptional<z.ZodObject<{
741
+ width: z.ZodOptional<z.ZodNumber>;
742
+ height: z.ZodOptional<z.ZodNumber>;
743
+ }, z.core.$strip>>;
744
+ }, z.core.$strict>, z.ZodObject<{
745
+ id: z.ZodDefault<z.ZodUUID>;
746
+ type: z.ZodLiteral<"logic">;
747
+ alias: z.ZodOptional<z.ZodString>;
748
+ script: z.ZodString;
749
+ concurrency: z.ZodDefault<z.ZodBoolean>;
750
+ language: z.ZodDefault<z.ZodEnum<{
751
+ javascript: "javascript";
752
+ python: "python";
753
+ typescript: "typescript";
754
+ }>>;
755
+ outputNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
756
+ maxExecutionTime: z.ZodDefault<z.ZodNumber>;
757
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
758
+ name: z.ZodNullable<z.ZodString>;
759
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
760
+ types: z.ZodOptional<z.ZodObject<{
761
+ input: z.ZodString;
762
+ output: z.ZodString;
763
+ }, z.core.$strip>>;
764
+ }, z.core.$strip>>>;
765
+ position: z.ZodDefault<z.ZodObject<{
766
+ x: z.ZodNumber;
767
+ y: z.ZodNumber;
768
+ }, z.core.$strip>>;
769
+ size: z.ZodOptional<z.ZodObject<{
770
+ width: z.ZodOptional<z.ZodNumber>;
771
+ height: z.ZodOptional<z.ZodNumber>;
772
+ }, z.core.$strip>>;
773
+ }, z.core.$strict>, z.ZodObject<{
774
+ id: z.ZodDefault<z.ZodUUID>;
775
+ type: z.ZodLiteral<"or">;
776
+ alias: z.ZodOptional<z.ZodString>;
777
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
778
+ name: z.ZodNullable<z.ZodString>;
779
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
780
+ types: z.ZodOptional<z.ZodObject<{
781
+ input: z.ZodString;
782
+ output: z.ZodString;
783
+ }, z.core.$strip>>;
784
+ }, z.core.$strip>>>;
785
+ position: z.ZodDefault<z.ZodObject<{
786
+ x: z.ZodNumber;
787
+ y: z.ZodNumber;
788
+ }, z.core.$strip>>;
789
+ size: z.ZodOptional<z.ZodObject<{
790
+ width: z.ZodOptional<z.ZodNumber>;
791
+ height: z.ZodOptional<z.ZodNumber>;
792
+ }, z.core.$strip>>;
793
+ }, z.core.$strict>, z.ZodObject<{
794
+ id: z.ZodDefault<z.ZodUUID>;
795
+ type: z.ZodLiteral<"reference">;
796
+ alias: z.ZodOptional<z.ZodString>;
797
+ reference: z.ZodString;
798
+ inputTypes: z.ZodOptional<z.ZodObject<{
799
+ input: z.ZodString;
800
+ output: z.ZodString;
801
+ }, z.core.$strip>>;
802
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
803
+ name: z.ZodNullable<z.ZodString>;
804
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
805
+ types: z.ZodOptional<z.ZodObject<{
806
+ input: z.ZodString;
807
+ output: z.ZodString;
808
+ }, z.core.$strip>>;
809
+ }, z.core.$strip>>>;
810
+ position: z.ZodDefault<z.ZodObject<{
811
+ x: z.ZodNumber;
812
+ y: z.ZodNumber;
813
+ }, z.core.$strip>>;
814
+ size: z.ZodOptional<z.ZodObject<{
815
+ width: z.ZodOptional<z.ZodNumber>;
816
+ height: z.ZodOptional<z.ZodNumber>;
817
+ }, z.core.$strip>>;
818
+ }, z.core.$strict>, z.ZodObject<{
819
+ id: z.ZodDefault<z.ZodUUID>;
820
+ type: z.ZodLiteral<"exit">;
821
+ alias: z.ZodOptional<z.ZodString>;
822
+ position: z.ZodDefault<z.ZodObject<{
823
+ x: z.ZodNumber;
824
+ y: z.ZodNumber;
825
+ }, z.core.$strip>>;
826
+ size: z.ZodOptional<z.ZodObject<{
827
+ width: z.ZodOptional<z.ZodNumber>;
828
+ height: z.ZodOptional<z.ZodNumber>;
829
+ }, z.core.$strip>>;
830
+ }, z.core.$strict>, z.ZodObject<{
831
+ id: z.ZodDefault<z.ZodUUID>;
832
+ type: z.ZodLiteral<"comment">;
833
+ text: z.ZodDefault<z.ZodString>;
834
+ alias: z.ZodOptional<z.ZodString>;
835
+ position: z.ZodDefault<z.ZodObject<{
836
+ x: z.ZodNumber;
837
+ y: z.ZodNumber;
838
+ }, z.core.$strip>>;
839
+ size: z.ZodOptional<z.ZodObject<{
840
+ width: z.ZodOptional<z.ZodNumber>;
841
+ height: z.ZodOptional<z.ZodNumber>;
842
+ }, z.core.$strip>>;
843
+ }, z.core.$strip>]>>;
844
+ edges: z.ZodArray<z.ZodObject<{
845
+ id: z.ZodUUID;
846
+ source: z.ZodUUID;
847
+ sourceHandle: z.ZodNullable<z.ZodString>;
848
+ target: z.ZodUUID;
849
+ }, z.core.$strip>>;
850
+ }, z.core.$strip>;
851
+ references: z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strip>>;
852
+ }, z.core.$strip>;
853
+ export type TreeReference = z.infer<typeof treeReferenceSchema>;
854
+ export declare const treeListSchema: z.ZodObject<{
855
+ tree: z.ZodPipe<z.ZodObject<{
856
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
857
+ id: z.ZodDefault<z.ZodUUID>;
858
+ type: z.ZodLiteral<"entry">;
859
+ alias: z.ZodOptional<z.ZodString>;
860
+ inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
861
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
862
+ name: z.ZodNullable<z.ZodString>;
863
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
864
+ types: z.ZodOptional<z.ZodObject<{
865
+ input: z.ZodString;
866
+ output: z.ZodString;
867
+ }, z.core.$strip>>;
868
+ }, z.core.$strip>>>;
869
+ position: z.ZodDefault<z.ZodObject<{
870
+ x: z.ZodNumber;
871
+ y: z.ZodNumber;
872
+ }, z.core.$strip>>;
873
+ size: z.ZodOptional<z.ZodObject<{
874
+ width: z.ZodOptional<z.ZodNumber>;
875
+ height: z.ZodOptional<z.ZodNumber>;
876
+ }, z.core.$strip>>;
877
+ }, z.core.$strict>, z.ZodObject<{
878
+ id: z.ZodDefault<z.ZodUUID>;
879
+ type: z.ZodLiteral<"service">;
880
+ alias: z.ZodOptional<z.ZodString>;
881
+ inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
882
+ type: z.ZodLiteral<"object">;
883
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
884
+ type: z.ZodLiteral<"null">;
885
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
886
+ $ref: z.ZodString;
887
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
888
+ inputTypes: z.ZodOptional<z.ZodObject<{
889
+ input: z.ZodString;
890
+ output: z.ZodString;
891
+ }, z.core.$strip>>;
892
+ name: z.ZodString;
893
+ version: z.ZodString;
894
+ configuration: z.ZodOptional<z.ZodAny>;
895
+ configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
896
+ ttl: z.ZodOptional<z.ZodNumber>;
897
+ retry: z.ZodOptional<z.ZodNumber>;
898
+ retryDelay: z.ZodOptional<z.ZodNumber>;
899
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
900
+ name: z.ZodNullable<z.ZodString>;
901
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
902
+ types: z.ZodOptional<z.ZodObject<{
903
+ input: z.ZodString;
904
+ output: z.ZodString;
905
+ }, z.core.$strip>>;
906
+ }, z.core.$strip>>>;
907
+ position: z.ZodDefault<z.ZodObject<{
908
+ x: z.ZodNumber;
909
+ y: z.ZodNumber;
910
+ }, z.core.$strip>>;
911
+ size: z.ZodOptional<z.ZodObject<{
912
+ width: z.ZodOptional<z.ZodNumber>;
913
+ height: z.ZodOptional<z.ZodNumber>;
914
+ }, z.core.$strip>>;
915
+ }, z.core.$strict>, z.ZodObject<{
916
+ id: z.ZodDefault<z.ZodUUID>;
917
+ type: z.ZodLiteral<"logic">;
918
+ alias: z.ZodOptional<z.ZodString>;
919
+ script: z.ZodString;
920
+ concurrency: z.ZodDefault<z.ZodBoolean>;
921
+ language: z.ZodDefault<z.ZodEnum<{
922
+ javascript: "javascript";
923
+ python: "python";
924
+ typescript: "typescript";
925
+ }>>;
926
+ outputNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
927
+ maxExecutionTime: z.ZodDefault<z.ZodNumber>;
928
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
929
+ name: z.ZodNullable<z.ZodString>;
930
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
931
+ types: z.ZodOptional<z.ZodObject<{
932
+ input: z.ZodString;
933
+ output: z.ZodString;
934
+ }, z.core.$strip>>;
935
+ }, z.core.$strip>>>;
936
+ position: z.ZodDefault<z.ZodObject<{
937
+ x: z.ZodNumber;
938
+ y: z.ZodNumber;
939
+ }, z.core.$strip>>;
940
+ size: z.ZodOptional<z.ZodObject<{
941
+ width: z.ZodOptional<z.ZodNumber>;
942
+ height: z.ZodOptional<z.ZodNumber>;
943
+ }, z.core.$strip>>;
944
+ }, z.core.$strict>, z.ZodObject<{
945
+ id: z.ZodDefault<z.ZodUUID>;
946
+ type: z.ZodLiteral<"or">;
947
+ alias: z.ZodOptional<z.ZodString>;
948
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
949
+ name: z.ZodNullable<z.ZodString>;
950
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
951
+ types: z.ZodOptional<z.ZodObject<{
952
+ input: z.ZodString;
953
+ output: z.ZodString;
954
+ }, z.core.$strip>>;
955
+ }, z.core.$strip>>>;
956
+ position: z.ZodDefault<z.ZodObject<{
957
+ x: z.ZodNumber;
958
+ y: z.ZodNumber;
959
+ }, z.core.$strip>>;
960
+ size: z.ZodOptional<z.ZodObject<{
961
+ width: z.ZodOptional<z.ZodNumber>;
962
+ height: z.ZodOptional<z.ZodNumber>;
963
+ }, z.core.$strip>>;
964
+ }, z.core.$strict>, z.ZodObject<{
965
+ id: z.ZodDefault<z.ZodUUID>;
966
+ type: z.ZodLiteral<"reference">;
967
+ alias: z.ZodOptional<z.ZodString>;
968
+ reference: z.ZodString;
969
+ inputTypes: z.ZodOptional<z.ZodObject<{
970
+ input: z.ZodString;
971
+ output: z.ZodString;
972
+ }, z.core.$strip>>;
973
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
974
+ name: z.ZodNullable<z.ZodString>;
975
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
976
+ types: z.ZodOptional<z.ZodObject<{
977
+ input: z.ZodString;
978
+ output: z.ZodString;
979
+ }, z.core.$strip>>;
980
+ }, z.core.$strip>>>;
981
+ position: z.ZodDefault<z.ZodObject<{
982
+ x: z.ZodNumber;
983
+ y: z.ZodNumber;
984
+ }, z.core.$strip>>;
985
+ size: z.ZodOptional<z.ZodObject<{
986
+ width: z.ZodOptional<z.ZodNumber>;
987
+ height: z.ZodOptional<z.ZodNumber>;
988
+ }, z.core.$strip>>;
989
+ }, z.core.$strict>, z.ZodObject<{
990
+ id: z.ZodDefault<z.ZodUUID>;
991
+ type: z.ZodLiteral<"exit">;
992
+ alias: z.ZodOptional<z.ZodString>;
993
+ position: z.ZodDefault<z.ZodObject<{
994
+ x: z.ZodNumber;
995
+ y: z.ZodNumber;
996
+ }, z.core.$strip>>;
997
+ size: z.ZodOptional<z.ZodObject<{
998
+ width: z.ZodOptional<z.ZodNumber>;
999
+ height: z.ZodOptional<z.ZodNumber>;
1000
+ }, z.core.$strip>>;
1001
+ }, z.core.$strict>, z.ZodObject<{
1002
+ id: z.ZodDefault<z.ZodUUID>;
1003
+ type: z.ZodLiteral<"comment">;
1004
+ text: z.ZodDefault<z.ZodString>;
1005
+ alias: z.ZodOptional<z.ZodString>;
1006
+ position: z.ZodDefault<z.ZodObject<{
1007
+ x: z.ZodNumber;
1008
+ y: z.ZodNumber;
1009
+ }, z.core.$strip>>;
1010
+ size: z.ZodOptional<z.ZodObject<{
1011
+ width: z.ZodOptional<z.ZodNumber>;
1012
+ height: z.ZodOptional<z.ZodNumber>;
1013
+ }, z.core.$strip>>;
1014
+ }, z.core.$strip>]>>;
1015
+ edges: z.ZodArray<z.ZodObject<{
1016
+ id: z.ZodUUID;
1017
+ source: z.ZodUUID;
1018
+ sourceHandle: z.ZodNullable<z.ZodString>;
1019
+ target: z.ZodUUID;
1020
+ }, z.core.$strip>>;
1021
+ allowMultipleOutputs: z.ZodDefault<z.ZodBoolean>;
1022
+ }, z.core.$strict>, z.ZodTransform<{
1023
+ nodes: ({
1024
+ id: string;
1025
+ type: "entry";
1026
+ inputSchema: import("json-schema").JSONSchema7;
1027
+ outputs: {
1028
+ name: string | null;
1029
+ schema: import("json-schema").JSONSchema7 | null;
1030
+ types?: {
1031
+ input: string;
1032
+ output: string;
1033
+ } | undefined;
1034
+ }[];
1035
+ position: {
1036
+ x: number;
1037
+ y: number;
1038
+ };
1039
+ alias?: string | undefined;
1040
+ size?: {
1041
+ width?: number | undefined;
1042
+ height?: number | undefined;
1043
+ } | undefined;
1044
+ } | {
1045
+ id: string;
1046
+ type: "service";
1047
+ inputSchema: ({
1048
+ type: "object";
1049
+ } & import("json-schema").JSONSchema7) | {
1050
+ type: "null";
1051
+ } | ({
1052
+ $ref: string;
1053
+ } & import("json-schema").JSONSchema7);
1054
+ name: string;
1055
+ version: string;
1056
+ configurationSchema: import("json-schema").JSONSchema7;
1057
+ outputs: {
1058
+ name: string | null;
1059
+ schema: import("json-schema").JSONSchema7 | null;
1060
+ types?: {
1061
+ input: string;
1062
+ output: string;
1063
+ } | undefined;
1064
+ }[];
1065
+ position: {
1066
+ x: number;
1067
+ y: number;
1068
+ };
1069
+ alias?: string | undefined;
1070
+ inputTypes?: {
1071
+ input: string;
1072
+ output: string;
1073
+ } | undefined;
1074
+ configuration?: any;
1075
+ ttl?: number | undefined;
1076
+ retry?: number | undefined;
1077
+ retryDelay?: number | undefined;
1078
+ size?: {
1079
+ width?: number | undefined;
1080
+ height?: number | undefined;
1081
+ } | undefined;
1082
+ } | {
1083
+ id: string;
1084
+ type: "logic";
1085
+ script: string;
1086
+ concurrency: boolean;
1087
+ language: "javascript" | "python" | "typescript";
1088
+ maxExecutionTime: number;
1089
+ outputs: {
1090
+ name: string | null;
1091
+ schema: import("json-schema").JSONSchema7 | null;
1092
+ types?: {
1093
+ input: string;
1094
+ output: string;
1095
+ } | undefined;
1096
+ }[];
1097
+ position: {
1098
+ x: number;
1099
+ y: number;
1100
+ };
1101
+ alias?: string | undefined;
1102
+ outputNames?: string[] | undefined;
1103
+ size?: {
1104
+ width?: number | undefined;
1105
+ height?: number | undefined;
1106
+ } | undefined;
1107
+ } | {
1108
+ id: string;
1109
+ type: "or";
1110
+ outputs: {
1111
+ name: string | null;
1112
+ schema: import("json-schema").JSONSchema7 | null;
1113
+ types?: {
1114
+ input: string;
1115
+ output: string;
1116
+ } | undefined;
1117
+ }[];
1118
+ position: {
1119
+ x: number;
1120
+ y: number;
1121
+ };
1122
+ alias?: string | undefined;
1123
+ size?: {
1124
+ width?: number | undefined;
1125
+ height?: number | undefined;
1126
+ } | undefined;
1127
+ } | {
1128
+ id: string;
1129
+ type: "reference";
1130
+ reference: string;
1131
+ outputs: {
1132
+ name: string | null;
1133
+ schema: import("json-schema").JSONSchema7 | null;
1134
+ types?: {
1135
+ input: string;
1136
+ output: string;
1137
+ } | undefined;
1138
+ }[];
1139
+ position: {
1140
+ x: number;
1141
+ y: number;
1142
+ };
1143
+ alias?: string | undefined;
1144
+ inputTypes?: {
1145
+ input: string;
1146
+ output: string;
1147
+ } | undefined;
1148
+ size?: {
1149
+ width?: number | undefined;
1150
+ height?: number | undefined;
1151
+ } | undefined;
1152
+ } | {
1153
+ id: string;
1154
+ type: "exit";
1155
+ position: {
1156
+ x: number;
1157
+ y: number;
1158
+ };
1159
+ alias?: string | undefined;
1160
+ size?: {
1161
+ width?: number | undefined;
1162
+ height?: number | undefined;
1163
+ } | undefined;
1164
+ } | {
1165
+ id: string;
1166
+ type: "comment";
1167
+ text: string;
1168
+ position: {
1169
+ x: number;
1170
+ y: number;
1171
+ };
1172
+ alias?: string | undefined;
1173
+ size?: {
1174
+ width?: number | undefined;
1175
+ height?: number | undefined;
1176
+ } | undefined;
1177
+ })[];
1178
+ edges: {
1179
+ id: string;
1180
+ source: string;
1181
+ sourceHandle: string | null;
1182
+ target: string;
1183
+ }[];
1184
+ }, {
1185
+ nodes: ({
1186
+ id: string;
1187
+ type: "entry";
1188
+ inputSchema: import("json-schema").JSONSchema7;
1189
+ outputs: {
1190
+ name: string | null;
1191
+ schema: import("json-schema").JSONSchema7 | null;
1192
+ types?: {
1193
+ input: string;
1194
+ output: string;
1195
+ } | undefined;
1196
+ }[];
1197
+ position: {
1198
+ x: number;
1199
+ y: number;
1200
+ };
1201
+ alias?: string | undefined;
1202
+ size?: {
1203
+ width?: number | undefined;
1204
+ height?: number | undefined;
1205
+ } | undefined;
1206
+ } | {
1207
+ id: string;
1208
+ type: "service";
1209
+ inputSchema: ({
1210
+ type: "object";
1211
+ } & import("json-schema").JSONSchema7) | {
1212
+ type: "null";
1213
+ } | ({
1214
+ $ref: string;
1215
+ } & import("json-schema").JSONSchema7);
1216
+ name: string;
1217
+ version: string;
1218
+ configurationSchema: import("json-schema").JSONSchema7;
1219
+ outputs: {
1220
+ name: string | null;
1221
+ schema: import("json-schema").JSONSchema7 | null;
1222
+ types?: {
1223
+ input: string;
1224
+ output: string;
1225
+ } | undefined;
1226
+ }[];
1227
+ position: {
1228
+ x: number;
1229
+ y: number;
1230
+ };
1231
+ alias?: string | undefined;
1232
+ inputTypes?: {
1233
+ input: string;
1234
+ output: string;
1235
+ } | undefined;
1236
+ configuration?: any;
1237
+ ttl?: number | undefined;
1238
+ retry?: number | undefined;
1239
+ retryDelay?: number | undefined;
1240
+ size?: {
1241
+ width?: number | undefined;
1242
+ height?: number | undefined;
1243
+ } | undefined;
1244
+ } | {
1245
+ id: string;
1246
+ type: "logic";
1247
+ script: string;
1248
+ concurrency: boolean;
1249
+ language: "javascript" | "python" | "typescript";
1250
+ maxExecutionTime: number;
1251
+ outputs: {
1252
+ name: string | null;
1253
+ schema: import("json-schema").JSONSchema7 | null;
1254
+ types?: {
1255
+ input: string;
1256
+ output: string;
1257
+ } | undefined;
1258
+ }[];
1259
+ position: {
1260
+ x: number;
1261
+ y: number;
1262
+ };
1263
+ alias?: string | undefined;
1264
+ outputNames?: string[] | undefined;
1265
+ size?: {
1266
+ width?: number | undefined;
1267
+ height?: number | undefined;
1268
+ } | undefined;
1269
+ } | {
1270
+ id: string;
1271
+ type: "or";
1272
+ outputs: {
1273
+ name: string | null;
1274
+ schema: import("json-schema").JSONSchema7 | null;
1275
+ types?: {
1276
+ input: string;
1277
+ output: string;
1278
+ } | undefined;
1279
+ }[];
1280
+ position: {
1281
+ x: number;
1282
+ y: number;
1283
+ };
1284
+ alias?: string | undefined;
1285
+ size?: {
1286
+ width?: number | undefined;
1287
+ height?: number | undefined;
1288
+ } | undefined;
1289
+ } | {
1290
+ id: string;
1291
+ type: "reference";
1292
+ reference: string;
1293
+ outputs: {
1294
+ name: string | null;
1295
+ schema: import("json-schema").JSONSchema7 | null;
1296
+ types?: {
1297
+ input: string;
1298
+ output: string;
1299
+ } | undefined;
1300
+ }[];
1301
+ position: {
1302
+ x: number;
1303
+ y: number;
1304
+ };
1305
+ alias?: string | undefined;
1306
+ inputTypes?: {
1307
+ input: string;
1308
+ output: string;
1309
+ } | undefined;
1310
+ size?: {
1311
+ width?: number | undefined;
1312
+ height?: number | undefined;
1313
+ } | undefined;
1314
+ } | {
1315
+ id: string;
1316
+ type: "exit";
1317
+ position: {
1318
+ x: number;
1319
+ y: number;
1320
+ };
1321
+ alias?: string | undefined;
1322
+ size?: {
1323
+ width?: number | undefined;
1324
+ height?: number | undefined;
1325
+ } | undefined;
1326
+ } | {
1327
+ id: string;
1328
+ type: "comment";
1329
+ text: string;
1330
+ position: {
1331
+ x: number;
1332
+ y: number;
1333
+ };
1334
+ alias?: string | undefined;
1335
+ size?: {
1336
+ width?: number | undefined;
1337
+ height?: number | undefined;
1338
+ } | undefined;
1339
+ })[];
1340
+ edges: {
1341
+ id: string;
1342
+ source: string;
1343
+ sourceHandle: string | null;
1344
+ target: string;
1345
+ }[];
1346
+ allowMultipleOutputs: boolean;
1347
+ }>>;
1348
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1349
+ id: z.ZodString;
1350
+ options: z.ZodObject<{
1351
+ maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1352
+ compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
1353
+ "mcp-tool": "mcp-tool";
1354
+ }>>>;
1355
+ mode: z.ZodDefault<z.ZodEnum<{
1356
+ linear: "linear";
1357
+ continuous: "continuous";
1358
+ }>>;
1359
+ priority: z.ZodDefault<z.ZodInt>;
1360
+ uploadUrl: z.ZodOptional<z.ZodString>;
1361
+ streamUrl: z.ZodOptional<z.ZodString>;
1362
+ referencedBy: z.ZodOptional<z.ZodObject<{
1363
+ rootTaskId: z.ZodUUID;
1364
+ taskId: z.ZodUUID;
1365
+ nodeId: z.ZodUUID;
1366
+ messageId: z.ZodUUID;
1367
+ }, z.core.$strip>>;
1368
+ }, z.core.$strip>;
1369
+ tree: z.ZodObject<{
1370
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1371
+ id: z.ZodDefault<z.ZodUUID>;
1372
+ type: z.ZodLiteral<"entry">;
1373
+ alias: z.ZodOptional<z.ZodString>;
1374
+ inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
1375
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1376
+ name: z.ZodNullable<z.ZodString>;
1377
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
1378
+ types: z.ZodOptional<z.ZodObject<{
1379
+ input: z.ZodString;
1380
+ output: z.ZodString;
1381
+ }, z.core.$strip>>;
1382
+ }, z.core.$strip>>>;
1383
+ position: z.ZodDefault<z.ZodObject<{
1384
+ x: z.ZodNumber;
1385
+ y: z.ZodNumber;
1386
+ }, z.core.$strip>>;
1387
+ size: z.ZodOptional<z.ZodObject<{
1388
+ width: z.ZodOptional<z.ZodNumber>;
1389
+ height: z.ZodOptional<z.ZodNumber>;
1390
+ }, z.core.$strip>>;
1391
+ }, z.core.$strict>, z.ZodObject<{
1392
+ id: z.ZodDefault<z.ZodUUID>;
1393
+ type: z.ZodLiteral<"service">;
1394
+ alias: z.ZodOptional<z.ZodString>;
1395
+ inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
1396
+ type: z.ZodLiteral<"object">;
1397
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
1398
+ type: z.ZodLiteral<"null">;
1399
+ }, z.core.$strip>, z.ZodIntersection<z.ZodObject<{
1400
+ $ref: z.ZodString;
1401
+ }, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>]>>;
1402
+ inputTypes: z.ZodOptional<z.ZodObject<{
1403
+ input: z.ZodString;
1404
+ output: z.ZodString;
1405
+ }, z.core.$strip>>;
1406
+ name: z.ZodString;
1407
+ version: z.ZodString;
1408
+ configuration: z.ZodOptional<z.ZodAny>;
1409
+ configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
1410
+ ttl: z.ZodOptional<z.ZodNumber>;
1411
+ retry: z.ZodOptional<z.ZodNumber>;
1412
+ retryDelay: z.ZodOptional<z.ZodNumber>;
1413
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1414
+ name: z.ZodNullable<z.ZodString>;
1415
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
1416
+ types: z.ZodOptional<z.ZodObject<{
1417
+ input: z.ZodString;
1418
+ output: z.ZodString;
1419
+ }, z.core.$strip>>;
1420
+ }, z.core.$strip>>>;
1421
+ position: z.ZodDefault<z.ZodObject<{
1422
+ x: z.ZodNumber;
1423
+ y: z.ZodNumber;
1424
+ }, z.core.$strip>>;
1425
+ size: z.ZodOptional<z.ZodObject<{
1426
+ width: z.ZodOptional<z.ZodNumber>;
1427
+ height: z.ZodOptional<z.ZodNumber>;
1428
+ }, z.core.$strip>>;
1429
+ }, z.core.$strict>, z.ZodObject<{
1430
+ id: z.ZodDefault<z.ZodUUID>;
1431
+ type: z.ZodLiteral<"logic">;
1432
+ alias: z.ZodOptional<z.ZodString>;
1433
+ script: z.ZodString;
1434
+ concurrency: z.ZodDefault<z.ZodBoolean>;
1435
+ language: z.ZodDefault<z.ZodEnum<{
1436
+ javascript: "javascript";
1437
+ python: "python";
1438
+ typescript: "typescript";
1439
+ }>>;
1440
+ outputNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
1441
+ maxExecutionTime: z.ZodDefault<z.ZodNumber>;
1442
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1443
+ name: z.ZodNullable<z.ZodString>;
1444
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
1445
+ types: z.ZodOptional<z.ZodObject<{
1446
+ input: z.ZodString;
1447
+ output: z.ZodString;
1448
+ }, z.core.$strip>>;
1449
+ }, z.core.$strip>>>;
1450
+ position: z.ZodDefault<z.ZodObject<{
1451
+ x: z.ZodNumber;
1452
+ y: z.ZodNumber;
1453
+ }, z.core.$strip>>;
1454
+ size: z.ZodOptional<z.ZodObject<{
1455
+ width: z.ZodOptional<z.ZodNumber>;
1456
+ height: z.ZodOptional<z.ZodNumber>;
1457
+ }, z.core.$strip>>;
1458
+ }, z.core.$strict>, z.ZodObject<{
1459
+ id: z.ZodDefault<z.ZodUUID>;
1460
+ type: z.ZodLiteral<"or">;
1461
+ alias: z.ZodOptional<z.ZodString>;
1462
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1463
+ name: z.ZodNullable<z.ZodString>;
1464
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
1465
+ types: z.ZodOptional<z.ZodObject<{
1466
+ input: z.ZodString;
1467
+ output: z.ZodString;
1468
+ }, z.core.$strip>>;
1469
+ }, z.core.$strip>>>;
1470
+ position: z.ZodDefault<z.ZodObject<{
1471
+ x: z.ZodNumber;
1472
+ y: z.ZodNumber;
1473
+ }, z.core.$strip>>;
1474
+ size: z.ZodOptional<z.ZodObject<{
1475
+ width: z.ZodOptional<z.ZodNumber>;
1476
+ height: z.ZodOptional<z.ZodNumber>;
1477
+ }, z.core.$strip>>;
1478
+ }, z.core.$strict>, z.ZodObject<{
1479
+ id: z.ZodDefault<z.ZodUUID>;
1480
+ type: z.ZodLiteral<"reference">;
1481
+ alias: z.ZodOptional<z.ZodString>;
1482
+ reference: z.ZodString;
1483
+ inputTypes: z.ZodOptional<z.ZodObject<{
1484
+ input: z.ZodString;
1485
+ output: z.ZodString;
1486
+ }, z.core.$strip>>;
1487
+ outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
1488
+ name: z.ZodNullable<z.ZodString>;
1489
+ schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
1490
+ types: z.ZodOptional<z.ZodObject<{
1491
+ input: z.ZodString;
1492
+ output: z.ZodString;
1493
+ }, z.core.$strip>>;
1494
+ }, z.core.$strip>>>;
1495
+ position: z.ZodDefault<z.ZodObject<{
1496
+ x: z.ZodNumber;
1497
+ y: z.ZodNumber;
1498
+ }, z.core.$strip>>;
1499
+ size: z.ZodOptional<z.ZodObject<{
1500
+ width: z.ZodOptional<z.ZodNumber>;
1501
+ height: z.ZodOptional<z.ZodNumber>;
1502
+ }, z.core.$strip>>;
1503
+ }, z.core.$strict>, z.ZodObject<{
1504
+ id: z.ZodDefault<z.ZodUUID>;
1505
+ type: z.ZodLiteral<"exit">;
1506
+ alias: z.ZodOptional<z.ZodString>;
1507
+ position: z.ZodDefault<z.ZodObject<{
1508
+ x: z.ZodNumber;
1509
+ y: z.ZodNumber;
1510
+ }, z.core.$strip>>;
1511
+ size: z.ZodOptional<z.ZodObject<{
1512
+ width: z.ZodOptional<z.ZodNumber>;
1513
+ height: z.ZodOptional<z.ZodNumber>;
1514
+ }, z.core.$strip>>;
1515
+ }, z.core.$strict>, z.ZodObject<{
1516
+ id: z.ZodDefault<z.ZodUUID>;
1517
+ type: z.ZodLiteral<"comment">;
1518
+ text: z.ZodDefault<z.ZodString>;
1519
+ alias: z.ZodOptional<z.ZodString>;
1520
+ position: z.ZodDefault<z.ZodObject<{
1521
+ x: z.ZodNumber;
1522
+ y: z.ZodNumber;
1523
+ }, z.core.$strip>>;
1524
+ size: z.ZodOptional<z.ZodObject<{
1525
+ width: z.ZodOptional<z.ZodNumber>;
1526
+ height: z.ZodOptional<z.ZodNumber>;
1527
+ }, z.core.$strip>>;
1528
+ }, z.core.$strip>]>>;
1529
+ edges: z.ZodArray<z.ZodObject<{
1530
+ id: z.ZodUUID;
1531
+ source: z.ZodUUID;
1532
+ sourceHandle: z.ZodNullable<z.ZodString>;
1533
+ target: z.ZodUUID;
1534
+ }, z.core.$strip>>;
1535
+ }, z.core.$strip>;
1536
+ references: z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strip>>;
1537
+ }, z.core.$strip>>>;
1538
+ schemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
1539
+ }, z.core.$strip>;
1540
+ export type TreeList = z.output<typeof treeListSchema>;
1541
+ export type InputTreeList = z.input<typeof treeListSchema>;
1542
+ //# sourceMappingURL=treeNodes.d.ts.map