@trigger.dev/core 0.0.0-prerelease-20250110154019 → 0.0.0-prerelease-20250116155306

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 (129) hide show
  1. package/dist/commonjs/schemas/api.d.ts +2137 -2137
  2. package/dist/commonjs/schemas/events.d.ts +8 -8
  3. package/dist/commonjs/schemas/fetch.d.ts +54 -54
  4. package/dist/commonjs/schemas/integrations.d.ts +4 -4
  5. package/dist/commonjs/schemas/notifications.d.ts +80 -80
  6. package/dist/commonjs/schemas/properties.d.ts +4 -4
  7. package/dist/commonjs/schemas/request.d.ts +4 -4
  8. package/dist/commonjs/schemas/requestFilter.d.ts +2 -2
  9. package/dist/commonjs/schemas/runs.d.ts +39 -39
  10. package/dist/commonjs/schemas/schedules.d.ts +12 -12
  11. package/dist/commonjs/schemas/statuses.d.ts +24 -24
  12. package/dist/commonjs/schemas/tasks.d.ts +54 -54
  13. package/dist/commonjs/schemas/triggers.d.ts +36 -36
  14. package/dist/commonjs/v3/apiClient/index.d.ts +114 -111
  15. package/dist/commonjs/v3/apiClient/index.js +3 -0
  16. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  17. package/dist/commonjs/v3/apiClient/runStream.d.ts +1 -0
  18. package/dist/commonjs/v3/apiClient/runStream.js +3 -0
  19. package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
  20. package/dist/commonjs/v3/apiClient/stream.d.ts +1 -0
  21. package/dist/commonjs/v3/apiClient/stream.js +3 -0
  22. package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
  23. package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
  24. package/dist/commonjs/v3/config.d.ts +17 -0
  25. package/dist/commonjs/v3/errors.d.ts +14 -1
  26. package/dist/commonjs/v3/errors.js +35 -1
  27. package/dist/commonjs/v3/errors.js.map +1 -1
  28. package/dist/commonjs/v3/links.d.ts +3 -0
  29. package/dist/commonjs/v3/links.js +3 -0
  30. package/dist/commonjs/v3/links.js.map +1 -1
  31. package/dist/commonjs/v3/otel/tracingSDK.d.ts +2 -0
  32. package/dist/commonjs/v3/otel/tracingSDK.js +51 -0
  33. package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
  34. package/dist/commonjs/v3/runtime/devRuntimeManager.d.ts +1 -0
  35. package/dist/commonjs/v3/runtime/devRuntimeManager.js +36 -30
  36. package/dist/commonjs/v3/runtime/devRuntimeManager.js.map +1 -1
  37. package/dist/commonjs/v3/runtime/index.d.ts +4 -0
  38. package/dist/commonjs/v3/runtime/index.js +4 -0
  39. package/dist/commonjs/v3/runtime/index.js.map +1 -1
  40. package/dist/commonjs/v3/runtime/prodRuntimeManager.d.ts +1 -0
  41. package/dist/commonjs/v3/runtime/prodRuntimeManager.js +41 -33
  42. package/dist/commonjs/v3/runtime/prodRuntimeManager.js.map +1 -1
  43. package/dist/commonjs/v3/schemas/api.d.ts +541 -517
  44. package/dist/commonjs/v3/schemas/api.js +2 -0
  45. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  46. package/dist/commonjs/v3/schemas/build.d.ts +346 -346
  47. package/dist/commonjs/v3/schemas/common.d.ts +166 -165
  48. package/dist/commonjs/v3/schemas/common.js +1 -0
  49. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  50. package/dist/commonjs/v3/schemas/fetch.d.ts +31 -31
  51. package/dist/commonjs/v3/schemas/messages.d.ts +4610 -4610
  52. package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
  53. package/dist/commonjs/v3/schemas/resources.d.ts +84 -84
  54. package/dist/commonjs/v3/schemas/schemas.d.ts +457 -457
  55. package/dist/commonjs/v3/schemas/style.d.ts +10 -10
  56. package/dist/commonjs/v3/semanticInternalAttributes.d.ts +1 -0
  57. package/dist/commonjs/v3/semanticInternalAttributes.js +1 -0
  58. package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
  59. package/dist/commonjs/v3/types/tasks.d.ts +7 -3
  60. package/dist/commonjs/v3/types/tasks.js.map +1 -1
  61. package/dist/commonjs/v3/workers/taskExecutor.js +5 -2
  62. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  63. package/dist/commonjs/version.js +1 -1
  64. package/dist/esm/schemas/api.d.ts +2137 -2137
  65. package/dist/esm/schemas/events.d.ts +8 -8
  66. package/dist/esm/schemas/fetch.d.ts +54 -54
  67. package/dist/esm/schemas/integrations.d.ts +4 -4
  68. package/dist/esm/schemas/notifications.d.ts +80 -80
  69. package/dist/esm/schemas/properties.d.ts +4 -4
  70. package/dist/esm/schemas/request.d.ts +4 -4
  71. package/dist/esm/schemas/requestFilter.d.ts +2 -2
  72. package/dist/esm/schemas/runs.d.ts +39 -39
  73. package/dist/esm/schemas/schedules.d.ts +12 -12
  74. package/dist/esm/schemas/statuses.d.ts +24 -24
  75. package/dist/esm/schemas/tasks.d.ts +54 -54
  76. package/dist/esm/schemas/triggers.d.ts +36 -36
  77. package/dist/esm/v3/apiClient/index.d.ts +28 -25
  78. package/dist/esm/v3/apiClient/index.js +3 -0
  79. package/dist/esm/v3/apiClient/index.js.map +1 -1
  80. package/dist/esm/v3/apiClient/runStream.d.ts +1 -0
  81. package/dist/esm/v3/apiClient/runStream.js +3 -0
  82. package/dist/esm/v3/apiClient/runStream.js.map +1 -1
  83. package/dist/esm/v3/apiClient/stream.d.ts +1 -0
  84. package/dist/esm/v3/apiClient/stream.js +3 -0
  85. package/dist/esm/v3/apiClient/stream.js.map +1 -1
  86. package/dist/esm/v3/config.d.ts +17 -0
  87. package/dist/esm/v3/errors.d.ts +14 -1
  88. package/dist/esm/v3/errors.js +33 -0
  89. package/dist/esm/v3/errors.js.map +1 -1
  90. package/dist/esm/v3/links.d.ts +3 -0
  91. package/dist/esm/v3/links.js +3 -0
  92. package/dist/esm/v3/links.js.map +1 -1
  93. package/dist/esm/v3/otel/tracingSDK.d.ts +2 -0
  94. package/dist/esm/v3/otel/tracingSDK.js +51 -0
  95. package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
  96. package/dist/esm/v3/runtime/devRuntimeManager.d.ts +1 -0
  97. package/dist/esm/v3/runtime/devRuntimeManager.js +36 -30
  98. package/dist/esm/v3/runtime/devRuntimeManager.js.map +1 -1
  99. package/dist/esm/v3/runtime/index.d.ts +4 -0
  100. package/dist/esm/v3/runtime/index.js +4 -0
  101. package/dist/esm/v3/runtime/index.js.map +1 -1
  102. package/dist/esm/v3/runtime/preventMultipleWaits.d.ts +1 -0
  103. package/dist/esm/v3/runtime/preventMultipleWaits.js +25 -0
  104. package/dist/esm/v3/runtime/preventMultipleWaits.js.map +1 -0
  105. package/dist/esm/v3/runtime/prodRuntimeManager.d.ts +1 -0
  106. package/dist/esm/v3/runtime/prodRuntimeManager.js +41 -33
  107. package/dist/esm/v3/runtime/prodRuntimeManager.js.map +1 -1
  108. package/dist/esm/v3/schemas/api.d.ts +161 -137
  109. package/dist/esm/v3/schemas/api.js +3 -1
  110. package/dist/esm/v3/schemas/api.js.map +1 -1
  111. package/dist/esm/v3/schemas/build.d.ts +88 -88
  112. package/dist/esm/v3/schemas/common.d.ts +166 -165
  113. package/dist/esm/v3/schemas/common.js +1 -0
  114. package/dist/esm/v3/schemas/common.js.map +1 -1
  115. package/dist/esm/v3/schemas/fetch.d.ts +10 -10
  116. package/dist/esm/v3/schemas/messages.d.ts +1676 -1676
  117. package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
  118. package/dist/esm/v3/schemas/resources.d.ts +4 -4
  119. package/dist/esm/v3/schemas/schemas.d.ts +52 -52
  120. package/dist/esm/v3/schemas/style.d.ts +10 -10
  121. package/dist/esm/v3/semanticInternalAttributes.d.ts +1 -0
  122. package/dist/esm/v3/semanticInternalAttributes.js +1 -0
  123. package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
  124. package/dist/esm/v3/types/tasks.d.ts +7 -3
  125. package/dist/esm/v3/types/tasks.js.map +1 -1
  126. package/dist/esm/v3/workers/taskExecutor.js +6 -3
  127. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  128. package/dist/esm/version.js +1 -1
  129. package/package.json +1 -1
@@ -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,14 +120,8 @@ 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
- }>;
123
+ configPath: string;
124
+ runtime: "node" | "bun";
131
125
  environment: string;
132
126
  contentHash: string;
133
127
  packageVersion: string;
@@ -139,44 +133,44 @@ export declare const BuildManifest: z.ZodObject<{
139
133
  } | undefined;
140
134
  };
141
135
  target: "dev" | "deploy";
142
- runtime: "node" | "bun";
136
+ config: {
137
+ project: string;
138
+ dirs: string[];
139
+ };
143
140
  files: {
144
- out: string;
145
141
  entry: string;
142
+ out: string;
146
143
  }[];
144
+ sources: Record<string, {
145
+ contentHash: string;
146
+ contents: string;
147
+ }>;
147
148
  outputPath: string;
148
149
  runWorkerEntryPoint: string;
149
150
  indexWorkerEntryPoint: string;
150
- configPath: string;
151
151
  build: {
152
152
  env?: Record<string, string> | undefined;
153
153
  commands?: string[] | undefined;
154
154
  };
155
+ loaderEntryPoint?: string | undefined;
156
+ customConditions?: string[] | undefined;
157
+ otelImportHook?: {
158
+ include?: string[] | undefined;
159
+ exclude?: string[] | undefined;
160
+ } | undefined;
155
161
  runControllerEntryPoint?: string | undefined;
156
162
  indexControllerEntryPoint?: string | undefined;
157
- loaderEntryPoint?: string | undefined;
158
163
  externals?: {
159
- version: string;
160
164
  name: string;
165
+ version: string;
161
166
  }[] | undefined;
162
- customConditions?: string[] | undefined;
163
167
  image?: {
164
- instructions?: string[] | undefined;
165
168
  pkgs?: string[] | undefined;
166
- } | undefined;
167
- otelImportHook?: {
168
- include?: string[] | undefined;
169
- exclude?: string[] | undefined;
169
+ instructions?: 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
- }>;
172
+ configPath: string;
173
+ runtime: "node" | "bun";
180
174
  environment: string;
181
175
  contentHash: string;
182
176
  packageVersion: string;
@@ -188,34 +182,40 @@ export declare const BuildManifest: z.ZodObject<{
188
182
  } | undefined;
189
183
  };
190
184
  target: "dev" | "deploy";
191
- runtime: "node" | "bun";
185
+ config: {
186
+ project: string;
187
+ dirs: string[];
188
+ };
192
189
  files: {
193
- out: string;
194
190
  entry: string;
191
+ out: string;
195
192
  }[];
193
+ sources: Record<string, {
194
+ contentHash: string;
195
+ contents: string;
196
+ }>;
196
197
  outputPath: string;
197
198
  runWorkerEntryPoint: string;
198
199
  indexWorkerEntryPoint: string;
199
- configPath: string;
200
200
  build: {
201
201
  env?: Record<string, string> | undefined;
202
202
  commands?: string[] | undefined;
203
203
  };
204
+ loaderEntryPoint?: string | undefined;
205
+ customConditions?: string[] | undefined;
206
+ otelImportHook?: {
207
+ include?: string[] | undefined;
208
+ exclude?: string[] | undefined;
209
+ } | undefined;
204
210
  runControllerEntryPoint?: string | undefined;
205
211
  indexControllerEntryPoint?: string | undefined;
206
- loaderEntryPoint?: string | undefined;
207
212
  externals?: {
208
- version: string;
209
213
  name: string;
214
+ version: string;
210
215
  }[] | undefined;
211
- customConditions?: string[] | undefined;
212
216
  image?: {
213
- instructions?: string[] | undefined;
214
217
  pkgs?: string[] | undefined;
215
- } | undefined;
216
- otelImportHook?: {
217
- include?: string[] | undefined;
218
- exclude?: string[] | undefined;
218
+ instructions?: string[] | undefined;
219
219
  } | undefined;
220
220
  }>;
221
221
  export type BuildManifest = z.infer<typeof BuildManifest>;
@@ -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,14 +328,8 @@ 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
- }>;
331
+ configPath: string;
332
+ runtime: "node" | "bun";
339
333
  environment: string;
340
334
  contentHash: string;
341
335
  packageVersion: string;
@@ -347,44 +341,44 @@ export declare const IndexMessage: z.ZodObject<{
347
341
  } | undefined;
348
342
  };
349
343
  target: "dev" | "deploy";
350
- runtime: "node" | "bun";
344
+ config: {
345
+ project: string;
346
+ dirs: string[];
347
+ };
351
348
  files: {
352
- out: string;
353
349
  entry: string;
350
+ out: string;
354
351
  }[];
352
+ sources: Record<string, {
353
+ contentHash: string;
354
+ contents: string;
355
+ }>;
355
356
  outputPath: string;
356
357
  runWorkerEntryPoint: string;
357
358
  indexWorkerEntryPoint: string;
358
- configPath: string;
359
359
  build: {
360
360
  env?: Record<string, string> | undefined;
361
361
  commands?: string[] | undefined;
362
362
  };
363
+ loaderEntryPoint?: string | undefined;
364
+ customConditions?: string[] | undefined;
365
+ otelImportHook?: {
366
+ include?: string[] | undefined;
367
+ exclude?: string[] | undefined;
368
+ } | undefined;
363
369
  runControllerEntryPoint?: string | undefined;
364
370
  indexControllerEntryPoint?: string | undefined;
365
- loaderEntryPoint?: string | undefined;
366
371
  externals?: {
367
- version: string;
368
372
  name: string;
373
+ version: string;
369
374
  }[] | undefined;
370
- customConditions?: string[] | undefined;
371
375
  image?: {
372
- instructions?: string[] | undefined;
373
376
  pkgs?: string[] | undefined;
374
- } | undefined;
375
- otelImportHook?: {
376
- include?: string[] | undefined;
377
- exclude?: string[] | undefined;
377
+ instructions?: 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
- }>;
380
+ configPath: string;
381
+ runtime: "node" | "bun";
388
382
  environment: string;
389
383
  contentHash: string;
390
384
  packageVersion: string;
@@ -396,46 +390,46 @@ export declare const IndexMessage: z.ZodObject<{
396
390
  } | undefined;
397
391
  };
398
392
  target: "dev" | "deploy";
399
- runtime: "node" | "bun";
393
+ config: {
394
+ project: string;
395
+ dirs: string[];
396
+ };
400
397
  files: {
401
- out: string;
402
398
  entry: string;
399
+ out: string;
403
400
  }[];
401
+ sources: Record<string, {
402
+ contentHash: string;
403
+ contents: string;
404
+ }>;
404
405
  outputPath: string;
405
406
  runWorkerEntryPoint: string;
406
407
  indexWorkerEntryPoint: string;
407
- configPath: string;
408
408
  build: {
409
409
  env?: Record<string, string> | undefined;
410
410
  commands?: string[] | undefined;
411
411
  };
412
+ loaderEntryPoint?: string | undefined;
413
+ customConditions?: string[] | undefined;
414
+ otelImportHook?: {
415
+ include?: string[] | undefined;
416
+ exclude?: string[] | undefined;
417
+ } | undefined;
412
418
  runControllerEntryPoint?: string | undefined;
413
419
  indexControllerEntryPoint?: string | undefined;
414
- loaderEntryPoint?: string | undefined;
415
420
  externals?: {
416
- version: string;
417
421
  name: string;
422
+ version: string;
418
423
  }[] | undefined;
419
- customConditions?: string[] | undefined;
420
424
  image?: {
421
- instructions?: string[] | undefined;
422
425
  pkgs?: string[] | undefined;
423
- } | undefined;
424
- otelImportHook?: {
425
- include?: string[] | undefined;
426
- exclude?: string[] | undefined;
426
+ instructions?: string[] | undefined;
427
427
  } | undefined;
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
- }>;
431
+ configPath: string;
432
+ runtime: "node" | "bun";
439
433
  environment: string;
440
434
  contentHash: string;
441
435
  packageVersion: string;
@@ -447,46 +441,46 @@ export declare const IndexMessage: z.ZodObject<{
447
441
  } | undefined;
448
442
  };
449
443
  target: "dev" | "deploy";
450
- runtime: "node" | "bun";
444
+ config: {
445
+ project: string;
446
+ dirs: string[];
447
+ };
451
448
  files: {
452
- out: string;
453
449
  entry: string;
450
+ out: string;
454
451
  }[];
452
+ sources: Record<string, {
453
+ contentHash: string;
454
+ contents: string;
455
+ }>;
455
456
  outputPath: string;
456
457
  runWorkerEntryPoint: string;
457
458
  indexWorkerEntryPoint: string;
458
- configPath: string;
459
459
  build: {
460
460
  env?: Record<string, string> | undefined;
461
461
  commands?: string[] | undefined;
462
462
  };
463
+ loaderEntryPoint?: string | undefined;
464
+ customConditions?: string[] | undefined;
465
+ otelImportHook?: {
466
+ include?: string[] | undefined;
467
+ exclude?: string[] | undefined;
468
+ } | undefined;
463
469
  runControllerEntryPoint?: string | undefined;
464
470
  indexControllerEntryPoint?: string | undefined;
465
- loaderEntryPoint?: string | undefined;
466
471
  externals?: {
467
- version: string;
468
472
  name: string;
473
+ version: string;
469
474
  }[] | undefined;
470
- customConditions?: string[] | undefined;
471
475
  image?: {
472
- instructions?: string[] | undefined;
473
476
  pkgs?: string[] | undefined;
474
- } | undefined;
475
- otelImportHook?: {
476
- include?: string[] | undefined;
477
- exclude?: string[] | undefined;
477
+ instructions?: string[] | undefined;
478
478
  } | undefined;
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
- }>;
482
+ configPath: string;
483
+ runtime: "node" | "bun";
490
484
  environment: string;
491
485
  contentHash: string;
492
486
  packageVersion: string;
@@ -498,34 +492,40 @@ export declare const IndexMessage: z.ZodObject<{
498
492
  } | undefined;
499
493
  };
500
494
  target: "dev" | "deploy";
501
- runtime: "node" | "bun";
495
+ config: {
496
+ project: string;
497
+ dirs: string[];
498
+ };
502
499
  files: {
503
- out: string;
504
500
  entry: string;
501
+ out: string;
505
502
  }[];
503
+ sources: Record<string, {
504
+ contentHash: string;
505
+ contents: string;
506
+ }>;
506
507
  outputPath: string;
507
508
  runWorkerEntryPoint: string;
508
509
  indexWorkerEntryPoint: string;
509
- configPath: string;
510
510
  build: {
511
511
  env?: Record<string, string> | undefined;
512
512
  commands?: string[] | undefined;
513
513
  };
514
+ loaderEntryPoint?: string | undefined;
515
+ customConditions?: string[] | undefined;
516
+ otelImportHook?: {
517
+ include?: string[] | undefined;
518
+ exclude?: string[] | undefined;
519
+ } | undefined;
514
520
  runControllerEntryPoint?: string | undefined;
515
521
  indexControllerEntryPoint?: string | undefined;
516
- loaderEntryPoint?: string | undefined;
517
522
  externals?: {
518
- version: string;
519
523
  name: string;
524
+ version: string;
520
525
  }[] | undefined;
521
- customConditions?: string[] | undefined;
522
526
  image?: {
523
- instructions?: string[] | undefined;
524
527
  pkgs?: string[] | undefined;
525
- } | undefined;
526
- otelImportHook?: {
527
- include?: string[] | undefined;
528
- exclude?: string[] | undefined;
528
+ instructions?: string[] | undefined;
529
529
  } | undefined;
530
530
  };
531
531
  }>;
@@ -533,14 +533,8 @@ 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
- }>;
536
+ configPath: string;
537
+ runtime: "node" | "bun";
544
538
  environment: string;
545
539
  contentHash: string;
546
540
  packageVersion: string;
@@ -552,34 +546,40 @@ export declare const IndexMessage: z.ZodObject<{
552
546
  } | undefined;
553
547
  };
554
548
  target: "dev" | "deploy";
555
- runtime: "node" | "bun";
549
+ config: {
550
+ project: string;
551
+ dirs: string[];
552
+ };
556
553
  files: {
557
- out: string;
558
554
  entry: string;
555
+ out: string;
559
556
  }[];
557
+ sources: Record<string, {
558
+ contentHash: string;
559
+ contents: string;
560
+ }>;
560
561
  outputPath: string;
561
562
  runWorkerEntryPoint: string;
562
563
  indexWorkerEntryPoint: string;
563
- configPath: string;
564
564
  build: {
565
565
  env?: Record<string, string> | undefined;
566
566
  commands?: string[] | undefined;
567
567
  };
568
+ loaderEntryPoint?: string | undefined;
569
+ customConditions?: string[] | undefined;
570
+ otelImportHook?: {
571
+ include?: string[] | undefined;
572
+ exclude?: string[] | undefined;
573
+ } | undefined;
568
574
  runControllerEntryPoint?: string | undefined;
569
575
  indexControllerEntryPoint?: string | undefined;
570
- loaderEntryPoint?: string | undefined;
571
576
  externals?: {
572
- version: string;
573
577
  name: string;
578
+ version: string;
574
579
  }[] | undefined;
575
- customConditions?: string[] | undefined;
576
580
  image?: {
577
- instructions?: string[] | undefined;
578
581
  pkgs?: string[] | undefined;
579
- } | undefined;
580
- otelImportHook?: {
581
- include?: string[] | undefined;
582
- exclude?: string[] | undefined;
582
+ instructions?: string[] | undefined;
583
583
  } | undefined;
584
584
  };
585
585
  };
@@ -587,14 +587,8 @@ 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
- }>;
590
+ configPath: string;
591
+ runtime: "node" | "bun";
598
592
  environment: string;
599
593
  contentHash: string;
600
594
  packageVersion: string;
@@ -606,34 +600,40 @@ export declare const IndexMessage: z.ZodObject<{
606
600
  } | undefined;
607
601
  };
608
602
  target: "dev" | "deploy";
609
- runtime: "node" | "bun";
603
+ config: {
604
+ project: string;
605
+ dirs: string[];
606
+ };
610
607
  files: {
611
- out: string;
612
608
  entry: string;
609
+ out: string;
613
610
  }[];
611
+ sources: Record<string, {
612
+ contentHash: string;
613
+ contents: string;
614
+ }>;
614
615
  outputPath: string;
615
616
  runWorkerEntryPoint: string;
616
617
  indexWorkerEntryPoint: string;
617
- configPath: string;
618
618
  build: {
619
619
  env?: Record<string, string> | undefined;
620
620
  commands?: string[] | undefined;
621
621
  };
622
+ loaderEntryPoint?: string | undefined;
623
+ customConditions?: string[] | undefined;
624
+ otelImportHook?: {
625
+ include?: string[] | undefined;
626
+ exclude?: string[] | undefined;
627
+ } | undefined;
622
628
  runControllerEntryPoint?: string | undefined;
623
629
  indexControllerEntryPoint?: string | undefined;
624
- loaderEntryPoint?: string | undefined;
625
630
  externals?: {
626
- version: string;
627
631
  name: string;
632
+ version: string;
628
633
  }[] | undefined;
629
- customConditions?: string[] | undefined;
630
634
  image?: {
631
- instructions?: string[] | undefined;
632
635
  pkgs?: string[] | undefined;
633
- } | undefined;
634
- otelImportHook?: {
635
- include?: string[] | undefined;
636
- exclude?: string[] | undefined;
636
+ instructions?: string[] | undefined;
637
637
  } | undefined;
638
638
  };
639
639
  };
@@ -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>;
@@ -703,60 +703,60 @@ export declare const WorkerManifest: z.ZodObject<{
703
703
  maxDuration: z.ZodOptional<z.ZodNumber>;
704
704
  }, "strip", z.ZodTypeAny, {
705
705
  id: string;
706
- filePath: string;
707
706
  exportName: string;
707
+ filePath: string;
708
708
  entryPoint: string;
709
709
  description?: string | undefined;
710
- schedule?: {
711
- cron: string;
712
- timezone: string;
710
+ queue?: {
711
+ name?: string | undefined;
712
+ concurrencyLimit?: number | undefined;
713
713
  } | undefined;
714
714
  retry?: {
715
+ maxAttempts?: number | undefined;
715
716
  factor?: number | undefined;
716
717
  minTimeoutInMs?: number | undefined;
717
718
  maxTimeoutInMs?: number | undefined;
718
719
  randomize?: boolean | undefined;
719
- maxAttempts?: number | undefined;
720
- } | undefined;
721
- maxDuration?: number | undefined;
722
- queue?: {
723
- name?: string | undefined;
724
- concurrencyLimit?: number | undefined;
725
720
  } | undefined;
726
721
  machine?: {
727
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
728
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
722
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
723
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
729
724
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
730
725
  } | undefined;
731
726
  triggerSource?: string | undefined;
727
+ schedule?: {
728
+ cron: string;
729
+ timezone: string;
730
+ } | undefined;
731
+ maxDuration?: number | undefined;
732
732
  }, {
733
733
  id: string;
734
- filePath: string;
735
734
  exportName: string;
735
+ filePath: string;
736
736
  entryPoint: string;
737
737
  description?: string | undefined;
738
- schedule?: {
739
- cron: string;
740
- timezone: string;
738
+ queue?: {
739
+ name?: string | undefined;
740
+ concurrencyLimit?: number | undefined;
741
741
  } | undefined;
742
742
  retry?: {
743
+ maxAttempts?: number | undefined;
743
744
  factor?: number | undefined;
744
745
  minTimeoutInMs?: number | undefined;
745
746
  maxTimeoutInMs?: number | undefined;
746
747
  randomize?: boolean | undefined;
747
- maxAttempts?: number | undefined;
748
- } | undefined;
749
- maxDuration?: number | undefined;
750
- queue?: {
751
- name?: string | undefined;
752
- concurrencyLimit?: number | undefined;
753
748
  } | undefined;
754
749
  machine?: {
755
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
756
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
750
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
751
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
757
752
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
758
753
  } | undefined;
759
754
  triggerSource?: string | undefined;
755
+ schedule?: {
756
+ cron: string;
757
+ timezone: string;
758
+ } | undefined;
759
+ maxDuration?: number | undefined;
760
760
  }>, "many">;
761
761
  workerEntryPoint: z.ZodString;
762
762
  controllerEntryPoint: z.ZodOptional<z.ZodString>;
@@ -774,85 +774,85 @@ export declare const WorkerManifest: z.ZodObject<{
774
774
  exclude?: string[] | undefined;
775
775
  }>>;
776
776
  }, "strip", z.ZodTypeAny, {
777
+ configPath: string;
777
778
  tasks: {
778
779
  id: string;
779
- filePath: string;
780
780
  exportName: string;
781
+ filePath: string;
781
782
  entryPoint: string;
782
783
  description?: string | undefined;
783
- schedule?: {
784
- cron: string;
785
- timezone: string;
784
+ queue?: {
785
+ name?: string | undefined;
786
+ concurrencyLimit?: number | undefined;
786
787
  } | undefined;
787
788
  retry?: {
789
+ maxAttempts?: number | undefined;
788
790
  factor?: number | undefined;
789
791
  minTimeoutInMs?: number | undefined;
790
792
  maxTimeoutInMs?: number | undefined;
791
793
  randomize?: boolean | undefined;
792
- maxAttempts?: number | undefined;
793
- } | undefined;
794
- maxDuration?: number | undefined;
795
- queue?: {
796
- name?: string | undefined;
797
- concurrencyLimit?: number | undefined;
798
794
  } | undefined;
799
795
  machine?: {
800
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
801
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
796
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
797
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
802
798
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
803
799
  } | undefined;
804
800
  triggerSource?: string | undefined;
801
+ schedule?: {
802
+ cron: string;
803
+ timezone: string;
804
+ } | undefined;
805
+ maxDuration?: number | undefined;
805
806
  }[];
806
- runtime: "node" | "bun";
807
- configPath: string;
808
807
  workerEntryPoint: string;
808
+ runtime: "node" | "bun";
809
+ controllerEntryPoint?: string | undefined;
809
810
  loaderEntryPoint?: string | undefined;
810
811
  customConditions?: string[] | undefined;
811
812
  otelImportHook?: {
812
813
  include?: string[] | undefined;
813
814
  exclude?: string[] | undefined;
814
815
  } | undefined;
815
- controllerEntryPoint?: string | undefined;
816
816
  }, {
817
+ configPath: string;
817
818
  tasks: {
818
819
  id: string;
819
- filePath: string;
820
820
  exportName: string;
821
+ filePath: string;
821
822
  entryPoint: string;
822
823
  description?: string | undefined;
823
- schedule?: {
824
- cron: string;
825
- timezone: string;
824
+ queue?: {
825
+ name?: string | undefined;
826
+ concurrencyLimit?: number | undefined;
826
827
  } | undefined;
827
828
  retry?: {
829
+ maxAttempts?: number | undefined;
828
830
  factor?: number | undefined;
829
831
  minTimeoutInMs?: number | undefined;
830
832
  maxTimeoutInMs?: number | undefined;
831
833
  randomize?: boolean | undefined;
832
- maxAttempts?: number | undefined;
833
- } | undefined;
834
- maxDuration?: number | undefined;
835
- queue?: {
836
- name?: string | undefined;
837
- concurrencyLimit?: number | undefined;
838
834
  } | undefined;
839
835
  machine?: {
840
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
841
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
836
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
837
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
842
838
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
843
839
  } | undefined;
844
840
  triggerSource?: string | undefined;
841
+ schedule?: {
842
+ cron: string;
843
+ timezone: string;
844
+ } | undefined;
845
+ maxDuration?: number | undefined;
845
846
  }[];
846
- runtime: "node" | "bun";
847
- configPath: string;
848
847
  workerEntryPoint: string;
848
+ runtime: "node" | "bun";
849
+ controllerEntryPoint?: string | undefined;
849
850
  loaderEntryPoint?: string | undefined;
850
851
  customConditions?: string[] | undefined;
851
852
  otelImportHook?: {
852
853
  include?: string[] | undefined;
853
854
  exclude?: string[] | undefined;
854
855
  } | undefined;
855
- controllerEntryPoint?: string | undefined;
856
856
  }>;
857
857
  export type WorkerManifest = z.infer<typeof WorkerManifest>;
858
858
  export declare const WorkerManifestMessage: z.ZodObject<{
@@ -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>;
@@ -922,60 +922,60 @@ export declare const WorkerManifestMessage: z.ZodObject<{
922
922
  maxDuration: z.ZodOptional<z.ZodNumber>;
923
923
  }, "strip", z.ZodTypeAny, {
924
924
  id: string;
925
- filePath: string;
926
925
  exportName: string;
926
+ filePath: string;
927
927
  entryPoint: string;
928
928
  description?: string | undefined;
929
- schedule?: {
930
- cron: string;
931
- timezone: string;
929
+ queue?: {
930
+ name?: string | undefined;
931
+ concurrencyLimit?: number | undefined;
932
932
  } | undefined;
933
933
  retry?: {
934
+ maxAttempts?: number | undefined;
934
935
  factor?: number | undefined;
935
936
  minTimeoutInMs?: number | undefined;
936
937
  maxTimeoutInMs?: number | undefined;
937
938
  randomize?: boolean | undefined;
938
- maxAttempts?: number | undefined;
939
- } | undefined;
940
- maxDuration?: number | undefined;
941
- queue?: {
942
- name?: string | undefined;
943
- concurrencyLimit?: number | undefined;
944
939
  } | undefined;
945
940
  machine?: {
946
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
947
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
941
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
942
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
948
943
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
949
944
  } | undefined;
950
945
  triggerSource?: string | undefined;
946
+ schedule?: {
947
+ cron: string;
948
+ timezone: string;
949
+ } | undefined;
950
+ maxDuration?: number | undefined;
951
951
  }, {
952
952
  id: string;
953
- filePath: string;
954
953
  exportName: string;
954
+ filePath: string;
955
955
  entryPoint: string;
956
956
  description?: string | undefined;
957
- schedule?: {
958
- cron: string;
959
- timezone: string;
957
+ queue?: {
958
+ name?: string | undefined;
959
+ concurrencyLimit?: number | undefined;
960
960
  } | undefined;
961
961
  retry?: {
962
+ maxAttempts?: number | undefined;
962
963
  factor?: number | undefined;
963
964
  minTimeoutInMs?: number | undefined;
964
965
  maxTimeoutInMs?: number | undefined;
965
966
  randomize?: boolean | undefined;
966
- maxAttempts?: number | undefined;
967
- } | undefined;
968
- maxDuration?: number | undefined;
969
- queue?: {
970
- name?: string | undefined;
971
- concurrencyLimit?: number | undefined;
972
967
  } | undefined;
973
968
  machine?: {
974
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
975
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
969
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
970
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
976
971
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
977
972
  } | undefined;
978
973
  triggerSource?: string | undefined;
974
+ schedule?: {
975
+ cron: string;
976
+ timezone: string;
977
+ } | undefined;
978
+ maxDuration?: number | undefined;
979
979
  }>, "many">;
980
980
  workerEntryPoint: z.ZodString;
981
981
  controllerEntryPoint: z.ZodOptional<z.ZodString>;
@@ -993,259 +993,259 @@ export declare const WorkerManifestMessage: z.ZodObject<{
993
993
  exclude?: string[] | undefined;
994
994
  }>>;
995
995
  }, "strip", z.ZodTypeAny, {
996
+ configPath: string;
996
997
  tasks: {
997
998
  id: string;
998
- filePath: string;
999
999
  exportName: string;
1000
+ filePath: string;
1000
1001
  entryPoint: string;
1001
1002
  description?: string | undefined;
1002
- schedule?: {
1003
- cron: string;
1004
- timezone: string;
1003
+ queue?: {
1004
+ name?: string | undefined;
1005
+ concurrencyLimit?: number | undefined;
1005
1006
  } | undefined;
1006
1007
  retry?: {
1008
+ maxAttempts?: number | undefined;
1007
1009
  factor?: number | undefined;
1008
1010
  minTimeoutInMs?: number | undefined;
1009
1011
  maxTimeoutInMs?: number | undefined;
1010
1012
  randomize?: boolean | undefined;
1011
- maxAttempts?: number | undefined;
1012
- } | undefined;
1013
- maxDuration?: number | undefined;
1014
- queue?: {
1015
- name?: string | undefined;
1016
- concurrencyLimit?: number | undefined;
1017
1013
  } | undefined;
1018
1014
  machine?: {
1019
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1020
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1015
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1016
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1021
1017
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1022
1018
  } | undefined;
1023
1019
  triggerSource?: string | undefined;
1020
+ schedule?: {
1021
+ cron: string;
1022
+ timezone: string;
1023
+ } | undefined;
1024
+ maxDuration?: number | undefined;
1024
1025
  }[];
1025
- runtime: "node" | "bun";
1026
- configPath: string;
1027
1026
  workerEntryPoint: string;
1027
+ runtime: "node" | "bun";
1028
+ controllerEntryPoint?: string | undefined;
1028
1029
  loaderEntryPoint?: string | undefined;
1029
1030
  customConditions?: string[] | undefined;
1030
1031
  otelImportHook?: {
1031
1032
  include?: string[] | undefined;
1032
1033
  exclude?: string[] | undefined;
1033
1034
  } | undefined;
1034
- controllerEntryPoint?: string | undefined;
1035
1035
  }, {
1036
+ configPath: string;
1036
1037
  tasks: {
1037
1038
  id: string;
1038
- filePath: string;
1039
1039
  exportName: string;
1040
+ filePath: string;
1040
1041
  entryPoint: string;
1041
1042
  description?: string | undefined;
1042
- schedule?: {
1043
- cron: string;
1044
- timezone: string;
1043
+ queue?: {
1044
+ name?: string | undefined;
1045
+ concurrencyLimit?: number | undefined;
1045
1046
  } | undefined;
1046
1047
  retry?: {
1048
+ maxAttempts?: number | undefined;
1047
1049
  factor?: number | undefined;
1048
1050
  minTimeoutInMs?: number | undefined;
1049
1051
  maxTimeoutInMs?: number | undefined;
1050
1052
  randomize?: boolean | undefined;
1051
- maxAttempts?: number | undefined;
1052
- } | undefined;
1053
- maxDuration?: number | undefined;
1054
- queue?: {
1055
- name?: string | undefined;
1056
- concurrencyLimit?: number | undefined;
1057
1053
  } | undefined;
1058
1054
  machine?: {
1059
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1060
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1055
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1056
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1061
1057
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1062
1058
  } | undefined;
1063
1059
  triggerSource?: string | undefined;
1060
+ schedule?: {
1061
+ cron: string;
1062
+ timezone: string;
1063
+ } | undefined;
1064
+ maxDuration?: number | undefined;
1064
1065
  }[];
1065
- runtime: "node" | "bun";
1066
- configPath: string;
1067
1066
  workerEntryPoint: string;
1067
+ runtime: "node" | "bun";
1068
+ controllerEntryPoint?: string | undefined;
1068
1069
  loaderEntryPoint?: string | undefined;
1069
1070
  customConditions?: string[] | undefined;
1070
1071
  otelImportHook?: {
1071
1072
  include?: string[] | undefined;
1072
1073
  exclude?: string[] | undefined;
1073
1074
  } | undefined;
1074
- controllerEntryPoint?: string | undefined;
1075
1075
  }>;
1076
1076
  }, "strip", z.ZodTypeAny, {
1077
1077
  manifest: {
1078
+ configPath: string;
1078
1079
  tasks: {
1079
1080
  id: string;
1080
- filePath: string;
1081
1081
  exportName: string;
1082
+ filePath: string;
1082
1083
  entryPoint: string;
1083
1084
  description?: string | undefined;
1084
- schedule?: {
1085
- cron: string;
1086
- timezone: string;
1085
+ queue?: {
1086
+ name?: string | undefined;
1087
+ concurrencyLimit?: number | undefined;
1087
1088
  } | undefined;
1088
1089
  retry?: {
1090
+ maxAttempts?: number | undefined;
1089
1091
  factor?: number | undefined;
1090
1092
  minTimeoutInMs?: number | undefined;
1091
1093
  maxTimeoutInMs?: number | undefined;
1092
1094
  randomize?: boolean | undefined;
1093
- maxAttempts?: number | undefined;
1094
- } | undefined;
1095
- maxDuration?: number | undefined;
1096
- queue?: {
1097
- name?: string | undefined;
1098
- concurrencyLimit?: number | undefined;
1099
1095
  } | undefined;
1100
1096
  machine?: {
1101
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1102
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1097
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1098
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1103
1099
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1104
1100
  } | undefined;
1105
1101
  triggerSource?: string | undefined;
1102
+ schedule?: {
1103
+ cron: string;
1104
+ timezone: string;
1105
+ } | undefined;
1106
+ maxDuration?: number | undefined;
1106
1107
  }[];
1107
- runtime: "node" | "bun";
1108
- configPath: string;
1109
1108
  workerEntryPoint: string;
1109
+ runtime: "node" | "bun";
1110
+ controllerEntryPoint?: string | undefined;
1110
1111
  loaderEntryPoint?: string | undefined;
1111
1112
  customConditions?: string[] | undefined;
1112
1113
  otelImportHook?: {
1113
1114
  include?: string[] | undefined;
1114
1115
  exclude?: string[] | undefined;
1115
1116
  } | undefined;
1116
- controllerEntryPoint?: string | undefined;
1117
1117
  };
1118
1118
  }, {
1119
1119
  manifest: {
1120
+ configPath: string;
1120
1121
  tasks: {
1121
1122
  id: string;
1122
- filePath: string;
1123
1123
  exportName: string;
1124
+ filePath: string;
1124
1125
  entryPoint: string;
1125
1126
  description?: string | undefined;
1126
- schedule?: {
1127
- cron: string;
1128
- timezone: string;
1127
+ queue?: {
1128
+ name?: string | undefined;
1129
+ concurrencyLimit?: number | undefined;
1129
1130
  } | undefined;
1130
1131
  retry?: {
1132
+ maxAttempts?: number | undefined;
1131
1133
  factor?: number | undefined;
1132
1134
  minTimeoutInMs?: number | undefined;
1133
1135
  maxTimeoutInMs?: number | undefined;
1134
1136
  randomize?: boolean | undefined;
1135
- maxAttempts?: number | undefined;
1136
- } | undefined;
1137
- maxDuration?: number | undefined;
1138
- queue?: {
1139
- name?: string | undefined;
1140
- concurrencyLimit?: number | undefined;
1141
1137
  } | undefined;
1142
1138
  machine?: {
1143
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1144
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1139
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1140
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1145
1141
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1146
1142
  } | undefined;
1147
1143
  triggerSource?: string | undefined;
1144
+ schedule?: {
1145
+ cron: string;
1146
+ timezone: string;
1147
+ } | undefined;
1148
+ maxDuration?: number | undefined;
1148
1149
  }[];
1149
- runtime: "node" | "bun";
1150
- configPath: string;
1151
1150
  workerEntryPoint: string;
1151
+ runtime: "node" | "bun";
1152
+ controllerEntryPoint?: string | undefined;
1152
1153
  loaderEntryPoint?: string | undefined;
1153
1154
  customConditions?: string[] | undefined;
1154
1155
  otelImportHook?: {
1155
1156
  include?: string[] | undefined;
1156
1157
  exclude?: string[] | undefined;
1157
1158
  } | undefined;
1158
- controllerEntryPoint?: string | undefined;
1159
1159
  };
1160
1160
  }>;
1161
1161
  }, "strip", z.ZodTypeAny, {
1162
1162
  type: "worker-manifest";
1163
1163
  data: {
1164
1164
  manifest: {
1165
+ configPath: string;
1165
1166
  tasks: {
1166
1167
  id: string;
1167
- filePath: string;
1168
1168
  exportName: string;
1169
+ filePath: string;
1169
1170
  entryPoint: string;
1170
1171
  description?: string | undefined;
1171
- schedule?: {
1172
- cron: string;
1173
- timezone: string;
1172
+ queue?: {
1173
+ name?: string | undefined;
1174
+ concurrencyLimit?: number | undefined;
1174
1175
  } | undefined;
1175
1176
  retry?: {
1177
+ maxAttempts?: number | undefined;
1176
1178
  factor?: number | undefined;
1177
1179
  minTimeoutInMs?: number | undefined;
1178
1180
  maxTimeoutInMs?: number | undefined;
1179
1181
  randomize?: boolean | undefined;
1180
- maxAttempts?: number | undefined;
1181
- } | undefined;
1182
- maxDuration?: number | undefined;
1183
- queue?: {
1184
- name?: string | undefined;
1185
- concurrencyLimit?: number | undefined;
1186
1182
  } | undefined;
1187
1183
  machine?: {
1188
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1189
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1184
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1185
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1190
1186
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1191
1187
  } | undefined;
1192
1188
  triggerSource?: string | undefined;
1189
+ schedule?: {
1190
+ cron: string;
1191
+ timezone: string;
1192
+ } | undefined;
1193
+ maxDuration?: number | undefined;
1193
1194
  }[];
1194
- runtime: "node" | "bun";
1195
- configPath: string;
1196
1195
  workerEntryPoint: string;
1196
+ runtime: "node" | "bun";
1197
+ controllerEntryPoint?: string | undefined;
1197
1198
  loaderEntryPoint?: string | undefined;
1198
1199
  customConditions?: string[] | undefined;
1199
1200
  otelImportHook?: {
1200
1201
  include?: string[] | undefined;
1201
1202
  exclude?: string[] | undefined;
1202
1203
  } | undefined;
1203
- controllerEntryPoint?: string | undefined;
1204
1204
  };
1205
1205
  };
1206
1206
  }, {
1207
1207
  type: "worker-manifest";
1208
1208
  data: {
1209
1209
  manifest: {
1210
+ configPath: string;
1210
1211
  tasks: {
1211
1212
  id: string;
1212
- filePath: string;
1213
1213
  exportName: string;
1214
+ filePath: string;
1214
1215
  entryPoint: string;
1215
1216
  description?: string | undefined;
1216
- schedule?: {
1217
- cron: string;
1218
- timezone: string;
1217
+ queue?: {
1218
+ name?: string | undefined;
1219
+ concurrencyLimit?: number | undefined;
1219
1220
  } | undefined;
1220
1221
  retry?: {
1222
+ maxAttempts?: number | undefined;
1221
1223
  factor?: number | undefined;
1222
1224
  minTimeoutInMs?: number | undefined;
1223
1225
  maxTimeoutInMs?: number | undefined;
1224
1226
  randomize?: boolean | undefined;
1225
- maxAttempts?: number | undefined;
1226
- } | undefined;
1227
- maxDuration?: number | undefined;
1228
- queue?: {
1229
- name?: string | undefined;
1230
- concurrencyLimit?: number | undefined;
1231
1227
  } | undefined;
1232
1228
  machine?: {
1233
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1234
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1229
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1230
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1235
1231
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1236
1232
  } | undefined;
1237
1233
  triggerSource?: string | undefined;
1234
+ schedule?: {
1235
+ cron: string;
1236
+ timezone: string;
1237
+ } | undefined;
1238
+ maxDuration?: number | undefined;
1238
1239
  }[];
1239
- runtime: "node" | "bun";
1240
- configPath: string;
1241
1240
  workerEntryPoint: string;
1241
+ runtime: "node" | "bun";
1242
+ controllerEntryPoint?: string | undefined;
1242
1243
  loaderEntryPoint?: string | undefined;
1243
1244
  customConditions?: string[] | undefined;
1244
1245
  otelImportHook?: {
1245
1246
  include?: string[] | undefined;
1246
1247
  exclude?: string[] | undefined;
1247
1248
  } | undefined;
1248
- controllerEntryPoint?: string | undefined;
1249
1249
  };
1250
1250
  };
1251
1251
  }>;