@trigger.dev/core 0.0.0-prerelease-20250116195421 → 0.0.0-prerelease-20250210232715

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 (62) hide show
  1. package/dist/commonjs/logger.js +38 -0
  2. package/dist/commonjs/logger.js.map +1 -1
  3. package/dist/commonjs/schemas/api.d.ts +121 -121
  4. package/dist/commonjs/schemas/tasks.d.ts +4 -4
  5. package/dist/commonjs/v3/apiClient/core.d.ts +26 -2
  6. package/dist/commonjs/v3/apiClient/core.js +51 -1
  7. package/dist/commonjs/v3/apiClient/core.js.map +1 -1
  8. package/dist/commonjs/v3/apiClient/index.d.ts +67 -67
  9. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  10. package/dist/commonjs/v3/apiClient/runStream.js +2 -2
  11. package/dist/commonjs/v3/build/runtime.js +15 -1
  12. package/dist/commonjs/v3/build/runtime.js.map +1 -1
  13. package/dist/commonjs/v3/runtime/preventMultipleWaits.d.ts +1 -0
  14. package/dist/commonjs/v3/schemas/api.d.ts +549 -515
  15. package/dist/commonjs/v3/schemas/api.js +22 -21
  16. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  17. package/dist/commonjs/v3/schemas/build.d.ts +264 -202
  18. package/dist/commonjs/v3/schemas/fetch.d.ts +115 -0
  19. package/dist/commonjs/v3/schemas/messages.d.ts +3906 -3721
  20. package/dist/commonjs/v3/schemas/messages.js +4 -4
  21. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  22. package/dist/commonjs/v3/schemas/resources.d.ts +108 -64
  23. package/dist/commonjs/v3/schemas/schemas.d.ts +354 -262
  24. package/dist/commonjs/v3/schemas/schemas.js +11 -2
  25. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  26. package/dist/commonjs/v3/schemas/style.d.ts +10 -10
  27. package/dist/commonjs/v3/types/tasks.d.ts +2 -5
  28. package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -0
  29. package/dist/commonjs/v3/zodMessageHandler.js +8 -0
  30. package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
  31. package/dist/commonjs/version.js +1 -1
  32. package/dist/esm/logger.js +38 -0
  33. package/dist/esm/logger.js.map +1 -1
  34. package/dist/esm/schemas/api.d.ts +121 -121
  35. package/dist/esm/schemas/tasks.d.ts +4 -4
  36. package/dist/esm/v3/apiClient/core.d.ts +26 -2
  37. package/dist/esm/v3/apiClient/core.js +48 -0
  38. package/dist/esm/v3/apiClient/core.js.map +1 -1
  39. package/dist/esm/v3/apiClient/index.d.ts +67 -67
  40. package/dist/esm/v3/apiClient/index.js.map +1 -1
  41. package/dist/esm/v3/apiClient/runStream.js +2 -2
  42. package/dist/esm/v3/build/runtime.js +15 -1
  43. package/dist/esm/v3/build/runtime.js.map +1 -1
  44. package/dist/esm/v3/schemas/api.d.ts +549 -515
  45. package/dist/esm/v3/schemas/api.js +22 -21
  46. package/dist/esm/v3/schemas/api.js.map +1 -1
  47. package/dist/esm/v3/schemas/build.d.ts +264 -202
  48. package/dist/esm/v3/schemas/fetch.d.ts +115 -0
  49. package/dist/esm/v3/schemas/messages.d.ts +3906 -3721
  50. package/dist/esm/v3/schemas/messages.js +3 -3
  51. package/dist/esm/v3/schemas/messages.js.map +1 -1
  52. package/dist/esm/v3/schemas/resources.d.ts +108 -64
  53. package/dist/esm/v3/schemas/schemas.d.ts +354 -262
  54. package/dist/esm/v3/schemas/schemas.js +12 -3
  55. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  56. package/dist/esm/v3/schemas/style.d.ts +10 -10
  57. package/dist/esm/v3/types/tasks.d.ts +2 -5
  58. package/dist/esm/v3/zodMessageHandler.d.ts +2 -0
  59. package/dist/esm/v3/zodMessageHandler.js +8 -0
  60. package/dist/esm/v3/zodMessageHandler.js.map +1 -1
  61. package/dist/esm/version.js +1 -1
  62. package/package.json +2 -1
@@ -120,8 +120,6 @@ export declare const BuildManifest: z.ZodObject<{
120
120
  exclude?: string[] | undefined;
121
121
  }>>;
122
122
  }, "strip", z.ZodTypeAny, {
123
- configPath: string;
124
- runtime: "node" | "bun";
125
123
  environment: string;
126
124
  contentHash: string;
127
125
  packageVersion: string;
@@ -133,6 +131,7 @@ export declare const BuildManifest: z.ZodObject<{
133
131
  } | undefined;
134
132
  };
135
133
  target: "dev" | "deploy";
134
+ runtime: "node" | "bun";
136
135
  config: {
137
136
  project: string;
138
137
  dirs: string[];
@@ -148,29 +147,28 @@ export declare const BuildManifest: z.ZodObject<{
148
147
  outputPath: string;
149
148
  runWorkerEntryPoint: string;
150
149
  indexWorkerEntryPoint: string;
150
+ configPath: string;
151
151
  build: {
152
152
  env?: Record<string, string> | undefined;
153
153
  commands?: string[] | undefined;
154
154
  };
155
- loaderEntryPoint?: string | undefined;
156
- customConditions?: string[] | undefined;
157
- otelImportHook?: {
158
- include?: string[] | undefined;
159
- exclude?: string[] | undefined;
160
- } | undefined;
161
155
  runControllerEntryPoint?: string | undefined;
162
156
  indexControllerEntryPoint?: string | undefined;
157
+ loaderEntryPoint?: string | undefined;
163
158
  externals?: {
164
159
  name: string;
165
160
  version: string;
166
161
  }[] | undefined;
162
+ customConditions?: string[] | undefined;
167
163
  image?: {
168
164
  pkgs?: string[] | undefined;
169
165
  instructions?: string[] | undefined;
170
166
  } | undefined;
167
+ otelImportHook?: {
168
+ include?: string[] | undefined;
169
+ exclude?: string[] | undefined;
170
+ } | undefined;
171
171
  }, {
172
- configPath: string;
173
- runtime: "node" | "bun";
174
172
  environment: string;
175
173
  contentHash: string;
176
174
  packageVersion: string;
@@ -182,6 +180,7 @@ export declare const BuildManifest: z.ZodObject<{
182
180
  } | undefined;
183
181
  };
184
182
  target: "dev" | "deploy";
183
+ runtime: "node" | "bun";
185
184
  config: {
186
185
  project: string;
187
186
  dirs: string[];
@@ -197,26 +196,27 @@ export declare const BuildManifest: z.ZodObject<{
197
196
  outputPath: string;
198
197
  runWorkerEntryPoint: string;
199
198
  indexWorkerEntryPoint: string;
199
+ configPath: string;
200
200
  build: {
201
201
  env?: Record<string, string> | undefined;
202
202
  commands?: string[] | undefined;
203
203
  };
204
- loaderEntryPoint?: string | undefined;
205
- customConditions?: string[] | undefined;
206
- otelImportHook?: {
207
- include?: string[] | undefined;
208
- exclude?: string[] | undefined;
209
- } | undefined;
210
204
  runControllerEntryPoint?: string | undefined;
211
205
  indexControllerEntryPoint?: string | undefined;
206
+ loaderEntryPoint?: string | undefined;
212
207
  externals?: {
213
208
  name: string;
214
209
  version: string;
215
210
  }[] | undefined;
211
+ customConditions?: string[] | undefined;
216
212
  image?: {
217
213
  pkgs?: string[] | undefined;
218
214
  instructions?: string[] | undefined;
219
215
  } | undefined;
216
+ otelImportHook?: {
217
+ include?: string[] | undefined;
218
+ exclude?: string[] | undefined;
219
+ } | undefined;
220
220
  }>;
221
221
  export type BuildManifest = z.infer<typeof BuildManifest>;
222
222
  export declare const IndexMessage: z.ZodObject<{
@@ -328,8 +328,6 @@ export declare const IndexMessage: z.ZodObject<{
328
328
  exclude?: string[] | undefined;
329
329
  }>>;
330
330
  }, "strip", z.ZodTypeAny, {
331
- configPath: string;
332
- runtime: "node" | "bun";
333
331
  environment: string;
334
332
  contentHash: string;
335
333
  packageVersion: string;
@@ -341,6 +339,7 @@ export declare const IndexMessage: z.ZodObject<{
341
339
  } | undefined;
342
340
  };
343
341
  target: "dev" | "deploy";
342
+ runtime: "node" | "bun";
344
343
  config: {
345
344
  project: string;
346
345
  dirs: string[];
@@ -356,29 +355,28 @@ export declare const IndexMessage: z.ZodObject<{
356
355
  outputPath: string;
357
356
  runWorkerEntryPoint: string;
358
357
  indexWorkerEntryPoint: string;
358
+ configPath: string;
359
359
  build: {
360
360
  env?: Record<string, string> | undefined;
361
361
  commands?: string[] | undefined;
362
362
  };
363
- loaderEntryPoint?: string | undefined;
364
- customConditions?: string[] | undefined;
365
- otelImportHook?: {
366
- include?: string[] | undefined;
367
- exclude?: string[] | undefined;
368
- } | undefined;
369
363
  runControllerEntryPoint?: string | undefined;
370
364
  indexControllerEntryPoint?: string | undefined;
365
+ loaderEntryPoint?: string | undefined;
371
366
  externals?: {
372
367
  name: string;
373
368
  version: string;
374
369
  }[] | undefined;
370
+ customConditions?: string[] | undefined;
375
371
  image?: {
376
372
  pkgs?: string[] | undefined;
377
373
  instructions?: string[] | undefined;
378
374
  } | undefined;
375
+ otelImportHook?: {
376
+ include?: string[] | undefined;
377
+ exclude?: string[] | undefined;
378
+ } | undefined;
379
379
  }, {
380
- configPath: string;
381
- runtime: "node" | "bun";
382
380
  environment: string;
383
381
  contentHash: string;
384
382
  packageVersion: string;
@@ -390,6 +388,7 @@ export declare const IndexMessage: z.ZodObject<{
390
388
  } | undefined;
391
389
  };
392
390
  target: "dev" | "deploy";
391
+ runtime: "node" | "bun";
393
392
  config: {
394
393
  project: string;
395
394
  dirs: string[];
@@ -405,31 +404,30 @@ export declare const IndexMessage: z.ZodObject<{
405
404
  outputPath: string;
406
405
  runWorkerEntryPoint: string;
407
406
  indexWorkerEntryPoint: string;
407
+ configPath: string;
408
408
  build: {
409
409
  env?: Record<string, string> | undefined;
410
410
  commands?: string[] | undefined;
411
411
  };
412
- loaderEntryPoint?: string | undefined;
413
- customConditions?: string[] | undefined;
414
- otelImportHook?: {
415
- include?: string[] | undefined;
416
- exclude?: string[] | undefined;
417
- } | undefined;
418
412
  runControllerEntryPoint?: string | undefined;
419
413
  indexControllerEntryPoint?: string | undefined;
414
+ loaderEntryPoint?: string | undefined;
420
415
  externals?: {
421
416
  name: string;
422
417
  version: string;
423
418
  }[] | undefined;
419
+ customConditions?: string[] | undefined;
424
420
  image?: {
425
421
  pkgs?: string[] | undefined;
426
422
  instructions?: string[] | undefined;
427
423
  } | undefined;
424
+ otelImportHook?: {
425
+ include?: string[] | undefined;
426
+ exclude?: string[] | undefined;
427
+ } | undefined;
428
428
  }>;
429
429
  }, "strip", z.ZodTypeAny, {
430
430
  build: {
431
- configPath: string;
432
- runtime: "node" | "bun";
433
431
  environment: string;
434
432
  contentHash: string;
435
433
  packageVersion: string;
@@ -441,6 +439,7 @@ export declare const IndexMessage: z.ZodObject<{
441
439
  } | undefined;
442
440
  };
443
441
  target: "dev" | "deploy";
442
+ runtime: "node" | "bun";
444
443
  config: {
445
444
  project: string;
446
445
  dirs: string[];
@@ -456,31 +455,30 @@ export declare const IndexMessage: z.ZodObject<{
456
455
  outputPath: string;
457
456
  runWorkerEntryPoint: string;
458
457
  indexWorkerEntryPoint: string;
458
+ configPath: string;
459
459
  build: {
460
460
  env?: Record<string, string> | undefined;
461
461
  commands?: string[] | undefined;
462
462
  };
463
- loaderEntryPoint?: string | undefined;
464
- customConditions?: string[] | undefined;
465
- otelImportHook?: {
466
- include?: string[] | undefined;
467
- exclude?: string[] | undefined;
468
- } | undefined;
469
463
  runControllerEntryPoint?: string | undefined;
470
464
  indexControllerEntryPoint?: string | undefined;
465
+ loaderEntryPoint?: string | undefined;
471
466
  externals?: {
472
467
  name: string;
473
468
  version: string;
474
469
  }[] | undefined;
470
+ customConditions?: string[] | undefined;
475
471
  image?: {
476
472
  pkgs?: string[] | undefined;
477
473
  instructions?: string[] | undefined;
478
474
  } | undefined;
475
+ otelImportHook?: {
476
+ include?: string[] | undefined;
477
+ exclude?: string[] | undefined;
478
+ } | undefined;
479
479
  };
480
480
  }, {
481
481
  build: {
482
- configPath: string;
483
- runtime: "node" | "bun";
484
482
  environment: string;
485
483
  contentHash: string;
486
484
  packageVersion: string;
@@ -492,6 +490,7 @@ export declare const IndexMessage: z.ZodObject<{
492
490
  } | undefined;
493
491
  };
494
492
  target: "dev" | "deploy";
493
+ runtime: "node" | "bun";
495
494
  config: {
496
495
  project: string;
497
496
  dirs: string[];
@@ -507,34 +506,33 @@ export declare const IndexMessage: z.ZodObject<{
507
506
  outputPath: string;
508
507
  runWorkerEntryPoint: string;
509
508
  indexWorkerEntryPoint: string;
509
+ configPath: string;
510
510
  build: {
511
511
  env?: Record<string, string> | undefined;
512
512
  commands?: string[] | undefined;
513
513
  };
514
- loaderEntryPoint?: string | undefined;
515
- customConditions?: string[] | undefined;
516
- otelImportHook?: {
517
- include?: string[] | undefined;
518
- exclude?: string[] | undefined;
519
- } | undefined;
520
514
  runControllerEntryPoint?: string | undefined;
521
515
  indexControllerEntryPoint?: string | undefined;
516
+ loaderEntryPoint?: string | undefined;
522
517
  externals?: {
523
518
  name: string;
524
519
  version: string;
525
520
  }[] | undefined;
521
+ customConditions?: string[] | undefined;
526
522
  image?: {
527
523
  pkgs?: string[] | undefined;
528
524
  instructions?: string[] | undefined;
529
525
  } | undefined;
526
+ otelImportHook?: {
527
+ include?: string[] | undefined;
528
+ exclude?: string[] | undefined;
529
+ } | undefined;
530
530
  };
531
531
  }>;
532
532
  }, "strip", z.ZodTypeAny, {
533
533
  type: "index";
534
534
  data: {
535
535
  build: {
536
- configPath: string;
537
- runtime: "node" | "bun";
538
536
  environment: string;
539
537
  contentHash: string;
540
538
  packageVersion: string;
@@ -546,6 +544,7 @@ export declare const IndexMessage: z.ZodObject<{
546
544
  } | undefined;
547
545
  };
548
546
  target: "dev" | "deploy";
547
+ runtime: "node" | "bun";
549
548
  config: {
550
549
  project: string;
551
550
  dirs: string[];
@@ -561,34 +560,33 @@ export declare const IndexMessage: z.ZodObject<{
561
560
  outputPath: string;
562
561
  runWorkerEntryPoint: string;
563
562
  indexWorkerEntryPoint: string;
563
+ configPath: string;
564
564
  build: {
565
565
  env?: Record<string, string> | undefined;
566
566
  commands?: string[] | undefined;
567
567
  };
568
- loaderEntryPoint?: string | undefined;
569
- customConditions?: string[] | undefined;
570
- otelImportHook?: {
571
- include?: string[] | undefined;
572
- exclude?: string[] | undefined;
573
- } | undefined;
574
568
  runControllerEntryPoint?: string | undefined;
575
569
  indexControllerEntryPoint?: string | undefined;
570
+ loaderEntryPoint?: string | undefined;
576
571
  externals?: {
577
572
  name: string;
578
573
  version: string;
579
574
  }[] | undefined;
575
+ customConditions?: string[] | undefined;
580
576
  image?: {
581
577
  pkgs?: string[] | undefined;
582
578
  instructions?: string[] | undefined;
583
579
  } | undefined;
580
+ otelImportHook?: {
581
+ include?: string[] | undefined;
582
+ exclude?: string[] | undefined;
583
+ } | undefined;
584
584
  };
585
585
  };
586
586
  }, {
587
587
  type: "index";
588
588
  data: {
589
589
  build: {
590
- configPath: string;
591
- runtime: "node" | "bun";
592
590
  environment: string;
593
591
  contentHash: string;
594
592
  packageVersion: string;
@@ -600,6 +598,7 @@ export declare const IndexMessage: z.ZodObject<{
600
598
  } | undefined;
601
599
  };
602
600
  target: "dev" | "deploy";
601
+ runtime: "node" | "bun";
603
602
  config: {
604
603
  project: string;
605
604
  dirs: string[];
@@ -615,26 +614,27 @@ export declare const IndexMessage: z.ZodObject<{
615
614
  outputPath: string;
616
615
  runWorkerEntryPoint: string;
617
616
  indexWorkerEntryPoint: string;
617
+ configPath: string;
618
618
  build: {
619
619
  env?: Record<string, string> | undefined;
620
620
  commands?: string[] | undefined;
621
621
  };
622
- loaderEntryPoint?: string | undefined;
623
- customConditions?: string[] | undefined;
624
- otelImportHook?: {
625
- include?: string[] | undefined;
626
- exclude?: string[] | undefined;
627
- } | undefined;
628
622
  runControllerEntryPoint?: string | undefined;
629
623
  indexControllerEntryPoint?: string | undefined;
624
+ loaderEntryPoint?: string | undefined;
630
625
  externals?: {
631
626
  name: string;
632
627
  version: string;
633
628
  }[] | undefined;
629
+ customConditions?: string[] | undefined;
634
630
  image?: {
635
631
  pkgs?: string[] | undefined;
636
632
  instructions?: string[] | undefined;
637
633
  } | undefined;
634
+ otelImportHook?: {
635
+ include?: string[] | undefined;
636
+ exclude?: string[] | undefined;
637
+ } | undefined;
638
638
  };
639
639
  };
640
640
  }>;
@@ -649,13 +649,13 @@ export declare const WorkerManifest: z.ZodObject<{
649
649
  description: z.ZodOptional<z.ZodString>;
650
650
  queue: z.ZodOptional<z.ZodObject<{
651
651
  name: z.ZodOptional<z.ZodString>;
652
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
652
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
653
653
  }, "strip", z.ZodTypeAny, {
654
654
  name?: string | undefined;
655
- concurrencyLimit?: number | undefined;
655
+ concurrencyLimit?: number | null | undefined;
656
656
  }, {
657
657
  name?: string | undefined;
658
- concurrencyLimit?: number | undefined;
658
+ concurrencyLimit?: number | null | undefined;
659
659
  }>>;
660
660
  retry: z.ZodOptional<z.ZodObject<{
661
661
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -663,18 +663,31 @@ export declare const WorkerManifest: z.ZodObject<{
663
663
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
664
664
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
665
665
  randomize: z.ZodOptional<z.ZodBoolean>;
666
+ outOfMemory: z.ZodOptional<z.ZodObject<{
667
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
670
+ }, {
671
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
672
+ }>>;
666
673
  }, "strip", z.ZodTypeAny, {
667
674
  maxAttempts?: number | undefined;
668
675
  factor?: number | undefined;
669
676
  minTimeoutInMs?: number | undefined;
670
677
  maxTimeoutInMs?: number | undefined;
671
678
  randomize?: boolean | undefined;
679
+ outOfMemory?: {
680
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
681
+ } | undefined;
672
682
  }, {
673
683
  maxAttempts?: number | undefined;
674
684
  factor?: number | undefined;
675
685
  minTimeoutInMs?: number | undefined;
676
686
  maxTimeoutInMs?: number | undefined;
677
687
  randomize?: boolean | undefined;
688
+ outOfMemory?: {
689
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
690
+ } | undefined;
678
691
  }>>;
679
692
  machine: z.ZodOptional<z.ZodObject<{
680
693
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
@@ -703,13 +716,18 @@ export declare const WorkerManifest: z.ZodObject<{
703
716
  maxDuration: z.ZodOptional<z.ZodNumber>;
704
717
  }, "strip", z.ZodTypeAny, {
705
718
  id: string;
706
- exportName: string;
707
719
  filePath: string;
720
+ exportName: string;
708
721
  entryPoint: string;
709
- description?: string | undefined;
722
+ maxDuration?: number | undefined;
710
723
  queue?: {
711
724
  name?: string | undefined;
712
- concurrencyLimit?: number | undefined;
725
+ concurrencyLimit?: number | null | undefined;
726
+ } | undefined;
727
+ machine?: {
728
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
729
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
730
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
713
731
  } | undefined;
714
732
  retry?: {
715
733
  maxAttempts?: number | undefined;
@@ -717,27 +735,30 @@ export declare const WorkerManifest: z.ZodObject<{
717
735
  minTimeoutInMs?: number | undefined;
718
736
  maxTimeoutInMs?: number | undefined;
719
737
  randomize?: boolean | undefined;
738
+ outOfMemory?: {
739
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
740
+ } | undefined;
720
741
  } | undefined;
721
- machine?: {
722
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
723
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
724
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
725
- } | undefined;
742
+ description?: string | undefined;
726
743
  triggerSource?: string | undefined;
727
744
  schedule?: {
728
745
  cron: string;
729
746
  timezone: string;
730
747
  } | undefined;
731
- maxDuration?: number | undefined;
732
748
  }, {
733
749
  id: string;
734
- exportName: string;
735
750
  filePath: string;
751
+ exportName: string;
736
752
  entryPoint: string;
737
- description?: string | undefined;
753
+ maxDuration?: number | undefined;
738
754
  queue?: {
739
755
  name?: string | undefined;
740
- concurrencyLimit?: number | undefined;
756
+ concurrencyLimit?: number | null | undefined;
757
+ } | undefined;
758
+ machine?: {
759
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
760
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
761
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
741
762
  } | undefined;
742
763
  retry?: {
743
764
  maxAttempts?: number | undefined;
@@ -745,18 +766,16 @@ export declare const WorkerManifest: z.ZodObject<{
745
766
  minTimeoutInMs?: number | undefined;
746
767
  maxTimeoutInMs?: number | undefined;
747
768
  randomize?: boolean | undefined;
769
+ outOfMemory?: {
770
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
771
+ } | undefined;
748
772
  } | undefined;
749
- machine?: {
750
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
751
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
752
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
753
- } | undefined;
773
+ description?: string | undefined;
754
774
  triggerSource?: string | undefined;
755
775
  schedule?: {
756
776
  cron: string;
757
777
  timezone: string;
758
778
  } | undefined;
759
- maxDuration?: number | undefined;
760
779
  }>, "many">;
761
780
  workerEntryPoint: z.ZodString;
762
781
  controllerEntryPoint: z.ZodOptional<z.ZodString>;
@@ -774,16 +793,20 @@ export declare const WorkerManifest: z.ZodObject<{
774
793
  exclude?: string[] | undefined;
775
794
  }>>;
776
795
  }, "strip", z.ZodTypeAny, {
777
- configPath: string;
778
796
  tasks: {
779
797
  id: string;
780
- exportName: string;
781
798
  filePath: string;
799
+ exportName: string;
782
800
  entryPoint: string;
783
- description?: string | undefined;
801
+ maxDuration?: number | undefined;
784
802
  queue?: {
785
803
  name?: string | undefined;
786
- concurrencyLimit?: number | undefined;
804
+ concurrencyLimit?: number | null | undefined;
805
+ } | undefined;
806
+ machine?: {
807
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
808
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
809
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
787
810
  } | undefined;
788
811
  retry?: {
789
812
  maxAttempts?: number | undefined;
@@ -791,39 +814,42 @@ export declare const WorkerManifest: z.ZodObject<{
791
814
  minTimeoutInMs?: number | undefined;
792
815
  maxTimeoutInMs?: number | undefined;
793
816
  randomize?: boolean | undefined;
817
+ outOfMemory?: {
818
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
819
+ } | undefined;
794
820
  } | undefined;
795
- machine?: {
796
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
797
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
798
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
799
- } | undefined;
821
+ description?: string | undefined;
800
822
  triggerSource?: string | undefined;
801
823
  schedule?: {
802
824
  cron: string;
803
825
  timezone: string;
804
826
  } | undefined;
805
- maxDuration?: number | undefined;
806
827
  }[];
807
- workerEntryPoint: string;
808
828
  runtime: "node" | "bun";
809
- controllerEntryPoint?: string | undefined;
829
+ configPath: string;
830
+ workerEntryPoint: string;
810
831
  loaderEntryPoint?: string | undefined;
811
832
  customConditions?: string[] | undefined;
812
833
  otelImportHook?: {
813
834
  include?: string[] | undefined;
814
835
  exclude?: string[] | undefined;
815
836
  } | undefined;
837
+ controllerEntryPoint?: string | undefined;
816
838
  }, {
817
- configPath: string;
818
839
  tasks: {
819
840
  id: string;
820
- exportName: string;
821
841
  filePath: string;
842
+ exportName: string;
822
843
  entryPoint: string;
823
- description?: string | undefined;
844
+ maxDuration?: number | undefined;
824
845
  queue?: {
825
846
  name?: string | undefined;
826
- concurrencyLimit?: number | undefined;
847
+ concurrencyLimit?: number | null | undefined;
848
+ } | undefined;
849
+ machine?: {
850
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
851
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
852
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
827
853
  } | undefined;
828
854
  retry?: {
829
855
  maxAttempts?: number | undefined;
@@ -831,28 +857,27 @@ export declare const WorkerManifest: z.ZodObject<{
831
857
  minTimeoutInMs?: number | undefined;
832
858
  maxTimeoutInMs?: number | undefined;
833
859
  randomize?: boolean | undefined;
860
+ outOfMemory?: {
861
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
862
+ } | undefined;
834
863
  } | undefined;
835
- machine?: {
836
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
837
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
838
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
839
- } | undefined;
864
+ description?: string | undefined;
840
865
  triggerSource?: string | undefined;
841
866
  schedule?: {
842
867
  cron: string;
843
868
  timezone: string;
844
869
  } | undefined;
845
- maxDuration?: number | undefined;
846
870
  }[];
847
- workerEntryPoint: string;
848
871
  runtime: "node" | "bun";
849
- controllerEntryPoint?: string | undefined;
872
+ configPath: string;
873
+ workerEntryPoint: string;
850
874
  loaderEntryPoint?: string | undefined;
851
875
  customConditions?: string[] | undefined;
852
876
  otelImportHook?: {
853
877
  include?: string[] | undefined;
854
878
  exclude?: string[] | undefined;
855
879
  } | undefined;
880
+ controllerEntryPoint?: string | undefined;
856
881
  }>;
857
882
  export type WorkerManifest = z.infer<typeof WorkerManifest>;
858
883
  export declare const WorkerManifestMessage: z.ZodObject<{
@@ -868,13 +893,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
868
893
  description: z.ZodOptional<z.ZodString>;
869
894
  queue: z.ZodOptional<z.ZodObject<{
870
895
  name: z.ZodOptional<z.ZodString>;
871
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
896
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
872
897
  }, "strip", z.ZodTypeAny, {
873
898
  name?: string | undefined;
874
- concurrencyLimit?: number | undefined;
899
+ concurrencyLimit?: number | null | undefined;
875
900
  }, {
876
901
  name?: string | undefined;
877
- concurrencyLimit?: number | undefined;
902
+ concurrencyLimit?: number | null | undefined;
878
903
  }>>;
879
904
  retry: z.ZodOptional<z.ZodObject<{
880
905
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -882,18 +907,31 @@ export declare const WorkerManifestMessage: z.ZodObject<{
882
907
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
883
908
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
884
909
  randomize: z.ZodOptional<z.ZodBoolean>;
910
+ outOfMemory: z.ZodOptional<z.ZodObject<{
911
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
912
+ }, "strip", z.ZodTypeAny, {
913
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
914
+ }, {
915
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
916
+ }>>;
885
917
  }, "strip", z.ZodTypeAny, {
886
918
  maxAttempts?: number | undefined;
887
919
  factor?: number | undefined;
888
920
  minTimeoutInMs?: number | undefined;
889
921
  maxTimeoutInMs?: number | undefined;
890
922
  randomize?: boolean | undefined;
923
+ outOfMemory?: {
924
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
925
+ } | undefined;
891
926
  }, {
892
927
  maxAttempts?: number | undefined;
893
928
  factor?: number | undefined;
894
929
  minTimeoutInMs?: number | undefined;
895
930
  maxTimeoutInMs?: number | undefined;
896
931
  randomize?: boolean | undefined;
932
+ outOfMemory?: {
933
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
934
+ } | undefined;
897
935
  }>>;
898
936
  machine: z.ZodOptional<z.ZodObject<{
899
937
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
@@ -922,13 +960,18 @@ export declare const WorkerManifestMessage: z.ZodObject<{
922
960
  maxDuration: z.ZodOptional<z.ZodNumber>;
923
961
  }, "strip", z.ZodTypeAny, {
924
962
  id: string;
925
- exportName: string;
926
963
  filePath: string;
964
+ exportName: string;
927
965
  entryPoint: string;
928
- description?: string | undefined;
966
+ maxDuration?: number | undefined;
929
967
  queue?: {
930
968
  name?: string | undefined;
931
- concurrencyLimit?: number | undefined;
969
+ concurrencyLimit?: number | null | undefined;
970
+ } | undefined;
971
+ machine?: {
972
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
973
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
974
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
932
975
  } | undefined;
933
976
  retry?: {
934
977
  maxAttempts?: number | undefined;
@@ -936,27 +979,30 @@ export declare const WorkerManifestMessage: z.ZodObject<{
936
979
  minTimeoutInMs?: number | undefined;
937
980
  maxTimeoutInMs?: number | undefined;
938
981
  randomize?: boolean | undefined;
982
+ outOfMemory?: {
983
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
984
+ } | undefined;
939
985
  } | undefined;
940
- machine?: {
941
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
942
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
943
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
944
- } | undefined;
986
+ description?: string | undefined;
945
987
  triggerSource?: string | undefined;
946
988
  schedule?: {
947
989
  cron: string;
948
990
  timezone: string;
949
991
  } | undefined;
950
- maxDuration?: number | undefined;
951
992
  }, {
952
993
  id: string;
953
- exportName: string;
954
994
  filePath: string;
995
+ exportName: string;
955
996
  entryPoint: string;
956
- description?: string | undefined;
997
+ maxDuration?: number | undefined;
957
998
  queue?: {
958
999
  name?: string | undefined;
959
- concurrencyLimit?: number | undefined;
1000
+ concurrencyLimit?: number | null | undefined;
1001
+ } | undefined;
1002
+ machine?: {
1003
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1004
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1005
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
960
1006
  } | undefined;
961
1007
  retry?: {
962
1008
  maxAttempts?: number | undefined;
@@ -964,18 +1010,16 @@ export declare const WorkerManifestMessage: z.ZodObject<{
964
1010
  minTimeoutInMs?: number | undefined;
965
1011
  maxTimeoutInMs?: number | undefined;
966
1012
  randomize?: boolean | undefined;
1013
+ outOfMemory?: {
1014
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1015
+ } | undefined;
967
1016
  } | undefined;
968
- machine?: {
969
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
970
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
971
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
972
- } | undefined;
1017
+ description?: string | undefined;
973
1018
  triggerSource?: string | undefined;
974
1019
  schedule?: {
975
1020
  cron: string;
976
1021
  timezone: string;
977
1022
  } | undefined;
978
- maxDuration?: number | undefined;
979
1023
  }>, "many">;
980
1024
  workerEntryPoint: z.ZodString;
981
1025
  controllerEntryPoint: z.ZodOptional<z.ZodString>;
@@ -993,16 +1037,20 @@ export declare const WorkerManifestMessage: z.ZodObject<{
993
1037
  exclude?: string[] | undefined;
994
1038
  }>>;
995
1039
  }, "strip", z.ZodTypeAny, {
996
- configPath: string;
997
1040
  tasks: {
998
1041
  id: string;
999
- exportName: string;
1000
1042
  filePath: string;
1043
+ exportName: string;
1001
1044
  entryPoint: string;
1002
- description?: string | undefined;
1045
+ maxDuration?: number | undefined;
1003
1046
  queue?: {
1004
1047
  name?: string | undefined;
1005
- concurrencyLimit?: number | undefined;
1048
+ concurrencyLimit?: number | null | undefined;
1049
+ } | undefined;
1050
+ machine?: {
1051
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1052
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1053
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1006
1054
  } | undefined;
1007
1055
  retry?: {
1008
1056
  maxAttempts?: number | undefined;
@@ -1010,39 +1058,42 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1010
1058
  minTimeoutInMs?: number | undefined;
1011
1059
  maxTimeoutInMs?: number | undefined;
1012
1060
  randomize?: boolean | undefined;
1061
+ outOfMemory?: {
1062
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1063
+ } | undefined;
1013
1064
  } | undefined;
1014
- machine?: {
1015
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1016
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1017
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1018
- } | undefined;
1065
+ description?: string | undefined;
1019
1066
  triggerSource?: string | undefined;
1020
1067
  schedule?: {
1021
1068
  cron: string;
1022
1069
  timezone: string;
1023
1070
  } | undefined;
1024
- maxDuration?: number | undefined;
1025
1071
  }[];
1026
- workerEntryPoint: string;
1027
1072
  runtime: "node" | "bun";
1028
- controllerEntryPoint?: string | undefined;
1073
+ configPath: string;
1074
+ workerEntryPoint: string;
1029
1075
  loaderEntryPoint?: string | undefined;
1030
1076
  customConditions?: string[] | undefined;
1031
1077
  otelImportHook?: {
1032
1078
  include?: string[] | undefined;
1033
1079
  exclude?: string[] | undefined;
1034
1080
  } | undefined;
1081
+ controllerEntryPoint?: string | undefined;
1035
1082
  }, {
1036
- configPath: string;
1037
1083
  tasks: {
1038
1084
  id: string;
1039
- exportName: string;
1040
1085
  filePath: string;
1086
+ exportName: string;
1041
1087
  entryPoint: string;
1042
- description?: string | undefined;
1088
+ maxDuration?: number | undefined;
1043
1089
  queue?: {
1044
1090
  name?: string | undefined;
1045
- concurrencyLimit?: number | undefined;
1091
+ concurrencyLimit?: number | null | undefined;
1092
+ } | undefined;
1093
+ machine?: {
1094
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1095
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1096
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1046
1097
  } | undefined;
1047
1098
  retry?: {
1048
1099
  maxAttempts?: number | undefined;
@@ -1050,41 +1101,44 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1050
1101
  minTimeoutInMs?: number | undefined;
1051
1102
  maxTimeoutInMs?: number | undefined;
1052
1103
  randomize?: boolean | undefined;
1104
+ outOfMemory?: {
1105
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1106
+ } | undefined;
1053
1107
  } | undefined;
1054
- machine?: {
1055
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1056
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1057
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1058
- } | undefined;
1108
+ description?: string | undefined;
1059
1109
  triggerSource?: string | undefined;
1060
1110
  schedule?: {
1061
1111
  cron: string;
1062
1112
  timezone: string;
1063
1113
  } | undefined;
1064
- maxDuration?: number | undefined;
1065
1114
  }[];
1066
- workerEntryPoint: string;
1067
1115
  runtime: "node" | "bun";
1068
- controllerEntryPoint?: string | undefined;
1116
+ configPath: string;
1117
+ workerEntryPoint: string;
1069
1118
  loaderEntryPoint?: string | undefined;
1070
1119
  customConditions?: string[] | undefined;
1071
1120
  otelImportHook?: {
1072
1121
  include?: string[] | undefined;
1073
1122
  exclude?: string[] | undefined;
1074
1123
  } | undefined;
1124
+ controllerEntryPoint?: string | undefined;
1075
1125
  }>;
1076
1126
  }, "strip", z.ZodTypeAny, {
1077
1127
  manifest: {
1078
- configPath: string;
1079
1128
  tasks: {
1080
1129
  id: string;
1081
- exportName: string;
1082
1130
  filePath: string;
1131
+ exportName: string;
1083
1132
  entryPoint: string;
1084
- description?: string | undefined;
1133
+ maxDuration?: number | undefined;
1085
1134
  queue?: {
1086
1135
  name?: string | undefined;
1087
- concurrencyLimit?: number | undefined;
1136
+ concurrencyLimit?: number | null | undefined;
1137
+ } | undefined;
1138
+ machine?: {
1139
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1140
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1141
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1088
1142
  } | undefined;
1089
1143
  retry?: {
1090
1144
  maxAttempts?: number | undefined;
@@ -1092,41 +1146,44 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1092
1146
  minTimeoutInMs?: number | undefined;
1093
1147
  maxTimeoutInMs?: number | undefined;
1094
1148
  randomize?: boolean | undefined;
1149
+ outOfMemory?: {
1150
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1151
+ } | undefined;
1095
1152
  } | undefined;
1096
- machine?: {
1097
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1098
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1099
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1100
- } | undefined;
1153
+ description?: string | undefined;
1101
1154
  triggerSource?: string | undefined;
1102
1155
  schedule?: {
1103
1156
  cron: string;
1104
1157
  timezone: string;
1105
1158
  } | undefined;
1106
- maxDuration?: number | undefined;
1107
1159
  }[];
1108
- workerEntryPoint: string;
1109
1160
  runtime: "node" | "bun";
1110
- controllerEntryPoint?: string | undefined;
1161
+ configPath: string;
1162
+ workerEntryPoint: string;
1111
1163
  loaderEntryPoint?: string | undefined;
1112
1164
  customConditions?: string[] | undefined;
1113
1165
  otelImportHook?: {
1114
1166
  include?: string[] | undefined;
1115
1167
  exclude?: string[] | undefined;
1116
1168
  } | undefined;
1169
+ controllerEntryPoint?: string | undefined;
1117
1170
  };
1118
1171
  }, {
1119
1172
  manifest: {
1120
- configPath: string;
1121
1173
  tasks: {
1122
1174
  id: string;
1123
- exportName: string;
1124
1175
  filePath: string;
1176
+ exportName: string;
1125
1177
  entryPoint: string;
1126
- description?: string | undefined;
1178
+ maxDuration?: number | undefined;
1127
1179
  queue?: {
1128
1180
  name?: string | undefined;
1129
- concurrencyLimit?: number | undefined;
1181
+ concurrencyLimit?: number | null | undefined;
1182
+ } | undefined;
1183
+ machine?: {
1184
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1185
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1186
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1130
1187
  } | undefined;
1131
1188
  retry?: {
1132
1189
  maxAttempts?: number | undefined;
@@ -1134,44 +1191,47 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1134
1191
  minTimeoutInMs?: number | undefined;
1135
1192
  maxTimeoutInMs?: number | undefined;
1136
1193
  randomize?: boolean | undefined;
1194
+ outOfMemory?: {
1195
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1196
+ } | undefined;
1137
1197
  } | undefined;
1138
- machine?: {
1139
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1140
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1141
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1142
- } | undefined;
1198
+ description?: string | undefined;
1143
1199
  triggerSource?: string | undefined;
1144
1200
  schedule?: {
1145
1201
  cron: string;
1146
1202
  timezone: string;
1147
1203
  } | undefined;
1148
- maxDuration?: number | undefined;
1149
1204
  }[];
1150
- workerEntryPoint: string;
1151
1205
  runtime: "node" | "bun";
1152
- controllerEntryPoint?: string | undefined;
1206
+ configPath: string;
1207
+ workerEntryPoint: string;
1153
1208
  loaderEntryPoint?: string | undefined;
1154
1209
  customConditions?: string[] | undefined;
1155
1210
  otelImportHook?: {
1156
1211
  include?: string[] | undefined;
1157
1212
  exclude?: string[] | undefined;
1158
1213
  } | undefined;
1214
+ controllerEntryPoint?: string | undefined;
1159
1215
  };
1160
1216
  }>;
1161
1217
  }, "strip", z.ZodTypeAny, {
1162
1218
  type: "worker-manifest";
1163
1219
  data: {
1164
1220
  manifest: {
1165
- configPath: string;
1166
1221
  tasks: {
1167
1222
  id: string;
1168
- exportName: string;
1169
1223
  filePath: string;
1224
+ exportName: string;
1170
1225
  entryPoint: string;
1171
- description?: string | undefined;
1226
+ maxDuration?: number | undefined;
1172
1227
  queue?: {
1173
1228
  name?: string | undefined;
1174
- concurrencyLimit?: number | undefined;
1229
+ concurrencyLimit?: number | null | undefined;
1230
+ } | undefined;
1231
+ machine?: {
1232
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1233
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1234
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1175
1235
  } | undefined;
1176
1236
  retry?: {
1177
1237
  maxAttempts?: number | undefined;
@@ -1179,44 +1239,47 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1179
1239
  minTimeoutInMs?: number | undefined;
1180
1240
  maxTimeoutInMs?: number | undefined;
1181
1241
  randomize?: boolean | undefined;
1242
+ outOfMemory?: {
1243
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1244
+ } | undefined;
1182
1245
  } | undefined;
1183
- machine?: {
1184
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1185
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1186
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1187
- } | undefined;
1246
+ description?: string | undefined;
1188
1247
  triggerSource?: string | undefined;
1189
1248
  schedule?: {
1190
1249
  cron: string;
1191
1250
  timezone: string;
1192
1251
  } | undefined;
1193
- maxDuration?: number | undefined;
1194
1252
  }[];
1195
- workerEntryPoint: string;
1196
1253
  runtime: "node" | "bun";
1197
- controllerEntryPoint?: string | undefined;
1254
+ configPath: string;
1255
+ workerEntryPoint: string;
1198
1256
  loaderEntryPoint?: string | undefined;
1199
1257
  customConditions?: string[] | undefined;
1200
1258
  otelImportHook?: {
1201
1259
  include?: string[] | undefined;
1202
1260
  exclude?: string[] | undefined;
1203
1261
  } | undefined;
1262
+ controllerEntryPoint?: string | undefined;
1204
1263
  };
1205
1264
  };
1206
1265
  }, {
1207
1266
  type: "worker-manifest";
1208
1267
  data: {
1209
1268
  manifest: {
1210
- configPath: string;
1211
1269
  tasks: {
1212
1270
  id: string;
1213
- exportName: string;
1214
1271
  filePath: string;
1272
+ exportName: string;
1215
1273
  entryPoint: string;
1216
- description?: string | undefined;
1274
+ maxDuration?: number | undefined;
1217
1275
  queue?: {
1218
1276
  name?: string | undefined;
1219
- concurrencyLimit?: number | undefined;
1277
+ concurrencyLimit?: number | null | undefined;
1278
+ } | undefined;
1279
+ machine?: {
1280
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1281
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1282
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1220
1283
  } | undefined;
1221
1284
  retry?: {
1222
1285
  maxAttempts?: number | undefined;
@@ -1224,28 +1287,27 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1224
1287
  minTimeoutInMs?: number | undefined;
1225
1288
  maxTimeoutInMs?: number | undefined;
1226
1289
  randomize?: boolean | undefined;
1290
+ outOfMemory?: {
1291
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1292
+ } | undefined;
1227
1293
  } | undefined;
1228
- machine?: {
1229
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1230
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1231
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1232
- } | undefined;
1294
+ description?: string | undefined;
1233
1295
  triggerSource?: string | undefined;
1234
1296
  schedule?: {
1235
1297
  cron: string;
1236
1298
  timezone: string;
1237
1299
  } | undefined;
1238
- maxDuration?: number | undefined;
1239
1300
  }[];
1240
- workerEntryPoint: string;
1241
1301
  runtime: "node" | "bun";
1242
- controllerEntryPoint?: string | undefined;
1302
+ configPath: string;
1303
+ workerEntryPoint: string;
1243
1304
  loaderEntryPoint?: string | undefined;
1244
1305
  customConditions?: string[] | undefined;
1245
1306
  otelImportHook?: {
1246
1307
  include?: string[] | undefined;
1247
1308
  exclude?: string[] | undefined;
1248
1309
  } | undefined;
1310
+ controllerEntryPoint?: string | undefined;
1249
1311
  };
1250
1312
  };
1251
1313
  }>;