@trigger.dev/core 3.0.0-beta.38 → 3.0.0-beta.39

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.
@@ -10155,7 +10155,7 @@ declare const CoordinatorToPlatformMessages: {
10155
10155
  version: string;
10156
10156
  contentHash: string;
10157
10157
  }>;
10158
- machine: z.ZodObject<{
10158
+ machine: z.ZodDefault<z.ZodObject<{
10159
10159
  name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
10160
10160
  cpu: z.ZodNumber;
10161
10161
  memory: z.ZodNumber;
@@ -10170,7 +10170,7 @@ declare const CoordinatorToPlatformMessages: {
10170
10170
  cpu: number;
10171
10171
  memory: number;
10172
10172
  centsPerMs: number;
10173
- }>;
10173
+ }>>;
10174
10174
  }, "strip", z.ZodTypeAny, {
10175
10175
  task: {
10176
10176
  id: string;
@@ -10281,12 +10281,6 @@ declare const CoordinatorToPlatformMessages: {
10281
10281
  slug: string;
10282
10282
  ref: string;
10283
10283
  };
10284
- machine: {
10285
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
10286
- cpu: number;
10287
- memory: number;
10288
- centsPerMs: number;
10289
- };
10290
10284
  worker: {
10291
10285
  id: string;
10292
10286
  version: string;
@@ -10295,6 +10289,12 @@ declare const CoordinatorToPlatformMessages: {
10295
10289
  batch?: {
10296
10290
  id: string;
10297
10291
  } | undefined;
10292
+ machine?: {
10293
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
10294
+ cpu: number;
10295
+ memory: number;
10296
+ centsPerMs: number;
10297
+ } | undefined;
10298
10298
  }>;
10299
10299
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10300
10300
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -10413,12 +10413,6 @@ declare const CoordinatorToPlatformMessages: {
10413
10413
  slug: string;
10414
10414
  ref: string;
10415
10415
  };
10416
- machine: {
10417
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
10418
- cpu: number;
10419
- memory: number;
10420
- centsPerMs: number;
10421
- };
10422
10416
  worker: {
10423
10417
  id: string;
10424
10418
  version: string;
@@ -10427,6 +10421,12 @@ declare const CoordinatorToPlatformMessages: {
10427
10421
  batch?: {
10428
10422
  id: string;
10429
10423
  } | undefined;
10424
+ machine?: {
10425
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
10426
+ cpu: number;
10427
+ memory: number;
10428
+ centsPerMs: number;
10429
+ } | undefined;
10430
10430
  };
10431
10431
  traceContext: Record<string, unknown>;
10432
10432
  environment?: Record<string, string> | undefined;
@@ -10551,12 +10551,6 @@ declare const CoordinatorToPlatformMessages: {
10551
10551
  slug: string;
10552
10552
  ref: string;
10553
10553
  };
10554
- machine: {
10555
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
10556
- cpu: number;
10557
- memory: number;
10558
- centsPerMs: number;
10559
- };
10560
10554
  worker: {
10561
10555
  id: string;
10562
10556
  version: string;
@@ -10565,6 +10559,12 @@ declare const CoordinatorToPlatformMessages: {
10565
10559
  batch?: {
10566
10560
  id: string;
10567
10561
  } | undefined;
10562
+ machine?: {
10563
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
10564
+ cpu: number;
10565
+ memory: number;
10566
+ centsPerMs: number;
10567
+ } | undefined;
10568
10568
  };
10569
10569
  traceContext: Record<string, unknown>;
10570
10570
  environment?: Record<string, string> | undefined;
@@ -10742,7 +10742,7 @@ declare const CoordinatorToPlatformMessages: {
10742
10742
  version: string;
10743
10743
  contentHash: string;
10744
10744
  }>;
10745
- machine: z.ZodObject<{
10745
+ machine: z.ZodDefault<z.ZodObject<{
10746
10746
  name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
10747
10747
  cpu: z.ZodNumber;
10748
10748
  memory: z.ZodNumber;
@@ -10757,7 +10757,7 @@ declare const CoordinatorToPlatformMessages: {
10757
10757
  cpu: number;
10758
10758
  memory: number;
10759
10759
  centsPerMs: number;
10760
- }>;
10760
+ }>>;
10761
10761
  }, "strip", z.ZodTypeAny, {
10762
10762
  task: {
10763
10763
  id: string;
@@ -10868,12 +10868,6 @@ declare const CoordinatorToPlatformMessages: {
10868
10868
  slug: string;
10869
10869
  ref: string;
10870
10870
  };
10871
- machine: {
10872
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
10873
- cpu: number;
10874
- memory: number;
10875
- centsPerMs: number;
10876
- };
10877
10871
  worker: {
10878
10872
  id: string;
10879
10873
  version: string;
@@ -10882,6 +10876,12 @@ declare const CoordinatorToPlatformMessages: {
10882
10876
  batch?: {
10883
10877
  id: string;
10884
10878
  } | undefined;
10879
+ machine?: {
10880
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
10881
+ cpu: number;
10882
+ memory: number;
10883
+ centsPerMs: number;
10884
+ } | undefined;
10885
10885
  }>;
10886
10886
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10887
10887
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -11000,12 +11000,6 @@ declare const CoordinatorToPlatformMessages: {
11000
11000
  slug: string;
11001
11001
  ref: string;
11002
11002
  };
11003
- machine: {
11004
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
11005
- cpu: number;
11006
- memory: number;
11007
- centsPerMs: number;
11008
- };
11009
11003
  worker: {
11010
11004
  id: string;
11011
11005
  version: string;
@@ -11014,6 +11008,12 @@ declare const CoordinatorToPlatformMessages: {
11014
11008
  batch?: {
11015
11009
  id: string;
11016
11010
  } | undefined;
11011
+ machine?: {
11012
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
11013
+ cpu: number;
11014
+ memory: number;
11015
+ centsPerMs: number;
11016
+ } | undefined;
11017
11017
  };
11018
11018
  traceContext: Record<string, unknown>;
11019
11019
  environment?: Record<string, string> | undefined;
@@ -11137,12 +11137,6 @@ declare const CoordinatorToPlatformMessages: {
11137
11137
  slug: string;
11138
11138
  ref: string;
11139
11139
  };
11140
- machine: {
11141
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
11142
- cpu: number;
11143
- memory: number;
11144
- centsPerMs: number;
11145
- };
11146
11140
  worker: {
11147
11141
  id: string;
11148
11142
  version: string;
@@ -11151,6 +11145,12 @@ declare const CoordinatorToPlatformMessages: {
11151
11145
  batch?: {
11152
11146
  id: string;
11153
11147
  } | undefined;
11148
+ machine?: {
11149
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
11150
+ cpu: number;
11151
+ memory: number;
11152
+ centsPerMs: number;
11153
+ } | undefined;
11154
11154
  };
11155
11155
  traceContext: Record<string, unknown>;
11156
11156
  environment?: Record<string, string> | undefined;
@@ -11391,7 +11391,7 @@ declare const CoordinatorToPlatformMessages: {
11391
11391
  version: string;
11392
11392
  contentHash: string;
11393
11393
  }>;
11394
- machine: z.ZodObject<{
11394
+ machine: z.ZodDefault<z.ZodObject<{
11395
11395
  name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
11396
11396
  cpu: z.ZodNumber;
11397
11397
  memory: z.ZodNumber;
@@ -11406,7 +11406,7 @@ declare const CoordinatorToPlatformMessages: {
11406
11406
  cpu: number;
11407
11407
  memory: number;
11408
11408
  centsPerMs: number;
11409
- }>;
11409
+ }>>;
11410
11410
  }, "strip", z.ZodTypeAny, {
11411
11411
  task: {
11412
11412
  id: string;
@@ -11517,12 +11517,6 @@ declare const CoordinatorToPlatformMessages: {
11517
11517
  slug: string;
11518
11518
  ref: string;
11519
11519
  };
11520
- machine: {
11521
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
11522
- cpu: number;
11523
- memory: number;
11524
- centsPerMs: number;
11525
- };
11526
11520
  worker: {
11527
11521
  id: string;
11528
11522
  version: string;
@@ -11531,6 +11525,12 @@ declare const CoordinatorToPlatformMessages: {
11531
11525
  batch?: {
11532
11526
  id: string;
11533
11527
  } | undefined;
11528
+ machine?: {
11529
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
11530
+ cpu: number;
11531
+ memory: number;
11532
+ centsPerMs: number;
11533
+ } | undefined;
11534
11534
  }>;
11535
11535
  completion: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
11536
11536
  ok: z.ZodLiteral<true>;
@@ -11852,12 +11852,6 @@ declare const CoordinatorToPlatformMessages: {
11852
11852
  slug: string;
11853
11853
  ref: string;
11854
11854
  };
11855
- machine: {
11856
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
11857
- cpu: number;
11858
- memory: number;
11859
- centsPerMs: number;
11860
- };
11861
11855
  worker: {
11862
11856
  id: string;
11863
11857
  version: string;
@@ -11866,6 +11860,12 @@ declare const CoordinatorToPlatformMessages: {
11866
11860
  batch?: {
11867
11861
  id: string;
11868
11862
  } | undefined;
11863
+ machine?: {
11864
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
11865
+ cpu: number;
11866
+ memory: number;
11867
+ centsPerMs: number;
11868
+ } | undefined;
11869
11869
  };
11870
11870
  completion: {
11871
11871
  id: string;
@@ -16184,7 +16184,7 @@ declare const ProdWorkerToCoordinatorMessages: {
16184
16184
  version: string;
16185
16185
  contentHash: string;
16186
16186
  }>;
16187
- machine: z.ZodObject<{
16187
+ machine: z.ZodDefault<z.ZodObject<{
16188
16188
  name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
16189
16189
  cpu: z.ZodNumber;
16190
16190
  memory: z.ZodNumber;
@@ -16199,7 +16199,7 @@ declare const ProdWorkerToCoordinatorMessages: {
16199
16199
  cpu: number;
16200
16200
  memory: number;
16201
16201
  centsPerMs: number;
16202
- }>;
16202
+ }>>;
16203
16203
  }, "strip", z.ZodTypeAny, {
16204
16204
  task: {
16205
16205
  id: string;
@@ -16310,12 +16310,6 @@ declare const ProdWorkerToCoordinatorMessages: {
16310
16310
  slug: string;
16311
16311
  ref: string;
16312
16312
  };
16313
- machine: {
16314
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
16315
- cpu: number;
16316
- memory: number;
16317
- centsPerMs: number;
16318
- };
16319
16313
  worker: {
16320
16314
  id: string;
16321
16315
  version: string;
@@ -16324,6 +16318,12 @@ declare const ProdWorkerToCoordinatorMessages: {
16324
16318
  batch?: {
16325
16319
  id: string;
16326
16320
  } | undefined;
16321
+ machine?: {
16322
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
16323
+ cpu: number;
16324
+ memory: number;
16325
+ centsPerMs: number;
16326
+ } | undefined;
16327
16327
  }>;
16328
16328
  completion: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
16329
16329
  ok: z.ZodLiteral<true>;
@@ -16631,12 +16631,6 @@ declare const ProdWorkerToCoordinatorMessages: {
16631
16631
  slug: string;
16632
16632
  ref: string;
16633
16633
  };
16634
- machine: {
16635
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
16636
- cpu: number;
16637
- memory: number;
16638
- centsPerMs: number;
16639
- };
16640
16634
  worker: {
16641
16635
  id: string;
16642
16636
  version: string;
@@ -16645,6 +16639,12 @@ declare const ProdWorkerToCoordinatorMessages: {
16645
16639
  batch?: {
16646
16640
  id: string;
16647
16641
  } | undefined;
16642
+ machine?: {
16643
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
16644
+ cpu: number;
16645
+ memory: number;
16646
+ centsPerMs: number;
16647
+ } | undefined;
16648
16648
  };
16649
16649
  completion: {
16650
16650
  id: string;
@@ -17173,7 +17173,7 @@ declare const ProdWorkerToCoordinatorMessages: {
17173
17173
  version: string;
17174
17174
  contentHash: string;
17175
17175
  }>;
17176
- machine: z.ZodObject<{
17176
+ machine: z.ZodDefault<z.ZodObject<{
17177
17177
  name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
17178
17178
  cpu: z.ZodNumber;
17179
17179
  memory: z.ZodNumber;
@@ -17188,7 +17188,7 @@ declare const ProdWorkerToCoordinatorMessages: {
17188
17188
  cpu: number;
17189
17189
  memory: number;
17190
17190
  centsPerMs: number;
17191
- }>;
17191
+ }>>;
17192
17192
  }, "strip", z.ZodTypeAny, {
17193
17193
  task: {
17194
17194
  id: string;
@@ -17299,12 +17299,6 @@ declare const ProdWorkerToCoordinatorMessages: {
17299
17299
  slug: string;
17300
17300
  ref: string;
17301
17301
  };
17302
- machine: {
17303
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
17304
- cpu: number;
17305
- memory: number;
17306
- centsPerMs: number;
17307
- };
17308
17302
  worker: {
17309
17303
  id: string;
17310
17304
  version: string;
@@ -17313,6 +17307,12 @@ declare const ProdWorkerToCoordinatorMessages: {
17313
17307
  batch?: {
17314
17308
  id: string;
17315
17309
  } | undefined;
17310
+ machine?: {
17311
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
17312
+ cpu: number;
17313
+ memory: number;
17314
+ centsPerMs: number;
17315
+ } | undefined;
17316
17316
  }>;
17317
17317
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
17318
17318
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -17431,12 +17431,6 @@ declare const ProdWorkerToCoordinatorMessages: {
17431
17431
  slug: string;
17432
17432
  ref: string;
17433
17433
  };
17434
- machine: {
17435
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
17436
- cpu: number;
17437
- memory: number;
17438
- centsPerMs: number;
17439
- };
17440
17434
  worker: {
17441
17435
  id: string;
17442
17436
  version: string;
@@ -17445,6 +17439,12 @@ declare const ProdWorkerToCoordinatorMessages: {
17445
17439
  batch?: {
17446
17440
  id: string;
17447
17441
  } | undefined;
17442
+ machine?: {
17443
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
17444
+ cpu: number;
17445
+ memory: number;
17446
+ centsPerMs: number;
17447
+ } | undefined;
17448
17448
  };
17449
17449
  traceContext: Record<string, unknown>;
17450
17450
  environment?: Record<string, string> | undefined;
@@ -17569,12 +17569,6 @@ declare const ProdWorkerToCoordinatorMessages: {
17569
17569
  slug: string;
17570
17570
  ref: string;
17571
17571
  };
17572
- machine: {
17573
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
17574
- cpu: number;
17575
- memory: number;
17576
- centsPerMs: number;
17577
- };
17578
17572
  worker: {
17579
17573
  id: string;
17580
17574
  version: string;
@@ -17583,6 +17577,12 @@ declare const ProdWorkerToCoordinatorMessages: {
17583
17577
  batch?: {
17584
17578
  id: string;
17585
17579
  } | undefined;
17580
+ machine?: {
17581
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
17582
+ cpu: number;
17583
+ memory: number;
17584
+ centsPerMs: number;
17585
+ } | undefined;
17586
17586
  };
17587
17587
  traceContext: Record<string, unknown>;
17588
17588
  environment?: Record<string, string> | undefined;
@@ -18410,7 +18410,7 @@ declare const CoordinatorToProdWorkerMessages: {
18410
18410
  version: string;
18411
18411
  contentHash: string;
18412
18412
  }>;
18413
- machine: z.ZodObject<{
18413
+ machine: z.ZodDefault<z.ZodObject<{
18414
18414
  name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
18415
18415
  cpu: z.ZodNumber;
18416
18416
  memory: z.ZodNumber;
@@ -18425,7 +18425,7 @@ declare const CoordinatorToProdWorkerMessages: {
18425
18425
  cpu: number;
18426
18426
  memory: number;
18427
18427
  centsPerMs: number;
18428
- }>;
18428
+ }>>;
18429
18429
  }, "strip", z.ZodTypeAny, {
18430
18430
  task: {
18431
18431
  id: string;
@@ -18536,12 +18536,6 @@ declare const CoordinatorToProdWorkerMessages: {
18536
18536
  slug: string;
18537
18537
  ref: string;
18538
18538
  };
18539
- machine: {
18540
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
18541
- cpu: number;
18542
- memory: number;
18543
- centsPerMs: number;
18544
- };
18545
18539
  worker: {
18546
18540
  id: string;
18547
18541
  version: string;
@@ -18550,6 +18544,12 @@ declare const CoordinatorToProdWorkerMessages: {
18550
18544
  batch?: {
18551
18545
  id: string;
18552
18546
  } | undefined;
18547
+ machine?: {
18548
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
18549
+ cpu: number;
18550
+ memory: number;
18551
+ centsPerMs: number;
18552
+ } | undefined;
18553
18553
  }>;
18554
18554
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
18555
18555
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -18668,12 +18668,6 @@ declare const CoordinatorToProdWorkerMessages: {
18668
18668
  slug: string;
18669
18669
  ref: string;
18670
18670
  };
18671
- machine: {
18672
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
18673
- cpu: number;
18674
- memory: number;
18675
- centsPerMs: number;
18676
- };
18677
18671
  worker: {
18678
18672
  id: string;
18679
18673
  version: string;
@@ -18682,6 +18676,12 @@ declare const CoordinatorToProdWorkerMessages: {
18682
18676
  batch?: {
18683
18677
  id: string;
18684
18678
  } | undefined;
18679
+ machine?: {
18680
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
18681
+ cpu: number;
18682
+ memory: number;
18683
+ centsPerMs: number;
18684
+ } | undefined;
18685
18685
  };
18686
18686
  traceContext: Record<string, unknown>;
18687
18687
  environment?: Record<string, string> | undefined;
@@ -18805,12 +18805,6 @@ declare const CoordinatorToProdWorkerMessages: {
18805
18805
  slug: string;
18806
18806
  ref: string;
18807
18807
  };
18808
- machine: {
18809
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
18810
- cpu: number;
18811
- memory: number;
18812
- centsPerMs: number;
18813
- };
18814
18808
  worker: {
18815
18809
  id: string;
18816
18810
  version: string;
@@ -18819,6 +18813,12 @@ declare const CoordinatorToProdWorkerMessages: {
18819
18813
  batch?: {
18820
18814
  id: string;
18821
18815
  } | undefined;
18816
+ machine?: {
18817
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
18818
+ cpu: number;
18819
+ memory: number;
18820
+ centsPerMs: number;
18821
+ } | undefined;
18822
18822
  };
18823
18823
  traceContext: Record<string, unknown>;
18824
18824
  environment?: Record<string, string> | undefined;
@@ -550,7 +550,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
550
550
  version: string;
551
551
  contentHash: string;
552
552
  }>;
553
- machine: z.ZodObject<{
553
+ machine: z.ZodDefault<z.ZodObject<{
554
554
  name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
555
555
  cpu: z.ZodNumber;
556
556
  memory: z.ZodNumber;
@@ -565,7 +565,7 @@ declare const ProdTaskRunExecution: z.ZodObject<{
565
565
  cpu: number;
566
566
  memory: number;
567
567
  centsPerMs: number;
568
- }>;
568
+ }>>;
569
569
  }, "strip", z.ZodTypeAny, {
570
570
  task: {
571
571
  id: string;
@@ -676,12 +676,6 @@ declare const ProdTaskRunExecution: z.ZodObject<{
676
676
  slug: string;
677
677
  ref: string;
678
678
  };
679
- machine: {
680
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
681
- cpu: number;
682
- memory: number;
683
- centsPerMs: number;
684
- };
685
679
  worker: {
686
680
  id: string;
687
681
  version: string;
@@ -690,6 +684,12 @@ declare const ProdTaskRunExecution: z.ZodObject<{
690
684
  batch?: {
691
685
  id: string;
692
686
  } | undefined;
687
+ machine?: {
688
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
689
+ cpu: number;
690
+ memory: number;
691
+ centsPerMs: number;
692
+ } | undefined;
693
693
  }>;
694
694
  type ProdTaskRunExecution = z.infer<typeof ProdTaskRunExecution>;
695
695
  declare const ProdTaskRunExecutionPayload: z.ZodObject<{
@@ -841,7 +841,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
841
841
  version: string;
842
842
  contentHash: string;
843
843
  }>;
844
- machine: z.ZodObject<{
844
+ machine: z.ZodDefault<z.ZodObject<{
845
845
  name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
846
846
  cpu: z.ZodNumber;
847
847
  memory: z.ZodNumber;
@@ -856,7 +856,7 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
856
856
  cpu: number;
857
857
  memory: number;
858
858
  centsPerMs: number;
859
- }>;
859
+ }>>;
860
860
  }, "strip", z.ZodTypeAny, {
861
861
  task: {
862
862
  id: string;
@@ -967,12 +967,6 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
967
967
  slug: string;
968
968
  ref: string;
969
969
  };
970
- machine: {
971
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
972
- cpu: number;
973
- memory: number;
974
- centsPerMs: number;
975
- };
976
970
  worker: {
977
971
  id: string;
978
972
  version: string;
@@ -981,6 +975,12 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
981
975
  batch?: {
982
976
  id: string;
983
977
  } | undefined;
978
+ machine?: {
979
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
980
+ cpu: number;
981
+ memory: number;
982
+ centsPerMs: number;
983
+ } | undefined;
984
984
  }>;
985
985
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
986
986
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1099,12 +1099,6 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1099
1099
  slug: string;
1100
1100
  ref: string;
1101
1101
  };
1102
- machine: {
1103
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1104
- cpu: number;
1105
- memory: number;
1106
- centsPerMs: number;
1107
- };
1108
1102
  worker: {
1109
1103
  id: string;
1110
1104
  version: string;
@@ -1113,6 +1107,12 @@ declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1113
1107
  batch?: {
1114
1108
  id: string;
1115
1109
  } | undefined;
1110
+ machine?: {
1111
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1112
+ cpu: number;
1113
+ memory: number;
1114
+ centsPerMs: number;
1115
+ } | undefined;
1116
1116
  };
1117
1117
  traceContext: Record<string, unknown>;
1118
1118
  environment?: Record<string, string> | undefined;