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

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