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

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