@trigger.dev/core 0.0.0-v3-prerelease-20240618084116 → 0.0.0-v3-prerelease-20240619130535

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 (33) hide show
  1. package/dist/{catalog-BY89ZnAT.d.ts → catalog-EP9DGAGm.d.ts} +2 -2
  2. package/dist/{catalog-bucrsOn7.d.mts → catalog-Gjy5NtAB.d.mts} +2 -2
  3. package/dist/{manager-7wgeUu45.d.mts → manager-S98VaLUy.d.mts} +8 -8
  4. package/dist/{manager-7wgeUu45.d.ts → manager-S98VaLUy.d.ts} +8 -8
  5. package/dist/{messages-TXYTx0wj.d.mts → messages--WkQvA2l.d.mts} +199 -199
  6. package/dist/{messages-TXYTx0wj.d.ts → messages--WkQvA2l.d.ts} +199 -199
  7. package/dist/{schemas-r_DPYnY7.d.mts → schemas-Sb0sJcEt.d.mts} +33 -33
  8. package/dist/{schemas-r_DPYnY7.d.ts → schemas-Sb0sJcEt.d.ts} +33 -33
  9. package/dist/v3/dev/index.d.mts +1 -1
  10. package/dist/v3/dev/index.d.ts +1 -1
  11. package/dist/v3/index.d.mts +20 -11
  12. package/dist/v3/index.d.ts +20 -11
  13. package/dist/v3/index.js +8 -3
  14. package/dist/v3/index.js.map +1 -1
  15. package/dist/v3/index.mjs +8 -3
  16. package/dist/v3/index.mjs.map +1 -1
  17. package/dist/v3/otel/index.js +3 -3
  18. package/dist/v3/otel/index.js.map +1 -1
  19. package/dist/v3/otel/index.mjs +3 -3
  20. package/dist/v3/otel/index.mjs.map +1 -1
  21. package/dist/v3/prod/index.d.mts +2 -2
  22. package/dist/v3/prod/index.d.ts +2 -2
  23. package/dist/v3/workers/index.d.mts +6 -6
  24. package/dist/v3/workers/index.d.ts +6 -6
  25. package/dist/v3/workers/index.js +10 -5
  26. package/dist/v3/workers/index.js.map +1 -1
  27. package/dist/v3/workers/index.mjs +10 -5
  28. package/dist/v3/workers/index.mjs.map +1 -1
  29. package/dist/v3/zodMessageHandler.d.mts +1 -1
  30. package/dist/v3/zodMessageHandler.d.ts +1 -1
  31. package/dist/v3/zodfetch.d.mts +1 -1
  32. package/dist/v3/zodfetch.d.ts +1 -1
  33. package/package.json +1 -1
@@ -47,7 +47,7 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
47
47
  tags: z.ZodArray<z.ZodString, "many">;
48
48
  isTest: z.ZodDefault<z.ZodBoolean>;
49
49
  createdAt: z.ZodDate;
50
- startedAt: z.ZodDate;
50
+ startedAt: z.ZodDefault<z.ZodDate>;
51
51
  idempotencyKey: z.ZodOptional<z.ZodString>;
52
52
  durationMs: z.ZodDefault<z.ZodNumber>;
53
53
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -67,13 +67,13 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
67
67
  idempotencyKey?: string | undefined;
68
68
  }, {
69
69
  id: string;
70
- startedAt: Date;
71
70
  payload: string;
72
71
  payloadType: string;
73
72
  tags: string[];
74
73
  createdAt: Date;
75
74
  context?: any;
76
75
  isTest?: boolean | undefined;
76
+ startedAt?: Date | undefined;
77
77
  idempotencyKey?: string | undefined;
78
78
  durationMs?: number | undefined;
79
79
  costInCents?: number | undefined;
@@ -227,13 +227,13 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
227
227
  };
228
228
  run: {
229
229
  id: string;
230
- startedAt: Date;
231
230
  payload: string;
232
231
  payloadType: string;
233
232
  tags: string[];
234
233
  createdAt: Date;
235
234
  context?: any;
236
235
  isTest?: boolean | undefined;
236
+ startedAt?: Date | undefined;
237
237
  idempotencyKey?: string | undefined;
238
238
  durationMs?: number | undefined;
239
239
  costInCents?: number | undefined;
@@ -349,13 +349,13 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
349
349
  };
350
350
  run: {
351
351
  id: string;
352
- startedAt: Date;
353
352
  payload: string;
354
353
  payloadType: string;
355
354
  tags: string[];
356
355
  createdAt: Date;
357
356
  context?: any;
358
357
  isTest?: boolean | undefined;
358
+ startedAt?: Date | undefined;
359
359
  idempotencyKey?: string | undefined;
360
360
  durationMs?: number | undefined;
361
361
  costInCents?: number | undefined;
@@ -477,13 +477,13 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
477
477
  };
478
478
  run: {
479
479
  id: string;
480
- startedAt: Date;
481
480
  payload: string;
482
481
  payloadType: string;
483
482
  tags: string[];
484
483
  createdAt: Date;
485
484
  context?: any;
486
485
  isTest?: boolean | undefined;
486
+ startedAt?: Date | undefined;
487
487
  idempotencyKey?: string | undefined;
488
488
  durationMs?: number | undefined;
489
489
  costInCents?: number | undefined;
@@ -694,7 +694,7 @@ declare const serverWebsocketMessages: {
694
694
  tags: z.ZodArray<z.ZodString, "many">;
695
695
  isTest: z.ZodDefault<z.ZodBoolean>;
696
696
  createdAt: z.ZodDate;
697
- startedAt: z.ZodDate;
697
+ startedAt: z.ZodDefault<z.ZodDate>;
698
698
  idempotencyKey: z.ZodOptional<z.ZodString>;
699
699
  durationMs: z.ZodDefault<z.ZodNumber>;
700
700
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -714,13 +714,13 @@ declare const serverWebsocketMessages: {
714
714
  idempotencyKey?: string | undefined;
715
715
  }, {
716
716
  id: string;
717
- startedAt: Date;
718
717
  payload: string;
719
718
  payloadType: string;
720
719
  tags: string[];
721
720
  createdAt: Date;
722
721
  context?: any;
723
722
  isTest?: boolean | undefined;
723
+ startedAt?: Date | undefined;
724
724
  idempotencyKey?: string | undefined;
725
725
  durationMs?: number | undefined;
726
726
  costInCents?: number | undefined;
@@ -874,13 +874,13 @@ declare const serverWebsocketMessages: {
874
874
  };
875
875
  run: {
876
876
  id: string;
877
- startedAt: Date;
878
877
  payload: string;
879
878
  payloadType: string;
880
879
  tags: string[];
881
880
  createdAt: Date;
882
881
  context?: any;
883
882
  isTest?: boolean | undefined;
883
+ startedAt?: Date | undefined;
884
884
  idempotencyKey?: string | undefined;
885
885
  durationMs?: number | undefined;
886
886
  costInCents?: number | undefined;
@@ -996,13 +996,13 @@ declare const serverWebsocketMessages: {
996
996
  };
997
997
  run: {
998
998
  id: string;
999
- startedAt: Date;
1000
999
  payload: string;
1001
1000
  payloadType: string;
1002
1001
  tags: string[];
1003
1002
  createdAt: Date;
1004
1003
  context?: any;
1005
1004
  isTest?: boolean | undefined;
1005
+ startedAt?: Date | undefined;
1006
1006
  idempotencyKey?: string | undefined;
1007
1007
  durationMs?: number | undefined;
1008
1008
  costInCents?: number | undefined;
@@ -1124,13 +1124,13 @@ declare const serverWebsocketMessages: {
1124
1124
  };
1125
1125
  run: {
1126
1126
  id: string;
1127
- startedAt: Date;
1128
1127
  payload: string;
1129
1128
  payloadType: string;
1130
1129
  tags: string[];
1131
1130
  createdAt: Date;
1132
1131
  context?: any;
1133
1132
  isTest?: boolean | undefined;
1133
+ startedAt?: Date | undefined;
1134
1134
  idempotencyKey?: string | undefined;
1135
1135
  durationMs?: number | undefined;
1136
1136
  costInCents?: number | undefined;
@@ -1397,13 +1397,13 @@ declare const serverWebsocketMessages: {
1397
1397
  };
1398
1398
  run: {
1399
1399
  id: string;
1400
- startedAt: Date;
1401
1400
  payload: string;
1402
1401
  payloadType: string;
1403
1402
  tags: string[];
1404
1403
  createdAt: Date;
1405
1404
  context?: any;
1406
1405
  isTest?: boolean | undefined;
1406
+ startedAt?: Date | undefined;
1407
1407
  idempotencyKey?: string | undefined;
1408
1408
  durationMs?: number | undefined;
1409
1409
  costInCents?: number | undefined;
@@ -1677,7 +1677,7 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
1677
1677
  tags: z.ZodArray<z.ZodString, "many">;
1678
1678
  isTest: z.ZodDefault<z.ZodBoolean>;
1679
1679
  createdAt: z.ZodDate;
1680
- startedAt: z.ZodDate;
1680
+ startedAt: z.ZodDefault<z.ZodDate>;
1681
1681
  idempotencyKey: z.ZodOptional<z.ZodString>;
1682
1682
  durationMs: z.ZodDefault<z.ZodNumber>;
1683
1683
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -1697,13 +1697,13 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
1697
1697
  idempotencyKey?: string | undefined;
1698
1698
  }, {
1699
1699
  id: string;
1700
- startedAt: Date;
1701
1700
  payload: string;
1702
1701
  payloadType: string;
1703
1702
  tags: string[];
1704
1703
  createdAt: Date;
1705
1704
  context?: any;
1706
1705
  isTest?: boolean | undefined;
1706
+ startedAt?: Date | undefined;
1707
1707
  idempotencyKey?: string | undefined;
1708
1708
  durationMs?: number | undefined;
1709
1709
  costInCents?: number | undefined;
@@ -1857,13 +1857,13 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
1857
1857
  };
1858
1858
  run: {
1859
1859
  id: string;
1860
- startedAt: Date;
1861
1860
  payload: string;
1862
1861
  payloadType: string;
1863
1862
  tags: string[];
1864
1863
  createdAt: Date;
1865
1864
  context?: any;
1866
1865
  isTest?: boolean | undefined;
1866
+ startedAt?: Date | undefined;
1867
1867
  idempotencyKey?: string | undefined;
1868
1868
  durationMs?: number | undefined;
1869
1869
  costInCents?: number | undefined;
@@ -2015,13 +2015,13 @@ declare const BackgroundWorkerClientMessages: z.ZodDiscriminatedUnion<"type", [z
2015
2015
  };
2016
2016
  run: {
2017
2017
  id: string;
2018
- startedAt: Date;
2019
2018
  payload: string;
2020
2019
  payloadType: string;
2021
2020
  tags: string[];
2022
2021
  createdAt: Date;
2023
2022
  context?: any;
2024
2023
  isTest?: boolean | undefined;
2024
+ startedAt?: Date | undefined;
2025
2025
  idempotencyKey?: string | undefined;
2026
2026
  durationMs?: number | undefined;
2027
2027
  costInCents?: number | undefined;
@@ -2558,7 +2558,7 @@ declare const clientWebsocketMessages: {
2558
2558
  tags: z.ZodArray<z.ZodString, "many">;
2559
2559
  isTest: z.ZodDefault<z.ZodBoolean>;
2560
2560
  createdAt: z.ZodDate;
2561
- startedAt: z.ZodDate;
2561
+ startedAt: z.ZodDefault<z.ZodDate>;
2562
2562
  idempotencyKey: z.ZodOptional<z.ZodString>;
2563
2563
  durationMs: z.ZodDefault<z.ZodNumber>;
2564
2564
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -2578,13 +2578,13 @@ declare const clientWebsocketMessages: {
2578
2578
  idempotencyKey?: string | undefined;
2579
2579
  }, {
2580
2580
  id: string;
2581
- startedAt: Date;
2582
2581
  payload: string;
2583
2582
  payloadType: string;
2584
2583
  tags: string[];
2585
2584
  createdAt: Date;
2586
2585
  context?: any;
2587
2586
  isTest?: boolean | undefined;
2587
+ startedAt?: Date | undefined;
2588
2588
  idempotencyKey?: string | undefined;
2589
2589
  durationMs?: number | undefined;
2590
2590
  costInCents?: number | undefined;
@@ -2738,13 +2738,13 @@ declare const clientWebsocketMessages: {
2738
2738
  };
2739
2739
  run: {
2740
2740
  id: string;
2741
- startedAt: Date;
2742
2741
  payload: string;
2743
2742
  payloadType: string;
2744
2743
  tags: string[];
2745
2744
  createdAt: Date;
2746
2745
  context?: any;
2747
2746
  isTest?: boolean | undefined;
2747
+ startedAt?: Date | undefined;
2748
2748
  idempotencyKey?: string | undefined;
2749
2749
  durationMs?: number | undefined;
2750
2750
  costInCents?: number | undefined;
@@ -2896,13 +2896,13 @@ declare const clientWebsocketMessages: {
2896
2896
  };
2897
2897
  run: {
2898
2898
  id: string;
2899
- startedAt: Date;
2900
2899
  payload: string;
2901
2900
  payloadType: string;
2902
2901
  tags: string[];
2903
2902
  createdAt: Date;
2904
2903
  context?: any;
2905
2904
  isTest?: boolean | undefined;
2905
+ startedAt?: Date | undefined;
2906
2906
  idempotencyKey?: string | undefined;
2907
2907
  durationMs?: number | undefined;
2908
2908
  costInCents?: number | undefined;
@@ -3357,13 +3357,13 @@ declare const clientWebsocketMessages: {
3357
3357
  };
3358
3358
  run: {
3359
3359
  id: string;
3360
- startedAt: Date;
3361
3360
  payload: string;
3362
3361
  payloadType: string;
3363
3362
  tags: string[];
3364
3363
  createdAt: Date;
3365
3364
  context?: any;
3366
3365
  isTest?: boolean | undefined;
3366
+ startedAt?: Date | undefined;
3367
3367
  idempotencyKey?: string | undefined;
3368
3368
  durationMs?: number | undefined;
3369
3369
  costInCents?: number | undefined;
@@ -3528,7 +3528,7 @@ declare const workerToChildMessages: {
3528
3528
  tags: z.ZodArray<z.ZodString, "many">;
3529
3529
  isTest: z.ZodDefault<z.ZodBoolean>;
3530
3530
  createdAt: z.ZodDate;
3531
- startedAt: z.ZodDate;
3531
+ startedAt: z.ZodDefault<z.ZodDate>;
3532
3532
  idempotencyKey: z.ZodOptional<z.ZodString>;
3533
3533
  durationMs: z.ZodDefault<z.ZodNumber>;
3534
3534
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -3548,13 +3548,13 @@ declare const workerToChildMessages: {
3548
3548
  idempotencyKey?: string | undefined;
3549
3549
  }, {
3550
3550
  id: string;
3551
- startedAt: Date;
3552
3551
  payload: string;
3553
3552
  payloadType: string;
3554
3553
  tags: string[];
3555
3554
  createdAt: Date;
3556
3555
  context?: any;
3557
3556
  isTest?: boolean | undefined;
3557
+ startedAt?: Date | undefined;
3558
3558
  idempotencyKey?: string | undefined;
3559
3559
  durationMs?: number | undefined;
3560
3560
  costInCents?: number | undefined;
@@ -3708,13 +3708,13 @@ declare const workerToChildMessages: {
3708
3708
  };
3709
3709
  run: {
3710
3710
  id: string;
3711
- startedAt: Date;
3712
3711
  payload: string;
3713
3712
  payloadType: string;
3714
3713
  tags: string[];
3715
3714
  createdAt: Date;
3716
3715
  context?: any;
3717
3716
  isTest?: boolean | undefined;
3717
+ startedAt?: Date | undefined;
3718
3718
  idempotencyKey?: string | undefined;
3719
3719
  durationMs?: number | undefined;
3720
3720
  costInCents?: number | undefined;
@@ -3847,13 +3847,13 @@ declare const workerToChildMessages: {
3847
3847
  };
3848
3848
  run: {
3849
3849
  id: string;
3850
- startedAt: Date;
3851
3850
  payload: string;
3852
3851
  payloadType: string;
3853
3852
  tags: string[];
3854
3853
  createdAt: Date;
3855
3854
  context?: any;
3856
3855
  isTest?: boolean | undefined;
3856
+ startedAt?: Date | undefined;
3857
3857
  idempotencyKey?: string | undefined;
3858
3858
  durationMs?: number | undefined;
3859
3859
  costInCents?: number | undefined;
@@ -4098,7 +4098,7 @@ declare const workerToChildMessages: {
4098
4098
  tags: z.ZodArray<z.ZodString, "many">;
4099
4099
  isTest: z.ZodDefault<z.ZodBoolean>;
4100
4100
  createdAt: z.ZodDate;
4101
- startedAt: z.ZodDate;
4101
+ startedAt: z.ZodDefault<z.ZodDate>;
4102
4102
  idempotencyKey: z.ZodOptional<z.ZodString>;
4103
4103
  durationMs: z.ZodDefault<z.ZodNumber>;
4104
4104
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -4118,13 +4118,13 @@ declare const workerToChildMessages: {
4118
4118
  idempotencyKey?: string | undefined;
4119
4119
  }, {
4120
4120
  id: string;
4121
- startedAt: Date;
4122
4121
  payload: string;
4123
4122
  payloadType: string;
4124
4123
  tags: string[];
4125
4124
  createdAt: Date;
4126
4125
  context?: any;
4127
4126
  isTest?: boolean | undefined;
4127
+ startedAt?: Date | undefined;
4128
4128
  idempotencyKey?: string | undefined;
4129
4129
  durationMs?: number | undefined;
4130
4130
  costInCents?: number | undefined;
@@ -4278,13 +4278,13 @@ declare const workerToChildMessages: {
4278
4278
  };
4279
4279
  run: {
4280
4280
  id: string;
4281
- startedAt: Date;
4282
4281
  payload: string;
4283
4282
  payloadType: string;
4284
4283
  tags: string[];
4285
4284
  createdAt: Date;
4286
4285
  context?: any;
4287
4286
  isTest?: boolean | undefined;
4287
+ startedAt?: Date | undefined;
4288
4288
  idempotencyKey?: string | undefined;
4289
4289
  durationMs?: number | undefined;
4290
4290
  costInCents?: number | undefined;
@@ -4435,13 +4435,13 @@ declare const workerToChildMessages: {
4435
4435
  };
4436
4436
  run: {
4437
4437
  id: string;
4438
- startedAt: Date;
4439
4438
  payload: string;
4440
4439
  payloadType: string;
4441
4440
  tags: string[];
4442
4441
  createdAt: Date;
4443
4442
  context?: any;
4444
4443
  isTest?: boolean | undefined;
4444
+ startedAt?: Date | undefined;
4445
4445
  idempotencyKey?: string | undefined;
4446
4446
  durationMs?: number | undefined;
4447
4447
  costInCents?: number | undefined;
@@ -4857,7 +4857,7 @@ declare const childToWorkerMessages: {
4857
4857
  tags: z.ZodArray<z.ZodString, "many">;
4858
4858
  isTest: z.ZodDefault<z.ZodBoolean>;
4859
4859
  createdAt: z.ZodDate;
4860
- startedAt: z.ZodDate;
4860
+ startedAt: z.ZodDefault<z.ZodDate>;
4861
4861
  idempotencyKey: z.ZodOptional<z.ZodString>;
4862
4862
  durationMs: z.ZodDefault<z.ZodNumber>;
4863
4863
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -4877,13 +4877,13 @@ declare const childToWorkerMessages: {
4877
4877
  idempotencyKey?: string | undefined;
4878
4878
  }, {
4879
4879
  id: string;
4880
- startedAt: Date;
4881
4880
  payload: string;
4882
4881
  payloadType: string;
4883
4882
  tags: string[];
4884
4883
  createdAt: Date;
4885
4884
  context?: any;
4886
4885
  isTest?: boolean | undefined;
4886
+ startedAt?: Date | undefined;
4887
4887
  idempotencyKey?: string | undefined;
4888
4888
  durationMs?: number | undefined;
4889
4889
  costInCents?: number | undefined;
@@ -5037,13 +5037,13 @@ declare const childToWorkerMessages: {
5037
5037
  };
5038
5038
  run: {
5039
5039
  id: string;
5040
- startedAt: Date;
5041
5040
  payload: string;
5042
5041
  payloadType: string;
5043
5042
  tags: string[];
5044
5043
  createdAt: Date;
5045
5044
  context?: any;
5046
5045
  isTest?: boolean | undefined;
5046
+ startedAt?: Date | undefined;
5047
5047
  idempotencyKey?: string | undefined;
5048
5048
  durationMs?: number | undefined;
5049
5049
  costInCents?: number | undefined;
@@ -5348,13 +5348,13 @@ declare const childToWorkerMessages: {
5348
5348
  };
5349
5349
  run: {
5350
5350
  id: string;
5351
- startedAt: Date;
5352
5351
  payload: string;
5353
5352
  payloadType: string;
5354
5353
  tags: string[];
5355
5354
  createdAt: Date;
5356
5355
  context?: any;
5357
5356
  isTest?: boolean | undefined;
5357
+ startedAt?: Date | undefined;
5358
5358
  idempotencyKey?: string | undefined;
5359
5359
  durationMs?: number | undefined;
5360
5360
  costInCents?: number | undefined;
@@ -6031,7 +6031,7 @@ declare const ProdChildToWorkerMessages: {
6031
6031
  tags: z.ZodArray<z.ZodString, "many">;
6032
6032
  isTest: z.ZodDefault<z.ZodBoolean>;
6033
6033
  createdAt: z.ZodDate;
6034
- startedAt: z.ZodDate;
6034
+ startedAt: z.ZodDefault<z.ZodDate>;
6035
6035
  idempotencyKey: z.ZodOptional<z.ZodString>;
6036
6036
  durationMs: z.ZodDefault<z.ZodNumber>;
6037
6037
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -6051,13 +6051,13 @@ declare const ProdChildToWorkerMessages: {
6051
6051
  idempotencyKey?: string | undefined;
6052
6052
  }, {
6053
6053
  id: string;
6054
- startedAt: Date;
6055
6054
  payload: string;
6056
6055
  payloadType: string;
6057
6056
  tags: string[];
6058
6057
  createdAt: Date;
6059
6058
  context?: any;
6060
6059
  isTest?: boolean | undefined;
6060
+ startedAt?: Date | undefined;
6061
6061
  idempotencyKey?: string | undefined;
6062
6062
  durationMs?: number | undefined;
6063
6063
  costInCents?: number | undefined;
@@ -6211,13 +6211,13 @@ declare const ProdChildToWorkerMessages: {
6211
6211
  };
6212
6212
  run: {
6213
6213
  id: string;
6214
- startedAt: Date;
6215
6214
  payload: string;
6216
6215
  payloadType: string;
6217
6216
  tags: string[];
6218
6217
  createdAt: Date;
6219
6218
  context?: any;
6220
6219
  isTest?: boolean | undefined;
6220
+ startedAt?: Date | undefined;
6221
6221
  idempotencyKey?: string | undefined;
6222
6222
  durationMs?: number | undefined;
6223
6223
  costInCents?: number | undefined;
@@ -6522,13 +6522,13 @@ declare const ProdChildToWorkerMessages: {
6522
6522
  };
6523
6523
  run: {
6524
6524
  id: string;
6525
- startedAt: Date;
6526
6525
  payload: string;
6527
6526
  payloadType: string;
6528
6527
  tags: string[];
6529
6528
  createdAt: Date;
6530
6529
  context?: any;
6531
6530
  isTest?: boolean | undefined;
6531
+ startedAt?: Date | undefined;
6532
6532
  idempotencyKey?: string | undefined;
6533
6533
  durationMs?: number | undefined;
6534
6534
  costInCents?: number | undefined;
@@ -7274,7 +7274,7 @@ declare const ProdWorkerToChildMessages: {
7274
7274
  tags: z.ZodArray<z.ZodString, "many">;
7275
7275
  isTest: z.ZodDefault<z.ZodBoolean>;
7276
7276
  createdAt: z.ZodDate;
7277
- startedAt: z.ZodDate;
7277
+ startedAt: z.ZodDefault<z.ZodDate>;
7278
7278
  idempotencyKey: z.ZodOptional<z.ZodString>;
7279
7279
  durationMs: z.ZodDefault<z.ZodNumber>;
7280
7280
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -7294,13 +7294,13 @@ declare const ProdWorkerToChildMessages: {
7294
7294
  idempotencyKey?: string | undefined;
7295
7295
  }, {
7296
7296
  id: string;
7297
- startedAt: Date;
7298
7297
  payload: string;
7299
7298
  payloadType: string;
7300
7299
  tags: string[];
7301
7300
  createdAt: Date;
7302
7301
  context?: any;
7303
7302
  isTest?: boolean | undefined;
7303
+ startedAt?: Date | undefined;
7304
7304
  idempotencyKey?: string | undefined;
7305
7305
  durationMs?: number | undefined;
7306
7306
  costInCents?: number | undefined;
@@ -7454,13 +7454,13 @@ declare const ProdWorkerToChildMessages: {
7454
7454
  };
7455
7455
  run: {
7456
7456
  id: string;
7457
- startedAt: Date;
7458
7457
  payload: string;
7459
7458
  payloadType: string;
7460
7459
  tags: string[];
7461
7460
  createdAt: Date;
7462
7461
  context?: any;
7463
7462
  isTest?: boolean | undefined;
7463
+ startedAt?: Date | undefined;
7464
7464
  idempotencyKey?: string | undefined;
7465
7465
  durationMs?: number | undefined;
7466
7466
  costInCents?: number | undefined;
@@ -7593,13 +7593,13 @@ declare const ProdWorkerToChildMessages: {
7593
7593
  };
7594
7594
  run: {
7595
7595
  id: string;
7596
- startedAt: Date;
7597
7596
  payload: string;
7598
7597
  payloadType: string;
7599
7598
  tags: string[];
7600
7599
  createdAt: Date;
7601
7600
  context?: any;
7602
7601
  isTest?: boolean | undefined;
7602
+ startedAt?: Date | undefined;
7603
7603
  idempotencyKey?: string | undefined;
7604
7604
  durationMs?: number | undefined;
7605
7605
  costInCents?: number | undefined;
@@ -7846,7 +7846,7 @@ declare const ProdWorkerToChildMessages: {
7846
7846
  tags: z.ZodArray<z.ZodString, "many">;
7847
7847
  isTest: z.ZodDefault<z.ZodBoolean>;
7848
7848
  createdAt: z.ZodDate;
7849
- startedAt: z.ZodDate;
7849
+ startedAt: z.ZodDefault<z.ZodDate>;
7850
7850
  idempotencyKey: z.ZodOptional<z.ZodString>;
7851
7851
  durationMs: z.ZodDefault<z.ZodNumber>;
7852
7852
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -7866,13 +7866,13 @@ declare const ProdWorkerToChildMessages: {
7866
7866
  idempotencyKey?: string | undefined;
7867
7867
  }, {
7868
7868
  id: string;
7869
- startedAt: Date;
7870
7869
  payload: string;
7871
7870
  payloadType: string;
7872
7871
  tags: string[];
7873
7872
  createdAt: Date;
7874
7873
  context?: any;
7875
7874
  isTest?: boolean | undefined;
7875
+ startedAt?: Date | undefined;
7876
7876
  idempotencyKey?: string | undefined;
7877
7877
  durationMs?: number | undefined;
7878
7878
  costInCents?: number | undefined;
@@ -8026,13 +8026,13 @@ declare const ProdWorkerToChildMessages: {
8026
8026
  };
8027
8027
  run: {
8028
8028
  id: string;
8029
- startedAt: Date;
8030
8029
  payload: string;
8031
8030
  payloadType: string;
8032
8031
  tags: string[];
8033
8032
  createdAt: Date;
8034
8033
  context?: any;
8035
8034
  isTest?: boolean | undefined;
8035
+ startedAt?: Date | undefined;
8036
8036
  idempotencyKey?: string | undefined;
8037
8037
  durationMs?: number | undefined;
8038
8038
  costInCents?: number | undefined;
@@ -8183,13 +8183,13 @@ declare const ProdWorkerToChildMessages: {
8183
8183
  };
8184
8184
  run: {
8185
8185
  id: string;
8186
- startedAt: Date;
8187
8186
  payload: string;
8188
8187
  payloadType: string;
8189
8188
  tags: string[];
8190
8189
  createdAt: Date;
8191
8190
  context?: any;
8192
8191
  isTest?: boolean | undefined;
8192
+ startedAt?: Date | undefined;
8193
8193
  idempotencyKey?: string | undefined;
8194
8194
  durationMs?: number | undefined;
8195
8195
  costInCents?: number | undefined;
@@ -10051,7 +10051,7 @@ declare const CoordinatorToPlatformMessages: {
10051
10051
  tags: z.ZodArray<z.ZodString, "many">;
10052
10052
  isTest: z.ZodDefault<z.ZodBoolean>;
10053
10053
  createdAt: z.ZodDate;
10054
- startedAt: z.ZodDate;
10054
+ startedAt: z.ZodDefault<z.ZodDate>;
10055
10055
  idempotencyKey: z.ZodOptional<z.ZodString>;
10056
10056
  durationMs: z.ZodDefault<z.ZodNumber>;
10057
10057
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -10071,13 +10071,13 @@ declare const CoordinatorToPlatformMessages: {
10071
10071
  idempotencyKey?: string | undefined;
10072
10072
  }, {
10073
10073
  id: string;
10074
- startedAt: Date;
10075
10074
  payload: string;
10076
10075
  payloadType: string;
10077
10076
  tags: string[];
10078
10077
  createdAt: Date;
10079
10078
  context?: any;
10080
10079
  isTest?: boolean | undefined;
10080
+ startedAt?: Date | undefined;
10081
10081
  idempotencyKey?: string | undefined;
10082
10082
  durationMs?: number | undefined;
10083
10083
  costInCents?: number | undefined;
@@ -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;
@@ -10249,13 +10249,13 @@ declare const CoordinatorToPlatformMessages: {
10249
10249
  };
10250
10250
  run: {
10251
10251
  id: string;
10252
- startedAt: Date;
10253
10252
  payload: string;
10254
10253
  payloadType: string;
10255
10254
  tags: string[];
10256
10255
  createdAt: Date;
10257
10256
  context?: any;
10258
10257
  isTest?: boolean | undefined;
10258
+ startedAt?: Date | undefined;
10259
10259
  idempotencyKey?: string | undefined;
10260
10260
  durationMs?: number | undefined;
10261
10261
  costInCents?: number | undefined;
@@ -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>>;
@@ -10381,13 +10381,13 @@ declare const CoordinatorToPlatformMessages: {
10381
10381
  };
10382
10382
  run: {
10383
10383
  id: string;
10384
- startedAt: Date;
10385
10384
  payload: string;
10386
10385
  payloadType: string;
10387
10386
  tags: string[];
10388
10387
  createdAt: Date;
10389
10388
  context?: any;
10390
10389
  isTest?: boolean | undefined;
10390
+ startedAt?: Date | undefined;
10391
10391
  idempotencyKey?: string | undefined;
10392
10392
  durationMs?: number | undefined;
10393
10393
  costInCents?: number | undefined;
@@ -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;
@@ -10519,13 +10519,13 @@ declare const CoordinatorToPlatformMessages: {
10519
10519
  };
10520
10520
  run: {
10521
10521
  id: string;
10522
- startedAt: Date;
10523
10522
  payload: string;
10524
10523
  payloadType: string;
10525
10524
  tags: string[];
10526
10525
  createdAt: Date;
10527
10526
  context?: any;
10528
10527
  isTest?: boolean | undefined;
10528
+ startedAt?: Date | undefined;
10529
10529
  idempotencyKey?: string | undefined;
10530
10530
  durationMs?: number | undefined;
10531
10531
  costInCents?: number | 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;
@@ -10638,7 +10638,7 @@ declare const CoordinatorToPlatformMessages: {
10638
10638
  tags: z.ZodArray<z.ZodString, "many">;
10639
10639
  isTest: z.ZodDefault<z.ZodBoolean>;
10640
10640
  createdAt: z.ZodDate;
10641
- startedAt: z.ZodDate;
10641
+ startedAt: z.ZodDefault<z.ZodDate>;
10642
10642
  idempotencyKey: z.ZodOptional<z.ZodString>;
10643
10643
  durationMs: z.ZodDefault<z.ZodNumber>;
10644
10644
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -10658,13 +10658,13 @@ declare const CoordinatorToPlatformMessages: {
10658
10658
  idempotencyKey?: string | undefined;
10659
10659
  }, {
10660
10660
  id: string;
10661
- startedAt: Date;
10662
10661
  payload: string;
10663
10662
  payloadType: string;
10664
10663
  tags: string[];
10665
10664
  createdAt: Date;
10666
10665
  context?: any;
10667
10666
  isTest?: boolean | undefined;
10667
+ startedAt?: Date | undefined;
10668
10668
  idempotencyKey?: string | undefined;
10669
10669
  durationMs?: number | undefined;
10670
10670
  costInCents?: number | 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;
@@ -10836,13 +10836,13 @@ declare const CoordinatorToPlatformMessages: {
10836
10836
  };
10837
10837
  run: {
10838
10838
  id: string;
10839
- startedAt: Date;
10840
10839
  payload: string;
10841
10840
  payloadType: string;
10842
10841
  tags: string[];
10843
10842
  createdAt: Date;
10844
10843
  context?: any;
10845
10844
  isTest?: boolean | undefined;
10845
+ startedAt?: Date | undefined;
10846
10846
  idempotencyKey?: string | undefined;
10847
10847
  durationMs?: number | undefined;
10848
10848
  costInCents?: number | undefined;
@@ -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>>;
@@ -10968,13 +10968,13 @@ declare const CoordinatorToPlatformMessages: {
10968
10968
  };
10969
10969
  run: {
10970
10970
  id: string;
10971
- startedAt: Date;
10972
10971
  payload: string;
10973
10972
  payloadType: string;
10974
10973
  tags: string[];
10975
10974
  createdAt: Date;
10976
10975
  context?: any;
10977
10976
  isTest?: boolean | undefined;
10977
+ startedAt?: Date | undefined;
10978
10978
  idempotencyKey?: string | undefined;
10979
10979
  durationMs?: number | undefined;
10980
10980
  costInCents?: number | undefined;
@@ -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;
@@ -11105,13 +11105,13 @@ declare const CoordinatorToPlatformMessages: {
11105
11105
  };
11106
11106
  run: {
11107
11107
  id: string;
11108
- startedAt: Date;
11109
11108
  payload: string;
11110
11109
  payloadType: string;
11111
11110
  tags: string[];
11112
11111
  createdAt: Date;
11113
11112
  context?: any;
11114
11113
  isTest?: boolean | undefined;
11114
+ startedAt?: Date | undefined;
11115
11115
  idempotencyKey?: string | undefined;
11116
11116
  durationMs?: number | undefined;
11117
11117
  costInCents?: number | 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;
@@ -11287,7 +11287,7 @@ declare const CoordinatorToPlatformMessages: {
11287
11287
  tags: z.ZodArray<z.ZodString, "many">;
11288
11288
  isTest: z.ZodDefault<z.ZodBoolean>;
11289
11289
  createdAt: z.ZodDate;
11290
- startedAt: z.ZodDate;
11290
+ startedAt: z.ZodDefault<z.ZodDate>;
11291
11291
  idempotencyKey: z.ZodOptional<z.ZodString>;
11292
11292
  durationMs: z.ZodDefault<z.ZodNumber>;
11293
11293
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -11307,13 +11307,13 @@ declare const CoordinatorToPlatformMessages: {
11307
11307
  idempotencyKey?: string | undefined;
11308
11308
  }, {
11309
11309
  id: string;
11310
- startedAt: Date;
11311
11310
  payload: string;
11312
11311
  payloadType: string;
11313
11312
  tags: string[];
11314
11313
  createdAt: Date;
11315
11314
  context?: any;
11316
11315
  isTest?: boolean | undefined;
11316
+ startedAt?: Date | undefined;
11317
11317
  idempotencyKey?: string | undefined;
11318
11318
  durationMs?: number | undefined;
11319
11319
  costInCents?: number | 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;
@@ -11485,13 +11485,13 @@ declare const CoordinatorToPlatformMessages: {
11485
11485
  };
11486
11486
  run: {
11487
11487
  id: string;
11488
- startedAt: Date;
11489
11488
  payload: string;
11490
11489
  payloadType: string;
11491
11490
  tags: string[];
11492
11491
  createdAt: Date;
11493
11492
  context?: any;
11494
11493
  isTest?: boolean | undefined;
11494
+ startedAt?: Date | undefined;
11495
11495
  idempotencyKey?: string | undefined;
11496
11496
  durationMs?: number | undefined;
11497
11497
  costInCents?: number | undefined;
@@ -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>;
@@ -11820,13 +11820,13 @@ declare const CoordinatorToPlatformMessages: {
11820
11820
  };
11821
11821
  run: {
11822
11822
  id: string;
11823
- startedAt: Date;
11824
11823
  payload: string;
11825
11824
  payloadType: string;
11826
11825
  tags: string[];
11827
11826
  createdAt: Date;
11828
11827
  context?: any;
11829
11828
  isTest?: boolean | undefined;
11829
+ startedAt?: Date | undefined;
11830
11830
  idempotencyKey?: string | undefined;
11831
11831
  durationMs?: number | undefined;
11832
11832
  costInCents?: number | undefined;
@@ -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;
@@ -12502,7 +12502,7 @@ declare const PlatformToCoordinatorMessages: {
12502
12502
  tags: z.ZodArray<z.ZodString, "many">;
12503
12503
  isTest: z.ZodDefault<z.ZodBoolean>;
12504
12504
  createdAt: z.ZodDate;
12505
- startedAt: z.ZodDate;
12505
+ startedAt: z.ZodDefault<z.ZodDate>;
12506
12506
  idempotencyKey: z.ZodOptional<z.ZodString>;
12507
12507
  durationMs: z.ZodDefault<z.ZodNumber>;
12508
12508
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -12522,13 +12522,13 @@ declare const PlatformToCoordinatorMessages: {
12522
12522
  idempotencyKey?: string | undefined;
12523
12523
  }, {
12524
12524
  id: string;
12525
- startedAt: Date;
12526
12525
  payload: string;
12527
12526
  payloadType: string;
12528
12527
  tags: string[];
12529
12528
  createdAt: Date;
12530
12529
  context?: any;
12531
12530
  isTest?: boolean | undefined;
12531
+ startedAt?: Date | undefined;
12532
12532
  idempotencyKey?: string | undefined;
12533
12533
  durationMs?: number | undefined;
12534
12534
  costInCents?: number | undefined;
@@ -12682,13 +12682,13 @@ declare const PlatformToCoordinatorMessages: {
12682
12682
  };
12683
12683
  run: {
12684
12684
  id: string;
12685
- startedAt: Date;
12686
12685
  payload: string;
12687
12686
  payloadType: string;
12688
12687
  tags: string[];
12689
12688
  createdAt: Date;
12690
12689
  context?: any;
12691
12690
  isTest?: boolean | undefined;
12691
+ startedAt?: Date | undefined;
12692
12692
  idempotencyKey?: string | undefined;
12693
12693
  durationMs?: number | undefined;
12694
12694
  costInCents?: number | undefined;
@@ -12881,13 +12881,13 @@ declare const PlatformToCoordinatorMessages: {
12881
12881
  };
12882
12882
  run: {
12883
12883
  id: string;
12884
- startedAt: Date;
12885
12884
  payload: string;
12886
12885
  payloadType: string;
12887
12886
  tags: string[];
12888
12887
  createdAt: Date;
12889
12888
  context?: any;
12890
12889
  isTest?: boolean | undefined;
12890
+ startedAt?: Date | undefined;
12891
12891
  idempotencyKey?: string | undefined;
12892
12892
  durationMs?: number | undefined;
12893
12893
  costInCents?: number | undefined;
@@ -13215,7 +13215,7 @@ declare const ClientToSharedQueueMessages: {
13215
13215
  tags: z.ZodArray<z.ZodString, "many">;
13216
13216
  isTest: z.ZodDefault<z.ZodBoolean>;
13217
13217
  createdAt: z.ZodDate;
13218
- startedAt: z.ZodDate;
13218
+ startedAt: z.ZodDefault<z.ZodDate>;
13219
13219
  idempotencyKey: z.ZodOptional<z.ZodString>;
13220
13220
  durationMs: z.ZodDefault<z.ZodNumber>;
13221
13221
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -13235,13 +13235,13 @@ declare const ClientToSharedQueueMessages: {
13235
13235
  idempotencyKey?: string | undefined;
13236
13236
  }, {
13237
13237
  id: string;
13238
- startedAt: Date;
13239
13238
  payload: string;
13240
13239
  payloadType: string;
13241
13240
  tags: string[];
13242
13241
  createdAt: Date;
13243
13242
  context?: any;
13244
13243
  isTest?: boolean | undefined;
13244
+ startedAt?: Date | undefined;
13245
13245
  idempotencyKey?: string | undefined;
13246
13246
  durationMs?: number | undefined;
13247
13247
  costInCents?: number | undefined;
@@ -13395,13 +13395,13 @@ declare const ClientToSharedQueueMessages: {
13395
13395
  };
13396
13396
  run: {
13397
13397
  id: string;
13398
- startedAt: Date;
13399
13398
  payload: string;
13400
13399
  payloadType: string;
13401
13400
  tags: string[];
13402
13401
  createdAt: Date;
13403
13402
  context?: any;
13404
13403
  isTest?: boolean | undefined;
13404
+ startedAt?: Date | undefined;
13405
13405
  idempotencyKey?: string | undefined;
13406
13406
  durationMs?: number | undefined;
13407
13407
  costInCents?: number | undefined;
@@ -13553,13 +13553,13 @@ declare const ClientToSharedQueueMessages: {
13553
13553
  };
13554
13554
  run: {
13555
13555
  id: string;
13556
- startedAt: Date;
13557
13556
  payload: string;
13558
13557
  payloadType: string;
13559
13558
  tags: string[];
13560
13559
  createdAt: Date;
13561
13560
  context?: any;
13562
13561
  isTest?: boolean | undefined;
13562
+ startedAt?: Date | undefined;
13563
13563
  idempotencyKey?: string | undefined;
13564
13564
  durationMs?: number | undefined;
13565
13565
  costInCents?: number | undefined;
@@ -14014,13 +14014,13 @@ declare const ClientToSharedQueueMessages: {
14014
14014
  };
14015
14015
  run: {
14016
14016
  id: string;
14017
- startedAt: Date;
14018
14017
  payload: string;
14019
14018
  payloadType: string;
14020
14019
  tags: string[];
14021
14020
  createdAt: Date;
14022
14021
  context?: any;
14023
14022
  isTest?: boolean | undefined;
14023
+ startedAt?: Date | undefined;
14024
14024
  idempotencyKey?: string | undefined;
14025
14025
  durationMs?: number | undefined;
14026
14026
  costInCents?: number | undefined;
@@ -14203,7 +14203,7 @@ declare const SharedQueueToClientMessages: {
14203
14203
  tags: z.ZodArray<z.ZodString, "many">;
14204
14204
  isTest: z.ZodDefault<z.ZodBoolean>;
14205
14205
  createdAt: z.ZodDate;
14206
- startedAt: z.ZodDate;
14206
+ startedAt: z.ZodDefault<z.ZodDate>;
14207
14207
  idempotencyKey: z.ZodOptional<z.ZodString>;
14208
14208
  durationMs: z.ZodDefault<z.ZodNumber>;
14209
14209
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -14223,13 +14223,13 @@ declare const SharedQueueToClientMessages: {
14223
14223
  idempotencyKey?: string | undefined;
14224
14224
  }, {
14225
14225
  id: string;
14226
- startedAt: Date;
14227
14226
  payload: string;
14228
14227
  payloadType: string;
14229
14228
  tags: string[];
14230
14229
  createdAt: Date;
14231
14230
  context?: any;
14232
14231
  isTest?: boolean | undefined;
14232
+ startedAt?: Date | undefined;
14233
14233
  idempotencyKey?: string | undefined;
14234
14234
  durationMs?: number | undefined;
14235
14235
  costInCents?: number | undefined;
@@ -14383,13 +14383,13 @@ declare const SharedQueueToClientMessages: {
14383
14383
  };
14384
14384
  run: {
14385
14385
  id: string;
14386
- startedAt: Date;
14387
14386
  payload: string;
14388
14387
  payloadType: string;
14389
14388
  tags: string[];
14390
14389
  createdAt: Date;
14391
14390
  context?: any;
14392
14391
  isTest?: boolean | undefined;
14392
+ startedAt?: Date | undefined;
14393
14393
  idempotencyKey?: string | undefined;
14394
14394
  durationMs?: number | undefined;
14395
14395
  costInCents?: number | undefined;
@@ -14505,13 +14505,13 @@ declare const SharedQueueToClientMessages: {
14505
14505
  };
14506
14506
  run: {
14507
14507
  id: string;
14508
- startedAt: Date;
14509
14508
  payload: string;
14510
14509
  payloadType: string;
14511
14510
  tags: string[];
14512
14511
  createdAt: Date;
14513
14512
  context?: any;
14514
14513
  isTest?: boolean | undefined;
14514
+ startedAt?: Date | undefined;
14515
14515
  idempotencyKey?: string | undefined;
14516
14516
  durationMs?: number | undefined;
14517
14517
  costInCents?: number | undefined;
@@ -14633,13 +14633,13 @@ declare const SharedQueueToClientMessages: {
14633
14633
  };
14634
14634
  run: {
14635
14635
  id: string;
14636
- startedAt: Date;
14637
14636
  payload: string;
14638
14637
  payloadType: string;
14639
14638
  tags: string[];
14640
14639
  createdAt: Date;
14641
14640
  context?: any;
14642
14641
  isTest?: boolean | undefined;
14642
+ startedAt?: Date | undefined;
14643
14643
  idempotencyKey?: string | undefined;
14644
14644
  durationMs?: number | undefined;
14645
14645
  costInCents?: number | undefined;
@@ -14906,13 +14906,13 @@ declare const SharedQueueToClientMessages: {
14906
14906
  };
14907
14907
  run: {
14908
14908
  id: string;
14909
- startedAt: Date;
14910
14909
  payload: string;
14911
14910
  payloadType: string;
14912
14911
  tags: string[];
14913
14912
  createdAt: Date;
14914
14913
  context?: any;
14915
14914
  isTest?: boolean | undefined;
14915
+ startedAt?: Date | undefined;
14916
14916
  idempotencyKey?: string | undefined;
14917
14917
  durationMs?: number | undefined;
14918
14918
  costInCents?: number | undefined;
@@ -16080,7 +16080,7 @@ declare const ProdWorkerToCoordinatorMessages: {
16080
16080
  tags: z.ZodArray<z.ZodString, "many">;
16081
16081
  isTest: z.ZodDefault<z.ZodBoolean>;
16082
16082
  createdAt: z.ZodDate;
16083
- startedAt: z.ZodDate;
16083
+ startedAt: z.ZodDefault<z.ZodDate>;
16084
16084
  idempotencyKey: z.ZodOptional<z.ZodString>;
16085
16085
  durationMs: z.ZodDefault<z.ZodNumber>;
16086
16086
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -16100,13 +16100,13 @@ declare const ProdWorkerToCoordinatorMessages: {
16100
16100
  idempotencyKey?: string | undefined;
16101
16101
  }, {
16102
16102
  id: string;
16103
- startedAt: Date;
16104
16103
  payload: string;
16105
16104
  payloadType: string;
16106
16105
  tags: string[];
16107
16106
  createdAt: Date;
16108
16107
  context?: any;
16109
16108
  isTest?: boolean | undefined;
16109
+ startedAt?: Date | undefined;
16110
16110
  idempotencyKey?: string | undefined;
16111
16111
  durationMs?: number | undefined;
16112
16112
  costInCents?: number | undefined;
@@ -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;
@@ -16278,13 +16278,13 @@ declare const ProdWorkerToCoordinatorMessages: {
16278
16278
  };
16279
16279
  run: {
16280
16280
  id: string;
16281
- startedAt: Date;
16282
16281
  payload: string;
16283
16282
  payloadType: string;
16284
16283
  tags: string[];
16285
16284
  createdAt: Date;
16286
16285
  context?: any;
16287
16286
  isTest?: boolean | undefined;
16287
+ startedAt?: Date | undefined;
16288
16288
  idempotencyKey?: string | undefined;
16289
16289
  durationMs?: number | undefined;
16290
16290
  costInCents?: number | undefined;
@@ -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>;
@@ -16599,13 +16599,13 @@ declare const ProdWorkerToCoordinatorMessages: {
16599
16599
  };
16600
16600
  run: {
16601
16601
  id: string;
16602
- startedAt: Date;
16603
16602
  payload: string;
16604
16603
  payloadType: string;
16605
16604
  tags: string[];
16606
16605
  createdAt: Date;
16607
16606
  context?: any;
16608
16607
  isTest?: boolean | undefined;
16608
+ startedAt?: Date | undefined;
16609
16609
  idempotencyKey?: string | undefined;
16610
16610
  durationMs?: number | undefined;
16611
16611
  costInCents?: number | undefined;
@@ -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;
@@ -17069,7 +17069,7 @@ declare const ProdWorkerToCoordinatorMessages: {
17069
17069
  tags: z.ZodArray<z.ZodString, "many">;
17070
17070
  isTest: z.ZodDefault<z.ZodBoolean>;
17071
17071
  createdAt: z.ZodDate;
17072
- startedAt: z.ZodDate;
17072
+ startedAt: z.ZodDefault<z.ZodDate>;
17073
17073
  idempotencyKey: z.ZodOptional<z.ZodString>;
17074
17074
  durationMs: z.ZodDefault<z.ZodNumber>;
17075
17075
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -17089,13 +17089,13 @@ declare const ProdWorkerToCoordinatorMessages: {
17089
17089
  idempotencyKey?: string | undefined;
17090
17090
  }, {
17091
17091
  id: string;
17092
- startedAt: Date;
17093
17092
  payload: string;
17094
17093
  payloadType: string;
17095
17094
  tags: string[];
17096
17095
  createdAt: Date;
17097
17096
  context?: any;
17098
17097
  isTest?: boolean | undefined;
17098
+ startedAt?: Date | undefined;
17099
17099
  idempotencyKey?: string | undefined;
17100
17100
  durationMs?: number | undefined;
17101
17101
  costInCents?: number | undefined;
@@ -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;
@@ -17267,13 +17267,13 @@ declare const ProdWorkerToCoordinatorMessages: {
17267
17267
  };
17268
17268
  run: {
17269
17269
  id: string;
17270
- startedAt: Date;
17271
17270
  payload: string;
17272
17271
  payloadType: string;
17273
17272
  tags: string[];
17274
17273
  createdAt: Date;
17275
17274
  context?: any;
17276
17275
  isTest?: boolean | undefined;
17276
+ startedAt?: Date | undefined;
17277
17277
  idempotencyKey?: string | undefined;
17278
17278
  durationMs?: number | undefined;
17279
17279
  costInCents?: number | undefined;
@@ -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>>;
@@ -17399,13 +17399,13 @@ declare const ProdWorkerToCoordinatorMessages: {
17399
17399
  };
17400
17400
  run: {
17401
17401
  id: string;
17402
- startedAt: Date;
17403
17402
  payload: string;
17404
17403
  payloadType: string;
17405
17404
  tags: string[];
17406
17405
  createdAt: Date;
17407
17406
  context?: any;
17408
17407
  isTest?: boolean | undefined;
17408
+ startedAt?: Date | undefined;
17409
17409
  idempotencyKey?: string | undefined;
17410
17410
  durationMs?: number | undefined;
17411
17411
  costInCents?: number | undefined;
@@ -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;
@@ -17537,13 +17537,13 @@ declare const ProdWorkerToCoordinatorMessages: {
17537
17537
  };
17538
17538
  run: {
17539
17539
  id: string;
17540
- startedAt: Date;
17541
17540
  payload: string;
17542
17541
  payloadType: string;
17543
17542
  tags: string[];
17544
17543
  createdAt: Date;
17545
17544
  context?: any;
17546
17545
  isTest?: boolean | undefined;
17546
+ startedAt?: Date | undefined;
17547
17547
  idempotencyKey?: string | undefined;
17548
17548
  durationMs?: number | undefined;
17549
17549
  costInCents?: number | 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;
@@ -17826,7 +17826,7 @@ declare const CoordinatorToProdWorkerMessages: {
17826
17826
  tags: z.ZodArray<z.ZodString, "many">;
17827
17827
  isTest: z.ZodDefault<z.ZodBoolean>;
17828
17828
  createdAt: z.ZodDate;
17829
- startedAt: z.ZodDate;
17829
+ startedAt: z.ZodDefault<z.ZodDate>;
17830
17830
  idempotencyKey: z.ZodOptional<z.ZodString>;
17831
17831
  durationMs: z.ZodDefault<z.ZodNumber>;
17832
17832
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -17846,13 +17846,13 @@ declare const CoordinatorToProdWorkerMessages: {
17846
17846
  idempotencyKey?: string | undefined;
17847
17847
  }, {
17848
17848
  id: string;
17849
- startedAt: Date;
17850
17849
  payload: string;
17851
17850
  payloadType: string;
17852
17851
  tags: string[];
17853
17852
  createdAt: Date;
17854
17853
  context?: any;
17855
17854
  isTest?: boolean | undefined;
17855
+ startedAt?: Date | undefined;
17856
17856
  idempotencyKey?: string | undefined;
17857
17857
  durationMs?: number | undefined;
17858
17858
  costInCents?: number | undefined;
@@ -18006,13 +18006,13 @@ declare const CoordinatorToProdWorkerMessages: {
18006
18006
  };
18007
18007
  run: {
18008
18008
  id: string;
18009
- startedAt: Date;
18010
18009
  payload: string;
18011
18010
  payloadType: string;
18012
18011
  tags: string[];
18013
18012
  createdAt: Date;
18014
18013
  context?: any;
18015
18014
  isTest?: boolean | undefined;
18015
+ startedAt?: Date | undefined;
18016
18016
  idempotencyKey?: string | undefined;
18017
18017
  durationMs?: number | undefined;
18018
18018
  costInCents?: number | undefined;
@@ -18201,13 +18201,13 @@ declare const CoordinatorToProdWorkerMessages: {
18201
18201
  };
18202
18202
  run: {
18203
18203
  id: string;
18204
- startedAt: Date;
18205
18204
  payload: string;
18206
18205
  payloadType: string;
18207
18206
  tags: string[];
18208
18207
  createdAt: Date;
18209
18208
  context?: any;
18210
18209
  isTest?: boolean | undefined;
18210
+ startedAt?: Date | undefined;
18211
18211
  idempotencyKey?: string | undefined;
18212
18212
  durationMs?: number | undefined;
18213
18213
  costInCents?: number | undefined;
@@ -18306,7 +18306,7 @@ declare const CoordinatorToProdWorkerMessages: {
18306
18306
  tags: z.ZodArray<z.ZodString, "many">;
18307
18307
  isTest: z.ZodDefault<z.ZodBoolean>;
18308
18308
  createdAt: z.ZodDate;
18309
- startedAt: z.ZodDate;
18309
+ startedAt: z.ZodDefault<z.ZodDate>;
18310
18310
  idempotencyKey: z.ZodOptional<z.ZodString>;
18311
18311
  durationMs: z.ZodDefault<z.ZodNumber>;
18312
18312
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -18326,13 +18326,13 @@ declare const CoordinatorToProdWorkerMessages: {
18326
18326
  idempotencyKey?: string | undefined;
18327
18327
  }, {
18328
18328
  id: string;
18329
- startedAt: Date;
18330
18329
  payload: string;
18331
18330
  payloadType: string;
18332
18331
  tags: string[];
18333
18332
  createdAt: Date;
18334
18333
  context?: any;
18335
18334
  isTest?: boolean | undefined;
18335
+ startedAt?: Date | undefined;
18336
18336
  idempotencyKey?: string | undefined;
18337
18337
  durationMs?: number | undefined;
18338
18338
  costInCents?: number | 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;
@@ -18504,13 +18504,13 @@ declare const CoordinatorToProdWorkerMessages: {
18504
18504
  };
18505
18505
  run: {
18506
18506
  id: string;
18507
- startedAt: Date;
18508
18507
  payload: string;
18509
18508
  payloadType: string;
18510
18509
  tags: string[];
18511
18510
  createdAt: Date;
18512
18511
  context?: any;
18513
18512
  isTest?: boolean | undefined;
18513
+ startedAt?: Date | undefined;
18514
18514
  idempotencyKey?: string | undefined;
18515
18515
  durationMs?: number | undefined;
18516
18516
  costInCents?: number | undefined;
@@ -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>>;
@@ -18636,13 +18636,13 @@ declare const CoordinatorToProdWorkerMessages: {
18636
18636
  };
18637
18637
  run: {
18638
18638
  id: string;
18639
- startedAt: Date;
18640
18639
  payload: string;
18641
18640
  payloadType: string;
18642
18641
  tags: string[];
18643
18642
  createdAt: Date;
18644
18643
  context?: any;
18645
18644
  isTest?: boolean | undefined;
18645
+ startedAt?: Date | undefined;
18646
18646
  idempotencyKey?: string | undefined;
18647
18647
  durationMs?: number | undefined;
18648
18648
  costInCents?: number | undefined;
@@ -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;
@@ -18773,13 +18773,13 @@ declare const CoordinatorToProdWorkerMessages: {
18773
18773
  };
18774
18774
  run: {
18775
18775
  id: string;
18776
- startedAt: Date;
18777
18776
  payload: string;
18778
18777
  payloadType: string;
18779
18778
  tags: string[];
18780
18779
  createdAt: Date;
18781
18780
  context?: any;
18782
18781
  isTest?: boolean | undefined;
18782
+ startedAt?: Date | undefined;
18783
18783
  idempotencyKey?: string | undefined;
18784
18784
  durationMs?: number | undefined;
18785
18785
  costInCents?: number | 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;