@trigger.dev/core 3.3.13 → 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.
@@ -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,6 +6878,9 @@ 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?: {
@@ -6893,6 +6909,9 @@ 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?: {
@@ -6938,6 +6957,9 @@ 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?: {
@@ -6978,6 +7000,9 @@ 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?: {
@@ -7037,6 +7062,9 @@ 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?: {
@@ -7085,6 +7113,9 @@ 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?: {
@@ -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,6 +13542,9 @@ 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?: {
@@ -13525,6 +13572,9 @@ 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?: {
@@ -13554,6 +13604,9 @@ 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?: {
@@ -13586,6 +13639,9 @@ 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?: {
@@ -13623,6 +13679,9 @@ 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?: {
@@ -13661,6 +13720,9 @@ 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?: {
@@ -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,6 +13838,9 @@ 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?: {
@@ -13790,6 +13868,9 @@ 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?: {
@@ -13819,6 +13900,9 @@ 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?: {
@@ -13851,6 +13935,9 @@ 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?: {
@@ -13889,6 +13976,9 @@ 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?: {
@@ -13928,6 +14018,9 @@ 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?: {
@@ -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,6 +26343,9 @@ 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?: {
@@ -26264,6 +26373,9 @@ 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?: {
@@ -26297,6 +26409,9 @@ 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?: {
@@ -26329,6 +26444,9 @@ 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?: {
@@ -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,6 +26552,9 @@ 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?: {
@@ -26448,6 +26582,9 @@ 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?: {
@@ -26482,6 +26619,9 @@ 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?: {
@@ -26515,6 +26655,9 @@ 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?: {
@@ -20,18 +20,31 @@ export declare const TaskResource: z.ZodObject<{
20
20
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
21
21
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
22
22
  randomize: z.ZodOptional<z.ZodBoolean>;
23
+ outOfMemory: z.ZodOptional<z.ZodObject<{
24
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
27
+ }, {
28
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
29
+ }>>;
23
30
  }, "strip", z.ZodTypeAny, {
24
31
  factor?: number | undefined;
25
32
  minTimeoutInMs?: number | undefined;
26
33
  maxTimeoutInMs?: number | undefined;
27
34
  randomize?: boolean | undefined;
28
35
  maxAttempts?: number | undefined;
36
+ outOfMemory?: {
37
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
38
+ } | undefined;
29
39
  }, {
30
40
  factor?: number | undefined;
31
41
  minTimeoutInMs?: number | undefined;
32
42
  maxTimeoutInMs?: number | undefined;
33
43
  randomize?: boolean | undefined;
34
44
  maxAttempts?: number | undefined;
45
+ outOfMemory?: {
46
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
47
+ } | undefined;
35
48
  }>>;
36
49
  machine: z.ZodOptional<z.ZodObject<{
37
50
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
@@ -73,6 +86,9 @@ export declare const TaskResource: z.ZodObject<{
73
86
  maxTimeoutInMs?: number | undefined;
74
87
  randomize?: boolean | undefined;
75
88
  maxAttempts?: number | undefined;
89
+ outOfMemory?: {
90
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
91
+ } | undefined;
76
92
  } | undefined;
77
93
  maxDuration?: number | undefined;
78
94
  queue?: {
@@ -100,6 +116,9 @@ export declare const TaskResource: z.ZodObject<{
100
116
  maxTimeoutInMs?: number | undefined;
101
117
  randomize?: boolean | undefined;
102
118
  maxAttempts?: number | undefined;
119
+ outOfMemory?: {
120
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
121
+ } | undefined;
103
122
  } | undefined;
104
123
  maxDuration?: number | undefined;
105
124
  queue?: {
@@ -156,18 +175,31 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
156
175
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
157
176
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
158
177
  randomize: z.ZodOptional<z.ZodBoolean>;
178
+ outOfMemory: z.ZodOptional<z.ZodObject<{
179
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
182
+ }, {
183
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
184
+ }>>;
159
185
  }, "strip", z.ZodTypeAny, {
160
186
  factor?: number | undefined;
161
187
  minTimeoutInMs?: number | undefined;
162
188
  maxTimeoutInMs?: number | undefined;
163
189
  randomize?: boolean | undefined;
164
190
  maxAttempts?: number | undefined;
191
+ outOfMemory?: {
192
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
193
+ } | undefined;
165
194
  }, {
166
195
  factor?: number | undefined;
167
196
  minTimeoutInMs?: number | undefined;
168
197
  maxTimeoutInMs?: number | undefined;
169
198
  randomize?: boolean | undefined;
170
199
  maxAttempts?: number | undefined;
200
+ outOfMemory?: {
201
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
202
+ } | undefined;
171
203
  }>>;
172
204
  machine: z.ZodOptional<z.ZodObject<{
173
205
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
@@ -209,6 +241,9 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
209
241
  maxTimeoutInMs?: number | undefined;
210
242
  randomize?: boolean | undefined;
211
243
  maxAttempts?: number | undefined;
244
+ outOfMemory?: {
245
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
246
+ } | undefined;
212
247
  } | undefined;
213
248
  maxDuration?: number | undefined;
214
249
  queue?: {
@@ -236,6 +271,9 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
236
271
  maxTimeoutInMs?: number | undefined;
237
272
  randomize?: boolean | undefined;
238
273
  maxAttempts?: number | undefined;
274
+ outOfMemory?: {
275
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
276
+ } | undefined;
239
277
  } | undefined;
240
278
  maxDuration?: number | undefined;
241
279
  queue?: {
@@ -281,6 +319,9 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
281
319
  maxTimeoutInMs?: number | undefined;
282
320
  randomize?: boolean | undefined;
283
321
  maxAttempts?: number | undefined;
322
+ outOfMemory?: {
323
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
324
+ } | undefined;
284
325
  } | undefined;
285
326
  maxDuration?: number | undefined;
286
327
  queue?: {
@@ -319,6 +360,9 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
319
360
  maxTimeoutInMs?: number | undefined;
320
361
  randomize?: boolean | undefined;
321
362
  maxAttempts?: number | undefined;
363
+ outOfMemory?: {
364
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
365
+ } | undefined;
322
366
  } | undefined;
323
367
  maxDuration?: number | undefined;
324
368
  queue?: {