@requence/task 1.0.0-alpha.31 → 1.0.0-alpha.32

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