@trigger.dev/core 0.0.0-prerelease-20241119135607 → 0.0.0-prerelease-20241119153006

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 (46) hide show
  1. package/dist/commonjs/schemas/api.d.ts +1425 -1219
  2. package/dist/commonjs/schemas/eventFilter.d.ts +4 -4
  3. package/dist/commonjs/schemas/fetch.d.ts +66 -33
  4. package/dist/commonjs/schemas/notifications.d.ts +24 -16
  5. package/dist/commonjs/schemas/requestFilter.d.ts +52 -4
  6. package/dist/commonjs/schemas/runs.d.ts +29 -13
  7. package/dist/commonjs/schemas/schedules.d.ts +12 -12
  8. package/dist/commonjs/schemas/statuses.d.ts +9 -8
  9. package/dist/commonjs/schemas/tasks.d.ts +32 -31
  10. package/dist/commonjs/schemas/triggers.d.ts +36 -36
  11. package/dist/commonjs/v3/apiClient/index.d.ts +139 -139
  12. package/dist/commonjs/v3/schemas/api.d.ts +740 -1076
  13. package/dist/commonjs/v3/schemas/build.d.ts +348 -588
  14. package/dist/commonjs/v3/schemas/common.d.ts +27 -27
  15. package/dist/commonjs/v3/schemas/eventFilter.d.ts +2 -2
  16. package/dist/commonjs/v3/schemas/fetch.d.ts +53 -41
  17. package/dist/commonjs/v3/schemas/messages.d.ts +2891 -3335
  18. package/dist/commonjs/v3/schemas/openTelemetry.d.ts +22 -22
  19. package/dist/commonjs/v3/schemas/resources.d.ts +156 -324
  20. package/dist/commonjs/v3/schemas/schemas.d.ts +445 -651
  21. package/dist/commonjs/v3/schemas/style.d.ts +12 -12
  22. package/dist/commonjs/v3/zodMessageHandler.d.ts +1 -1
  23. package/dist/commonjs/version.js +1 -1
  24. package/dist/esm/schemas/api.d.ts +1436 -1230
  25. package/dist/esm/schemas/eventFilter.d.ts +4 -4
  26. package/dist/esm/schemas/fetch.d.ts +66 -33
  27. package/dist/esm/schemas/notifications.d.ts +24 -16
  28. package/dist/esm/schemas/requestFilter.d.ts +52 -4
  29. package/dist/esm/schemas/runs.d.ts +29 -13
  30. package/dist/esm/schemas/schedules.d.ts +12 -12
  31. package/dist/esm/schemas/statuses.d.ts +9 -8
  32. package/dist/esm/schemas/tasks.d.ts +32 -31
  33. package/dist/esm/schemas/triggers.d.ts +36 -36
  34. package/dist/esm/v3/apiClient/index.d.ts +139 -139
  35. package/dist/esm/v3/schemas/api.d.ts +740 -1076
  36. package/dist/esm/v3/schemas/build.d.ts +348 -588
  37. package/dist/esm/v3/schemas/common.d.ts +123 -123
  38. package/dist/esm/v3/schemas/eventFilter.d.ts +2 -2
  39. package/dist/esm/v3/schemas/fetch.d.ts +53 -41
  40. package/dist/esm/v3/schemas/messages.d.ts +2891 -3335
  41. package/dist/esm/v3/schemas/openTelemetry.d.ts +22 -22
  42. package/dist/esm/v3/schemas/resources.d.ts +156 -324
  43. package/dist/esm/v3/schemas/schemas.d.ts +445 -651
  44. package/dist/esm/v3/schemas/style.d.ts +12 -12
  45. package/dist/esm/v3/zodMessageHandler.d.ts +1 -1
  46. package/package.json +2 -2
@@ -10,12 +10,12 @@ export declare const MachineConfig: z.ZodObject<{
10
10
  memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
11
11
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
12
12
  }, "strip", z.ZodTypeAny, {
13
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
14
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
13
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
14
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
15
15
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
16
16
  }, {
17
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
18
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
17
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
18
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
19
19
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
20
20
  }>;
21
21
  export type MachineConfig = z.infer<typeof MachineConfig>;
@@ -25,14 +25,14 @@ export declare const MachinePreset: z.ZodObject<{
25
25
  memory: z.ZodNumber;
26
26
  centsPerMs: z.ZodNumber;
27
27
  }, "strip", z.ZodTypeAny, {
28
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
28
29
  cpu: number;
29
30
  memory: number;
30
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
31
31
  centsPerMs: number;
32
32
  }, {
33
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
33
34
  cpu: number;
34
35
  memory: number;
35
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
36
36
  centsPerMs: number;
37
37
  }>;
38
38
  export type MachinePreset = z.infer<typeof MachinePreset>;
@@ -161,38 +161,38 @@ export declare const TaskRun: z.ZodObject<{
161
161
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>>>;
162
162
  maxDuration: z.ZodOptional<z.ZodNumber>;
163
163
  }, "strip", z.ZodTypeAny, {
164
- id: string;
165
164
  payload: string;
165
+ id: string;
166
+ startedAt: Date;
166
167
  payloadType: string;
167
- tags: string[];
168
168
  isTest: boolean;
169
169
  createdAt: Date;
170
- startedAt: Date;
170
+ tags: string[];
171
171
  durationMs: number;
172
172
  costInCents: number;
173
173
  baseCostInCents: number;
174
174
  context?: any;
175
+ metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
176
+ version?: string | undefined;
175
177
  idempotencyKey?: string | undefined;
176
178
  maxAttempts?: number | undefined;
177
- version?: string | undefined;
178
- metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
179
179
  maxDuration?: number | undefined;
180
180
  }, {
181
- id: string;
182
181
  payload: string;
182
+ id: string;
183
183
  payloadType: string;
184
- tags: string[];
185
184
  createdAt: Date;
185
+ tags: string[];
186
186
  context?: any;
187
- isTest?: boolean | undefined;
187
+ metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
188
+ version?: string | undefined;
188
189
  startedAt?: Date | undefined;
189
190
  idempotencyKey?: string | undefined;
191
+ isTest?: boolean | undefined;
190
192
  maxAttempts?: number | undefined;
191
193
  durationMs?: number | undefined;
192
194
  costInCents?: number | undefined;
193
195
  baseCostInCents?: number | undefined;
194
- version?: string | undefined;
195
- metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
196
196
  maxDuration?: number | undefined;
197
197
  }>;
198
198
  export type TaskRun = z.infer<typeof TaskRun>;
@@ -350,38 +350,38 @@ export declare const TaskRunExecution: z.ZodObject<{
350
350
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>>>;
351
351
  maxDuration: z.ZodOptional<z.ZodNumber>;
352
352
  }, "strip", z.ZodTypeAny, {
353
- id: string;
354
353
  payload: string;
354
+ id: string;
355
+ startedAt: Date;
355
356
  payloadType: string;
356
- tags: string[];
357
357
  isTest: boolean;
358
358
  createdAt: Date;
359
- startedAt: Date;
359
+ tags: string[];
360
360
  durationMs: number;
361
361
  costInCents: number;
362
362
  baseCostInCents: number;
363
363
  context?: any;
364
+ metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
365
+ version?: string | undefined;
364
366
  idempotencyKey?: string | undefined;
365
367
  maxAttempts?: number | undefined;
366
- version?: string | undefined;
367
- metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
368
368
  maxDuration?: number | undefined;
369
369
  }, {
370
- id: string;
371
370
  payload: string;
371
+ id: string;
372
372
  payloadType: string;
373
- tags: string[];
374
373
  createdAt: Date;
374
+ tags: string[];
375
375
  context?: any;
376
- isTest?: boolean | undefined;
376
+ metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
377
+ version?: string | undefined;
377
378
  startedAt?: Date | undefined;
378
379
  idempotencyKey?: string | undefined;
380
+ isTest?: boolean | undefined;
379
381
  maxAttempts?: number | undefined;
380
382
  durationMs?: number | undefined;
381
383
  costInCents?: number | undefined;
382
384
  baseCostInCents?: number | undefined;
383
- version?: string | undefined;
384
- metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
385
385
  maxDuration?: number | undefined;
386
386
  }>;
387
387
  queue: z.ZodObject<{
@@ -449,52 +449,35 @@ export declare const TaskRunExecution: z.ZodObject<{
449
449
  memory: z.ZodNumber;
450
450
  centsPerMs: z.ZodNumber;
451
451
  }, "strip", z.ZodTypeAny, {
452
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
452
453
  cpu: number;
453
454
  memory: number;
454
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
455
455
  centsPerMs: number;
456
456
  }, {
457
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
457
458
  cpu: number;
458
459
  memory: number;
459
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
460
460
  centsPerMs: number;
461
461
  }>>;
462
462
  }, "strip", z.ZodTypeAny, {
463
- task: {
464
- id: string;
465
- filePath: string;
466
- exportName: string;
467
- };
468
- attempt: {
469
- number: number;
470
- status: string;
471
- id: string;
472
- startedAt: Date;
473
- backgroundWorkerId: string;
474
- backgroundWorkerTaskId: string;
475
- };
476
463
  run: {
477
- id: string;
478
464
  payload: string;
465
+ id: string;
466
+ startedAt: Date;
479
467
  payloadType: string;
480
- tags: string[];
481
468
  isTest: boolean;
482
469
  createdAt: Date;
483
- startedAt: Date;
470
+ tags: string[];
484
471
  durationMs: number;
485
472
  costInCents: number;
486
473
  baseCostInCents: number;
487
474
  context?: any;
475
+ metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
476
+ version?: string | undefined;
488
477
  idempotencyKey?: string | undefined;
489
478
  maxAttempts?: number | undefined;
490
- version?: string | undefined;
491
- metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
492
479
  maxDuration?: number | undefined;
493
480
  };
494
- queue: {
495
- name: string;
496
- id: string;
497
- };
498
481
  environment: {
499
482
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
500
483
  id: string;
@@ -511,16 +494,6 @@ export declare const TaskRunExecution: z.ZodObject<{
511
494
  slug: string;
512
495
  ref: string;
513
496
  };
514
- batch?: {
515
- id: string;
516
- } | undefined;
517
- machine?: {
518
- cpu: number;
519
- memory: number;
520
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
521
- centsPerMs: number;
522
- } | undefined;
523
- }, {
524
497
  task: {
525
498
  id: string;
526
499
  filePath: string;
@@ -534,28 +507,38 @@ export declare const TaskRunExecution: z.ZodObject<{
534
507
  backgroundWorkerId: string;
535
508
  backgroundWorkerTaskId: string;
536
509
  };
537
- run: {
510
+ queue: {
511
+ name: string;
538
512
  id: string;
513
+ };
514
+ batch?: {
515
+ id: string;
516
+ } | undefined;
517
+ machine?: {
518
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
519
+ cpu: number;
520
+ memory: number;
521
+ centsPerMs: number;
522
+ } | undefined;
523
+ }, {
524
+ run: {
539
525
  payload: string;
526
+ id: string;
540
527
  payloadType: string;
541
- tags: string[];
542
528
  createdAt: Date;
529
+ tags: string[];
543
530
  context?: any;
544
- isTest?: boolean | undefined;
531
+ metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
532
+ version?: string | undefined;
545
533
  startedAt?: Date | undefined;
546
534
  idempotencyKey?: string | undefined;
535
+ isTest?: boolean | undefined;
547
536
  maxAttempts?: number | undefined;
548
537
  durationMs?: number | undefined;
549
538
  costInCents?: number | undefined;
550
539
  baseCostInCents?: number | undefined;
551
- version?: string | undefined;
552
- metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
553
540
  maxDuration?: number | undefined;
554
541
  };
555
- queue: {
556
- name: string;
557
- id: string;
558
- };
559
542
  environment: {
560
543
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
561
544
  id: string;
@@ -572,13 +555,30 @@ export declare const TaskRunExecution: z.ZodObject<{
572
555
  slug: string;
573
556
  ref: string;
574
557
  };
558
+ task: {
559
+ id: string;
560
+ filePath: string;
561
+ exportName: string;
562
+ };
563
+ attempt: {
564
+ number: number;
565
+ status: string;
566
+ id: string;
567
+ startedAt: Date;
568
+ backgroundWorkerId: string;
569
+ backgroundWorkerTaskId: string;
570
+ };
571
+ queue: {
572
+ name: string;
573
+ id: string;
574
+ };
575
575
  batch?: {
576
576
  id: string;
577
577
  } | undefined;
578
578
  machine?: {
579
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
579
580
  cpu: number;
580
581
  memory: number;
581
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
582
582
  centsPerMs: number;
583
583
  } | undefined;
584
584
  }>;
@@ -632,33 +632,33 @@ export declare const TaskRunContext: z.ZodObject<{
632
632
  version: z.ZodOptional<z.ZodString>;
633
633
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>>>;
634
634
  maxDuration: z.ZodOptional<z.ZodNumber>;
635
- }, "payload" | "payloadType" | "metadata">, "strip", z.ZodTypeAny, {
635
+ }, "payload" | "metadata" | "payloadType">, "strip", z.ZodTypeAny, {
636
636
  id: string;
637
- tags: string[];
637
+ startedAt: Date;
638
638
  isTest: boolean;
639
639
  createdAt: Date;
640
- startedAt: Date;
640
+ tags: string[];
641
641
  durationMs: number;
642
642
  costInCents: number;
643
643
  baseCostInCents: number;
644
644
  context?: any;
645
+ version?: string | undefined;
645
646
  idempotencyKey?: string | undefined;
646
647
  maxAttempts?: number | undefined;
647
- version?: string | undefined;
648
648
  maxDuration?: number | undefined;
649
649
  }, {
650
650
  id: string;
651
- tags: string[];
652
651
  createdAt: Date;
652
+ tags: string[];
653
653
  context?: any;
654
- isTest?: boolean | undefined;
654
+ version?: string | undefined;
655
655
  startedAt?: Date | undefined;
656
656
  idempotencyKey?: string | undefined;
657
+ isTest?: boolean | undefined;
657
658
  maxAttempts?: number | undefined;
658
659
  durationMs?: number | undefined;
659
660
  costInCents?: number | undefined;
660
661
  baseCostInCents?: number | undefined;
661
- version?: string | undefined;
662
662
  maxDuration?: number | undefined;
663
663
  }>;
664
664
  queue: z.ZodObject<{
@@ -726,47 +726,32 @@ export declare const TaskRunContext: z.ZodObject<{
726
726
  memory: z.ZodNumber;
727
727
  centsPerMs: z.ZodNumber;
728
728
  }, "strip", z.ZodTypeAny, {
729
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
729
730
  cpu: number;
730
731
  memory: number;
731
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
732
732
  centsPerMs: number;
733
733
  }, {
734
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
734
735
  cpu: number;
735
736
  memory: number;
736
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
737
737
  centsPerMs: number;
738
738
  }>>;
739
739
  }, "strip", z.ZodTypeAny, {
740
- task: {
741
- id: string;
742
- filePath: string;
743
- exportName: string;
744
- };
745
- attempt: {
746
- number: number;
747
- status: string;
748
- id: string;
749
- startedAt: Date;
750
- };
751
740
  run: {
752
741
  id: string;
753
- tags: string[];
742
+ startedAt: Date;
754
743
  isTest: boolean;
755
744
  createdAt: Date;
756
- startedAt: Date;
745
+ tags: string[];
757
746
  durationMs: number;
758
747
  costInCents: number;
759
748
  baseCostInCents: number;
760
749
  context?: any;
750
+ version?: string | undefined;
761
751
  idempotencyKey?: string | undefined;
762
752
  maxAttempts?: number | undefined;
763
- version?: string | undefined;
764
753
  maxDuration?: number | undefined;
765
754
  };
766
- queue: {
767
- name: string;
768
- id: string;
769
- };
770
755
  environment: {
771
756
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
772
757
  id: string;
@@ -783,16 +768,6 @@ export declare const TaskRunContext: z.ZodObject<{
783
768
  slug: string;
784
769
  ref: string;
785
770
  };
786
- batch?: {
787
- id: string;
788
- } | undefined;
789
- machine?: {
790
- cpu: number;
791
- memory: number;
792
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
793
- centsPerMs: number;
794
- } | undefined;
795
- }, {
796
771
  task: {
797
772
  id: string;
798
773
  filePath: string;
@@ -804,25 +779,35 @@ export declare const TaskRunContext: z.ZodObject<{
804
779
  id: string;
805
780
  startedAt: Date;
806
781
  };
782
+ queue: {
783
+ name: string;
784
+ id: string;
785
+ };
786
+ batch?: {
787
+ id: string;
788
+ } | undefined;
789
+ machine?: {
790
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
791
+ cpu: number;
792
+ memory: number;
793
+ centsPerMs: number;
794
+ } | undefined;
795
+ }, {
807
796
  run: {
808
797
  id: string;
809
- tags: string[];
810
798
  createdAt: Date;
799
+ tags: string[];
811
800
  context?: any;
812
- isTest?: boolean | undefined;
801
+ version?: string | undefined;
813
802
  startedAt?: Date | undefined;
814
803
  idempotencyKey?: string | undefined;
804
+ isTest?: boolean | undefined;
815
805
  maxAttempts?: number | undefined;
816
806
  durationMs?: number | undefined;
817
807
  costInCents?: number | undefined;
818
808
  baseCostInCents?: number | undefined;
819
- version?: string | undefined;
820
809
  maxDuration?: number | undefined;
821
810
  };
822
- queue: {
823
- name: string;
824
- id: string;
825
- };
826
811
  environment: {
827
812
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
828
813
  id: string;
@@ -839,13 +824,28 @@ export declare const TaskRunContext: z.ZodObject<{
839
824
  slug: string;
840
825
  ref: string;
841
826
  };
827
+ task: {
828
+ id: string;
829
+ filePath: string;
830
+ exportName: string;
831
+ };
832
+ attempt: {
833
+ number: number;
834
+ status: string;
835
+ id: string;
836
+ startedAt: Date;
837
+ };
838
+ queue: {
839
+ name: string;
840
+ id: string;
841
+ };
842
842
  batch?: {
843
843
  id: string;
844
844
  } | undefined;
845
845
  machine?: {
846
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
846
847
  cpu: number;
847
848
  memory: number;
848
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
849
849
  centsPerMs: number;
850
850
  } | undefined;
851
851
  }>;
@@ -946,6 +946,7 @@ export declare const TaskRunFailedExecutionResult: z.ZodObject<{
946
946
  durationMs: number;
947
947
  }>>;
948
948
  }, "strip", z.ZodTypeAny, {
949
+ id: string;
949
950
  error: {
950
951
  message: string;
951
952
  type: "BUILT_IN_ERROR";
@@ -963,7 +964,6 @@ export declare const TaskRunFailedExecutionResult: z.ZodObject<{
963
964
  message?: string | undefined;
964
965
  stackTrace?: string | undefined;
965
966
  };
966
- id: string;
967
967
  ok: false;
968
968
  retry?: {
969
969
  timestamp: number;
@@ -975,6 +975,7 @@ export declare const TaskRunFailedExecutionResult: z.ZodObject<{
975
975
  durationMs: number;
976
976
  } | undefined;
977
977
  }, {
978
+ id: string;
978
979
  error: {
979
980
  message: string;
980
981
  type: "BUILT_IN_ERROR";
@@ -992,7 +993,6 @@ export declare const TaskRunFailedExecutionResult: z.ZodObject<{
992
993
  message?: string | undefined;
993
994
  stackTrace?: string | undefined;
994
995
  };
995
- id: string;
996
996
  ok: false;
997
997
  retry?: {
998
998
  timestamp: number;
@@ -1137,6 +1137,7 @@ export declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
1137
1137
  durationMs: number;
1138
1138
  }>>;
1139
1139
  }, "strip", z.ZodTypeAny, {
1140
+ id: string;
1140
1141
  error: {
1141
1142
  message: string;
1142
1143
  type: "BUILT_IN_ERROR";
@@ -1154,7 +1155,6 @@ export declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
1154
1155
  message?: string | undefined;
1155
1156
  stackTrace?: string | undefined;
1156
1157
  };
1157
- id: string;
1158
1158
  ok: false;
1159
1159
  retry?: {
1160
1160
  timestamp: number;
@@ -1166,6 +1166,7 @@ export declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
1166
1166
  durationMs: number;
1167
1167
  } | undefined;
1168
1168
  }, {
1169
+ id: string;
1169
1170
  error: {
1170
1171
  message: string;
1171
1172
  type: "BUILT_IN_ERROR";
@@ -1183,7 +1184,6 @@ export declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
1183
1184
  message?: string | undefined;
1184
1185
  stackTrace?: string | undefined;
1185
1186
  };
1186
- id: string;
1187
1187
  ok: false;
1188
1188
  retry?: {
1189
1189
  timestamp: number;
@@ -1300,6 +1300,7 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
1300
1300
  durationMs: number;
1301
1301
  }>>;
1302
1302
  }, "strip", z.ZodTypeAny, {
1303
+ id: string;
1303
1304
  error: {
1304
1305
  message: string;
1305
1306
  type: "BUILT_IN_ERROR";
@@ -1317,7 +1318,6 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
1317
1318
  message?: string | undefined;
1318
1319
  stackTrace?: string | undefined;
1319
1320
  };
1320
- id: string;
1321
1321
  ok: false;
1322
1322
  retry?: {
1323
1323
  timestamp: number;
@@ -1329,6 +1329,7 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
1329
1329
  durationMs: number;
1330
1330
  } | undefined;
1331
1331
  }, {
1332
+ id: string;
1332
1333
  error: {
1333
1334
  message: string;
1334
1335
  type: "BUILT_IN_ERROR";
@@ -1346,7 +1347,6 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
1346
1347
  message?: string | undefined;
1347
1348
  stackTrace?: string | undefined;
1348
1349
  };
1349
- id: string;
1350
1350
  ok: false;
1351
1351
  retry?: {
1352
1352
  timestamp: number;
@@ -1361,6 +1361,7 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
1361
1361
  }, "strip", z.ZodTypeAny, {
1362
1362
  id: string;
1363
1363
  items: ({
1364
+ id: string;
1364
1365
  error: {
1365
1366
  message: string;
1366
1367
  type: "BUILT_IN_ERROR";
@@ -1378,7 +1379,6 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
1378
1379
  message?: string | undefined;
1379
1380
  stackTrace?: string | undefined;
1380
1381
  };
1381
- id: string;
1382
1382
  ok: false;
1383
1383
  retry?: {
1384
1384
  timestamp: number;
@@ -1401,6 +1401,7 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
1401
1401
  }, {
1402
1402
  id: string;
1403
1403
  items: ({
1404
+ id: string;
1404
1405
  error: {
1405
1406
  message: string;
1406
1407
  type: "BUILT_IN_ERROR";
@@ -1418,7 +1419,6 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
1418
1419
  message?: string | undefined;
1419
1420
  stackTrace?: string | undefined;
1420
1421
  };
1421
- id: string;
1422
1422
  ok: false;
1423
1423
  retry?: {
1424
1424
  timestamp: number;
@@ -57,9 +57,9 @@ declare const EventMatcher: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodAr
57
57
  }>, z.ZodObject<{
58
58
  $anythingBut: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodBoolean, "many">]>;
59
59
  }, "strip", z.ZodTypeAny, {
60
- $anythingBut: (string[] | number[] | boolean[]) & (string[] | number[] | boolean[] | undefined);
60
+ $anythingBut: string[] | number[] | boolean[];
61
61
  }, {
62
- $anythingBut: (string[] | number[] | boolean[]) & (string[] | number[] | boolean[] | undefined);
62
+ $anythingBut: string[] | number[] | boolean[];
63
63
  }>, z.ZodObject<{
64
64
  $gt: z.ZodNumber;
65
65
  }, "strip", z.ZodTypeAny, {