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

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