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

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