@trigger.dev/core 0.0.0-v3-prerelease-20241203112040 → 0.0.0-v3-prerelease-20250108131948

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 (96) hide show
  1. package/dist/commonjs/schemas/api.d.ts +8 -8
  2. package/dist/commonjs/v3/apiClient/index.d.ts +161 -150
  3. package/dist/commonjs/v3/apiClient/index.js +20 -1
  4. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  5. package/dist/commonjs/v3/apiClient/runStream.d.ts +12 -3
  6. package/dist/commonjs/v3/apiClient/runStream.js +155 -60
  7. package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
  8. package/dist/commonjs/v3/apiClient/stream.d.ts +10 -1
  9. package/dist/commonjs/v3/apiClient/stream.js +181 -25
  10. package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
  11. package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
  12. package/dist/commonjs/v3/run-metadata-api.d.ts +2 -0
  13. package/dist/commonjs/v3/run-metadata-api.js +16 -0
  14. package/dist/commonjs/v3/run-metadata-api.js.map +1 -1
  15. package/dist/commonjs/v3/runMetadata/index.d.ts +13 -8
  16. package/dist/commonjs/v3/runMetadata/index.js +32 -13
  17. package/dist/commonjs/v3/runMetadata/index.js.map +1 -1
  18. package/dist/commonjs/v3/runMetadata/manager.d.ts +25 -11
  19. package/dist/commonjs/v3/runMetadata/manager.js +180 -132
  20. package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
  21. package/dist/commonjs/v3/runMetadata/metadataStream.d.ts +9 -7
  22. package/dist/commonjs/v3/runMetadata/metadataStream.js +44 -40
  23. package/dist/commonjs/v3/runMetadata/metadataStream.js.map +1 -1
  24. package/dist/commonjs/v3/runMetadata/noopManager.d.ts +13 -8
  25. package/dist/commonjs/v3/runMetadata/noopManager.js +44 -6
  26. package/dist/commonjs/v3/runMetadata/noopManager.js.map +1 -1
  27. package/dist/commonjs/v3/runMetadata/types.d.ts +16 -9
  28. package/dist/commonjs/v3/runtime/devRuntimeManager.d.ts +1 -0
  29. package/dist/commonjs/v3/runtime/devRuntimeManager.js +9 -0
  30. package/dist/commonjs/v3/runtime/devRuntimeManager.js.map +1 -1
  31. package/dist/commonjs/v3/schemas/api.d.ts +1166 -747
  32. package/dist/commonjs/v3/schemas/api.js +26 -13
  33. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  34. package/dist/commonjs/v3/schemas/build.d.ts +262 -262
  35. package/dist/commonjs/v3/schemas/common.d.ts +3733 -12
  36. package/dist/commonjs/v3/schemas/common.js +45 -1
  37. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  38. package/dist/commonjs/v3/schemas/fetch.d.ts +31 -31
  39. package/dist/commonjs/v3/schemas/messages.d.ts +21871 -3889
  40. package/dist/commonjs/v3/schemas/resources.d.ts +88 -88
  41. package/dist/commonjs/v3/schemas/schemas.d.ts +485 -485
  42. package/dist/commonjs/v3/types/tasks.d.ts +25 -1
  43. package/dist/commonjs/v3/utils/ioSerialization.d.ts +4 -1
  44. package/dist/commonjs/v3/utils/ioSerialization.js +14 -2
  45. package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
  46. package/dist/commonjs/version.js +1 -1
  47. package/dist/esm/schemas/api.d.ts +8 -8
  48. package/dist/esm/v3/apiClient/index.d.ts +109 -98
  49. package/dist/esm/v3/apiClient/index.js +21 -2
  50. package/dist/esm/v3/apiClient/index.js.map +1 -1
  51. package/dist/esm/v3/apiClient/runStream.d.ts +12 -3
  52. package/dist/esm/v3/apiClient/runStream.js +153 -59
  53. package/dist/esm/v3/apiClient/runStream.js.map +1 -1
  54. package/dist/esm/v3/apiClient/stream.d.ts +10 -1
  55. package/dist/esm/v3/apiClient/stream.js +178 -25
  56. package/dist/esm/v3/apiClient/stream.js.map +1 -1
  57. package/dist/esm/v3/apiClientManager/index.d.ts +1 -1
  58. package/dist/esm/v3/run-metadata-api.d.ts +2 -0
  59. package/dist/esm/v3/run-metadata-api.js +2 -0
  60. package/dist/esm/v3/run-metadata-api.js.map +1 -1
  61. package/dist/esm/v3/runMetadata/index.d.ts +13 -8
  62. package/dist/esm/v3/runMetadata/index.js +32 -13
  63. package/dist/esm/v3/runMetadata/index.js.map +1 -1
  64. package/dist/esm/v3/runMetadata/manager.d.ts +25 -11
  65. package/dist/esm/v3/runMetadata/manager.js +180 -132
  66. package/dist/esm/v3/runMetadata/manager.js.map +1 -1
  67. package/dist/esm/v3/runMetadata/metadataStream.d.ts +9 -7
  68. package/dist/esm/v3/runMetadata/metadataStream.js +44 -40
  69. package/dist/esm/v3/runMetadata/metadataStream.js.map +1 -1
  70. package/dist/esm/v3/runMetadata/noopManager.d.ts +13 -8
  71. package/dist/esm/v3/runMetadata/noopManager.js +44 -6
  72. package/dist/esm/v3/runMetadata/noopManager.js.map +1 -1
  73. package/dist/esm/v3/runMetadata/operations.d.ts +6 -0
  74. package/dist/esm/v3/runMetadata/operations.js +112 -0
  75. package/dist/esm/v3/runMetadata/operations.js.map +1 -0
  76. package/dist/esm/v3/runMetadata/types.d.ts +16 -9
  77. package/dist/esm/v3/runtime/devRuntimeManager.d.ts +1 -0
  78. package/dist/esm/v3/runtime/devRuntimeManager.js +9 -0
  79. package/dist/esm/v3/runtime/devRuntimeManager.js.map +1 -1
  80. package/dist/esm/v3/schemas/api.d.ts +811 -392
  81. package/dist/esm/v3/schemas/api.js +26 -13
  82. package/dist/esm/v3/schemas/api.js.map +1 -1
  83. package/dist/esm/v3/schemas/build.d.ts +316 -316
  84. package/dist/esm/v3/schemas/common.d.ts +3893 -172
  85. package/dist/esm/v3/schemas/common.js +44 -0
  86. package/dist/esm/v3/schemas/common.js.map +1 -1
  87. package/dist/esm/v3/schemas/fetch.d.ts +22 -22
  88. package/dist/esm/v3/schemas/messages.d.ts +20632 -2650
  89. package/dist/esm/v3/schemas/resources.d.ts +98 -98
  90. package/dist/esm/v3/schemas/schemas.d.ts +353 -353
  91. package/dist/esm/v3/types/tasks.d.ts +25 -1
  92. package/dist/esm/v3/utils/ioSerialization.d.ts +4 -1
  93. package/dist/esm/v3/utils/ioSerialization.js +14 -2
  94. package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
  95. package/dist/esm/version.js +1 -1
  96. package/package.json +2 -2
@@ -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"]>;
@@ -35,11 +35,11 @@ export declare const BuildManifest: z.ZodObject<{
35
35
  entry: z.ZodString;
36
36
  out: z.ZodString;
37
37
  }, "strip", z.ZodTypeAny, {
38
- out: string;
39
38
  entry: string;
40
- }, {
41
39
  out: string;
40
+ }, {
42
41
  entry: string;
42
+ out: string;
43
43
  }>, "many">;
44
44
  sources: z.ZodRecord<z.ZodString, z.ZodObject<{
45
45
  contents: z.ZodString;
@@ -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>>;
@@ -103,11 +103,11 @@ export declare const BuildManifest: z.ZodObject<{
103
103
  pkgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
104
104
  instructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
105
105
  }, "strip", z.ZodTypeAny, {
106
- instructions?: string[] | undefined;
107
106
  pkgs?: string[] | undefined;
108
- }, {
109
107
  instructions?: string[] | undefined;
108
+ }, {
110
109
  pkgs?: string[] | undefined;
110
+ instructions?: string[] | undefined;
111
111
  }>>;
112
112
  otelImportHook: z.ZodOptional<z.ZodObject<{
113
113
  include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -120,18 +120,11 @@ export declare const BuildManifest: z.ZodObject<{
120
120
  exclude?: string[] | undefined;
121
121
  }>>;
122
122
  }, "strip", z.ZodTypeAny, {
123
- config: {
124
- project: string;
125
- dirs: string[];
126
- };
127
- sources: Record<string, {
128
- contentHash: string;
129
- contents: string;
130
- }>;
131
123
  environment: string;
132
124
  contentHash: string;
133
125
  packageVersion: string;
134
126
  cliPackageVersion: string;
127
+ runtime: "node" | "bun";
135
128
  deploy: {
136
129
  env?: Record<string, string> | undefined;
137
130
  sync?: {
@@ -139,11 +132,18 @@ export declare const BuildManifest: z.ZodObject<{
139
132
  } | undefined;
140
133
  };
141
134
  target: "dev" | "deploy";
142
- runtime: "node" | "bun";
135
+ config: {
136
+ project: string;
137
+ dirs: string[];
138
+ };
143
139
  files: {
144
- out: string;
145
140
  entry: string;
141
+ out: string;
146
142
  }[];
143
+ sources: Record<string, {
144
+ contentHash: string;
145
+ contents: string;
146
+ }>;
147
147
  outputPath: string;
148
148
  runWorkerEntryPoint: string;
149
149
  indexWorkerEntryPoint: string;
@@ -152,35 +152,28 @@ export declare const BuildManifest: z.ZodObject<{
152
152
  env?: Record<string, string> | undefined;
153
153
  commands?: string[] | undefined;
154
154
  };
155
+ image?: {
156
+ pkgs?: string[] | undefined;
157
+ instructions?: string[] | undefined;
158
+ } | undefined;
155
159
  runControllerEntryPoint?: string | undefined;
156
160
  indexControllerEntryPoint?: string | undefined;
157
161
  loaderEntryPoint?: string | undefined;
158
162
  externals?: {
159
- version: string;
160
163
  name: string;
164
+ version: string;
161
165
  }[] | undefined;
162
166
  customConditions?: string[] | undefined;
163
- image?: {
164
- instructions?: string[] | undefined;
165
- pkgs?: string[] | undefined;
166
- } | undefined;
167
167
  otelImportHook?: {
168
168
  include?: string[] | undefined;
169
169
  exclude?: string[] | undefined;
170
170
  } | undefined;
171
171
  }, {
172
- config: {
173
- project: string;
174
- dirs: string[];
175
- };
176
- sources: Record<string, {
177
- contentHash: string;
178
- contents: string;
179
- }>;
180
172
  environment: string;
181
173
  contentHash: string;
182
174
  packageVersion: string;
183
175
  cliPackageVersion: string;
176
+ runtime: "node" | "bun";
184
177
  deploy: {
185
178
  env?: Record<string, string> | undefined;
186
179
  sync?: {
@@ -188,11 +181,18 @@ export declare const BuildManifest: z.ZodObject<{
188
181
  } | undefined;
189
182
  };
190
183
  target: "dev" | "deploy";
191
- runtime: "node" | "bun";
184
+ config: {
185
+ project: string;
186
+ dirs: string[];
187
+ };
192
188
  files: {
193
- out: string;
194
189
  entry: string;
190
+ out: string;
195
191
  }[];
192
+ sources: Record<string, {
193
+ contentHash: string;
194
+ contents: string;
195
+ }>;
196
196
  outputPath: string;
197
197
  runWorkerEntryPoint: string;
198
198
  indexWorkerEntryPoint: string;
@@ -201,18 +201,18 @@ export declare const BuildManifest: z.ZodObject<{
201
201
  env?: Record<string, string> | undefined;
202
202
  commands?: string[] | undefined;
203
203
  };
204
+ image?: {
205
+ pkgs?: string[] | undefined;
206
+ instructions?: string[] | undefined;
207
+ } | undefined;
204
208
  runControllerEntryPoint?: string | undefined;
205
209
  indexControllerEntryPoint?: string | undefined;
206
210
  loaderEntryPoint?: string | undefined;
207
211
  externals?: {
208
- version: string;
209
212
  name: string;
213
+ version: string;
210
214
  }[] | undefined;
211
215
  customConditions?: string[] | undefined;
212
- image?: {
213
- instructions?: string[] | undefined;
214
- pkgs?: string[] | undefined;
215
- } | undefined;
216
216
  otelImportHook?: {
217
217
  include?: string[] | undefined;
218
218
  exclude?: string[] | undefined;
@@ -243,11 +243,11 @@ export declare const IndexMessage: z.ZodObject<{
243
243
  entry: z.ZodString;
244
244
  out: z.ZodString;
245
245
  }, "strip", z.ZodTypeAny, {
246
- out: string;
247
246
  entry: string;
248
- }, {
249
247
  out: string;
248
+ }, {
250
249
  entry: string;
250
+ out: string;
251
251
  }>, "many">;
252
252
  sources: z.ZodRecord<z.ZodString, z.ZodObject<{
253
253
  contents: z.ZodString;
@@ -270,11 +270,11 @@ export declare const IndexMessage: z.ZodObject<{
270
270
  name: z.ZodString;
271
271
  version: z.ZodString;
272
272
  }, "strip", z.ZodTypeAny, {
273
- version: string;
274
273
  name: string;
275
- }, {
276
274
  version: string;
275
+ }, {
277
276
  name: string;
277
+ version: string;
278
278
  }>, "many">>;
279
279
  build: z.ZodObject<{
280
280
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -311,11 +311,11 @@ export declare const IndexMessage: z.ZodObject<{
311
311
  pkgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
312
312
  instructions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
313
313
  }, "strip", z.ZodTypeAny, {
314
- instructions?: string[] | undefined;
315
314
  pkgs?: string[] | undefined;
316
- }, {
317
315
  instructions?: string[] | undefined;
316
+ }, {
318
317
  pkgs?: string[] | undefined;
318
+ instructions?: string[] | undefined;
319
319
  }>>;
320
320
  otelImportHook: z.ZodOptional<z.ZodObject<{
321
321
  include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -328,18 +328,11 @@ export declare const IndexMessage: z.ZodObject<{
328
328
  exclude?: string[] | undefined;
329
329
  }>>;
330
330
  }, "strip", z.ZodTypeAny, {
331
- config: {
332
- project: string;
333
- dirs: string[];
334
- };
335
- sources: Record<string, {
336
- contentHash: string;
337
- contents: string;
338
- }>;
339
331
  environment: string;
340
332
  contentHash: string;
341
333
  packageVersion: string;
342
334
  cliPackageVersion: string;
335
+ runtime: "node" | "bun";
343
336
  deploy: {
344
337
  env?: Record<string, string> | undefined;
345
338
  sync?: {
@@ -347,11 +340,18 @@ export declare const IndexMessage: z.ZodObject<{
347
340
  } | undefined;
348
341
  };
349
342
  target: "dev" | "deploy";
350
- runtime: "node" | "bun";
343
+ config: {
344
+ project: string;
345
+ dirs: string[];
346
+ };
351
347
  files: {
352
- out: string;
353
348
  entry: string;
349
+ out: string;
354
350
  }[];
351
+ sources: Record<string, {
352
+ contentHash: string;
353
+ contents: string;
354
+ }>;
355
355
  outputPath: string;
356
356
  runWorkerEntryPoint: string;
357
357
  indexWorkerEntryPoint: string;
@@ -360,35 +360,28 @@ export declare const IndexMessage: z.ZodObject<{
360
360
  env?: Record<string, string> | undefined;
361
361
  commands?: string[] | undefined;
362
362
  };
363
+ image?: {
364
+ pkgs?: string[] | undefined;
365
+ instructions?: string[] | undefined;
366
+ } | undefined;
363
367
  runControllerEntryPoint?: string | undefined;
364
368
  indexControllerEntryPoint?: string | undefined;
365
369
  loaderEntryPoint?: string | undefined;
366
370
  externals?: {
367
- version: string;
368
371
  name: string;
372
+ version: string;
369
373
  }[] | undefined;
370
374
  customConditions?: string[] | undefined;
371
- image?: {
372
- instructions?: string[] | undefined;
373
- pkgs?: string[] | undefined;
374
- } | undefined;
375
375
  otelImportHook?: {
376
376
  include?: string[] | undefined;
377
377
  exclude?: string[] | undefined;
378
378
  } | undefined;
379
379
  }, {
380
- config: {
381
- project: string;
382
- dirs: string[];
383
- };
384
- sources: Record<string, {
385
- contentHash: string;
386
- contents: string;
387
- }>;
388
380
  environment: string;
389
381
  contentHash: string;
390
382
  packageVersion: string;
391
383
  cliPackageVersion: string;
384
+ runtime: "node" | "bun";
392
385
  deploy: {
393
386
  env?: Record<string, string> | undefined;
394
387
  sync?: {
@@ -396,11 +389,18 @@ export declare const IndexMessage: z.ZodObject<{
396
389
  } | undefined;
397
390
  };
398
391
  target: "dev" | "deploy";
399
- runtime: "node" | "bun";
392
+ config: {
393
+ project: string;
394
+ dirs: string[];
395
+ };
400
396
  files: {
401
- out: string;
402
397
  entry: string;
398
+ out: string;
403
399
  }[];
400
+ sources: Record<string, {
401
+ contentHash: string;
402
+ contents: string;
403
+ }>;
404
404
  outputPath: string;
405
405
  runWorkerEntryPoint: string;
406
406
  indexWorkerEntryPoint: string;
@@ -409,18 +409,18 @@ export declare const IndexMessage: z.ZodObject<{
409
409
  env?: Record<string, string> | undefined;
410
410
  commands?: string[] | undefined;
411
411
  };
412
+ image?: {
413
+ pkgs?: string[] | undefined;
414
+ instructions?: string[] | undefined;
415
+ } | undefined;
412
416
  runControllerEntryPoint?: string | undefined;
413
417
  indexControllerEntryPoint?: string | undefined;
414
418
  loaderEntryPoint?: string | undefined;
415
419
  externals?: {
416
- version: string;
417
420
  name: string;
421
+ version: string;
418
422
  }[] | undefined;
419
423
  customConditions?: string[] | undefined;
420
- image?: {
421
- instructions?: string[] | undefined;
422
- pkgs?: string[] | undefined;
423
- } | undefined;
424
424
  otelImportHook?: {
425
425
  include?: string[] | undefined;
426
426
  exclude?: string[] | undefined;
@@ -428,18 +428,11 @@ export declare const IndexMessage: z.ZodObject<{
428
428
  }>;
429
429
  }, "strip", z.ZodTypeAny, {
430
430
  build: {
431
- config: {
432
- project: string;
433
- dirs: string[];
434
- };
435
- sources: Record<string, {
436
- contentHash: string;
437
- contents: string;
438
- }>;
439
431
  environment: string;
440
432
  contentHash: string;
441
433
  packageVersion: string;
442
434
  cliPackageVersion: string;
435
+ runtime: "node" | "bun";
443
436
  deploy: {
444
437
  env?: Record<string, string> | undefined;
445
438
  sync?: {
@@ -447,11 +440,18 @@ export declare const IndexMessage: z.ZodObject<{
447
440
  } | undefined;
448
441
  };
449
442
  target: "dev" | "deploy";
450
- runtime: "node" | "bun";
443
+ config: {
444
+ project: string;
445
+ dirs: string[];
446
+ };
451
447
  files: {
452
- out: string;
453
448
  entry: string;
449
+ out: string;
454
450
  }[];
451
+ sources: Record<string, {
452
+ contentHash: string;
453
+ contents: string;
454
+ }>;
455
455
  outputPath: string;
456
456
  runWorkerEntryPoint: string;
457
457
  indexWorkerEntryPoint: string;
@@ -460,18 +460,18 @@ export declare const IndexMessage: z.ZodObject<{
460
460
  env?: Record<string, string> | undefined;
461
461
  commands?: string[] | undefined;
462
462
  };
463
+ image?: {
464
+ pkgs?: string[] | undefined;
465
+ instructions?: string[] | undefined;
466
+ } | undefined;
463
467
  runControllerEntryPoint?: string | undefined;
464
468
  indexControllerEntryPoint?: string | undefined;
465
469
  loaderEntryPoint?: string | undefined;
466
470
  externals?: {
467
- version: string;
468
471
  name: string;
472
+ version: string;
469
473
  }[] | undefined;
470
474
  customConditions?: string[] | undefined;
471
- image?: {
472
- instructions?: string[] | undefined;
473
- pkgs?: string[] | undefined;
474
- } | undefined;
475
475
  otelImportHook?: {
476
476
  include?: string[] | undefined;
477
477
  exclude?: string[] | undefined;
@@ -479,18 +479,11 @@ export declare const IndexMessage: z.ZodObject<{
479
479
  };
480
480
  }, {
481
481
  build: {
482
- config: {
483
- project: string;
484
- dirs: string[];
485
- };
486
- sources: Record<string, {
487
- contentHash: string;
488
- contents: string;
489
- }>;
490
482
  environment: string;
491
483
  contentHash: string;
492
484
  packageVersion: string;
493
485
  cliPackageVersion: string;
486
+ runtime: "node" | "bun";
494
487
  deploy: {
495
488
  env?: Record<string, string> | undefined;
496
489
  sync?: {
@@ -498,11 +491,18 @@ export declare const IndexMessage: z.ZodObject<{
498
491
  } | undefined;
499
492
  };
500
493
  target: "dev" | "deploy";
501
- runtime: "node" | "bun";
494
+ config: {
495
+ project: string;
496
+ dirs: string[];
497
+ };
502
498
  files: {
503
- out: string;
504
499
  entry: string;
500
+ out: string;
505
501
  }[];
502
+ sources: Record<string, {
503
+ contentHash: string;
504
+ contents: string;
505
+ }>;
506
506
  outputPath: string;
507
507
  runWorkerEntryPoint: string;
508
508
  indexWorkerEntryPoint: string;
@@ -511,18 +511,18 @@ export declare const IndexMessage: z.ZodObject<{
511
511
  env?: Record<string, string> | undefined;
512
512
  commands?: string[] | undefined;
513
513
  };
514
+ image?: {
515
+ pkgs?: string[] | undefined;
516
+ instructions?: string[] | undefined;
517
+ } | undefined;
514
518
  runControllerEntryPoint?: string | undefined;
515
519
  indexControllerEntryPoint?: string | undefined;
516
520
  loaderEntryPoint?: string | undefined;
517
521
  externals?: {
518
- version: string;
519
522
  name: string;
523
+ version: string;
520
524
  }[] | undefined;
521
525
  customConditions?: string[] | undefined;
522
- image?: {
523
- instructions?: string[] | undefined;
524
- pkgs?: string[] | undefined;
525
- } | undefined;
526
526
  otelImportHook?: {
527
527
  include?: string[] | undefined;
528
528
  exclude?: string[] | undefined;
@@ -533,18 +533,11 @@ export declare const IndexMessage: z.ZodObject<{
533
533
  type: "index";
534
534
  data: {
535
535
  build: {
536
- config: {
537
- project: string;
538
- dirs: string[];
539
- };
540
- sources: Record<string, {
541
- contentHash: string;
542
- contents: string;
543
- }>;
544
536
  environment: string;
545
537
  contentHash: string;
546
538
  packageVersion: string;
547
539
  cliPackageVersion: string;
540
+ runtime: "node" | "bun";
548
541
  deploy: {
549
542
  env?: Record<string, string> | undefined;
550
543
  sync?: {
@@ -552,11 +545,18 @@ export declare const IndexMessage: z.ZodObject<{
552
545
  } | undefined;
553
546
  };
554
547
  target: "dev" | "deploy";
555
- runtime: "node" | "bun";
548
+ config: {
549
+ project: string;
550
+ dirs: string[];
551
+ };
556
552
  files: {
557
- out: string;
558
553
  entry: string;
554
+ out: string;
559
555
  }[];
556
+ sources: Record<string, {
557
+ contentHash: string;
558
+ contents: string;
559
+ }>;
560
560
  outputPath: string;
561
561
  runWorkerEntryPoint: string;
562
562
  indexWorkerEntryPoint: string;
@@ -565,18 +565,18 @@ export declare const IndexMessage: z.ZodObject<{
565
565
  env?: Record<string, string> | undefined;
566
566
  commands?: string[] | undefined;
567
567
  };
568
+ image?: {
569
+ pkgs?: string[] | undefined;
570
+ instructions?: string[] | undefined;
571
+ } | undefined;
568
572
  runControllerEntryPoint?: string | undefined;
569
573
  indexControllerEntryPoint?: string | undefined;
570
574
  loaderEntryPoint?: string | undefined;
571
575
  externals?: {
572
- version: string;
573
576
  name: string;
577
+ version: string;
574
578
  }[] | undefined;
575
579
  customConditions?: string[] | undefined;
576
- image?: {
577
- instructions?: string[] | undefined;
578
- pkgs?: string[] | undefined;
579
- } | undefined;
580
580
  otelImportHook?: {
581
581
  include?: string[] | undefined;
582
582
  exclude?: string[] | undefined;
@@ -587,18 +587,11 @@ export declare const IndexMessage: z.ZodObject<{
587
587
  type: "index";
588
588
  data: {
589
589
  build: {
590
- config: {
591
- project: string;
592
- dirs: string[];
593
- };
594
- sources: Record<string, {
595
- contentHash: string;
596
- contents: string;
597
- }>;
598
590
  environment: string;
599
591
  contentHash: string;
600
592
  packageVersion: string;
601
593
  cliPackageVersion: string;
594
+ runtime: "node" | "bun";
602
595
  deploy: {
603
596
  env?: Record<string, string> | undefined;
604
597
  sync?: {
@@ -606,31 +599,38 @@ export declare const IndexMessage: z.ZodObject<{
606
599
  } | undefined;
607
600
  };
608
601
  target: "dev" | "deploy";
609
- runtime: "node" | "bun";
602
+ config: {
603
+ project: string;
604
+ dirs: string[];
605
+ };
610
606
  files: {
611
- out: string;
612
607
  entry: string;
608
+ out: string;
613
609
  }[];
614
- outputPath: string;
615
- runWorkerEntryPoint: string;
610
+ sources: Record<string, {
611
+ contentHash: string;
612
+ contents: string;
613
+ }>;
614
+ outputPath: string;
615
+ runWorkerEntryPoint: string;
616
616
  indexWorkerEntryPoint: string;
617
617
  configPath: string;
618
618
  build: {
619
619
  env?: Record<string, string> | undefined;
620
620
  commands?: string[] | undefined;
621
621
  };
622
+ image?: {
623
+ pkgs?: string[] | undefined;
624
+ instructions?: string[] | undefined;
625
+ } | undefined;
622
626
  runControllerEntryPoint?: string | undefined;
623
627
  indexControllerEntryPoint?: string | undefined;
624
628
  loaderEntryPoint?: string | undefined;
625
629
  externals?: {
626
- version: string;
627
630
  name: string;
631
+ version: string;
628
632
  }[] | undefined;
629
633
  customConditions?: string[] | undefined;
630
- image?: {
631
- instructions?: string[] | undefined;
632
- pkgs?: string[] | undefined;
633
- } | undefined;
634
634
  otelImportHook?: {
635
635
  include?: string[] | undefined;
636
636
  exclude?: string[] | undefined;
@@ -664,29 +664,29 @@ export declare const WorkerManifest: z.ZodObject<{
664
664
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
665
665
  randomize: z.ZodOptional<z.ZodBoolean>;
666
666
  }, "strip", z.ZodTypeAny, {
667
+ maxAttempts?: number | undefined;
667
668
  factor?: number | undefined;
668
669
  minTimeoutInMs?: number | undefined;
669
670
  maxTimeoutInMs?: number | undefined;
670
671
  randomize?: boolean | undefined;
671
- maxAttempts?: number | undefined;
672
672
  }, {
673
+ maxAttempts?: number | undefined;
673
674
  factor?: number | undefined;
674
675
  minTimeoutInMs?: number | undefined;
675
676
  maxTimeoutInMs?: number | undefined;
676
677
  randomize?: boolean | undefined;
677
- maxAttempts?: number | undefined;
678
678
  }>>;
679
679
  machine: z.ZodOptional<z.ZodObject<{
680
680
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
681
681
  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>]>>;
682
682
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
683
683
  }, "strip", z.ZodTypeAny, {
684
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
685
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
684
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
685
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
686
686
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
687
687
  }, {
688
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
689
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
688
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
689
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
690
690
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
691
691
  }>>;
692
692
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -706,57 +706,57 @@ export declare const WorkerManifest: z.ZodObject<{
706
706
  filePath: string;
707
707
  exportName: string;
708
708
  entryPoint: string;
709
- description?: string | undefined;
710
- schedule?: {
711
- cron: string;
712
- timezone: string;
713
- } | undefined;
714
- retry?: {
715
- factor?: number | undefined;
716
- minTimeoutInMs?: number | undefined;
717
- maxTimeoutInMs?: number | undefined;
718
- randomize?: boolean | undefined;
719
- maxAttempts?: number | undefined;
720
- } | undefined;
721
709
  maxDuration?: number | undefined;
722
710
  queue?: {
723
711
  name?: string | undefined;
724
712
  concurrencyLimit?: number | undefined;
725
713
  } | undefined;
726
714
  machine?: {
727
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
728
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
715
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
716
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
729
717
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
730
718
  } | undefined;
731
- triggerSource?: string | undefined;
732
- }, {
733
- id: string;
734
- filePath: string;
735
- exportName: string;
736
- entryPoint: string;
737
- description?: string | undefined;
738
- schedule?: {
739
- cron: string;
740
- timezone: string;
741
- } | undefined;
742
719
  retry?: {
720
+ maxAttempts?: number | undefined;
743
721
  factor?: number | undefined;
744
722
  minTimeoutInMs?: number | undefined;
745
723
  maxTimeoutInMs?: number | undefined;
746
724
  randomize?: boolean | undefined;
747
- maxAttempts?: number | undefined;
748
725
  } | undefined;
726
+ description?: string | undefined;
727
+ triggerSource?: string | undefined;
728
+ schedule?: {
729
+ cron: string;
730
+ timezone: string;
731
+ } | undefined;
732
+ }, {
733
+ id: string;
734
+ filePath: string;
735
+ exportName: string;
736
+ entryPoint: string;
749
737
  maxDuration?: number | undefined;
750
738
  queue?: {
751
739
  name?: string | undefined;
752
740
  concurrencyLimit?: number | undefined;
753
741
  } | undefined;
754
742
  machine?: {
755
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
756
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
743
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
744
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
757
745
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
758
746
  } | undefined;
747
+ retry?: {
748
+ maxAttempts?: number | undefined;
749
+ factor?: number | undefined;
750
+ minTimeoutInMs?: number | undefined;
751
+ maxTimeoutInMs?: number | undefined;
752
+ randomize?: boolean | undefined;
753
+ } | undefined;
754
+ description?: string | undefined;
759
755
  triggerSource?: string | undefined;
756
+ schedule?: {
757
+ cron: string;
758
+ timezone: string;
759
+ } | undefined;
760
760
  }>, "many">;
761
761
  workerEntryPoint: z.ZodString;
762
762
  controllerEntryPoint: z.ZodOptional<z.ZodString>;
@@ -779,29 +779,29 @@ export declare const WorkerManifest: z.ZodObject<{
779
779
  filePath: string;
780
780
  exportName: string;
781
781
  entryPoint: string;
782
- description?: string | undefined;
783
- schedule?: {
784
- cron: string;
785
- timezone: string;
786
- } | undefined;
787
- retry?: {
788
- factor?: number | undefined;
789
- minTimeoutInMs?: number | undefined;
790
- maxTimeoutInMs?: number | undefined;
791
- randomize?: boolean | undefined;
792
- maxAttempts?: number | undefined;
793
- } | undefined;
794
782
  maxDuration?: number | undefined;
795
783
  queue?: {
796
784
  name?: string | undefined;
797
785
  concurrencyLimit?: number | undefined;
798
786
  } | undefined;
799
787
  machine?: {
800
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
801
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
788
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
789
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
802
790
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
803
791
  } | undefined;
792
+ retry?: {
793
+ maxAttempts?: number | undefined;
794
+ factor?: number | undefined;
795
+ minTimeoutInMs?: number | undefined;
796
+ maxTimeoutInMs?: number | undefined;
797
+ randomize?: boolean | undefined;
798
+ } | undefined;
799
+ description?: string | undefined;
804
800
  triggerSource?: string | undefined;
801
+ schedule?: {
802
+ cron: string;
803
+ timezone: string;
804
+ } | undefined;
805
805
  }[];
806
806
  runtime: "node" | "bun";
807
807
  configPath: string;
@@ -819,29 +819,29 @@ export declare const WorkerManifest: z.ZodObject<{
819
819
  filePath: string;
820
820
  exportName: string;
821
821
  entryPoint: string;
822
- description?: string | undefined;
823
- schedule?: {
824
- cron: string;
825
- timezone: string;
826
- } | undefined;
827
- retry?: {
828
- factor?: number | undefined;
829
- minTimeoutInMs?: number | undefined;
830
- maxTimeoutInMs?: number | undefined;
831
- randomize?: boolean | undefined;
832
- maxAttempts?: number | undefined;
833
- } | undefined;
834
822
  maxDuration?: number | undefined;
835
823
  queue?: {
836
824
  name?: string | undefined;
837
825
  concurrencyLimit?: number | undefined;
838
826
  } | undefined;
839
827
  machine?: {
840
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
841
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
828
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
829
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
842
830
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
843
831
  } | undefined;
832
+ retry?: {
833
+ maxAttempts?: number | undefined;
834
+ factor?: number | undefined;
835
+ minTimeoutInMs?: number | undefined;
836
+ maxTimeoutInMs?: number | undefined;
837
+ randomize?: boolean | undefined;
838
+ } | undefined;
839
+ description?: string | undefined;
844
840
  triggerSource?: string | undefined;
841
+ schedule?: {
842
+ cron: string;
843
+ timezone: string;
844
+ } | undefined;
845
845
  }[];
846
846
  runtime: "node" | "bun";
847
847
  configPath: string;
@@ -883,29 +883,29 @@ export declare const WorkerManifestMessage: z.ZodObject<{
883
883
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
884
884
  randomize: z.ZodOptional<z.ZodBoolean>;
885
885
  }, "strip", z.ZodTypeAny, {
886
+ maxAttempts?: number | undefined;
886
887
  factor?: number | undefined;
887
888
  minTimeoutInMs?: number | undefined;
888
889
  maxTimeoutInMs?: number | undefined;
889
890
  randomize?: boolean | undefined;
890
- maxAttempts?: number | undefined;
891
891
  }, {
892
+ maxAttempts?: number | undefined;
892
893
  factor?: number | undefined;
893
894
  minTimeoutInMs?: number | undefined;
894
895
  maxTimeoutInMs?: number | undefined;
895
896
  randomize?: boolean | undefined;
896
- maxAttempts?: number | undefined;
897
897
  }>>;
898
898
  machine: z.ZodOptional<z.ZodObject<{
899
899
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
900
900
  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>]>>;
901
901
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
902
902
  }, "strip", z.ZodTypeAny, {
903
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
904
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
903
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
904
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
905
905
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
906
906
  }, {
907
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
908
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
907
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
908
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
909
909
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
910
910
  }>>;
911
911
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -925,57 +925,57 @@ export declare const WorkerManifestMessage: z.ZodObject<{
925
925
  filePath: string;
926
926
  exportName: string;
927
927
  entryPoint: string;
928
- description?: string | undefined;
929
- schedule?: {
930
- cron: string;
931
- timezone: string;
932
- } | undefined;
933
- retry?: {
934
- factor?: number | undefined;
935
- minTimeoutInMs?: number | undefined;
936
- maxTimeoutInMs?: number | undefined;
937
- randomize?: boolean | undefined;
938
- maxAttempts?: number | undefined;
939
- } | undefined;
940
928
  maxDuration?: number | undefined;
941
929
  queue?: {
942
930
  name?: string | undefined;
943
931
  concurrencyLimit?: number | undefined;
944
932
  } | undefined;
945
933
  machine?: {
946
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
947
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
934
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
935
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
948
936
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
949
937
  } | undefined;
950
- triggerSource?: string | undefined;
951
- }, {
952
- id: string;
953
- filePath: string;
954
- exportName: string;
955
- entryPoint: string;
956
- description?: string | undefined;
957
- schedule?: {
958
- cron: string;
959
- timezone: string;
960
- } | undefined;
961
938
  retry?: {
939
+ maxAttempts?: number | undefined;
962
940
  factor?: number | undefined;
963
941
  minTimeoutInMs?: number | undefined;
964
942
  maxTimeoutInMs?: number | undefined;
965
943
  randomize?: boolean | undefined;
966
- maxAttempts?: number | undefined;
967
944
  } | undefined;
945
+ description?: string | undefined;
946
+ triggerSource?: string | undefined;
947
+ schedule?: {
948
+ cron: string;
949
+ timezone: string;
950
+ } | undefined;
951
+ }, {
952
+ id: string;
953
+ filePath: string;
954
+ exportName: string;
955
+ entryPoint: string;
968
956
  maxDuration?: number | undefined;
969
957
  queue?: {
970
958
  name?: string | undefined;
971
959
  concurrencyLimit?: number | undefined;
972
960
  } | undefined;
973
961
  machine?: {
974
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
975
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
962
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
963
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
976
964
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
977
965
  } | undefined;
966
+ retry?: {
967
+ maxAttempts?: number | undefined;
968
+ factor?: number | undefined;
969
+ minTimeoutInMs?: number | undefined;
970
+ maxTimeoutInMs?: number | undefined;
971
+ randomize?: boolean | undefined;
972
+ } | undefined;
973
+ description?: string | undefined;
978
974
  triggerSource?: string | undefined;
975
+ schedule?: {
976
+ cron: string;
977
+ timezone: string;
978
+ } | undefined;
979
979
  }>, "many">;
980
980
  workerEntryPoint: z.ZodString;
981
981
  controllerEntryPoint: z.ZodOptional<z.ZodString>;
@@ -998,29 +998,29 @@ export declare const WorkerManifestMessage: z.ZodObject<{
998
998
  filePath: string;
999
999
  exportName: string;
1000
1000
  entryPoint: string;
1001
- description?: string | undefined;
1002
- schedule?: {
1003
- cron: string;
1004
- timezone: string;
1005
- } | undefined;
1006
- retry?: {
1007
- factor?: number | undefined;
1008
- minTimeoutInMs?: number | undefined;
1009
- maxTimeoutInMs?: number | undefined;
1010
- randomize?: boolean | undefined;
1011
- maxAttempts?: number | undefined;
1012
- } | undefined;
1013
1001
  maxDuration?: number | undefined;
1014
1002
  queue?: {
1015
1003
  name?: string | undefined;
1016
1004
  concurrencyLimit?: number | undefined;
1017
1005
  } | undefined;
1018
1006
  machine?: {
1019
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1020
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1007
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1008
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1021
1009
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1022
1010
  } | undefined;
1011
+ retry?: {
1012
+ maxAttempts?: number | undefined;
1013
+ factor?: number | undefined;
1014
+ minTimeoutInMs?: number | undefined;
1015
+ maxTimeoutInMs?: number | undefined;
1016
+ randomize?: boolean | undefined;
1017
+ } | undefined;
1018
+ description?: string | undefined;
1023
1019
  triggerSource?: string | undefined;
1020
+ schedule?: {
1021
+ cron: string;
1022
+ timezone: string;
1023
+ } | undefined;
1024
1024
  }[];
1025
1025
  runtime: "node" | "bun";
1026
1026
  configPath: string;
@@ -1038,29 +1038,29 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1038
1038
  filePath: string;
1039
1039
  exportName: string;
1040
1040
  entryPoint: string;
1041
- description?: string | undefined;
1042
- schedule?: {
1043
- cron: string;
1044
- timezone: string;
1045
- } | undefined;
1046
- retry?: {
1047
- factor?: number | undefined;
1048
- minTimeoutInMs?: number | undefined;
1049
- maxTimeoutInMs?: number | undefined;
1050
- randomize?: boolean | undefined;
1051
- maxAttempts?: number | undefined;
1052
- } | undefined;
1053
1041
  maxDuration?: number | undefined;
1054
1042
  queue?: {
1055
1043
  name?: string | undefined;
1056
1044
  concurrencyLimit?: number | undefined;
1057
1045
  } | undefined;
1058
1046
  machine?: {
1059
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1060
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1047
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1048
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1061
1049
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1062
1050
  } | undefined;
1051
+ retry?: {
1052
+ maxAttempts?: number | undefined;
1053
+ factor?: number | undefined;
1054
+ minTimeoutInMs?: number | undefined;
1055
+ maxTimeoutInMs?: number | undefined;
1056
+ randomize?: boolean | undefined;
1057
+ } | undefined;
1058
+ description?: string | undefined;
1063
1059
  triggerSource?: string | undefined;
1060
+ schedule?: {
1061
+ cron: string;
1062
+ timezone: string;
1063
+ } | undefined;
1064
1064
  }[];
1065
1065
  runtime: "node" | "bun";
1066
1066
  configPath: string;
@@ -1080,29 +1080,29 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1080
1080
  filePath: string;
1081
1081
  exportName: string;
1082
1082
  entryPoint: string;
1083
- description?: string | undefined;
1084
- schedule?: {
1085
- cron: string;
1086
- timezone: string;
1087
- } | undefined;
1088
- retry?: {
1089
- factor?: number | undefined;
1090
- minTimeoutInMs?: number | undefined;
1091
- maxTimeoutInMs?: number | undefined;
1092
- randomize?: boolean | undefined;
1093
- maxAttempts?: number | undefined;
1094
- } | undefined;
1095
1083
  maxDuration?: number | undefined;
1096
1084
  queue?: {
1097
1085
  name?: string | undefined;
1098
1086
  concurrencyLimit?: number | undefined;
1099
1087
  } | undefined;
1100
1088
  machine?: {
1101
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1102
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1089
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1090
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1103
1091
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1104
1092
  } | undefined;
1093
+ retry?: {
1094
+ maxAttempts?: number | undefined;
1095
+ factor?: number | undefined;
1096
+ minTimeoutInMs?: number | undefined;
1097
+ maxTimeoutInMs?: number | undefined;
1098
+ randomize?: boolean | undefined;
1099
+ } | undefined;
1100
+ description?: string | undefined;
1105
1101
  triggerSource?: string | undefined;
1102
+ schedule?: {
1103
+ cron: string;
1104
+ timezone: string;
1105
+ } | undefined;
1106
1106
  }[];
1107
1107
  runtime: "node" | "bun";
1108
1108
  configPath: string;
@@ -1122,29 +1122,29 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1122
1122
  filePath: string;
1123
1123
  exportName: string;
1124
1124
  entryPoint: string;
1125
- description?: string | undefined;
1126
- schedule?: {
1127
- cron: string;
1128
- timezone: string;
1129
- } | undefined;
1130
- retry?: {
1131
- factor?: number | undefined;
1132
- minTimeoutInMs?: number | undefined;
1133
- maxTimeoutInMs?: number | undefined;
1134
- randomize?: boolean | undefined;
1135
- maxAttempts?: number | undefined;
1136
- } | undefined;
1137
1125
  maxDuration?: number | undefined;
1138
1126
  queue?: {
1139
1127
  name?: string | undefined;
1140
1128
  concurrencyLimit?: number | undefined;
1141
1129
  } | undefined;
1142
1130
  machine?: {
1143
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1144
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1131
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1132
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1145
1133
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1146
1134
  } | undefined;
1135
+ retry?: {
1136
+ maxAttempts?: number | undefined;
1137
+ factor?: number | undefined;
1138
+ minTimeoutInMs?: number | undefined;
1139
+ maxTimeoutInMs?: number | undefined;
1140
+ randomize?: boolean | undefined;
1141
+ } | undefined;
1142
+ description?: string | undefined;
1147
1143
  triggerSource?: string | undefined;
1144
+ schedule?: {
1145
+ cron: string;
1146
+ timezone: string;
1147
+ } | undefined;
1148
1148
  }[];
1149
1149
  runtime: "node" | "bun";
1150
1150
  configPath: string;
@@ -1167,29 +1167,29 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1167
1167
  filePath: string;
1168
1168
  exportName: string;
1169
1169
  entryPoint: string;
1170
- description?: string | undefined;
1171
- schedule?: {
1172
- cron: string;
1173
- timezone: string;
1174
- } | undefined;
1175
- retry?: {
1176
- factor?: number | undefined;
1177
- minTimeoutInMs?: number | undefined;
1178
- maxTimeoutInMs?: number | undefined;
1179
- randomize?: boolean | undefined;
1180
- maxAttempts?: number | undefined;
1181
- } | undefined;
1182
1170
  maxDuration?: number | undefined;
1183
1171
  queue?: {
1184
1172
  name?: string | undefined;
1185
1173
  concurrencyLimit?: number | undefined;
1186
1174
  } | undefined;
1187
1175
  machine?: {
1188
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1189
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1176
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1177
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1190
1178
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1191
1179
  } | undefined;
1180
+ retry?: {
1181
+ maxAttempts?: number | undefined;
1182
+ factor?: number | undefined;
1183
+ minTimeoutInMs?: number | undefined;
1184
+ maxTimeoutInMs?: number | undefined;
1185
+ randomize?: boolean | undefined;
1186
+ } | undefined;
1187
+ description?: string | undefined;
1192
1188
  triggerSource?: string | undefined;
1189
+ schedule?: {
1190
+ cron: string;
1191
+ timezone: string;
1192
+ } | undefined;
1193
1193
  }[];
1194
1194
  runtime: "node" | "bun";
1195
1195
  configPath: string;
@@ -1212,29 +1212,29 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1212
1212
  filePath: string;
1213
1213
  exportName: string;
1214
1214
  entryPoint: string;
1215
- description?: string | undefined;
1216
- schedule?: {
1217
- cron: string;
1218
- timezone: string;
1219
- } | undefined;
1220
- retry?: {
1221
- factor?: number | undefined;
1222
- minTimeoutInMs?: number | undefined;
1223
- maxTimeoutInMs?: number | undefined;
1224
- randomize?: boolean | undefined;
1225
- maxAttempts?: number | undefined;
1226
- } | undefined;
1227
1215
  maxDuration?: number | undefined;
1228
1216
  queue?: {
1229
1217
  name?: string | undefined;
1230
1218
  concurrencyLimit?: number | undefined;
1231
1219
  } | undefined;
1232
1220
  machine?: {
1233
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1234
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1221
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1222
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1235
1223
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1236
1224
  } | undefined;
1225
+ retry?: {
1226
+ maxAttempts?: number | undefined;
1227
+ factor?: number | undefined;
1228
+ minTimeoutInMs?: number | undefined;
1229
+ maxTimeoutInMs?: number | undefined;
1230
+ randomize?: boolean | undefined;
1231
+ } | undefined;
1232
+ description?: string | undefined;
1237
1233
  triggerSource?: string | undefined;
1234
+ schedule?: {
1235
+ cron: string;
1236
+ timezone: string;
1237
+ } | undefined;
1238
1238
  }[];
1239
1239
  runtime: "node" | "bun";
1240
1240
  configPath: string;