@requence/service 1.0.0-alpha.40 → 1.0.0-alpha.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/build/index.js +6 -6
- package/build/index.js.map +3 -3
- package/build/types/helpers/src/index.d.ts +1 -0
- package/build/types/helpers/src/index.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts +1 -1
- package/build/types/helpers/src/jsonschema/mapSchema.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/types.d.ts +1 -0
- package/build/types/helpers/src/jsonschema/types.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/validate.d.ts +3 -0
- package/build/types/helpers/src/jsonschema/validate.d.ts.map +1 -1
- package/build/types/helpers/src/jsonschema/zod.d.ts +6 -2
- package/build/types/helpers/src/jsonschema/zod.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/NodeTree.d.ts +139 -107
- package/build/types/helpers/src/protocol/NodeTree.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/command.d.ts +126 -108
- package/build/types/helpers/src/protocol/command.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/helpers.d.ts +2 -0
- package/build/types/helpers/src/protocol/helpers.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/index.d.ts +1 -1
- package/build/types/helpers/src/protocol/index.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/nodeType.d.ts +57 -171
- package/build/types/helpers/src/protocol/nodeType.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/taskOptions.d.ts +5 -4
- package/build/types/helpers/src/protocol/taskOptions.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/templateNodeTypes.d.ts +235 -0
- package/build/types/helpers/src/protocol/templateNodeTypes.d.ts.map +1 -0
- package/build/types/helpers/src/protocol/treeNodes.d.ts +352 -156
- package/build/types/helpers/src/protocol/treeNodes.d.ts.map +1 -1
- package/build/types/helpers/src/protocol/update.d.ts +28 -1
- package/build/types/helpers/src/protocol/update.d.ts.map +1 -1
- package/build/types/service/src/createAmqpConnection.d.ts +2 -3
- package/build/types/service/src/createAmqpConnection.d.ts.map +1 -1
- package/package.json +6 -3
- package/build/types/helpers/src/protocol/targetNodes.d.ts +0 -253
- package/build/types/helpers/src/protocol/targetNodes.d.ts.map +0 -1
|
@@ -1,15 +1,92 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
|
-
|
|
3
|
-
export declare const treeNodesSchema: z.ZodPipe<z.ZodObject<{
|
|
2
|
+
export declare const treeSchema: z.ZodObject<{
|
|
4
3
|
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
4
|
id: z.ZodDefault<z.ZodUUID>;
|
|
6
5
|
type: z.ZodLiteral<"entry">;
|
|
7
6
|
alias: z.ZodOptional<z.ZodString>;
|
|
8
7
|
inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
8
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
10
|
+
type: z.ZodLiteral<"service">;
|
|
11
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
12
|
+
inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
13
|
+
type: z.ZodLiteral<"object">;
|
|
14
|
+
}, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
|
|
15
|
+
type: z.ZodLiteral<"null">;
|
|
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>>]>>;
|
|
19
|
+
name: z.ZodString;
|
|
20
|
+
version: z.ZodString;
|
|
21
|
+
configuration: z.ZodOptional<z.ZodAny>;
|
|
22
|
+
configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
23
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
retry: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
27
|
+
name: z.ZodNullable<z.ZodString>;
|
|
28
|
+
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
31
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
32
|
+
type: z.ZodLiteral<"logic">;
|
|
33
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
34
|
+
script: z.ZodString;
|
|
35
|
+
concurrency: z.ZodDefault<z.ZodBoolean>;
|
|
36
|
+
language: z.ZodDefault<z.ZodEnum<{
|
|
37
|
+
javascript: "javascript";
|
|
38
|
+
python: "python";
|
|
39
|
+
typescript: "typescript";
|
|
40
|
+
}>>;
|
|
41
|
+
maxExecutionTime: z.ZodDefault<z.ZodNumber>;
|
|
42
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
43
|
+
name: z.ZodNullable<z.ZodString>;
|
|
44
|
+
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
47
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
48
|
+
type: z.ZodLiteral<"or">;
|
|
49
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
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>>]>>;
|
|
9
62
|
outputs: z.ZodArray<z.ZodObject<{
|
|
10
|
-
name: z.ZodNullable<z.
|
|
63
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
64
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
12
65
|
}, z.core.$strip>>;
|
|
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>>;
|
|
13
90
|
}, z.core.$strict>, z.ZodObject<{
|
|
14
91
|
id: z.ZodDefault<z.ZodUUID>;
|
|
15
92
|
type: z.ZodLiteral<"service">;
|
|
@@ -18,7 +95,9 @@ export declare const treeNodesSchema: z.ZodPipe<z.ZodObject<{
|
|
|
18
95
|
type: z.ZodLiteral<"object">;
|
|
19
96
|
}, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
|
|
20
97
|
type: z.ZodLiteral<"null">;
|
|
21
|
-
}, z.core.$strip
|
|
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>>]>>;
|
|
22
101
|
name: z.ZodString;
|
|
23
102
|
version: z.ZodString;
|
|
24
103
|
configuration: z.ZodOptional<z.ZodAny>;
|
|
@@ -27,7 +106,7 @@ export declare const treeNodesSchema: z.ZodPipe<z.ZodObject<{
|
|
|
27
106
|
retry: z.ZodOptional<z.ZodNumber>;
|
|
28
107
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
29
108
|
outputs: z.ZodArray<z.ZodObject<{
|
|
30
|
-
name: z.ZodNullable<z.
|
|
109
|
+
name: z.ZodNullable<z.ZodString>;
|
|
31
110
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
32
111
|
}, z.core.$strip>>;
|
|
33
112
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -43,51 +122,134 @@ export declare const treeNodesSchema: z.ZodPipe<z.ZodObject<{
|
|
|
43
122
|
}>>;
|
|
44
123
|
maxExecutionTime: z.ZodDefault<z.ZodNumber>;
|
|
45
124
|
outputs: z.ZodArray<z.ZodObject<{
|
|
46
|
-
name: z.ZodNullable<z.
|
|
125
|
+
name: z.ZodNullable<z.ZodString>;
|
|
47
126
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
48
127
|
}, z.core.$strip>>;
|
|
49
128
|
}, z.core.$strict>, z.ZodObject<{
|
|
50
129
|
id: z.ZodDefault<z.ZodUUID>;
|
|
51
130
|
type: z.ZodLiteral<"or">;
|
|
52
131
|
alias: z.ZodOptional<z.ZodString>;
|
|
132
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
133
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
134
|
+
type: z.ZodLiteral<"reference">;
|
|
135
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
136
|
+
reference: z.ZodString;
|
|
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>>]>>;
|
|
53
144
|
outputs: z.ZodArray<z.ZodObject<{
|
|
54
|
-
name: z.ZodNullable<z.
|
|
145
|
+
name: z.ZodNullable<z.ZodString>;
|
|
55
146
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
56
147
|
}, z.core.$strip>>;
|
|
148
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
149
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
150
|
+
type: z.ZodLiteral<"exit">;
|
|
151
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
153
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
154
|
+
type: z.ZodLiteral<"comment">;
|
|
155
|
+
text: z.ZodDefault<z.ZodString>;
|
|
156
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
157
|
+
}, z.core.$strip>], "type">>;
|
|
158
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
159
|
+
id: z.ZodUUID;
|
|
160
|
+
source: z.ZodUUID;
|
|
161
|
+
sourceHandle: z.ZodNullable<z.ZodString>;
|
|
162
|
+
target: z.ZodUUID;
|
|
163
|
+
}, z.core.$strip>>;
|
|
164
|
+
allowMultipleOutputs: z.ZodDefault<z.ZodBoolean>;
|
|
165
|
+
}, z.core.$strict>;
|
|
166
|
+
export type ExtendendTree = z.output<typeof extendedTreeSchema>;
|
|
167
|
+
export declare const validatedTreeSchema: z.ZodPipe<z.ZodObject<{
|
|
168
|
+
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
169
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
170
|
+
type: z.ZodLiteral<"entry">;
|
|
171
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
172
|
+
inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
173
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
174
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
175
|
+
type: z.ZodLiteral<"service">;
|
|
176
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
177
|
+
inputSchema: z.ZodDefault<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
178
|
+
type: z.ZodLiteral<"object">;
|
|
179
|
+
}, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
|
|
180
|
+
type: z.ZodLiteral<"null">;
|
|
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>>]>>;
|
|
184
|
+
name: z.ZodString;
|
|
185
|
+
version: z.ZodString;
|
|
186
|
+
configuration: z.ZodOptional<z.ZodAny>;
|
|
187
|
+
configurationSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
188
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
189
|
+
retry: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
192
|
+
name: z.ZodNullable<z.ZodString>;
|
|
193
|
+
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
194
|
+
}, z.core.$strip>>;
|
|
195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
196
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
197
|
+
type: z.ZodLiteral<"logic">;
|
|
198
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
199
|
+
script: z.ZodString;
|
|
200
|
+
concurrency: z.ZodDefault<z.ZodBoolean>;
|
|
201
|
+
language: z.ZodDefault<z.ZodEnum<{
|
|
202
|
+
javascript: "javascript";
|
|
203
|
+
python: "python";
|
|
204
|
+
typescript: "typescript";
|
|
205
|
+
}>>;
|
|
206
|
+
maxExecutionTime: z.ZodDefault<z.ZodNumber>;
|
|
207
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
208
|
+
name: z.ZodNullable<z.ZodString>;
|
|
209
|
+
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
210
|
+
}, z.core.$strip>>;
|
|
211
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
212
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
213
|
+
type: z.ZodLiteral<"or">;
|
|
214
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
57
215
|
}, z.core.$strict>, z.ZodObject<{
|
|
58
216
|
id: z.ZodDefault<z.ZodUUID>;
|
|
59
217
|
type: z.ZodLiteral<"reference">;
|
|
60
218
|
alias: z.ZodOptional<z.ZodString>;
|
|
61
219
|
reference: z.ZodString;
|
|
62
|
-
|
|
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>>]>>;
|
|
63
227
|
outputs: z.ZodArray<z.ZodObject<{
|
|
64
|
-
name: z.ZodNullable<z.
|
|
228
|
+
name: z.ZodNullable<z.ZodString>;
|
|
65
229
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
66
230
|
}, z.core.$strip>>;
|
|
67
231
|
}, z.core.$strict>, z.ZodObject<{
|
|
68
232
|
id: z.ZodDefault<z.ZodUUID>;
|
|
69
233
|
type: z.ZodLiteral<"exit">;
|
|
70
234
|
alias: z.ZodOptional<z.ZodString>;
|
|
71
|
-
}, z.core.$strict
|
|
235
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
236
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
237
|
+
type: z.ZodLiteral<"comment">;
|
|
238
|
+
text: z.ZodDefault<z.ZodString>;
|
|
239
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
240
|
+
}, z.core.$strip>], "type">>;
|
|
72
241
|
edges: z.ZodArray<z.ZodObject<{
|
|
242
|
+
id: z.ZodUUID;
|
|
73
243
|
source: z.ZodUUID;
|
|
74
|
-
sourceHandle: z.ZodNullable<z.
|
|
244
|
+
sourceHandle: z.ZodNullable<z.ZodString>;
|
|
75
245
|
target: z.ZodUUID;
|
|
76
246
|
}, z.core.$strip>>;
|
|
77
247
|
allowMultipleOutputs: z.ZodDefault<z.ZodBoolean>;
|
|
78
248
|
}, z.core.$strict>, z.ZodTransform<{
|
|
79
249
|
nodes: ({
|
|
80
|
-
id: string;
|
|
81
|
-
type: "exit";
|
|
82
|
-
alias?: string | undefined;
|
|
83
|
-
} | {
|
|
84
250
|
id: string;
|
|
85
251
|
type: "entry";
|
|
86
252
|
inputSchema: import("json-schema").JSONSchema7;
|
|
87
|
-
outputs: {
|
|
88
|
-
name: string | typeof ERROR | null;
|
|
89
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
90
|
-
}[];
|
|
91
253
|
alias?: string | undefined;
|
|
92
254
|
} | {
|
|
93
255
|
id: string;
|
|
@@ -96,12 +258,14 @@ export declare const treeNodesSchema: z.ZodPipe<z.ZodObject<{
|
|
|
96
258
|
type: "object";
|
|
97
259
|
} & import("json-schema").JSONSchema7) | {
|
|
98
260
|
type: "null";
|
|
99
|
-
}
|
|
261
|
+
} | ({
|
|
262
|
+
$ref: string;
|
|
263
|
+
} & import("json-schema").JSONSchema7);
|
|
100
264
|
name: string;
|
|
101
265
|
version: string;
|
|
102
266
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
103
267
|
outputs: {
|
|
104
|
-
name: string |
|
|
268
|
+
name: string | null;
|
|
105
269
|
schema: import("json-schema").JSONSchema7 | null;
|
|
106
270
|
}[];
|
|
107
271
|
alias?: string | undefined;
|
|
@@ -117,47 +281,51 @@ export declare const treeNodesSchema: z.ZodPipe<z.ZodObject<{
|
|
|
117
281
|
language: "javascript" | "python" | "typescript";
|
|
118
282
|
maxExecutionTime: number;
|
|
119
283
|
outputs: {
|
|
120
|
-
name: string |
|
|
284
|
+
name: string | null;
|
|
121
285
|
schema: import("json-schema").JSONSchema7 | null;
|
|
122
286
|
}[];
|
|
123
287
|
alias?: string | undefined;
|
|
124
288
|
} | {
|
|
125
289
|
id: string;
|
|
126
290
|
type: "or";
|
|
127
|
-
outputs: {
|
|
128
|
-
name: string | typeof ERROR | null;
|
|
129
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
130
|
-
}[];
|
|
131
291
|
alias?: string | undefined;
|
|
132
292
|
} | {
|
|
133
293
|
id: string;
|
|
134
294
|
type: "reference";
|
|
135
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);
|
|
136
303
|
outputs: {
|
|
137
|
-
name: string |
|
|
304
|
+
name: string | null;
|
|
138
305
|
schema: import("json-schema").JSONSchema7 | null;
|
|
139
306
|
}[];
|
|
140
307
|
alias?: string | undefined;
|
|
141
|
-
|
|
308
|
+
} | {
|
|
309
|
+
id: string;
|
|
310
|
+
type: "exit";
|
|
311
|
+
alias?: string | undefined;
|
|
312
|
+
} | {
|
|
313
|
+
id: string;
|
|
314
|
+
type: "comment";
|
|
315
|
+
text: string;
|
|
316
|
+
alias?: string | undefined;
|
|
142
317
|
})[];
|
|
143
318
|
edges: {
|
|
319
|
+
id: string;
|
|
144
320
|
source: string;
|
|
145
|
-
sourceHandle: string |
|
|
321
|
+
sourceHandle: string | null;
|
|
146
322
|
target: string;
|
|
147
323
|
}[];
|
|
148
324
|
}, {
|
|
149
325
|
nodes: ({
|
|
150
|
-
id: string;
|
|
151
|
-
type: "exit";
|
|
152
|
-
alias?: string | undefined;
|
|
153
|
-
} | {
|
|
154
326
|
id: string;
|
|
155
327
|
type: "entry";
|
|
156
328
|
inputSchema: import("json-schema").JSONSchema7;
|
|
157
|
-
outputs: {
|
|
158
|
-
name: string | typeof ERROR | null;
|
|
159
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
160
|
-
}[];
|
|
161
329
|
alias?: string | undefined;
|
|
162
330
|
} | {
|
|
163
331
|
id: string;
|
|
@@ -166,12 +334,14 @@ export declare const treeNodesSchema: z.ZodPipe<z.ZodObject<{
|
|
|
166
334
|
type: "object";
|
|
167
335
|
} & import("json-schema").JSONSchema7) | {
|
|
168
336
|
type: "null";
|
|
169
|
-
}
|
|
337
|
+
} | ({
|
|
338
|
+
$ref: string;
|
|
339
|
+
} & import("json-schema").JSONSchema7);
|
|
170
340
|
name: string;
|
|
171
341
|
version: string;
|
|
172
342
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
173
343
|
outputs: {
|
|
174
|
-
name: string |
|
|
344
|
+
name: string | null;
|
|
175
345
|
schema: import("json-schema").JSONSchema7 | null;
|
|
176
346
|
}[];
|
|
177
347
|
alias?: string | undefined;
|
|
@@ -187,32 +357,44 @@ export declare const treeNodesSchema: z.ZodPipe<z.ZodObject<{
|
|
|
187
357
|
language: "javascript" | "python" | "typescript";
|
|
188
358
|
maxExecutionTime: number;
|
|
189
359
|
outputs: {
|
|
190
|
-
name: string |
|
|
360
|
+
name: string | null;
|
|
191
361
|
schema: import("json-schema").JSONSchema7 | null;
|
|
192
362
|
}[];
|
|
193
363
|
alias?: string | undefined;
|
|
194
364
|
} | {
|
|
195
365
|
id: string;
|
|
196
366
|
type: "or";
|
|
197
|
-
outputs: {
|
|
198
|
-
name: string | typeof ERROR | null;
|
|
199
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
200
|
-
}[];
|
|
201
367
|
alias?: string | undefined;
|
|
202
368
|
} | {
|
|
203
369
|
id: string;
|
|
204
370
|
type: "reference";
|
|
205
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);
|
|
206
379
|
outputs: {
|
|
207
|
-
name: string |
|
|
380
|
+
name: string | null;
|
|
208
381
|
schema: import("json-schema").JSONSchema7 | null;
|
|
209
382
|
}[];
|
|
210
383
|
alias?: string | undefined;
|
|
211
|
-
|
|
384
|
+
} | {
|
|
385
|
+
id: string;
|
|
386
|
+
type: "exit";
|
|
387
|
+
alias?: string | undefined;
|
|
388
|
+
} | {
|
|
389
|
+
id: string;
|
|
390
|
+
type: "comment";
|
|
391
|
+
text: string;
|
|
392
|
+
alias?: string | undefined;
|
|
212
393
|
})[];
|
|
213
394
|
edges: {
|
|
395
|
+
id: string;
|
|
214
396
|
source: string;
|
|
215
|
-
sourceHandle: string |
|
|
397
|
+
sourceHandle: string | null;
|
|
216
398
|
target: string;
|
|
217
399
|
}[];
|
|
218
400
|
allowMultipleOutputs: boolean;
|
|
@@ -222,20 +404,12 @@ export declare const treeReferenceSchema: z.ZodObject<{
|
|
|
222
404
|
options: z.ZodObject<{
|
|
223
405
|
maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
224
406
|
compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
225
|
-
|
|
407
|
+
MCP_TOOL: "MCP_TOOL";
|
|
226
408
|
}>>>;
|
|
227
409
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
228
|
-
|
|
229
|
-
|
|
410
|
+
LINEAR: "LINEAR";
|
|
411
|
+
CONTINUOUS: "CONTINUOUS";
|
|
230
412
|
}>>;
|
|
231
|
-
priority: z.ZodDefault<z.ZodInt>;
|
|
232
|
-
uploadUrl: z.ZodOptional<z.ZodString>;
|
|
233
|
-
streamUrl: z.ZodOptional<z.ZodString>;
|
|
234
|
-
referencedBy: z.ZodOptional<z.ZodObject<{
|
|
235
|
-
taskId: z.ZodUUID;
|
|
236
|
-
nodeId: z.ZodUUID;
|
|
237
|
-
messageId: z.ZodUUID;
|
|
238
|
-
}, z.core.$strip>>;
|
|
239
413
|
}, z.core.$strip>;
|
|
240
414
|
tree: z.ZodObject<{
|
|
241
415
|
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -243,10 +417,6 @@ export declare const treeReferenceSchema: z.ZodObject<{
|
|
|
243
417
|
type: z.ZodLiteral<"entry">;
|
|
244
418
|
alias: z.ZodOptional<z.ZodString>;
|
|
245
419
|
inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
246
|
-
outputs: z.ZodArray<z.ZodObject<{
|
|
247
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof ERROR, typeof ERROR>]>>;
|
|
248
|
-
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
249
|
-
}, z.core.$strip>>;
|
|
250
420
|
}, z.core.$strict>, z.ZodObject<{
|
|
251
421
|
id: z.ZodDefault<z.ZodUUID>;
|
|
252
422
|
type: z.ZodLiteral<"service">;
|
|
@@ -255,7 +425,9 @@ export declare const treeReferenceSchema: z.ZodObject<{
|
|
|
255
425
|
type: z.ZodLiteral<"object">;
|
|
256
426
|
}, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
|
|
257
427
|
type: z.ZodLiteral<"null">;
|
|
258
|
-
}, 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>>]>>;
|
|
259
431
|
name: z.ZodString;
|
|
260
432
|
version: z.ZodString;
|
|
261
433
|
configuration: z.ZodOptional<z.ZodAny>;
|
|
@@ -264,7 +436,7 @@ export declare const treeReferenceSchema: z.ZodObject<{
|
|
|
264
436
|
retry: z.ZodOptional<z.ZodNumber>;
|
|
265
437
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
266
438
|
outputs: z.ZodArray<z.ZodObject<{
|
|
267
|
-
name: z.ZodNullable<z.
|
|
439
|
+
name: z.ZodNullable<z.ZodString>;
|
|
268
440
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
269
441
|
}, z.core.$strip>>;
|
|
270
442
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -280,52 +452,55 @@ export declare const treeReferenceSchema: z.ZodObject<{
|
|
|
280
452
|
}>>;
|
|
281
453
|
maxExecutionTime: z.ZodDefault<z.ZodNumber>;
|
|
282
454
|
outputs: z.ZodArray<z.ZodObject<{
|
|
283
|
-
name: z.ZodNullable<z.
|
|
455
|
+
name: z.ZodNullable<z.ZodString>;
|
|
284
456
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
285
457
|
}, z.core.$strip>>;
|
|
286
458
|
}, z.core.$strict>, z.ZodObject<{
|
|
287
459
|
id: z.ZodDefault<z.ZodUUID>;
|
|
288
460
|
type: z.ZodLiteral<"or">;
|
|
289
461
|
alias: z.ZodOptional<z.ZodString>;
|
|
290
|
-
outputs: z.ZodArray<z.ZodObject<{
|
|
291
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof ERROR, typeof ERROR>]>>;
|
|
292
|
-
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
293
|
-
}, z.core.$strip>>;
|
|
294
462
|
}, z.core.$strict>, z.ZodObject<{
|
|
295
463
|
id: z.ZodDefault<z.ZodUUID>;
|
|
296
464
|
type: z.ZodLiteral<"reference">;
|
|
297
465
|
alias: z.ZodOptional<z.ZodString>;
|
|
298
466
|
reference: z.ZodString;
|
|
299
|
-
|
|
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>>]>>;
|
|
300
474
|
outputs: z.ZodArray<z.ZodObject<{
|
|
301
|
-
name: z.ZodNullable<z.
|
|
475
|
+
name: z.ZodNullable<z.ZodString>;
|
|
302
476
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
303
477
|
}, z.core.$strip>>;
|
|
304
478
|
}, z.core.$strict>, z.ZodObject<{
|
|
305
479
|
id: z.ZodDefault<z.ZodUUID>;
|
|
306
480
|
type: z.ZodLiteral<"exit">;
|
|
307
481
|
alias: z.ZodOptional<z.ZodString>;
|
|
308
|
-
}, z.core.$strict
|
|
482
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
483
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
484
|
+
type: z.ZodLiteral<"comment">;
|
|
485
|
+
text: z.ZodDefault<z.ZodString>;
|
|
486
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
487
|
+
}, z.core.$strip>], "type">>;
|
|
309
488
|
edges: z.ZodArray<z.ZodObject<{
|
|
489
|
+
id: z.ZodUUID;
|
|
310
490
|
source: z.ZodUUID;
|
|
311
|
-
sourceHandle: z.ZodNullable<z.
|
|
491
|
+
sourceHandle: z.ZodNullable<z.ZodString>;
|
|
312
492
|
target: z.ZodUUID;
|
|
313
493
|
}, z.core.$strip>>;
|
|
314
494
|
}, z.core.$strip>;
|
|
315
|
-
references: z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strip>>;
|
|
316
495
|
}, z.core.$strip>;
|
|
317
|
-
export type TreeReference = z.
|
|
318
|
-
export declare const
|
|
496
|
+
export type TreeReference = z.output<typeof treeReferenceSchema>;
|
|
497
|
+
export declare const treeListSchema: z.ZodObject<{
|
|
319
498
|
tree: z.ZodPipe<z.ZodObject<{
|
|
320
499
|
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
321
500
|
id: z.ZodDefault<z.ZodUUID>;
|
|
322
501
|
type: z.ZodLiteral<"entry">;
|
|
323
502
|
alias: z.ZodOptional<z.ZodString>;
|
|
324
503
|
inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
325
|
-
outputs: z.ZodArray<z.ZodObject<{
|
|
326
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof ERROR, typeof ERROR>]>>;
|
|
327
|
-
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
328
|
-
}, z.core.$strip>>;
|
|
329
504
|
}, z.core.$strict>, z.ZodObject<{
|
|
330
505
|
id: z.ZodDefault<z.ZodUUID>;
|
|
331
506
|
type: z.ZodLiteral<"service">;
|
|
@@ -334,7 +509,9 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
334
509
|
type: z.ZodLiteral<"object">;
|
|
335
510
|
}, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
|
|
336
511
|
type: z.ZodLiteral<"null">;
|
|
337
|
-
}, 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>>]>>;
|
|
338
515
|
name: z.ZodString;
|
|
339
516
|
version: z.ZodString;
|
|
340
517
|
configuration: z.ZodOptional<z.ZodAny>;
|
|
@@ -343,7 +520,7 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
343
520
|
retry: z.ZodOptional<z.ZodNumber>;
|
|
344
521
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
345
522
|
outputs: z.ZodArray<z.ZodObject<{
|
|
346
|
-
name: z.ZodNullable<z.
|
|
523
|
+
name: z.ZodNullable<z.ZodString>;
|
|
347
524
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
348
525
|
}, z.core.$strip>>;
|
|
349
526
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -359,51 +536,51 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
359
536
|
}>>;
|
|
360
537
|
maxExecutionTime: z.ZodDefault<z.ZodNumber>;
|
|
361
538
|
outputs: z.ZodArray<z.ZodObject<{
|
|
362
|
-
name: z.ZodNullable<z.
|
|
539
|
+
name: z.ZodNullable<z.ZodString>;
|
|
363
540
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
364
541
|
}, z.core.$strip>>;
|
|
365
542
|
}, z.core.$strict>, z.ZodObject<{
|
|
366
543
|
id: z.ZodDefault<z.ZodUUID>;
|
|
367
544
|
type: z.ZodLiteral<"or">;
|
|
368
545
|
alias: z.ZodOptional<z.ZodString>;
|
|
369
|
-
outputs: z.ZodArray<z.ZodObject<{
|
|
370
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof ERROR, typeof ERROR>]>>;
|
|
371
|
-
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
372
|
-
}, z.core.$strip>>;
|
|
373
546
|
}, z.core.$strict>, z.ZodObject<{
|
|
374
547
|
id: z.ZodDefault<z.ZodUUID>;
|
|
375
548
|
type: z.ZodLiteral<"reference">;
|
|
376
549
|
alias: z.ZodOptional<z.ZodString>;
|
|
377
550
|
reference: z.ZodString;
|
|
378
|
-
|
|
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>>]>>;
|
|
379
558
|
outputs: z.ZodArray<z.ZodObject<{
|
|
380
|
-
name: z.ZodNullable<z.
|
|
559
|
+
name: z.ZodNullable<z.ZodString>;
|
|
381
560
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
382
561
|
}, z.core.$strip>>;
|
|
383
562
|
}, z.core.$strict>, z.ZodObject<{
|
|
384
563
|
id: z.ZodDefault<z.ZodUUID>;
|
|
385
564
|
type: z.ZodLiteral<"exit">;
|
|
386
565
|
alias: z.ZodOptional<z.ZodString>;
|
|
387
|
-
}, z.core.$strict
|
|
566
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
567
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
568
|
+
type: z.ZodLiteral<"comment">;
|
|
569
|
+
text: z.ZodDefault<z.ZodString>;
|
|
570
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
571
|
+
}, z.core.$strip>], "type">>;
|
|
388
572
|
edges: z.ZodArray<z.ZodObject<{
|
|
573
|
+
id: z.ZodUUID;
|
|
389
574
|
source: z.ZodUUID;
|
|
390
|
-
sourceHandle: z.ZodNullable<z.
|
|
575
|
+
sourceHandle: z.ZodNullable<z.ZodString>;
|
|
391
576
|
target: z.ZodUUID;
|
|
392
577
|
}, z.core.$strip>>;
|
|
393
578
|
allowMultipleOutputs: z.ZodDefault<z.ZodBoolean>;
|
|
394
579
|
}, z.core.$strict>, z.ZodTransform<{
|
|
395
580
|
nodes: ({
|
|
396
|
-
id: string;
|
|
397
|
-
type: "exit";
|
|
398
|
-
alias?: string | undefined;
|
|
399
|
-
} | {
|
|
400
581
|
id: string;
|
|
401
582
|
type: "entry";
|
|
402
583
|
inputSchema: import("json-schema").JSONSchema7;
|
|
403
|
-
outputs: {
|
|
404
|
-
name: string | typeof ERROR | null;
|
|
405
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
406
|
-
}[];
|
|
407
584
|
alias?: string | undefined;
|
|
408
585
|
} | {
|
|
409
586
|
id: string;
|
|
@@ -412,12 +589,14 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
412
589
|
type: "object";
|
|
413
590
|
} & import("json-schema").JSONSchema7) | {
|
|
414
591
|
type: "null";
|
|
415
|
-
}
|
|
592
|
+
} | ({
|
|
593
|
+
$ref: string;
|
|
594
|
+
} & import("json-schema").JSONSchema7);
|
|
416
595
|
name: string;
|
|
417
596
|
version: string;
|
|
418
597
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
419
598
|
outputs: {
|
|
420
|
-
name: string |
|
|
599
|
+
name: string | null;
|
|
421
600
|
schema: import("json-schema").JSONSchema7 | null;
|
|
422
601
|
}[];
|
|
423
602
|
alias?: string | undefined;
|
|
@@ -433,47 +612,51 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
433
612
|
language: "javascript" | "python" | "typescript";
|
|
434
613
|
maxExecutionTime: number;
|
|
435
614
|
outputs: {
|
|
436
|
-
name: string |
|
|
615
|
+
name: string | null;
|
|
437
616
|
schema: import("json-schema").JSONSchema7 | null;
|
|
438
617
|
}[];
|
|
439
618
|
alias?: string | undefined;
|
|
440
619
|
} | {
|
|
441
620
|
id: string;
|
|
442
621
|
type: "or";
|
|
443
|
-
outputs: {
|
|
444
|
-
name: string | typeof ERROR | null;
|
|
445
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
446
|
-
}[];
|
|
447
622
|
alias?: string | undefined;
|
|
448
623
|
} | {
|
|
449
624
|
id: string;
|
|
450
625
|
type: "reference";
|
|
451
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);
|
|
452
634
|
outputs: {
|
|
453
|
-
name: string |
|
|
635
|
+
name: string | null;
|
|
454
636
|
schema: import("json-schema").JSONSchema7 | null;
|
|
455
637
|
}[];
|
|
456
638
|
alias?: string | undefined;
|
|
457
|
-
|
|
639
|
+
} | {
|
|
640
|
+
id: string;
|
|
641
|
+
type: "exit";
|
|
642
|
+
alias?: string | undefined;
|
|
643
|
+
} | {
|
|
644
|
+
id: string;
|
|
645
|
+
type: "comment";
|
|
646
|
+
text: string;
|
|
647
|
+
alias?: string | undefined;
|
|
458
648
|
})[];
|
|
459
649
|
edges: {
|
|
650
|
+
id: string;
|
|
460
651
|
source: string;
|
|
461
|
-
sourceHandle: string |
|
|
652
|
+
sourceHandle: string | null;
|
|
462
653
|
target: string;
|
|
463
654
|
}[];
|
|
464
655
|
}, {
|
|
465
656
|
nodes: ({
|
|
466
|
-
id: string;
|
|
467
|
-
type: "exit";
|
|
468
|
-
alias?: string | undefined;
|
|
469
|
-
} | {
|
|
470
657
|
id: string;
|
|
471
658
|
type: "entry";
|
|
472
659
|
inputSchema: import("json-schema").JSONSchema7;
|
|
473
|
-
outputs: {
|
|
474
|
-
name: string | typeof ERROR | null;
|
|
475
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
476
|
-
}[];
|
|
477
660
|
alias?: string | undefined;
|
|
478
661
|
} | {
|
|
479
662
|
id: string;
|
|
@@ -482,12 +665,14 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
482
665
|
type: "object";
|
|
483
666
|
} & import("json-schema").JSONSchema7) | {
|
|
484
667
|
type: "null";
|
|
485
|
-
}
|
|
668
|
+
} | ({
|
|
669
|
+
$ref: string;
|
|
670
|
+
} & import("json-schema").JSONSchema7);
|
|
486
671
|
name: string;
|
|
487
672
|
version: string;
|
|
488
673
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
489
674
|
outputs: {
|
|
490
|
-
name: string |
|
|
675
|
+
name: string | null;
|
|
491
676
|
schema: import("json-schema").JSONSchema7 | null;
|
|
492
677
|
}[];
|
|
493
678
|
alias?: string | undefined;
|
|
@@ -503,32 +688,44 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
503
688
|
language: "javascript" | "python" | "typescript";
|
|
504
689
|
maxExecutionTime: number;
|
|
505
690
|
outputs: {
|
|
506
|
-
name: string |
|
|
691
|
+
name: string | null;
|
|
507
692
|
schema: import("json-schema").JSONSchema7 | null;
|
|
508
693
|
}[];
|
|
509
694
|
alias?: string | undefined;
|
|
510
695
|
} | {
|
|
511
696
|
id: string;
|
|
512
697
|
type: "or";
|
|
513
|
-
outputs: {
|
|
514
|
-
name: string | typeof ERROR | null;
|
|
515
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
516
|
-
}[];
|
|
517
698
|
alias?: string | undefined;
|
|
518
699
|
} | {
|
|
519
700
|
id: string;
|
|
520
701
|
type: "reference";
|
|
521
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);
|
|
522
710
|
outputs: {
|
|
523
|
-
name: string |
|
|
711
|
+
name: string | null;
|
|
524
712
|
schema: import("json-schema").JSONSchema7 | null;
|
|
525
713
|
}[];
|
|
526
714
|
alias?: string | undefined;
|
|
527
|
-
|
|
715
|
+
} | {
|
|
716
|
+
id: string;
|
|
717
|
+
type: "exit";
|
|
718
|
+
alias?: string | undefined;
|
|
719
|
+
} | {
|
|
720
|
+
id: string;
|
|
721
|
+
type: "comment";
|
|
722
|
+
text: string;
|
|
723
|
+
alias?: string | undefined;
|
|
528
724
|
})[];
|
|
529
725
|
edges: {
|
|
726
|
+
id: string;
|
|
530
727
|
source: string;
|
|
531
|
-
sourceHandle: string |
|
|
728
|
+
sourceHandle: string | null;
|
|
532
729
|
target: string;
|
|
533
730
|
}[];
|
|
534
731
|
allowMultipleOutputs: boolean;
|
|
@@ -538,20 +735,12 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
538
735
|
options: z.ZodObject<{
|
|
539
736
|
maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
540
737
|
compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
541
|
-
|
|
738
|
+
MCP_TOOL: "MCP_TOOL";
|
|
542
739
|
}>>>;
|
|
543
740
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
544
|
-
|
|
545
|
-
|
|
741
|
+
LINEAR: "LINEAR";
|
|
742
|
+
CONTINUOUS: "CONTINUOUS";
|
|
546
743
|
}>>;
|
|
547
|
-
priority: z.ZodDefault<z.ZodInt>;
|
|
548
|
-
uploadUrl: z.ZodOptional<z.ZodString>;
|
|
549
|
-
streamUrl: z.ZodOptional<z.ZodString>;
|
|
550
|
-
referencedBy: z.ZodOptional<z.ZodObject<{
|
|
551
|
-
taskId: z.ZodUUID;
|
|
552
|
-
nodeId: z.ZodUUID;
|
|
553
|
-
messageId: z.ZodUUID;
|
|
554
|
-
}, z.core.$strip>>;
|
|
555
744
|
}, z.core.$strip>;
|
|
556
745
|
tree: z.ZodObject<{
|
|
557
746
|
nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -559,10 +748,6 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
559
748
|
type: z.ZodLiteral<"entry">;
|
|
560
749
|
alias: z.ZodOptional<z.ZodString>;
|
|
561
750
|
inputSchema: z.ZodDefault<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
562
|
-
outputs: z.ZodArray<z.ZodObject<{
|
|
563
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof ERROR, typeof ERROR>]>>;
|
|
564
|
-
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
565
|
-
}, z.core.$strip>>;
|
|
566
751
|
}, z.core.$strict>, z.ZodObject<{
|
|
567
752
|
id: z.ZodDefault<z.ZodUUID>;
|
|
568
753
|
type: z.ZodLiteral<"service">;
|
|
@@ -571,7 +756,9 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
571
756
|
type: z.ZodLiteral<"object">;
|
|
572
757
|
}, z.core.$strip>, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>, z.ZodObject<{
|
|
573
758
|
type: z.ZodLiteral<"null">;
|
|
574
|
-
}, 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>>]>>;
|
|
575
762
|
name: z.ZodString;
|
|
576
763
|
version: z.ZodString;
|
|
577
764
|
configuration: z.ZodOptional<z.ZodAny>;
|
|
@@ -580,7 +767,7 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
580
767
|
retry: z.ZodOptional<z.ZodNumber>;
|
|
581
768
|
retryDelay: z.ZodOptional<z.ZodNumber>;
|
|
582
769
|
outputs: z.ZodArray<z.ZodObject<{
|
|
583
|
-
name: z.ZodNullable<z.
|
|
770
|
+
name: z.ZodNullable<z.ZodString>;
|
|
584
771
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
585
772
|
}, z.core.$strip>>;
|
|
586
773
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -596,41 +783,50 @@ export declare const treeNodesListSchema: z.ZodObject<{
|
|
|
596
783
|
}>>;
|
|
597
784
|
maxExecutionTime: z.ZodDefault<z.ZodNumber>;
|
|
598
785
|
outputs: z.ZodArray<z.ZodObject<{
|
|
599
|
-
name: z.ZodNullable<z.
|
|
786
|
+
name: z.ZodNullable<z.ZodString>;
|
|
600
787
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
601
788
|
}, z.core.$strip>>;
|
|
602
789
|
}, z.core.$strict>, z.ZodObject<{
|
|
603
790
|
id: z.ZodDefault<z.ZodUUID>;
|
|
604
791
|
type: z.ZodLiteral<"or">;
|
|
605
792
|
alias: z.ZodOptional<z.ZodString>;
|
|
606
|
-
outputs: z.ZodArray<z.ZodObject<{
|
|
607
|
-
name: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<typeof ERROR, typeof ERROR>]>>;
|
|
608
|
-
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
609
|
-
}, z.core.$strip>>;
|
|
610
793
|
}, z.core.$strict>, z.ZodObject<{
|
|
611
794
|
id: z.ZodDefault<z.ZodUUID>;
|
|
612
795
|
type: z.ZodLiteral<"reference">;
|
|
613
796
|
alias: z.ZodOptional<z.ZodString>;
|
|
614
797
|
reference: z.ZodString;
|
|
615
|
-
|
|
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>>]>>;
|
|
616
805
|
outputs: z.ZodArray<z.ZodObject<{
|
|
617
|
-
name: z.ZodNullable<z.
|
|
806
|
+
name: z.ZodNullable<z.ZodString>;
|
|
618
807
|
schema: z.ZodNullable<z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>;
|
|
619
808
|
}, z.core.$strip>>;
|
|
620
809
|
}, z.core.$strict>, z.ZodObject<{
|
|
621
810
|
id: z.ZodDefault<z.ZodUUID>;
|
|
622
811
|
type: z.ZodLiteral<"exit">;
|
|
623
812
|
alias: z.ZodOptional<z.ZodString>;
|
|
624
|
-
}, z.core.$strict
|
|
813
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
814
|
+
id: z.ZodDefault<z.ZodUUID>;
|
|
815
|
+
type: z.ZodLiteral<"comment">;
|
|
816
|
+
text: z.ZodDefault<z.ZodString>;
|
|
817
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
818
|
+
}, z.core.$strip>], "type">>;
|
|
625
819
|
edges: z.ZodArray<z.ZodObject<{
|
|
820
|
+
id: z.ZodUUID;
|
|
626
821
|
source: z.ZodUUID;
|
|
627
|
-
sourceHandle: z.ZodNullable<z.
|
|
822
|
+
sourceHandle: z.ZodNullable<z.ZodString>;
|
|
628
823
|
target: z.ZodUUID;
|
|
629
824
|
}, z.core.$strip>>;
|
|
630
825
|
}, z.core.$strip>;
|
|
631
|
-
references: z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strip>>;
|
|
632
826
|
}, z.core.$strip>>>;
|
|
827
|
+
schemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<import("json-schema").JSONSchema7, import("json-schema").JSONSchema7>>>;
|
|
633
828
|
}, z.core.$strip>;
|
|
634
|
-
export type TreeList = z.
|
|
635
|
-
export type InputTreeList = z.input<typeof
|
|
829
|
+
export type TreeList = z.output<typeof treeListSchema>;
|
|
830
|
+
export type InputTreeList = z.input<typeof treeListSchema>;
|
|
831
|
+
export {};
|
|
636
832
|
//# sourceMappingURL=treeNodes.d.ts.map
|