@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
|
@@ -12,21 +12,23 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
12
12
|
edges: z.ZodArray<z.ZodAny>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
references: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
15
|
+
schemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15
16
|
}, z.core.$strip>;
|
|
16
17
|
input: z.ZodAny;
|
|
17
18
|
options: z.ZodObject<{
|
|
18
19
|
maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
19
20
|
compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
20
|
-
|
|
21
|
+
MCP_TOOL: "MCP_TOOL";
|
|
21
22
|
}>>>;
|
|
22
23
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
LINEAR: "LINEAR";
|
|
25
|
+
CONTINUOUS: "CONTINUOUS";
|
|
25
26
|
}>>;
|
|
26
27
|
priority: z.ZodDefault<z.ZodInt>;
|
|
27
28
|
uploadUrl: z.ZodOptional<z.ZodString>;
|
|
28
29
|
streamUrl: z.ZodOptional<z.ZodString>;
|
|
29
30
|
referencedBy: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
rootTaskId: z.ZodUUID;
|
|
30
32
|
taskId: z.ZodUUID;
|
|
31
33
|
nodeId: z.ZodUUID;
|
|
32
34
|
messageId: z.ZodUUID;
|
|
@@ -36,17 +38,9 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
36
38
|
treeList: {
|
|
37
39
|
tree: {
|
|
38
40
|
nodes: ({
|
|
39
|
-
id: string;
|
|
40
|
-
type: "exit";
|
|
41
|
-
alias?: string | undefined;
|
|
42
|
-
} | {
|
|
43
41
|
id: string;
|
|
44
42
|
type: "entry";
|
|
45
43
|
inputSchema: import("json-schema").JSONSchema7;
|
|
46
|
-
outputs: {
|
|
47
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
48
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
49
|
-
}[];
|
|
50
44
|
alias?: string | undefined;
|
|
51
45
|
} | {
|
|
52
46
|
id: string;
|
|
@@ -55,12 +49,14 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
55
49
|
type: "object";
|
|
56
50
|
} & import("json-schema").JSONSchema7) | {
|
|
57
51
|
type: "null";
|
|
58
|
-
}
|
|
52
|
+
} | ({
|
|
53
|
+
$ref: string;
|
|
54
|
+
} & import("json-schema").JSONSchema7);
|
|
59
55
|
name: string;
|
|
60
56
|
version: string;
|
|
61
57
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
62
58
|
outputs: {
|
|
63
|
-
name: string |
|
|
59
|
+
name: string | null;
|
|
64
60
|
schema: import("json-schema").JSONSchema7 | null;
|
|
65
61
|
}[];
|
|
66
62
|
alias?: string | undefined;
|
|
@@ -76,32 +72,44 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
76
72
|
language: "javascript" | "python" | "typescript";
|
|
77
73
|
maxExecutionTime: number;
|
|
78
74
|
outputs: {
|
|
79
|
-
name: string |
|
|
75
|
+
name: string | null;
|
|
80
76
|
schema: import("json-schema").JSONSchema7 | null;
|
|
81
77
|
}[];
|
|
82
78
|
alias?: string | undefined;
|
|
83
79
|
} | {
|
|
84
80
|
id: string;
|
|
85
81
|
type: "or";
|
|
86
|
-
outputs: {
|
|
87
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
88
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
89
|
-
}[];
|
|
90
82
|
alias?: string | undefined;
|
|
91
83
|
} | {
|
|
92
84
|
id: string;
|
|
93
85
|
type: "reference";
|
|
94
86
|
reference: string;
|
|
87
|
+
inputSchema: ({
|
|
88
|
+
type: "object";
|
|
89
|
+
} & import("json-schema").JSONSchema7) | {
|
|
90
|
+
type: "null";
|
|
91
|
+
} | ({
|
|
92
|
+
$ref: string;
|
|
93
|
+
} & import("json-schema").JSONSchema7);
|
|
95
94
|
outputs: {
|
|
96
|
-
name: string |
|
|
95
|
+
name: string | null;
|
|
97
96
|
schema: import("json-schema").JSONSchema7 | null;
|
|
98
97
|
}[];
|
|
99
98
|
alias?: string | undefined;
|
|
100
|
-
|
|
99
|
+
} | {
|
|
100
|
+
id: string;
|
|
101
|
+
type: "exit";
|
|
102
|
+
alias?: string | undefined;
|
|
103
|
+
} | {
|
|
104
|
+
id: string;
|
|
105
|
+
type: "comment";
|
|
106
|
+
text: string;
|
|
107
|
+
alias?: string | undefined;
|
|
101
108
|
})[];
|
|
102
109
|
edges: {
|
|
110
|
+
id: string;
|
|
103
111
|
source: string;
|
|
104
|
-
sourceHandle: string |
|
|
112
|
+
sourceHandle: string | null;
|
|
105
113
|
target: string;
|
|
106
114
|
}[];
|
|
107
115
|
};
|
|
@@ -109,30 +117,14 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
109
117
|
id: string;
|
|
110
118
|
options: {
|
|
111
119
|
maxExecutions: number;
|
|
112
|
-
compliance: "
|
|
113
|
-
mode: "
|
|
114
|
-
priority: number;
|
|
115
|
-
uploadUrl?: string | undefined;
|
|
116
|
-
streamUrl?: string | undefined;
|
|
117
|
-
referencedBy?: {
|
|
118
|
-
taskId: string;
|
|
119
|
-
nodeId: string;
|
|
120
|
-
messageId: string;
|
|
121
|
-
} | undefined;
|
|
120
|
+
compliance: "MCP_TOOL" | null;
|
|
121
|
+
mode: "LINEAR" | "CONTINUOUS";
|
|
122
122
|
};
|
|
123
123
|
tree: {
|
|
124
124
|
nodes: ({
|
|
125
|
-
id: string;
|
|
126
|
-
type: "exit";
|
|
127
|
-
alias?: string | undefined;
|
|
128
|
-
} | {
|
|
129
125
|
id: string;
|
|
130
126
|
type: "entry";
|
|
131
127
|
inputSchema: import("json-schema").JSONSchema7;
|
|
132
|
-
outputs: {
|
|
133
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
134
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
135
|
-
}[];
|
|
136
128
|
alias?: string | undefined;
|
|
137
129
|
} | {
|
|
138
130
|
id: string;
|
|
@@ -141,12 +133,14 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
141
133
|
type: "object";
|
|
142
134
|
} & import("json-schema").JSONSchema7) | {
|
|
143
135
|
type: "null";
|
|
144
|
-
}
|
|
136
|
+
} | ({
|
|
137
|
+
$ref: string;
|
|
138
|
+
} & import("json-schema").JSONSchema7);
|
|
145
139
|
name: string;
|
|
146
140
|
version: string;
|
|
147
141
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
148
142
|
outputs: {
|
|
149
|
-
name: string |
|
|
143
|
+
name: string | null;
|
|
150
144
|
schema: import("json-schema").JSONSchema7 | null;
|
|
151
145
|
}[];
|
|
152
146
|
alias?: string | undefined;
|
|
@@ -162,48 +156,61 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
162
156
|
language: "javascript" | "python" | "typescript";
|
|
163
157
|
maxExecutionTime: number;
|
|
164
158
|
outputs: {
|
|
165
|
-
name: string |
|
|
159
|
+
name: string | null;
|
|
166
160
|
schema: import("json-schema").JSONSchema7 | null;
|
|
167
161
|
}[];
|
|
168
162
|
alias?: string | undefined;
|
|
169
163
|
} | {
|
|
170
164
|
id: string;
|
|
171
165
|
type: "or";
|
|
172
|
-
outputs: {
|
|
173
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
174
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
175
|
-
}[];
|
|
176
166
|
alias?: string | undefined;
|
|
177
167
|
} | {
|
|
178
168
|
id: string;
|
|
179
169
|
type: "reference";
|
|
180
170
|
reference: string;
|
|
171
|
+
inputSchema: ({
|
|
172
|
+
type: "object";
|
|
173
|
+
} & import("json-schema").JSONSchema7) | {
|
|
174
|
+
type: "null";
|
|
175
|
+
} | ({
|
|
176
|
+
$ref: string;
|
|
177
|
+
} & import("json-schema").JSONSchema7);
|
|
181
178
|
outputs: {
|
|
182
|
-
name: string |
|
|
179
|
+
name: string | null;
|
|
183
180
|
schema: import("json-schema").JSONSchema7 | null;
|
|
184
181
|
}[];
|
|
185
182
|
alias?: string | undefined;
|
|
186
|
-
|
|
183
|
+
} | {
|
|
184
|
+
id: string;
|
|
185
|
+
type: "exit";
|
|
186
|
+
alias?: string | undefined;
|
|
187
|
+
} | {
|
|
188
|
+
id: string;
|
|
189
|
+
type: "comment";
|
|
190
|
+
text: string;
|
|
191
|
+
alias?: string | undefined;
|
|
187
192
|
})[];
|
|
188
193
|
edges: {
|
|
194
|
+
id: string;
|
|
189
195
|
source: string;
|
|
190
|
-
sourceHandle: string |
|
|
196
|
+
sourceHandle: string | null;
|
|
191
197
|
target: string;
|
|
192
198
|
}[];
|
|
193
199
|
};
|
|
194
|
-
references: /*elided*/ any[];
|
|
195
200
|
}[] | undefined;
|
|
201
|
+
schemas?: Record<string, import("json-schema").JSONSchema7> | undefined;
|
|
196
202
|
};
|
|
197
203
|
type: "CREATE";
|
|
198
204
|
input: any;
|
|
199
205
|
options: {
|
|
200
206
|
maxExecutions: number;
|
|
201
|
-
compliance: "
|
|
202
|
-
mode: "
|
|
207
|
+
compliance: "MCP_TOOL" | null;
|
|
208
|
+
mode: "LINEAR" | "CONTINUOUS";
|
|
203
209
|
priority: number;
|
|
204
210
|
uploadUrl?: string | undefined;
|
|
205
211
|
streamUrl?: string | undefined;
|
|
206
212
|
referencedBy?: {
|
|
213
|
+
rootTaskId: string;
|
|
207
214
|
taskId: string;
|
|
208
215
|
nodeId: string;
|
|
209
216
|
messageId: string;
|
|
@@ -217,16 +224,18 @@ export declare const createCommandSchema: z.ZodPipe<z.ZodObject<{
|
|
|
217
224
|
edges: any[];
|
|
218
225
|
};
|
|
219
226
|
references?: any[] | undefined;
|
|
227
|
+
schemas?: Record<string, any> | undefined;
|
|
220
228
|
};
|
|
221
229
|
input: any;
|
|
222
230
|
options: {
|
|
223
231
|
maxExecutions: number;
|
|
224
|
-
compliance: "
|
|
225
|
-
mode: "
|
|
232
|
+
compliance: "MCP_TOOL" | null;
|
|
233
|
+
mode: "LINEAR" | "CONTINUOUS";
|
|
226
234
|
priority: number;
|
|
227
235
|
uploadUrl?: string | undefined;
|
|
228
236
|
streamUrl?: string | undefined;
|
|
229
237
|
referencedBy?: {
|
|
238
|
+
rootTaskId: string;
|
|
230
239
|
taskId: string;
|
|
231
240
|
nodeId: string;
|
|
232
241
|
messageId: string;
|
|
@@ -245,21 +254,23 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
245
254
|
edges: z.ZodArray<z.ZodAny>;
|
|
246
255
|
}, z.core.$strip>;
|
|
247
256
|
references: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
257
|
+
schemas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
248
258
|
}, z.core.$strip>;
|
|
249
259
|
input: z.ZodAny;
|
|
250
260
|
options: z.ZodObject<{
|
|
251
261
|
maxExecutions: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
252
262
|
compliance: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
253
|
-
|
|
263
|
+
MCP_TOOL: "MCP_TOOL";
|
|
254
264
|
}>>>;
|
|
255
265
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
256
|
-
|
|
257
|
-
|
|
266
|
+
LINEAR: "LINEAR";
|
|
267
|
+
CONTINUOUS: "CONTINUOUS";
|
|
258
268
|
}>>;
|
|
259
269
|
priority: z.ZodDefault<z.ZodInt>;
|
|
260
270
|
uploadUrl: z.ZodOptional<z.ZodString>;
|
|
261
271
|
streamUrl: z.ZodOptional<z.ZodString>;
|
|
262
272
|
referencedBy: z.ZodOptional<z.ZodObject<{
|
|
273
|
+
rootTaskId: z.ZodUUID;
|
|
263
274
|
taskId: z.ZodUUID;
|
|
264
275
|
nodeId: z.ZodUUID;
|
|
265
276
|
messageId: z.ZodUUID;
|
|
@@ -269,17 +280,9 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
269
280
|
treeList: {
|
|
270
281
|
tree: {
|
|
271
282
|
nodes: ({
|
|
272
|
-
id: string;
|
|
273
|
-
type: "exit";
|
|
274
|
-
alias?: string | undefined;
|
|
275
|
-
} | {
|
|
276
283
|
id: string;
|
|
277
284
|
type: "entry";
|
|
278
285
|
inputSchema: import("json-schema").JSONSchema7;
|
|
279
|
-
outputs: {
|
|
280
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
281
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
282
|
-
}[];
|
|
283
286
|
alias?: string | undefined;
|
|
284
287
|
} | {
|
|
285
288
|
id: string;
|
|
@@ -288,12 +291,14 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
288
291
|
type: "object";
|
|
289
292
|
} & import("json-schema").JSONSchema7) | {
|
|
290
293
|
type: "null";
|
|
291
|
-
}
|
|
294
|
+
} | ({
|
|
295
|
+
$ref: string;
|
|
296
|
+
} & import("json-schema").JSONSchema7);
|
|
292
297
|
name: string;
|
|
293
298
|
version: string;
|
|
294
299
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
295
300
|
outputs: {
|
|
296
|
-
name: string |
|
|
301
|
+
name: string | null;
|
|
297
302
|
schema: import("json-schema").JSONSchema7 | null;
|
|
298
303
|
}[];
|
|
299
304
|
alias?: string | undefined;
|
|
@@ -309,32 +314,44 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
309
314
|
language: "javascript" | "python" | "typescript";
|
|
310
315
|
maxExecutionTime: number;
|
|
311
316
|
outputs: {
|
|
312
|
-
name: string |
|
|
317
|
+
name: string | null;
|
|
313
318
|
schema: import("json-schema").JSONSchema7 | null;
|
|
314
319
|
}[];
|
|
315
320
|
alias?: string | undefined;
|
|
316
321
|
} | {
|
|
317
322
|
id: string;
|
|
318
323
|
type: "or";
|
|
319
|
-
outputs: {
|
|
320
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
321
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
322
|
-
}[];
|
|
323
324
|
alias?: string | undefined;
|
|
324
325
|
} | {
|
|
325
326
|
id: string;
|
|
326
327
|
type: "reference";
|
|
327
328
|
reference: string;
|
|
329
|
+
inputSchema: ({
|
|
330
|
+
type: "object";
|
|
331
|
+
} & import("json-schema").JSONSchema7) | {
|
|
332
|
+
type: "null";
|
|
333
|
+
} | ({
|
|
334
|
+
$ref: string;
|
|
335
|
+
} & import("json-schema").JSONSchema7);
|
|
328
336
|
outputs: {
|
|
329
|
-
name: string |
|
|
337
|
+
name: string | null;
|
|
330
338
|
schema: import("json-schema").JSONSchema7 | null;
|
|
331
339
|
}[];
|
|
332
340
|
alias?: string | undefined;
|
|
333
|
-
|
|
341
|
+
} | {
|
|
342
|
+
id: string;
|
|
343
|
+
type: "exit";
|
|
344
|
+
alias?: string | undefined;
|
|
345
|
+
} | {
|
|
346
|
+
id: string;
|
|
347
|
+
type: "comment";
|
|
348
|
+
text: string;
|
|
349
|
+
alias?: string | undefined;
|
|
334
350
|
})[];
|
|
335
351
|
edges: {
|
|
352
|
+
id: string;
|
|
336
353
|
source: string;
|
|
337
|
-
sourceHandle: string |
|
|
354
|
+
sourceHandle: string | null;
|
|
338
355
|
target: string;
|
|
339
356
|
}[];
|
|
340
357
|
};
|
|
@@ -342,30 +359,14 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
342
359
|
id: string;
|
|
343
360
|
options: {
|
|
344
361
|
maxExecutions: number;
|
|
345
|
-
compliance: "
|
|
346
|
-
mode: "
|
|
347
|
-
priority: number;
|
|
348
|
-
uploadUrl?: string | undefined;
|
|
349
|
-
streamUrl?: string | undefined;
|
|
350
|
-
referencedBy?: {
|
|
351
|
-
taskId: string;
|
|
352
|
-
nodeId: string;
|
|
353
|
-
messageId: string;
|
|
354
|
-
} | undefined;
|
|
362
|
+
compliance: "MCP_TOOL" | null;
|
|
363
|
+
mode: "LINEAR" | "CONTINUOUS";
|
|
355
364
|
};
|
|
356
365
|
tree: {
|
|
357
366
|
nodes: ({
|
|
358
|
-
id: string;
|
|
359
|
-
type: "exit";
|
|
360
|
-
alias?: string | undefined;
|
|
361
|
-
} | {
|
|
362
367
|
id: string;
|
|
363
368
|
type: "entry";
|
|
364
369
|
inputSchema: import("json-schema").JSONSchema7;
|
|
365
|
-
outputs: {
|
|
366
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
367
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
368
|
-
}[];
|
|
369
370
|
alias?: string | undefined;
|
|
370
371
|
} | {
|
|
371
372
|
id: string;
|
|
@@ -374,12 +375,14 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
374
375
|
type: "object";
|
|
375
376
|
} & import("json-schema").JSONSchema7) | {
|
|
376
377
|
type: "null";
|
|
377
|
-
}
|
|
378
|
+
} | ({
|
|
379
|
+
$ref: string;
|
|
380
|
+
} & import("json-schema").JSONSchema7);
|
|
378
381
|
name: string;
|
|
379
382
|
version: string;
|
|
380
383
|
configurationSchema: import("json-schema").JSONSchema7;
|
|
381
384
|
outputs: {
|
|
382
|
-
name: string |
|
|
385
|
+
name: string | null;
|
|
383
386
|
schema: import("json-schema").JSONSchema7 | null;
|
|
384
387
|
}[];
|
|
385
388
|
alias?: string | undefined;
|
|
@@ -395,48 +398,61 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
395
398
|
language: "javascript" | "python" | "typescript";
|
|
396
399
|
maxExecutionTime: number;
|
|
397
400
|
outputs: {
|
|
398
|
-
name: string |
|
|
401
|
+
name: string | null;
|
|
399
402
|
schema: import("json-schema").JSONSchema7 | null;
|
|
400
403
|
}[];
|
|
401
404
|
alias?: string | undefined;
|
|
402
405
|
} | {
|
|
403
406
|
id: string;
|
|
404
407
|
type: "or";
|
|
405
|
-
outputs: {
|
|
406
|
-
name: string | typeof import("./nodeType.ts").ERROR | null;
|
|
407
|
-
schema: import("json-schema").JSONSchema7 | null;
|
|
408
|
-
}[];
|
|
409
408
|
alias?: string | undefined;
|
|
410
409
|
} | {
|
|
411
410
|
id: string;
|
|
412
411
|
type: "reference";
|
|
413
412
|
reference: string;
|
|
413
|
+
inputSchema: ({
|
|
414
|
+
type: "object";
|
|
415
|
+
} & import("json-schema").JSONSchema7) | {
|
|
416
|
+
type: "null";
|
|
417
|
+
} | ({
|
|
418
|
+
$ref: string;
|
|
419
|
+
} & import("json-schema").JSONSchema7);
|
|
414
420
|
outputs: {
|
|
415
|
-
name: string |
|
|
421
|
+
name: string | null;
|
|
416
422
|
schema: import("json-schema").JSONSchema7 | null;
|
|
417
423
|
}[];
|
|
418
424
|
alias?: string | undefined;
|
|
419
|
-
|
|
425
|
+
} | {
|
|
426
|
+
id: string;
|
|
427
|
+
type: "exit";
|
|
428
|
+
alias?: string | undefined;
|
|
429
|
+
} | {
|
|
430
|
+
id: string;
|
|
431
|
+
type: "comment";
|
|
432
|
+
text: string;
|
|
433
|
+
alias?: string | undefined;
|
|
420
434
|
})[];
|
|
421
435
|
edges: {
|
|
436
|
+
id: string;
|
|
422
437
|
source: string;
|
|
423
|
-
sourceHandle: string |
|
|
438
|
+
sourceHandle: string | null;
|
|
424
439
|
target: string;
|
|
425
440
|
}[];
|
|
426
441
|
};
|
|
427
|
-
references: /*elided*/ any[];
|
|
428
442
|
}[] | undefined;
|
|
443
|
+
schemas?: Record<string, import("json-schema").JSONSchema7> | undefined;
|
|
429
444
|
};
|
|
430
445
|
type: "CREATE";
|
|
431
446
|
input: any;
|
|
432
447
|
options: {
|
|
433
448
|
maxExecutions: number;
|
|
434
|
-
compliance: "
|
|
435
|
-
mode: "
|
|
449
|
+
compliance: "MCP_TOOL" | null;
|
|
450
|
+
mode: "LINEAR" | "CONTINUOUS";
|
|
436
451
|
priority: number;
|
|
437
452
|
uploadUrl?: string | undefined;
|
|
438
453
|
streamUrl?: string | undefined;
|
|
439
454
|
referencedBy?: {
|
|
455
|
+
rootTaskId: string;
|
|
440
456
|
taskId: string;
|
|
441
457
|
nodeId: string;
|
|
442
458
|
messageId: string;
|
|
@@ -450,16 +466,18 @@ export declare const commandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
450
466
|
edges: any[];
|
|
451
467
|
};
|
|
452
468
|
references?: any[] | undefined;
|
|
469
|
+
schemas?: Record<string, any> | undefined;
|
|
453
470
|
};
|
|
454
471
|
input: any;
|
|
455
472
|
options: {
|
|
456
473
|
maxExecutions: number;
|
|
457
|
-
compliance: "
|
|
458
|
-
mode: "
|
|
474
|
+
compliance: "MCP_TOOL" | null;
|
|
475
|
+
mode: "LINEAR" | "CONTINUOUS";
|
|
459
476
|
priority: number;
|
|
460
477
|
uploadUrl?: string | undefined;
|
|
461
478
|
streamUrl?: string | undefined;
|
|
462
479
|
referencedBy?: {
|
|
480
|
+
rootTaskId: string;
|
|
463
481
|
taskId: string;
|
|
464
482
|
nodeId: string;
|
|
465
483
|
messageId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAK1B,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE7D,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAK1B,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE7D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuB3B,CAAA;AAEL,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE/D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAqD,CAAA;AAC/E,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AACnD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { z } from 'zod/v4';
|
|
2
2
|
export declare class NodeTransformError extends Error {
|
|
3
|
+
readonly nodeId?: string | undefined;
|
|
4
|
+
constructor(message: string, nodeId?: string | undefined);
|
|
3
5
|
}
|
|
4
6
|
export declare function safeTransform<T extends () => any>(ctx: z.RefinementCtx, handler: T): ReturnType<T>;
|
|
5
7
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE/B,qBAAa,kBAAmB,SAAQ,KAAK;
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE/B,qBAAa,kBAAmB,SAAQ,KAAK;aAGzB,MAAM,CAAC,EAAE,MAAM;gBAD/B,OAAO,EAAE,MAAM,EACC,MAAM,CAAC,EAAE,MAAM,YAAA;CAIlC;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,EAC/C,GAAG,EAAE,CAAC,CAAC,aAAa,EACpB,OAAO,EAAE,CAAC,GACT,UAAU,CAAC,CAAC,CAAC,CAkBf"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './command.ts';
|
|
2
2
|
export * from './nodeType.ts';
|
|
3
|
-
export * from './targetNodes.ts';
|
|
4
3
|
export * from './update.ts';
|
|
5
4
|
export * from './treeNodes.ts';
|
|
6
5
|
export * from './NodeTree.ts';
|
|
7
6
|
export * from './taskOptions.ts';
|
|
7
|
+
export * from './templateNodeTypes.ts';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../helpers/src/protocol/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA"}
|