@trigger.dev/core 0.0.0-prerelease-20240825150620 → 0.0.0-prerelease-20240911144933

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 (51) hide show
  1. package/dist/commonjs/v3/apiClient/index.d.ts +44 -44
  2. package/dist/commonjs/v3/build/externals.d.ts +1 -0
  3. package/dist/commonjs/v3/build/externals.js +5 -0
  4. package/dist/commonjs/v3/build/externals.js.map +1 -0
  5. package/dist/commonjs/v3/build/index.d.ts +1 -0
  6. package/dist/commonjs/v3/build/index.js +1 -0
  7. package/dist/commonjs/v3/build/index.js.map +1 -1
  8. package/dist/commonjs/v3/build/resolvedConfig.d.ts +1 -0
  9. package/dist/commonjs/v3/build/runtime.d.ts +5 -0
  10. package/dist/commonjs/v3/build/runtime.js +19 -0
  11. package/dist/commonjs/v3/build/runtime.js.map +1 -1
  12. package/dist/commonjs/v3/config.d.ts +10 -0
  13. package/dist/commonjs/v3/schemas/api.d.ts +187 -178
  14. package/dist/commonjs/v3/schemas/api.js +3 -0
  15. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  16. package/dist/commonjs/v3/schemas/build.d.ts +146 -126
  17. package/dist/commonjs/v3/schemas/build.js +2 -0
  18. package/dist/commonjs/v3/schemas/build.js.map +1 -1
  19. package/dist/commonjs/v3/schemas/fetch.d.ts +14 -14
  20. package/dist/commonjs/v3/schemas/messages.d.ts +3106 -3101
  21. package/dist/commonjs/v3/schemas/resources.d.ts +30 -30
  22. package/dist/commonjs/v3/schemas/schemas.d.ts +460 -460
  23. package/dist/commonjs/v3/workers/taskExecutor.js +0 -12
  24. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  25. package/dist/commonjs/version.js +1 -1
  26. package/dist/esm/v3/apiClient/index.d.ts +44 -44
  27. package/dist/esm/v3/build/externals.d.ts +1 -0
  28. package/dist/esm/v3/build/externals.js +2 -0
  29. package/dist/esm/v3/build/externals.js.map +1 -0
  30. package/dist/esm/v3/build/index.d.ts +1 -0
  31. package/dist/esm/v3/build/index.js +1 -0
  32. package/dist/esm/v3/build/index.js.map +1 -1
  33. package/dist/esm/v3/build/resolvedConfig.d.ts +1 -0
  34. package/dist/esm/v3/build/runtime.d.ts +5 -0
  35. package/dist/esm/v3/build/runtime.js +18 -0
  36. package/dist/esm/v3/build/runtime.js.map +1 -1
  37. package/dist/esm/v3/config.d.ts +10 -0
  38. package/dist/esm/v3/schemas/api.d.ts +187 -178
  39. package/dist/esm/v3/schemas/api.js +3 -0
  40. package/dist/esm/v3/schemas/api.js.map +1 -1
  41. package/dist/esm/v3/schemas/build.d.ts +146 -126
  42. package/dist/esm/v3/schemas/build.js +2 -0
  43. package/dist/esm/v3/schemas/build.js.map +1 -1
  44. package/dist/esm/v3/schemas/fetch.d.ts +14 -14
  45. package/dist/esm/v3/schemas/messages.d.ts +3106 -3101
  46. package/dist/esm/v3/schemas/resources.d.ts +30 -30
  47. package/dist/esm/v3/schemas/schemas.d.ts +460 -460
  48. package/dist/esm/v3/workers/taskExecutor.js +0 -12
  49. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  50. package/dist/esm/version.js +1 -1
  51. package/package.json +112 -4
@@ -3,11 +3,11 @@ export declare const BuildExternal: z.ZodObject<{
3
3
  name: z.ZodString;
4
4
  version: z.ZodString;
5
5
  }, "strip", z.ZodTypeAny, {
6
- version: string;
7
6
  name: string;
8
- }, {
9
7
  version: string;
8
+ }, {
10
9
  name: string;
10
+ version: string;
11
11
  }>;
12
12
  export type BuildExternal = z.infer<typeof BuildExternal>;
13
13
  export declare const BuildTarget: z.ZodEnum<["dev", "deploy"]>;
@@ -62,11 +62,11 @@ export declare const BuildManifest: z.ZodObject<{
62
62
  name: z.ZodString;
63
63
  version: z.ZodString;
64
64
  }, "strip", z.ZodTypeAny, {
65
- version: string;
66
65
  name: string;
67
- }, {
68
66
  version: string;
67
+ }, {
69
68
  name: string;
69
+ version: string;
70
70
  }>, "many">>;
71
71
  build: z.ZodObject<{
72
72
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -78,6 +78,7 @@ export declare const BuildManifest: z.ZodObject<{
78
78
  env?: Record<string, string> | undefined;
79
79
  commands?: string[] | undefined;
80
80
  }>;
81
+ customConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
81
82
  deploy: z.ZodObject<{
82
83
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
83
84
  sync: z.ZodOptional<z.ZodObject<{
@@ -119,18 +120,10 @@ export declare const BuildManifest: z.ZodObject<{
119
120
  exclude?: string[] | undefined;
120
121
  }>>;
121
122
  }, "strip", z.ZodTypeAny, {
122
- config: {
123
- project: string;
124
- dirs: string[];
125
- };
126
- sources: Record<string, {
127
- contentHash: string;
128
- contents: string;
129
- }>;
130
- environment: string;
131
- contentHash: string;
132
123
  packageVersion: string;
124
+ contentHash: string;
133
125
  cliPackageVersion: string;
126
+ environment: string;
134
127
  deploy: {
135
128
  env?: Record<string, string> | undefined;
136
129
  sync?: {
@@ -139,10 +132,18 @@ export declare const BuildManifest: z.ZodObject<{
139
132
  };
140
133
  target: "dev" | "deploy";
141
134
  runtime: "node" | "bun";
135
+ config: {
136
+ project: string;
137
+ dirs: string[];
138
+ };
142
139
  files: {
143
140
  entry: string;
144
141
  out: string;
145
142
  }[];
143
+ sources: Record<string, {
144
+ contentHash: string;
145
+ contents: string;
146
+ }>;
146
147
  outputPath: string;
147
148
  runWorkerEntryPoint: string;
148
149
  indexWorkerEntryPoint: string;
@@ -155,9 +156,10 @@ export declare const BuildManifest: z.ZodObject<{
155
156
  indexControllerEntryPoint?: string | undefined;
156
157
  loaderEntryPoint?: string | undefined;
157
158
  externals?: {
158
- version: string;
159
159
  name: string;
160
+ version: string;
160
161
  }[] | undefined;
162
+ customConditions?: string[] | undefined;
161
163
  image?: {
162
164
  pkgs?: string[] | undefined;
163
165
  instructions?: string[] | undefined;
@@ -167,18 +169,10 @@ export declare const BuildManifest: z.ZodObject<{
167
169
  exclude?: string[] | undefined;
168
170
  } | undefined;
169
171
  }, {
170
- config: {
171
- project: string;
172
- dirs: string[];
173
- };
174
- sources: Record<string, {
175
- contentHash: string;
176
- contents: string;
177
- }>;
178
- environment: string;
179
- contentHash: string;
180
172
  packageVersion: string;
173
+ contentHash: string;
181
174
  cliPackageVersion: string;
175
+ environment: string;
182
176
  deploy: {
183
177
  env?: Record<string, string> | undefined;
184
178
  sync?: {
@@ -187,10 +181,18 @@ export declare const BuildManifest: z.ZodObject<{
187
181
  };
188
182
  target: "dev" | "deploy";
189
183
  runtime: "node" | "bun";
184
+ config: {
185
+ project: string;
186
+ dirs: string[];
187
+ };
190
188
  files: {
191
189
  entry: string;
192
190
  out: string;
193
191
  }[];
192
+ sources: Record<string, {
193
+ contentHash: string;
194
+ contents: string;
195
+ }>;
194
196
  outputPath: string;
195
197
  runWorkerEntryPoint: string;
196
198
  indexWorkerEntryPoint: string;
@@ -203,9 +205,10 @@ export declare const BuildManifest: z.ZodObject<{
203
205
  indexControllerEntryPoint?: string | undefined;
204
206
  loaderEntryPoint?: string | undefined;
205
207
  externals?: {
206
- version: string;
207
208
  name: string;
209
+ version: string;
208
210
  }[] | undefined;
211
+ customConditions?: string[] | undefined;
209
212
  image?: {
210
213
  pkgs?: string[] | undefined;
211
214
  instructions?: string[] | undefined;
@@ -267,11 +270,11 @@ export declare const IndexMessage: z.ZodObject<{
267
270
  name: z.ZodString;
268
271
  version: z.ZodString;
269
272
  }, "strip", z.ZodTypeAny, {
270
- version: string;
271
273
  name: string;
272
- }, {
273
274
  version: string;
275
+ }, {
274
276
  name: string;
277
+ version: string;
275
278
  }>, "many">>;
276
279
  build: z.ZodObject<{
277
280
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -283,6 +286,7 @@ export declare const IndexMessage: z.ZodObject<{
283
286
  env?: Record<string, string> | undefined;
284
287
  commands?: string[] | undefined;
285
288
  }>;
289
+ customConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
286
290
  deploy: z.ZodObject<{
287
291
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
288
292
  sync: z.ZodOptional<z.ZodObject<{
@@ -324,18 +328,10 @@ export declare const IndexMessage: z.ZodObject<{
324
328
  exclude?: string[] | undefined;
325
329
  }>>;
326
330
  }, "strip", z.ZodTypeAny, {
327
- config: {
328
- project: string;
329
- dirs: string[];
330
- };
331
- sources: Record<string, {
332
- contentHash: string;
333
- contents: string;
334
- }>;
335
- environment: string;
336
- contentHash: string;
337
331
  packageVersion: string;
332
+ contentHash: string;
338
333
  cliPackageVersion: string;
334
+ environment: string;
339
335
  deploy: {
340
336
  env?: Record<string, string> | undefined;
341
337
  sync?: {
@@ -344,10 +340,18 @@ export declare const IndexMessage: z.ZodObject<{
344
340
  };
345
341
  target: "dev" | "deploy";
346
342
  runtime: "node" | "bun";
343
+ config: {
344
+ project: string;
345
+ dirs: string[];
346
+ };
347
347
  files: {
348
348
  entry: string;
349
349
  out: string;
350
350
  }[];
351
+ sources: Record<string, {
352
+ contentHash: string;
353
+ contents: string;
354
+ }>;
351
355
  outputPath: string;
352
356
  runWorkerEntryPoint: string;
353
357
  indexWorkerEntryPoint: string;
@@ -360,9 +364,10 @@ export declare const IndexMessage: z.ZodObject<{
360
364
  indexControllerEntryPoint?: string | undefined;
361
365
  loaderEntryPoint?: string | undefined;
362
366
  externals?: {
363
- version: string;
364
367
  name: string;
368
+ version: string;
365
369
  }[] | undefined;
370
+ customConditions?: string[] | undefined;
366
371
  image?: {
367
372
  pkgs?: string[] | undefined;
368
373
  instructions?: string[] | undefined;
@@ -372,18 +377,10 @@ export declare const IndexMessage: z.ZodObject<{
372
377
  exclude?: string[] | undefined;
373
378
  } | undefined;
374
379
  }, {
375
- config: {
376
- project: string;
377
- dirs: string[];
378
- };
379
- sources: Record<string, {
380
- contentHash: string;
381
- contents: string;
382
- }>;
383
- environment: string;
384
- contentHash: string;
385
380
  packageVersion: string;
381
+ contentHash: string;
386
382
  cliPackageVersion: string;
383
+ environment: string;
387
384
  deploy: {
388
385
  env?: Record<string, string> | undefined;
389
386
  sync?: {
@@ -392,10 +389,18 @@ export declare const IndexMessage: z.ZodObject<{
392
389
  };
393
390
  target: "dev" | "deploy";
394
391
  runtime: "node" | "bun";
392
+ config: {
393
+ project: string;
394
+ dirs: string[];
395
+ };
395
396
  files: {
396
397
  entry: string;
397
398
  out: string;
398
399
  }[];
400
+ sources: Record<string, {
401
+ contentHash: string;
402
+ contents: string;
403
+ }>;
399
404
  outputPath: string;
400
405
  runWorkerEntryPoint: string;
401
406
  indexWorkerEntryPoint: string;
@@ -408,9 +413,10 @@ export declare const IndexMessage: z.ZodObject<{
408
413
  indexControllerEntryPoint?: string | undefined;
409
414
  loaderEntryPoint?: string | undefined;
410
415
  externals?: {
411
- version: string;
412
416
  name: string;
417
+ version: string;
413
418
  }[] | undefined;
419
+ customConditions?: string[] | undefined;
414
420
  image?: {
415
421
  pkgs?: string[] | undefined;
416
422
  instructions?: string[] | undefined;
@@ -422,18 +428,10 @@ export declare const IndexMessage: z.ZodObject<{
422
428
  }>;
423
429
  }, "strip", z.ZodTypeAny, {
424
430
  build: {
425
- config: {
426
- project: string;
427
- dirs: string[];
428
- };
429
- sources: Record<string, {
430
- contentHash: string;
431
- contents: string;
432
- }>;
433
- environment: string;
434
- contentHash: string;
435
431
  packageVersion: string;
432
+ contentHash: string;
436
433
  cliPackageVersion: string;
434
+ environment: string;
437
435
  deploy: {
438
436
  env?: Record<string, string> | undefined;
439
437
  sync?: {
@@ -442,10 +440,18 @@ export declare const IndexMessage: z.ZodObject<{
442
440
  };
443
441
  target: "dev" | "deploy";
444
442
  runtime: "node" | "bun";
443
+ config: {
444
+ project: string;
445
+ dirs: string[];
446
+ };
445
447
  files: {
446
448
  entry: string;
447
449
  out: string;
448
450
  }[];
451
+ sources: Record<string, {
452
+ contentHash: string;
453
+ contents: string;
454
+ }>;
449
455
  outputPath: string;
450
456
  runWorkerEntryPoint: string;
451
457
  indexWorkerEntryPoint: string;
@@ -458,9 +464,10 @@ export declare const IndexMessage: z.ZodObject<{
458
464
  indexControllerEntryPoint?: string | undefined;
459
465
  loaderEntryPoint?: string | undefined;
460
466
  externals?: {
461
- version: string;
462
467
  name: string;
468
+ version: string;
463
469
  }[] | undefined;
470
+ customConditions?: string[] | undefined;
464
471
  image?: {
465
472
  pkgs?: string[] | undefined;
466
473
  instructions?: string[] | undefined;
@@ -472,18 +479,10 @@ export declare const IndexMessage: z.ZodObject<{
472
479
  };
473
480
  }, {
474
481
  build: {
475
- config: {
476
- project: string;
477
- dirs: string[];
478
- };
479
- sources: Record<string, {
480
- contentHash: string;
481
- contents: string;
482
- }>;
483
- environment: string;
484
- contentHash: string;
485
482
  packageVersion: string;
483
+ contentHash: string;
486
484
  cliPackageVersion: string;
485
+ environment: string;
487
486
  deploy: {
488
487
  env?: Record<string, string> | undefined;
489
488
  sync?: {
@@ -492,10 +491,18 @@ export declare const IndexMessage: z.ZodObject<{
492
491
  };
493
492
  target: "dev" | "deploy";
494
493
  runtime: "node" | "bun";
494
+ config: {
495
+ project: string;
496
+ dirs: string[];
497
+ };
495
498
  files: {
496
499
  entry: string;
497
500
  out: string;
498
501
  }[];
502
+ sources: Record<string, {
503
+ contentHash: string;
504
+ contents: string;
505
+ }>;
499
506
  outputPath: string;
500
507
  runWorkerEntryPoint: string;
501
508
  indexWorkerEntryPoint: string;
@@ -508,9 +515,10 @@ export declare const IndexMessage: z.ZodObject<{
508
515
  indexControllerEntryPoint?: string | undefined;
509
516
  loaderEntryPoint?: string | undefined;
510
517
  externals?: {
511
- version: string;
512
518
  name: string;
519
+ version: string;
513
520
  }[] | undefined;
521
+ customConditions?: string[] | undefined;
514
522
  image?: {
515
523
  pkgs?: string[] | undefined;
516
524
  instructions?: string[] | undefined;
@@ -525,18 +533,10 @@ export declare const IndexMessage: z.ZodObject<{
525
533
  type: "index";
526
534
  data: {
527
535
  build: {
528
- config: {
529
- project: string;
530
- dirs: string[];
531
- };
532
- sources: Record<string, {
533
- contentHash: string;
534
- contents: string;
535
- }>;
536
- environment: string;
537
- contentHash: string;
538
536
  packageVersion: string;
537
+ contentHash: string;
539
538
  cliPackageVersion: string;
539
+ environment: string;
540
540
  deploy: {
541
541
  env?: Record<string, string> | undefined;
542
542
  sync?: {
@@ -545,10 +545,18 @@ export declare const IndexMessage: z.ZodObject<{
545
545
  };
546
546
  target: "dev" | "deploy";
547
547
  runtime: "node" | "bun";
548
+ config: {
549
+ project: string;
550
+ dirs: string[];
551
+ };
548
552
  files: {
549
553
  entry: string;
550
554
  out: string;
551
555
  }[];
556
+ sources: Record<string, {
557
+ contentHash: string;
558
+ contents: string;
559
+ }>;
552
560
  outputPath: string;
553
561
  runWorkerEntryPoint: string;
554
562
  indexWorkerEntryPoint: string;
@@ -561,9 +569,10 @@ export declare const IndexMessage: z.ZodObject<{
561
569
  indexControllerEntryPoint?: string | undefined;
562
570
  loaderEntryPoint?: string | undefined;
563
571
  externals?: {
564
- version: string;
565
572
  name: string;
573
+ version: string;
566
574
  }[] | undefined;
575
+ customConditions?: string[] | undefined;
567
576
  image?: {
568
577
  pkgs?: string[] | undefined;
569
578
  instructions?: string[] | undefined;
@@ -578,18 +587,10 @@ export declare const IndexMessage: z.ZodObject<{
578
587
  type: "index";
579
588
  data: {
580
589
  build: {
581
- config: {
582
- project: string;
583
- dirs: string[];
584
- };
585
- sources: Record<string, {
586
- contentHash: string;
587
- contents: string;
588
- }>;
589
- environment: string;
590
- contentHash: string;
591
590
  packageVersion: string;
591
+ contentHash: string;
592
592
  cliPackageVersion: string;
593
+ environment: string;
593
594
  deploy: {
594
595
  env?: Record<string, string> | undefined;
595
596
  sync?: {
@@ -598,10 +599,18 @@ export declare const IndexMessage: z.ZodObject<{
598
599
  };
599
600
  target: "dev" | "deploy";
600
601
  runtime: "node" | "bun";
602
+ config: {
603
+ project: string;
604
+ dirs: string[];
605
+ };
601
606
  files: {
602
607
  entry: string;
603
608
  out: string;
604
609
  }[];
610
+ sources: Record<string, {
611
+ contentHash: string;
612
+ contents: string;
613
+ }>;
605
614
  outputPath: string;
606
615
  runWorkerEntryPoint: string;
607
616
  indexWorkerEntryPoint: string;
@@ -614,9 +623,10 @@ export declare const IndexMessage: z.ZodObject<{
614
623
  indexControllerEntryPoint?: string | undefined;
615
624
  loaderEntryPoint?: string | undefined;
616
625
  externals?: {
617
- version: string;
618
626
  name: string;
627
+ version: string;
619
628
  }[] | undefined;
629
+ customConditions?: string[] | undefined;
620
630
  image?: {
621
631
  pkgs?: string[] | undefined;
622
632
  instructions?: string[] | undefined;
@@ -845,12 +855,12 @@ export declare const WorkerManifest: z.ZodObject<{
845
855
  memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
846
856
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
847
857
  }, "strip", z.ZodTypeAny, {
848
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
849
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
858
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
859
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
850
860
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
851
861
  }, {
852
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
853
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
862
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
863
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
854
864
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
855
865
  }>>;
856
866
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -914,8 +924,8 @@ export declare const WorkerManifest: z.ZodObject<{
914
924
  randomize?: boolean | undefined;
915
925
  } | undefined;
916
926
  machine?: {
917
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
918
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
927
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
928
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
919
929
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
920
930
  } | undefined;
921
931
  triggerSource?: string | undefined;
@@ -973,8 +983,8 @@ export declare const WorkerManifest: z.ZodObject<{
973
983
  randomize?: boolean | undefined;
974
984
  } | undefined;
975
985
  machine?: {
976
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
977
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
986
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
987
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
978
988
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
979
989
  } | undefined;
980
990
  triggerSource?: string | undefined;
@@ -987,6 +997,7 @@ export declare const WorkerManifest: z.ZodObject<{
987
997
  controllerEntryPoint: z.ZodOptional<z.ZodString>;
988
998
  loaderEntryPoint: z.ZodOptional<z.ZodString>;
989
999
  runtime: z.ZodEnum<["node", "bun"]>;
1000
+ customConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
990
1001
  otelImportHook: z.ZodOptional<z.ZodObject<{
991
1002
  include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
992
1003
  exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1048,8 +1059,8 @@ export declare const WorkerManifest: z.ZodObject<{
1048
1059
  randomize?: boolean | undefined;
1049
1060
  } | undefined;
1050
1061
  machine?: {
1051
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1052
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1062
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1063
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1053
1064
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1054
1065
  } | undefined;
1055
1066
  triggerSource?: string | undefined;
@@ -1063,6 +1074,7 @@ export declare const WorkerManifest: z.ZodObject<{
1063
1074
  workerEntryPoint: string;
1064
1075
  controllerEntryPoint?: string | undefined;
1065
1076
  loaderEntryPoint?: string | undefined;
1077
+ customConditions?: string[] | undefined;
1066
1078
  otelImportHook?: {
1067
1079
  include?: string[] | undefined;
1068
1080
  exclude?: string[] | undefined;
@@ -1118,8 +1130,8 @@ export declare const WorkerManifest: z.ZodObject<{
1118
1130
  randomize?: boolean | undefined;
1119
1131
  } | undefined;
1120
1132
  machine?: {
1121
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1122
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1133
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1134
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1123
1135
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1124
1136
  } | undefined;
1125
1137
  triggerSource?: string | undefined;
@@ -1133,6 +1145,7 @@ export declare const WorkerManifest: z.ZodObject<{
1133
1145
  workerEntryPoint: string;
1134
1146
  controllerEntryPoint?: string | undefined;
1135
1147
  loaderEntryPoint?: string | undefined;
1148
+ customConditions?: string[] | undefined;
1136
1149
  otelImportHook?: {
1137
1150
  include?: string[] | undefined;
1138
1151
  exclude?: string[] | undefined;
@@ -1358,12 +1371,12 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1358
1371
  memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
1359
1372
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
1360
1373
  }, "strip", z.ZodTypeAny, {
1361
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1362
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1374
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1375
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1363
1376
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1364
1377
  }, {
1365
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1366
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1378
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1379
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1367
1380
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1368
1381
  }>>;
1369
1382
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -1427,8 +1440,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1427
1440
  randomize?: boolean | undefined;
1428
1441
  } | undefined;
1429
1442
  machine?: {
1430
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1431
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1443
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1444
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1432
1445
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1433
1446
  } | undefined;
1434
1447
  triggerSource?: string | undefined;
@@ -1486,8 +1499,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1486
1499
  randomize?: boolean | undefined;
1487
1500
  } | undefined;
1488
1501
  machine?: {
1489
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1490
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1502
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1503
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1491
1504
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1492
1505
  } | undefined;
1493
1506
  triggerSource?: string | undefined;
@@ -1500,6 +1513,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1500
1513
  controllerEntryPoint: z.ZodOptional<z.ZodString>;
1501
1514
  loaderEntryPoint: z.ZodOptional<z.ZodString>;
1502
1515
  runtime: z.ZodEnum<["node", "bun"]>;
1516
+ customConditions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1503
1517
  otelImportHook: z.ZodOptional<z.ZodObject<{
1504
1518
  include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1505
1519
  exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1561,8 +1575,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1561
1575
  randomize?: boolean | undefined;
1562
1576
  } | undefined;
1563
1577
  machine?: {
1564
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1565
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1578
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1579
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1566
1580
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1567
1581
  } | undefined;
1568
1582
  triggerSource?: string | undefined;
@@ -1576,6 +1590,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1576
1590
  workerEntryPoint: string;
1577
1591
  controllerEntryPoint?: string | undefined;
1578
1592
  loaderEntryPoint?: string | undefined;
1593
+ customConditions?: string[] | undefined;
1579
1594
  otelImportHook?: {
1580
1595
  include?: string[] | undefined;
1581
1596
  exclude?: string[] | undefined;
@@ -1631,8 +1646,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1631
1646
  randomize?: boolean | undefined;
1632
1647
  } | undefined;
1633
1648
  machine?: {
1634
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1635
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1649
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1650
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1636
1651
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1637
1652
  } | undefined;
1638
1653
  triggerSource?: string | undefined;
@@ -1646,6 +1661,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1646
1661
  workerEntryPoint: string;
1647
1662
  controllerEntryPoint?: string | undefined;
1648
1663
  loaderEntryPoint?: string | undefined;
1664
+ customConditions?: string[] | undefined;
1649
1665
  otelImportHook?: {
1650
1666
  include?: string[] | undefined;
1651
1667
  exclude?: string[] | undefined;
@@ -1703,8 +1719,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1703
1719
  randomize?: boolean | undefined;
1704
1720
  } | undefined;
1705
1721
  machine?: {
1706
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1707
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1722
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1723
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1708
1724
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1709
1725
  } | undefined;
1710
1726
  triggerSource?: string | undefined;
@@ -1718,6 +1734,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1718
1734
  workerEntryPoint: string;
1719
1735
  controllerEntryPoint?: string | undefined;
1720
1736
  loaderEntryPoint?: string | undefined;
1737
+ customConditions?: string[] | undefined;
1721
1738
  otelImportHook?: {
1722
1739
  include?: string[] | undefined;
1723
1740
  exclude?: string[] | undefined;
@@ -1775,8 +1792,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1775
1792
  randomize?: boolean | undefined;
1776
1793
  } | undefined;
1777
1794
  machine?: {
1778
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1779
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1795
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1796
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1780
1797
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1781
1798
  } | undefined;
1782
1799
  triggerSource?: string | undefined;
@@ -1790,6 +1807,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1790
1807
  workerEntryPoint: string;
1791
1808
  controllerEntryPoint?: string | undefined;
1792
1809
  loaderEntryPoint?: string | undefined;
1810
+ customConditions?: string[] | undefined;
1793
1811
  otelImportHook?: {
1794
1812
  include?: string[] | undefined;
1795
1813
  exclude?: string[] | undefined;
@@ -1850,8 +1868,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1850
1868
  randomize?: boolean | undefined;
1851
1869
  } | undefined;
1852
1870
  machine?: {
1853
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1854
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1871
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1872
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1855
1873
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1856
1874
  } | undefined;
1857
1875
  triggerSource?: string | undefined;
@@ -1865,6 +1883,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1865
1883
  workerEntryPoint: string;
1866
1884
  controllerEntryPoint?: string | undefined;
1867
1885
  loaderEntryPoint?: string | undefined;
1886
+ customConditions?: string[] | undefined;
1868
1887
  otelImportHook?: {
1869
1888
  include?: string[] | undefined;
1870
1889
  exclude?: string[] | undefined;
@@ -1925,8 +1944,8 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1925
1944
  randomize?: boolean | undefined;
1926
1945
  } | undefined;
1927
1946
  machine?: {
1928
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1929
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1947
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1948
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1930
1949
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1931
1950
  } | undefined;
1932
1951
  triggerSource?: string | undefined;
@@ -1940,6 +1959,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1940
1959
  workerEntryPoint: string;
1941
1960
  controllerEntryPoint?: string | undefined;
1942
1961
  loaderEntryPoint?: string | undefined;
1962
+ customConditions?: string[] | undefined;
1943
1963
  otelImportHook?: {
1944
1964
  include?: string[] | undefined;
1945
1965
  exclude?: string[] | undefined;