@trigger.dev/core 3.3.12 → 3.3.14

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 (47) hide show
  1. package/dist/commonjs/logger.js +34 -0
  2. package/dist/commonjs/logger.js.map +1 -1
  3. package/dist/commonjs/v3/apiClient/core.d.ts +26 -2
  4. package/dist/commonjs/v3/apiClient/core.js +51 -1
  5. package/dist/commonjs/v3/apiClient/core.js.map +1 -1
  6. package/dist/commonjs/v3/apiClient/index.d.ts +2 -2
  7. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  8. package/dist/commonjs/v3/apiClient/runStream.js +2 -2
  9. package/dist/commonjs/v3/schemas/api.d.ts +172 -141
  10. package/dist/commonjs/v3/schemas/api.js +21 -21
  11. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  12. package/dist/commonjs/v3/schemas/build.d.ts +80 -18
  13. package/dist/commonjs/v3/schemas/fetch.d.ts +115 -0
  14. package/dist/commonjs/v3/schemas/messages.d.ts +184 -41
  15. package/dist/commonjs/v3/schemas/resources.d.ts +56 -12
  16. package/dist/commonjs/v3/schemas/schemas.d.ts +108 -16
  17. package/dist/commonjs/v3/schemas/schemas.js +11 -2
  18. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  19. package/dist/commonjs/v3/types/tasks.d.ts +2 -5
  20. package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -0
  21. package/dist/commonjs/v3/zodMessageHandler.js +8 -0
  22. package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
  23. package/dist/commonjs/version.js +1 -1
  24. package/dist/esm/logger.js +34 -0
  25. package/dist/esm/logger.js.map +1 -1
  26. package/dist/esm/v3/apiClient/core.d.ts +26 -2
  27. package/dist/esm/v3/apiClient/core.js +48 -0
  28. package/dist/esm/v3/apiClient/core.js.map +1 -1
  29. package/dist/esm/v3/apiClient/index.d.ts +2 -2
  30. package/dist/esm/v3/apiClient/index.js.map +1 -1
  31. package/dist/esm/v3/apiClient/runStream.js +2 -2
  32. package/dist/esm/v3/schemas/api.d.ts +172 -141
  33. package/dist/esm/v3/schemas/api.js +21 -21
  34. package/dist/esm/v3/schemas/api.js.map +1 -1
  35. package/dist/esm/v3/schemas/build.d.ts +80 -18
  36. package/dist/esm/v3/schemas/fetch.d.ts +115 -0
  37. package/dist/esm/v3/schemas/messages.d.ts +184 -41
  38. package/dist/esm/v3/schemas/resources.d.ts +56 -12
  39. package/dist/esm/v3/schemas/schemas.d.ts +108 -16
  40. package/dist/esm/v3/schemas/schemas.js +12 -3
  41. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  42. package/dist/esm/v3/types/tasks.d.ts +2 -5
  43. package/dist/esm/v3/zodMessageHandler.d.ts +2 -0
  44. package/dist/esm/v3/zodMessageHandler.js +8 -0
  45. package/dist/esm/v3/zodMessageHandler.js.map +1 -1
  46. package/dist/esm/version.js +1 -1
  47. package/package.json +2 -1
@@ -6797,13 +6797,13 @@ export declare const indexerToWorkerMessages: {
6797
6797
  description: z.ZodOptional<z.ZodString>;
6798
6798
  queue: z.ZodOptional<z.ZodObject<{
6799
6799
  name: z.ZodOptional<z.ZodString>;
6800
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
6800
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
6801
6801
  }, "strip", z.ZodTypeAny, {
6802
6802
  name?: string | undefined;
6803
- concurrencyLimit?: number | undefined;
6803
+ concurrencyLimit?: number | null | undefined;
6804
6804
  }, {
6805
6805
  name?: string | undefined;
6806
- concurrencyLimit?: number | undefined;
6806
+ concurrencyLimit?: number | null | undefined;
6807
6807
  }>>;
6808
6808
  retry: z.ZodOptional<z.ZodObject<{
6809
6809
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -6811,18 +6811,31 @@ export declare const indexerToWorkerMessages: {
6811
6811
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
6812
6812
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
6813
6813
  randomize: z.ZodOptional<z.ZodBoolean>;
6814
+ outOfMemory: z.ZodOptional<z.ZodObject<{
6815
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
6816
+ }, "strip", z.ZodTypeAny, {
6817
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
6818
+ }, {
6819
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
6820
+ }>>;
6814
6821
  }, "strip", z.ZodTypeAny, {
6815
6822
  factor?: number | undefined;
6816
6823
  minTimeoutInMs?: number | undefined;
6817
6824
  maxTimeoutInMs?: number | undefined;
6818
6825
  randomize?: boolean | undefined;
6819
6826
  maxAttempts?: number | undefined;
6827
+ outOfMemory?: {
6828
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
6829
+ } | undefined;
6820
6830
  }, {
6821
6831
  factor?: number | undefined;
6822
6832
  minTimeoutInMs?: number | undefined;
6823
6833
  maxTimeoutInMs?: number | undefined;
6824
6834
  randomize?: boolean | undefined;
6825
6835
  maxAttempts?: number | undefined;
6836
+ outOfMemory?: {
6837
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
6838
+ } | undefined;
6826
6839
  }>>;
6827
6840
  machine: z.ZodOptional<z.ZodObject<{
6828
6841
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
@@ -6865,11 +6878,14 @@ export declare const indexerToWorkerMessages: {
6865
6878
  maxTimeoutInMs?: number | undefined;
6866
6879
  randomize?: boolean | undefined;
6867
6880
  maxAttempts?: number | undefined;
6881
+ outOfMemory?: {
6882
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
6883
+ } | undefined;
6868
6884
  } | undefined;
6869
6885
  maxDuration?: number | undefined;
6870
6886
  queue?: {
6871
6887
  name?: string | undefined;
6872
- concurrencyLimit?: number | undefined;
6888
+ concurrencyLimit?: number | null | undefined;
6873
6889
  } | undefined;
6874
6890
  machine?: {
6875
6891
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -6893,11 +6909,14 @@ export declare const indexerToWorkerMessages: {
6893
6909
  maxTimeoutInMs?: number | undefined;
6894
6910
  randomize?: boolean | undefined;
6895
6911
  maxAttempts?: number | undefined;
6912
+ outOfMemory?: {
6913
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
6914
+ } | undefined;
6896
6915
  } | undefined;
6897
6916
  maxDuration?: number | undefined;
6898
6917
  queue?: {
6899
6918
  name?: string | undefined;
6900
- concurrencyLimit?: number | undefined;
6919
+ concurrencyLimit?: number | null | undefined;
6901
6920
  } | undefined;
6902
6921
  machine?: {
6903
6922
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -6938,11 +6957,14 @@ export declare const indexerToWorkerMessages: {
6938
6957
  maxTimeoutInMs?: number | undefined;
6939
6958
  randomize?: boolean | undefined;
6940
6959
  maxAttempts?: number | undefined;
6960
+ outOfMemory?: {
6961
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
6962
+ } | undefined;
6941
6963
  } | undefined;
6942
6964
  maxDuration?: number | undefined;
6943
6965
  queue?: {
6944
6966
  name?: string | undefined;
6945
- concurrencyLimit?: number | undefined;
6967
+ concurrencyLimit?: number | null | undefined;
6946
6968
  } | undefined;
6947
6969
  machine?: {
6948
6970
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -6978,11 +7000,14 @@ export declare const indexerToWorkerMessages: {
6978
7000
  maxTimeoutInMs?: number | undefined;
6979
7001
  randomize?: boolean | undefined;
6980
7002
  maxAttempts?: number | undefined;
7003
+ outOfMemory?: {
7004
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
7005
+ } | undefined;
6981
7006
  } | undefined;
6982
7007
  maxDuration?: number | undefined;
6983
7008
  queue?: {
6984
7009
  name?: string | undefined;
6985
- concurrencyLimit?: number | undefined;
7010
+ concurrencyLimit?: number | null | undefined;
6986
7011
  } | undefined;
6987
7012
  machine?: {
6988
7013
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -7037,11 +7062,14 @@ export declare const indexerToWorkerMessages: {
7037
7062
  maxTimeoutInMs?: number | undefined;
7038
7063
  randomize?: boolean | undefined;
7039
7064
  maxAttempts?: number | undefined;
7065
+ outOfMemory?: {
7066
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
7067
+ } | undefined;
7040
7068
  } | undefined;
7041
7069
  maxDuration?: number | undefined;
7042
7070
  queue?: {
7043
7071
  name?: string | undefined;
7044
- concurrencyLimit?: number | undefined;
7072
+ concurrencyLimit?: number | null | undefined;
7045
7073
  } | undefined;
7046
7074
  machine?: {
7047
7075
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -7085,11 +7113,14 @@ export declare const indexerToWorkerMessages: {
7085
7113
  maxTimeoutInMs?: number | undefined;
7086
7114
  randomize?: boolean | undefined;
7087
7115
  maxAttempts?: number | undefined;
7116
+ outOfMemory?: {
7117
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
7118
+ } | undefined;
7088
7119
  } | undefined;
7089
7120
  maxDuration?: number | undefined;
7090
7121
  queue?: {
7091
7122
  name?: string | undefined;
7092
- concurrencyLimit?: number | undefined;
7123
+ concurrencyLimit?: number | null | undefined;
7093
7124
  } | undefined;
7094
7125
  machine?: {
7095
7126
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13431,13 +13462,13 @@ export declare const CoordinatorToPlatformMessages: {
13431
13462
  exportName: z.ZodString;
13432
13463
  queue: z.ZodOptional<z.ZodObject<{
13433
13464
  name: z.ZodOptional<z.ZodString>;
13434
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
13465
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
13435
13466
  }, "strip", z.ZodTypeAny, {
13436
13467
  name?: string | undefined;
13437
- concurrencyLimit?: number | undefined;
13468
+ concurrencyLimit?: number | null | undefined;
13438
13469
  }, {
13439
13470
  name?: string | undefined;
13440
- concurrencyLimit?: number | undefined;
13471
+ concurrencyLimit?: number | null | undefined;
13441
13472
  }>>;
13442
13473
  retry: z.ZodOptional<z.ZodObject<{
13443
13474
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -13445,18 +13476,31 @@ export declare const CoordinatorToPlatformMessages: {
13445
13476
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
13446
13477
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
13447
13478
  randomize: z.ZodOptional<z.ZodBoolean>;
13479
+ outOfMemory: z.ZodOptional<z.ZodObject<{
13480
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
13481
+ }, "strip", z.ZodTypeAny, {
13482
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13483
+ }, {
13484
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13485
+ }>>;
13448
13486
  }, "strip", z.ZodTypeAny, {
13449
13487
  factor?: number | undefined;
13450
13488
  minTimeoutInMs?: number | undefined;
13451
13489
  maxTimeoutInMs?: number | undefined;
13452
13490
  randomize?: boolean | undefined;
13453
13491
  maxAttempts?: number | undefined;
13492
+ outOfMemory?: {
13493
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13494
+ } | undefined;
13454
13495
  }, {
13455
13496
  factor?: number | undefined;
13456
13497
  minTimeoutInMs?: number | undefined;
13457
13498
  maxTimeoutInMs?: number | undefined;
13458
13499
  randomize?: boolean | undefined;
13459
13500
  maxAttempts?: number | undefined;
13501
+ outOfMemory?: {
13502
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13503
+ } | undefined;
13460
13504
  }>>;
13461
13505
  machine: z.ZodOptional<z.ZodObject<{
13462
13506
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
@@ -13498,11 +13542,14 @@ export declare const CoordinatorToPlatformMessages: {
13498
13542
  maxTimeoutInMs?: number | undefined;
13499
13543
  randomize?: boolean | undefined;
13500
13544
  maxAttempts?: number | undefined;
13545
+ outOfMemory?: {
13546
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13547
+ } | undefined;
13501
13548
  } | undefined;
13502
13549
  maxDuration?: number | undefined;
13503
13550
  queue?: {
13504
13551
  name?: string | undefined;
13505
- concurrencyLimit?: number | undefined;
13552
+ concurrencyLimit?: number | null | undefined;
13506
13553
  } | undefined;
13507
13554
  machine?: {
13508
13555
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13525,11 +13572,14 @@ export declare const CoordinatorToPlatformMessages: {
13525
13572
  maxTimeoutInMs?: number | undefined;
13526
13573
  randomize?: boolean | undefined;
13527
13574
  maxAttempts?: number | undefined;
13575
+ outOfMemory?: {
13576
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13577
+ } | undefined;
13528
13578
  } | undefined;
13529
13579
  maxDuration?: number | undefined;
13530
13580
  queue?: {
13531
13581
  name?: string | undefined;
13532
- concurrencyLimit?: number | undefined;
13582
+ concurrencyLimit?: number | null | undefined;
13533
13583
  } | undefined;
13534
13584
  machine?: {
13535
13585
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13554,11 +13604,14 @@ export declare const CoordinatorToPlatformMessages: {
13554
13604
  maxTimeoutInMs?: number | undefined;
13555
13605
  randomize?: boolean | undefined;
13556
13606
  maxAttempts?: number | undefined;
13607
+ outOfMemory?: {
13608
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13609
+ } | undefined;
13557
13610
  } | undefined;
13558
13611
  maxDuration?: number | undefined;
13559
13612
  queue?: {
13560
13613
  name?: string | undefined;
13561
- concurrencyLimit?: number | undefined;
13614
+ concurrencyLimit?: number | null | undefined;
13562
13615
  } | undefined;
13563
13616
  machine?: {
13564
13617
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13586,11 +13639,14 @@ export declare const CoordinatorToPlatformMessages: {
13586
13639
  maxTimeoutInMs?: number | undefined;
13587
13640
  randomize?: boolean | undefined;
13588
13641
  maxAttempts?: number | undefined;
13642
+ outOfMemory?: {
13643
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13644
+ } | undefined;
13589
13645
  } | undefined;
13590
13646
  maxDuration?: number | undefined;
13591
13647
  queue?: {
13592
13648
  name?: string | undefined;
13593
- concurrencyLimit?: number | undefined;
13649
+ concurrencyLimit?: number | null | undefined;
13594
13650
  } | undefined;
13595
13651
  machine?: {
13596
13652
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13623,11 +13679,14 @@ export declare const CoordinatorToPlatformMessages: {
13623
13679
  maxTimeoutInMs?: number | undefined;
13624
13680
  randomize?: boolean | undefined;
13625
13681
  maxAttempts?: number | undefined;
13682
+ outOfMemory?: {
13683
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13684
+ } | undefined;
13626
13685
  } | undefined;
13627
13686
  maxDuration?: number | undefined;
13628
13687
  queue?: {
13629
13688
  name?: string | undefined;
13630
- concurrencyLimit?: number | undefined;
13689
+ concurrencyLimit?: number | null | undefined;
13631
13690
  } | undefined;
13632
13691
  machine?: {
13633
13692
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13661,11 +13720,14 @@ export declare const CoordinatorToPlatformMessages: {
13661
13720
  maxTimeoutInMs?: number | undefined;
13662
13721
  randomize?: boolean | undefined;
13663
13722
  maxAttempts?: number | undefined;
13723
+ outOfMemory?: {
13724
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13725
+ } | undefined;
13664
13726
  } | undefined;
13665
13727
  maxDuration?: number | undefined;
13666
13728
  queue?: {
13667
13729
  name?: string | undefined;
13668
- concurrencyLimit?: number | undefined;
13730
+ concurrencyLimit?: number | null | undefined;
13669
13731
  } | undefined;
13670
13732
  machine?: {
13671
13733
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13696,13 +13758,13 @@ export declare const CoordinatorToPlatformMessages: {
13696
13758
  exportName: z.ZodString;
13697
13759
  queue: z.ZodOptional<z.ZodObject<{
13698
13760
  name: z.ZodOptional<z.ZodString>;
13699
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
13761
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
13700
13762
  }, "strip", z.ZodTypeAny, {
13701
13763
  name?: string | undefined;
13702
- concurrencyLimit?: number | undefined;
13764
+ concurrencyLimit?: number | null | undefined;
13703
13765
  }, {
13704
13766
  name?: string | undefined;
13705
- concurrencyLimit?: number | undefined;
13767
+ concurrencyLimit?: number | null | undefined;
13706
13768
  }>>;
13707
13769
  retry: z.ZodOptional<z.ZodObject<{
13708
13770
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -13710,18 +13772,31 @@ export declare const CoordinatorToPlatformMessages: {
13710
13772
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
13711
13773
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
13712
13774
  randomize: z.ZodOptional<z.ZodBoolean>;
13775
+ outOfMemory: z.ZodOptional<z.ZodObject<{
13776
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
13777
+ }, "strip", z.ZodTypeAny, {
13778
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13779
+ }, {
13780
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13781
+ }>>;
13713
13782
  }, "strip", z.ZodTypeAny, {
13714
13783
  factor?: number | undefined;
13715
13784
  minTimeoutInMs?: number | undefined;
13716
13785
  maxTimeoutInMs?: number | undefined;
13717
13786
  randomize?: boolean | undefined;
13718
13787
  maxAttempts?: number | undefined;
13788
+ outOfMemory?: {
13789
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13790
+ } | undefined;
13719
13791
  }, {
13720
13792
  factor?: number | undefined;
13721
13793
  minTimeoutInMs?: number | undefined;
13722
13794
  maxTimeoutInMs?: number | undefined;
13723
13795
  randomize?: boolean | undefined;
13724
13796
  maxAttempts?: number | undefined;
13797
+ outOfMemory?: {
13798
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13799
+ } | undefined;
13725
13800
  }>>;
13726
13801
  machine: z.ZodOptional<z.ZodObject<{
13727
13802
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
@@ -13763,11 +13838,14 @@ export declare const CoordinatorToPlatformMessages: {
13763
13838
  maxTimeoutInMs?: number | undefined;
13764
13839
  randomize?: boolean | undefined;
13765
13840
  maxAttempts?: number | undefined;
13841
+ outOfMemory?: {
13842
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13843
+ } | undefined;
13766
13844
  } | undefined;
13767
13845
  maxDuration?: number | undefined;
13768
13846
  queue?: {
13769
13847
  name?: string | undefined;
13770
- concurrencyLimit?: number | undefined;
13848
+ concurrencyLimit?: number | null | undefined;
13771
13849
  } | undefined;
13772
13850
  machine?: {
13773
13851
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13790,11 +13868,14 @@ export declare const CoordinatorToPlatformMessages: {
13790
13868
  maxTimeoutInMs?: number | undefined;
13791
13869
  randomize?: boolean | undefined;
13792
13870
  maxAttempts?: number | undefined;
13871
+ outOfMemory?: {
13872
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13873
+ } | undefined;
13793
13874
  } | undefined;
13794
13875
  maxDuration?: number | undefined;
13795
13876
  queue?: {
13796
13877
  name?: string | undefined;
13797
- concurrencyLimit?: number | undefined;
13878
+ concurrencyLimit?: number | null | undefined;
13798
13879
  } | undefined;
13799
13880
  machine?: {
13800
13881
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13819,11 +13900,14 @@ export declare const CoordinatorToPlatformMessages: {
13819
13900
  maxTimeoutInMs?: number | undefined;
13820
13901
  randomize?: boolean | undefined;
13821
13902
  maxAttempts?: number | undefined;
13903
+ outOfMemory?: {
13904
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13905
+ } | undefined;
13822
13906
  } | undefined;
13823
13907
  maxDuration?: number | undefined;
13824
13908
  queue?: {
13825
13909
  name?: string | undefined;
13826
- concurrencyLimit?: number | undefined;
13910
+ concurrencyLimit?: number | null | undefined;
13827
13911
  } | undefined;
13828
13912
  machine?: {
13829
13913
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13851,11 +13935,14 @@ export declare const CoordinatorToPlatformMessages: {
13851
13935
  maxTimeoutInMs?: number | undefined;
13852
13936
  randomize?: boolean | undefined;
13853
13937
  maxAttempts?: number | undefined;
13938
+ outOfMemory?: {
13939
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13940
+ } | undefined;
13854
13941
  } | undefined;
13855
13942
  maxDuration?: number | undefined;
13856
13943
  queue?: {
13857
13944
  name?: string | undefined;
13858
- concurrencyLimit?: number | undefined;
13945
+ concurrencyLimit?: number | null | undefined;
13859
13946
  } | undefined;
13860
13947
  machine?: {
13861
13948
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13889,11 +13976,14 @@ export declare const CoordinatorToPlatformMessages: {
13889
13976
  maxTimeoutInMs?: number | undefined;
13890
13977
  randomize?: boolean | undefined;
13891
13978
  maxAttempts?: number | undefined;
13979
+ outOfMemory?: {
13980
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
13981
+ } | undefined;
13892
13982
  } | undefined;
13893
13983
  maxDuration?: number | undefined;
13894
13984
  queue?: {
13895
13985
  name?: string | undefined;
13896
- concurrencyLimit?: number | undefined;
13986
+ concurrencyLimit?: number | null | undefined;
13897
13987
  } | undefined;
13898
13988
  machine?: {
13899
13989
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -13928,11 +14018,14 @@ export declare const CoordinatorToPlatformMessages: {
13928
14018
  maxTimeoutInMs?: number | undefined;
13929
14019
  randomize?: boolean | undefined;
13930
14020
  maxAttempts?: number | undefined;
14021
+ outOfMemory?: {
14022
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
14023
+ } | undefined;
13931
14024
  } | undefined;
13932
14025
  maxDuration?: number | undefined;
13933
14026
  queue?: {
13934
14027
  name?: string | undefined;
13935
- concurrencyLimit?: number | undefined;
14028
+ concurrencyLimit?: number | null | undefined;
13936
14029
  } | undefined;
13937
14030
  machine?: {
13938
14031
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -26170,13 +26263,13 @@ export declare const ProdWorkerToCoordinatorMessages: {
26170
26263
  exportName: z.ZodString;
26171
26264
  queue: z.ZodOptional<z.ZodObject<{
26172
26265
  name: z.ZodOptional<z.ZodString>;
26173
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
26266
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
26174
26267
  }, "strip", z.ZodTypeAny, {
26175
26268
  name?: string | undefined;
26176
- concurrencyLimit?: number | undefined;
26269
+ concurrencyLimit?: number | null | undefined;
26177
26270
  }, {
26178
26271
  name?: string | undefined;
26179
- concurrencyLimit?: number | undefined;
26272
+ concurrencyLimit?: number | null | undefined;
26180
26273
  }>>;
26181
26274
  retry: z.ZodOptional<z.ZodObject<{
26182
26275
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -26184,18 +26277,31 @@ export declare const ProdWorkerToCoordinatorMessages: {
26184
26277
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
26185
26278
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
26186
26279
  randomize: z.ZodOptional<z.ZodBoolean>;
26280
+ outOfMemory: z.ZodOptional<z.ZodObject<{
26281
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
26282
+ }, "strip", z.ZodTypeAny, {
26283
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26284
+ }, {
26285
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26286
+ }>>;
26187
26287
  }, "strip", z.ZodTypeAny, {
26188
26288
  factor?: number | undefined;
26189
26289
  minTimeoutInMs?: number | undefined;
26190
26290
  maxTimeoutInMs?: number | undefined;
26191
26291
  randomize?: boolean | undefined;
26192
26292
  maxAttempts?: number | undefined;
26293
+ outOfMemory?: {
26294
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26295
+ } | undefined;
26193
26296
  }, {
26194
26297
  factor?: number | undefined;
26195
26298
  minTimeoutInMs?: number | undefined;
26196
26299
  maxTimeoutInMs?: number | undefined;
26197
26300
  randomize?: boolean | undefined;
26198
26301
  maxAttempts?: number | undefined;
26302
+ outOfMemory?: {
26303
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26304
+ } | undefined;
26199
26305
  }>>;
26200
26306
  machine: z.ZodOptional<z.ZodObject<{
26201
26307
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
@@ -26237,11 +26343,14 @@ export declare const ProdWorkerToCoordinatorMessages: {
26237
26343
  maxTimeoutInMs?: number | undefined;
26238
26344
  randomize?: boolean | undefined;
26239
26345
  maxAttempts?: number | undefined;
26346
+ outOfMemory?: {
26347
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26348
+ } | undefined;
26240
26349
  } | undefined;
26241
26350
  maxDuration?: number | undefined;
26242
26351
  queue?: {
26243
26352
  name?: string | undefined;
26244
- concurrencyLimit?: number | undefined;
26353
+ concurrencyLimit?: number | null | undefined;
26245
26354
  } | undefined;
26246
26355
  machine?: {
26247
26356
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -26264,11 +26373,14 @@ export declare const ProdWorkerToCoordinatorMessages: {
26264
26373
  maxTimeoutInMs?: number | undefined;
26265
26374
  randomize?: boolean | undefined;
26266
26375
  maxAttempts?: number | undefined;
26376
+ outOfMemory?: {
26377
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26378
+ } | undefined;
26267
26379
  } | undefined;
26268
26380
  maxDuration?: number | undefined;
26269
26381
  queue?: {
26270
26382
  name?: string | undefined;
26271
- concurrencyLimit?: number | undefined;
26383
+ concurrencyLimit?: number | null | undefined;
26272
26384
  } | undefined;
26273
26385
  machine?: {
26274
26386
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -26297,11 +26409,14 @@ export declare const ProdWorkerToCoordinatorMessages: {
26297
26409
  maxTimeoutInMs?: number | undefined;
26298
26410
  randomize?: boolean | undefined;
26299
26411
  maxAttempts?: number | undefined;
26412
+ outOfMemory?: {
26413
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26414
+ } | undefined;
26300
26415
  } | undefined;
26301
26416
  maxDuration?: number | undefined;
26302
26417
  queue?: {
26303
26418
  name?: string | undefined;
26304
- concurrencyLimit?: number | undefined;
26419
+ concurrencyLimit?: number | null | undefined;
26305
26420
  } | undefined;
26306
26421
  machine?: {
26307
26422
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -26329,11 +26444,14 @@ export declare const ProdWorkerToCoordinatorMessages: {
26329
26444
  maxTimeoutInMs?: number | undefined;
26330
26445
  randomize?: boolean | undefined;
26331
26446
  maxAttempts?: number | undefined;
26447
+ outOfMemory?: {
26448
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26449
+ } | undefined;
26332
26450
  } | undefined;
26333
26451
  maxDuration?: number | undefined;
26334
26452
  queue?: {
26335
26453
  name?: string | undefined;
26336
- concurrencyLimit?: number | undefined;
26454
+ concurrencyLimit?: number | null | undefined;
26337
26455
  } | undefined;
26338
26456
  machine?: {
26339
26457
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -26354,13 +26472,13 @@ export declare const ProdWorkerToCoordinatorMessages: {
26354
26472
  exportName: z.ZodString;
26355
26473
  queue: z.ZodOptional<z.ZodObject<{
26356
26474
  name: z.ZodOptional<z.ZodString>;
26357
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
26475
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
26358
26476
  }, "strip", z.ZodTypeAny, {
26359
26477
  name?: string | undefined;
26360
- concurrencyLimit?: number | undefined;
26478
+ concurrencyLimit?: number | null | undefined;
26361
26479
  }, {
26362
26480
  name?: string | undefined;
26363
- concurrencyLimit?: number | undefined;
26481
+ concurrencyLimit?: number | null | undefined;
26364
26482
  }>>;
26365
26483
  retry: z.ZodOptional<z.ZodObject<{
26366
26484
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -26368,18 +26486,31 @@ export declare const ProdWorkerToCoordinatorMessages: {
26368
26486
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
26369
26487
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
26370
26488
  randomize: z.ZodOptional<z.ZodBoolean>;
26489
+ outOfMemory: z.ZodOptional<z.ZodObject<{
26490
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
26491
+ }, "strip", z.ZodTypeAny, {
26492
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26493
+ }, {
26494
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26495
+ }>>;
26371
26496
  }, "strip", z.ZodTypeAny, {
26372
26497
  factor?: number | undefined;
26373
26498
  minTimeoutInMs?: number | undefined;
26374
26499
  maxTimeoutInMs?: number | undefined;
26375
26500
  randomize?: boolean | undefined;
26376
26501
  maxAttempts?: number | undefined;
26502
+ outOfMemory?: {
26503
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26504
+ } | undefined;
26377
26505
  }, {
26378
26506
  factor?: number | undefined;
26379
26507
  minTimeoutInMs?: number | undefined;
26380
26508
  maxTimeoutInMs?: number | undefined;
26381
26509
  randomize?: boolean | undefined;
26382
26510
  maxAttempts?: number | undefined;
26511
+ outOfMemory?: {
26512
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26513
+ } | undefined;
26383
26514
  }>>;
26384
26515
  machine: z.ZodOptional<z.ZodObject<{
26385
26516
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
@@ -26421,11 +26552,14 @@ export declare const ProdWorkerToCoordinatorMessages: {
26421
26552
  maxTimeoutInMs?: number | undefined;
26422
26553
  randomize?: boolean | undefined;
26423
26554
  maxAttempts?: number | undefined;
26555
+ outOfMemory?: {
26556
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26557
+ } | undefined;
26424
26558
  } | undefined;
26425
26559
  maxDuration?: number | undefined;
26426
26560
  queue?: {
26427
26561
  name?: string | undefined;
26428
- concurrencyLimit?: number | undefined;
26562
+ concurrencyLimit?: number | null | undefined;
26429
26563
  } | undefined;
26430
26564
  machine?: {
26431
26565
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -26448,11 +26582,14 @@ export declare const ProdWorkerToCoordinatorMessages: {
26448
26582
  maxTimeoutInMs?: number | undefined;
26449
26583
  randomize?: boolean | undefined;
26450
26584
  maxAttempts?: number | undefined;
26585
+ outOfMemory?: {
26586
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26587
+ } | undefined;
26451
26588
  } | undefined;
26452
26589
  maxDuration?: number | undefined;
26453
26590
  queue?: {
26454
26591
  name?: string | undefined;
26455
- concurrencyLimit?: number | undefined;
26592
+ concurrencyLimit?: number | null | undefined;
26456
26593
  } | undefined;
26457
26594
  machine?: {
26458
26595
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -26482,11 +26619,14 @@ export declare const ProdWorkerToCoordinatorMessages: {
26482
26619
  maxTimeoutInMs?: number | undefined;
26483
26620
  randomize?: boolean | undefined;
26484
26621
  maxAttempts?: number | undefined;
26622
+ outOfMemory?: {
26623
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26624
+ } | undefined;
26485
26625
  } | undefined;
26486
26626
  maxDuration?: number | undefined;
26487
26627
  queue?: {
26488
26628
  name?: string | undefined;
26489
- concurrencyLimit?: number | undefined;
26629
+ concurrencyLimit?: number | null | undefined;
26490
26630
  } | undefined;
26491
26631
  machine?: {
26492
26632
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
@@ -26515,11 +26655,14 @@ export declare const ProdWorkerToCoordinatorMessages: {
26515
26655
  maxTimeoutInMs?: number | undefined;
26516
26656
  randomize?: boolean | undefined;
26517
26657
  maxAttempts?: number | undefined;
26658
+ outOfMemory?: {
26659
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
26660
+ } | undefined;
26518
26661
  } | undefined;
26519
26662
  maxDuration?: number | undefined;
26520
26663
  queue?: {
26521
26664
  name?: string | undefined;
26522
- concurrencyLimit?: number | undefined;
26665
+ concurrencyLimit?: number | null | undefined;
26523
26666
  } | undefined;
26524
26667
  machine?: {
26525
26668
  cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;