@trigger.dev/core 0.0.0-prerelease-20250430143421 → 0.0.0-prerelease-20250503193704

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 (115) hide show
  1. package/dist/commonjs/utils.d.ts +6 -0
  2. package/dist/commonjs/utils.js +14 -0
  3. package/dist/commonjs/utils.js.map +1 -1
  4. package/dist/commonjs/v3/apiClient/index.d.ts +43 -43
  5. package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
  6. package/dist/commonjs/v3/lifecycle-hooks-api.d.ts +1 -1
  7. package/dist/commonjs/v3/lifecycleHooks/index.d.ts +7 -1
  8. package/dist/commonjs/v3/lifecycleHooks/index.js +18 -0
  9. package/dist/commonjs/v3/lifecycleHooks/index.js.map +1 -1
  10. package/dist/commonjs/v3/lifecycleHooks/manager.d.ts +18 -3
  11. package/dist/commonjs/v3/lifecycleHooks/manager.js +49 -2
  12. package/dist/commonjs/v3/lifecycleHooks/manager.js.map +1 -1
  13. package/dist/commonjs/v3/lifecycleHooks/types.d.ts +26 -10
  14. package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +17 -17
  15. package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.d.ts +4 -2
  16. package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js +11 -5
  17. package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
  18. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +164 -164
  19. package/dist/commonjs/v3/runEngineWorker/supervisor/session.d.ts +3 -3
  20. package/dist/commonjs/v3/runEngineWorker/supervisor/session.js +2 -4
  21. package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
  22. package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +12 -12
  23. package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +142 -142
  24. package/dist/commonjs/v3/schemas/api.d.ts +214 -214
  25. package/dist/commonjs/v3/schemas/build.d.ts +164 -164
  26. package/dist/commonjs/v3/schemas/checkpoints.d.ts +18 -18
  27. package/dist/commonjs/v3/schemas/common.d.ts +171 -171
  28. package/dist/commonjs/v3/schemas/fetch.d.ts +10 -10
  29. package/dist/commonjs/v3/schemas/messages.d.ts +3046 -3036
  30. package/dist/commonjs/v3/schemas/messages.js +6 -0
  31. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  32. package/dist/commonjs/v3/schemas/resources.d.ts +34 -34
  33. package/dist/commonjs/v3/schemas/runEngine.d.ts +68 -68
  34. package/dist/commonjs/v3/schemas/schemas.d.ts +128 -128
  35. package/dist/commonjs/v3/schemas/style.d.ts +2 -2
  36. package/dist/commonjs/v3/schemas/webhooks.d.ts +166 -166
  37. package/dist/commonjs/v3/streams/asyncIterableStream.d.ts +2 -1
  38. package/dist/commonjs/v3/streams/asyncIterableStream.js +4 -0
  39. package/dist/commonjs/v3/streams/asyncIterableStream.js.map +1 -1
  40. package/dist/commonjs/v3/timeout/api.d.ts +1 -1
  41. package/dist/commonjs/v3/timeout/api.js +4 -4
  42. package/dist/commonjs/v3/timeout/api.js.map +1 -1
  43. package/dist/commonjs/v3/timeout/types.d.ts +1 -1
  44. package/dist/commonjs/v3/timeout/usageTimeoutManager.d.ts +2 -1
  45. package/dist/commonjs/v3/timeout/usageTimeoutManager.js +10 -3
  46. package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -1
  47. package/dist/commonjs/v3/tryCatch.d.ts +3 -4
  48. package/dist/commonjs/v3/types/tasks.d.ts +17 -9
  49. package/dist/commonjs/v3/types/tasks.js.map +1 -1
  50. package/dist/commonjs/v3/usage/devUsageManager.js +3 -1
  51. package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
  52. package/dist/commonjs/v3/usage-api.d.ts +1 -0
  53. package/dist/commonjs/v3/workers/taskExecutor.d.ts +1 -1
  54. package/dist/commonjs/v3/workers/taskExecutor.js +76 -16
  55. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  56. package/dist/commonjs/v3/zodMessageHandler.d.ts +1 -1
  57. package/dist/commonjs/version.js +1 -1
  58. package/dist/esm/utils.d.ts +6 -0
  59. package/dist/esm/utils.js +13 -0
  60. package/dist/esm/utils.js.map +1 -1
  61. package/dist/esm/v3/apiClient/index.d.ts +43 -43
  62. package/dist/esm/v3/apiClientManager/index.d.ts +1 -1
  63. package/dist/esm/v3/lifecycle-hooks-api.d.ts +1 -1
  64. package/dist/esm/v3/lifecycleHooks/index.d.ts +7 -1
  65. package/dist/esm/v3/lifecycleHooks/index.js +18 -0
  66. package/dist/esm/v3/lifecycleHooks/index.js.map +1 -1
  67. package/dist/esm/v3/lifecycleHooks/manager.d.ts +18 -3
  68. package/dist/esm/v3/lifecycleHooks/manager.js +49 -2
  69. package/dist/esm/v3/lifecycleHooks/manager.js.map +1 -1
  70. package/dist/esm/v3/lifecycleHooks/types.d.ts +26 -10
  71. package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +17 -17
  72. package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.d.ts +4 -2
  73. package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js +11 -5
  74. package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
  75. package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +164 -164
  76. package/dist/esm/v3/runEngineWorker/supervisor/session.d.ts +3 -3
  77. package/dist/esm/v3/runEngineWorker/supervisor/session.js +2 -4
  78. package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
  79. package/dist/esm/v3/runEngineWorker/workload/http.d.ts +12 -12
  80. package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +142 -142
  81. package/dist/esm/v3/schemas/api.d.ts +214 -214
  82. package/dist/esm/v3/schemas/build.d.ts +164 -164
  83. package/dist/esm/v3/schemas/checkpoints.d.ts +18 -18
  84. package/dist/esm/v3/schemas/common.d.ts +171 -171
  85. package/dist/esm/v3/schemas/fetch.d.ts +10 -10
  86. package/dist/esm/v3/schemas/messages.d.ts +3046 -3036
  87. package/dist/esm/v3/schemas/messages.js +6 -0
  88. package/dist/esm/v3/schemas/messages.js.map +1 -1
  89. package/dist/esm/v3/schemas/resources.d.ts +34 -34
  90. package/dist/esm/v3/schemas/runEngine.d.ts +68 -68
  91. package/dist/esm/v3/schemas/schemas.d.ts +128 -128
  92. package/dist/esm/v3/schemas/style.d.ts +2 -2
  93. package/dist/esm/v3/schemas/webhooks.d.ts +166 -166
  94. package/dist/esm/v3/streams/asyncIterableStream.d.ts +2 -1
  95. package/dist/esm/v3/streams/asyncIterableStream.js +3 -0
  96. package/dist/esm/v3/streams/asyncIterableStream.js.map +1 -1
  97. package/dist/esm/v3/timeout/api.d.ts +1 -1
  98. package/dist/esm/v3/timeout/api.js +4 -4
  99. package/dist/esm/v3/timeout/api.js.map +1 -1
  100. package/dist/esm/v3/timeout/types.d.ts +1 -1
  101. package/dist/esm/v3/timeout/usageTimeoutManager.d.ts +2 -1
  102. package/dist/esm/v3/timeout/usageTimeoutManager.js +10 -3
  103. package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -1
  104. package/dist/esm/v3/tryCatch.d.ts +3 -4
  105. package/dist/esm/v3/types/tasks.d.ts +17 -9
  106. package/dist/esm/v3/types/tasks.js.map +1 -1
  107. package/dist/esm/v3/usage/devUsageManager.js +3 -1
  108. package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
  109. package/dist/esm/v3/usage-api.d.ts +1 -0
  110. package/dist/esm/v3/workers/taskExecutor.d.ts +1 -1
  111. package/dist/esm/v3/workers/taskExecutor.js +77 -17
  112. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  113. package/dist/esm/v3/zodMessageHandler.d.ts +1 -1
  114. package/dist/esm/version.js +1 -1
  115. package/package.json +1 -1
@@ -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
- entry: string;
39
38
  out: string;
40
- }, {
41
39
  entry: string;
40
+ }, {
42
41
  out: string;
42
+ entry: string;
43
43
  }>, "many">;
44
44
  sources: z.ZodRecord<z.ZodString, z.ZodObject<{
45
45
  contents: z.ZodString;
@@ -123,8 +123,6 @@ export declare const BuildManifest: z.ZodObject<{
123
123
  }, "strip", z.ZodTypeAny, {
124
124
  environment: string;
125
125
  contentHash: string;
126
- configPath: string;
127
- runtime: "node" | "node-22" | "bun";
128
126
  packageVersion: string;
129
127
  cliPackageVersion: string;
130
128
  deploy: {
@@ -134,13 +132,14 @@ export declare const BuildManifest: z.ZodObject<{
134
132
  } | undefined;
135
133
  };
136
134
  target: "dev" | "deploy" | "unmanaged";
135
+ runtime: "node" | "node-22" | "bun";
137
136
  config: {
138
137
  project: string;
139
138
  dirs: string[];
140
139
  };
141
140
  files: {
142
- entry: string;
143
141
  out: string;
142
+ entry: string;
144
143
  }[];
145
144
  sources: Record<string, {
146
145
  contentHash: string;
@@ -149,32 +148,31 @@ export declare const BuildManifest: z.ZodObject<{
149
148
  outputPath: string;
150
149
  runWorkerEntryPoint: string;
151
150
  indexWorkerEntryPoint: string;
151
+ configPath: string;
152
152
  build: {
153
153
  env?: Record<string, string> | undefined;
154
154
  commands?: string[] | undefined;
155
155
  };
156
- loaderEntryPoint?: string | undefined;
157
- initEntryPoint?: string | undefined;
158
- customConditions?: string[] | undefined;
159
- otelImportHook?: {
160
- include?: string[] | undefined;
161
- exclude?: string[] | undefined;
162
- } | undefined;
163
156
  image?: {
164
157
  pkgs?: string[] | undefined;
165
158
  instructions?: string[] | undefined;
166
159
  } | undefined;
167
160
  runControllerEntryPoint?: string | undefined;
168
161
  indexControllerEntryPoint?: string | undefined;
162
+ loaderEntryPoint?: string | undefined;
163
+ initEntryPoint?: string | undefined;
169
164
  externals?: {
170
165
  name: string;
171
166
  version: string;
172
167
  }[] | undefined;
168
+ customConditions?: string[] | undefined;
169
+ otelImportHook?: {
170
+ include?: string[] | undefined;
171
+ exclude?: string[] | undefined;
172
+ } | undefined;
173
173
  }, {
174
174
  environment: string;
175
175
  contentHash: string;
176
- configPath: string;
177
- runtime: "node" | "node-22" | "bun";
178
176
  packageVersion: string;
179
177
  cliPackageVersion: string;
180
178
  deploy: {
@@ -184,13 +182,14 @@ export declare const BuildManifest: z.ZodObject<{
184
182
  } | undefined;
185
183
  };
186
184
  target: "dev" | "deploy" | "unmanaged";
185
+ runtime: "node" | "node-22" | "bun";
187
186
  config: {
188
187
  project: string;
189
188
  dirs: string[];
190
189
  };
191
190
  files: {
192
- entry: string;
193
191
  out: string;
192
+ entry: string;
194
193
  }[];
195
194
  sources: Record<string, {
196
195
  contentHash: string;
@@ -199,27 +198,28 @@ export declare const BuildManifest: z.ZodObject<{
199
198
  outputPath: string;
200
199
  runWorkerEntryPoint: string;
201
200
  indexWorkerEntryPoint: string;
201
+ configPath: string;
202
202
  build: {
203
203
  env?: Record<string, string> | undefined;
204
204
  commands?: string[] | undefined;
205
205
  };
206
- loaderEntryPoint?: string | undefined;
207
- initEntryPoint?: string | undefined;
208
- customConditions?: string[] | undefined;
209
- otelImportHook?: {
210
- include?: string[] | undefined;
211
- exclude?: string[] | undefined;
212
- } | undefined;
213
206
  image?: {
214
207
  pkgs?: string[] | undefined;
215
208
  instructions?: string[] | undefined;
216
209
  } | undefined;
217
210
  runControllerEntryPoint?: string | undefined;
218
211
  indexControllerEntryPoint?: string | undefined;
212
+ loaderEntryPoint?: string | undefined;
213
+ initEntryPoint?: string | undefined;
219
214
  externals?: {
220
215
  name: string;
221
216
  version: string;
222
217
  }[] | undefined;
218
+ customConditions?: string[] | undefined;
219
+ otelImportHook?: {
220
+ include?: string[] | undefined;
221
+ exclude?: string[] | undefined;
222
+ } | undefined;
223
223
  }>;
224
224
  export type BuildManifest = z.infer<typeof BuildManifest>;
225
225
  export declare const IndexMessage: z.ZodObject<{
@@ -246,11 +246,11 @@ export declare const IndexMessage: z.ZodObject<{
246
246
  entry: z.ZodString;
247
247
  out: z.ZodString;
248
248
  }, "strip", z.ZodTypeAny, {
249
- entry: string;
250
249
  out: string;
251
- }, {
252
250
  entry: string;
251
+ }, {
253
252
  out: string;
253
+ entry: string;
254
254
  }>, "many">;
255
255
  sources: z.ZodRecord<z.ZodString, z.ZodObject<{
256
256
  contents: z.ZodString;
@@ -334,8 +334,6 @@ export declare const IndexMessage: z.ZodObject<{
334
334
  }, "strip", z.ZodTypeAny, {
335
335
  environment: string;
336
336
  contentHash: string;
337
- configPath: string;
338
- runtime: "node" | "node-22" | "bun";
339
337
  packageVersion: string;
340
338
  cliPackageVersion: string;
341
339
  deploy: {
@@ -345,13 +343,14 @@ export declare const IndexMessage: z.ZodObject<{
345
343
  } | undefined;
346
344
  };
347
345
  target: "dev" | "deploy" | "unmanaged";
346
+ runtime: "node" | "node-22" | "bun";
348
347
  config: {
349
348
  project: string;
350
349
  dirs: string[];
351
350
  };
352
351
  files: {
353
- entry: string;
354
352
  out: string;
353
+ entry: string;
355
354
  }[];
356
355
  sources: Record<string, {
357
356
  contentHash: string;
@@ -360,32 +359,31 @@ export declare const IndexMessage: z.ZodObject<{
360
359
  outputPath: string;
361
360
  runWorkerEntryPoint: string;
362
361
  indexWorkerEntryPoint: string;
362
+ configPath: string;
363
363
  build: {
364
364
  env?: Record<string, string> | undefined;
365
365
  commands?: string[] | undefined;
366
366
  };
367
- loaderEntryPoint?: string | undefined;
368
- initEntryPoint?: string | undefined;
369
- customConditions?: string[] | undefined;
370
- otelImportHook?: {
371
- include?: string[] | undefined;
372
- exclude?: string[] | undefined;
373
- } | undefined;
374
367
  image?: {
375
368
  pkgs?: string[] | undefined;
376
369
  instructions?: string[] | undefined;
377
370
  } | undefined;
378
371
  runControllerEntryPoint?: string | undefined;
379
372
  indexControllerEntryPoint?: string | undefined;
373
+ loaderEntryPoint?: string | undefined;
374
+ initEntryPoint?: string | undefined;
380
375
  externals?: {
381
376
  name: string;
382
377
  version: string;
383
378
  }[] | undefined;
379
+ customConditions?: string[] | undefined;
380
+ otelImportHook?: {
381
+ include?: string[] | undefined;
382
+ exclude?: string[] | undefined;
383
+ } | undefined;
384
384
  }, {
385
385
  environment: string;
386
386
  contentHash: string;
387
- configPath: string;
388
- runtime: "node" | "node-22" | "bun";
389
387
  packageVersion: string;
390
388
  cliPackageVersion: string;
391
389
  deploy: {
@@ -395,13 +393,14 @@ export declare const IndexMessage: z.ZodObject<{
395
393
  } | undefined;
396
394
  };
397
395
  target: "dev" | "deploy" | "unmanaged";
396
+ runtime: "node" | "node-22" | "bun";
398
397
  config: {
399
398
  project: string;
400
399
  dirs: string[];
401
400
  };
402
401
  files: {
403
- entry: string;
404
402
  out: string;
403
+ entry: string;
405
404
  }[];
406
405
  sources: Record<string, {
407
406
  contentHash: string;
@@ -410,34 +409,33 @@ export declare const IndexMessage: z.ZodObject<{
410
409
  outputPath: string;
411
410
  runWorkerEntryPoint: string;
412
411
  indexWorkerEntryPoint: string;
412
+ configPath: string;
413
413
  build: {
414
414
  env?: Record<string, string> | undefined;
415
415
  commands?: string[] | undefined;
416
416
  };
417
- loaderEntryPoint?: string | undefined;
418
- initEntryPoint?: string | undefined;
419
- customConditions?: string[] | undefined;
420
- otelImportHook?: {
421
- include?: string[] | undefined;
422
- exclude?: string[] | undefined;
423
- } | undefined;
424
417
  image?: {
425
418
  pkgs?: string[] | undefined;
426
419
  instructions?: string[] | undefined;
427
420
  } | undefined;
428
421
  runControllerEntryPoint?: string | undefined;
429
422
  indexControllerEntryPoint?: string | undefined;
423
+ loaderEntryPoint?: string | undefined;
424
+ initEntryPoint?: string | undefined;
430
425
  externals?: {
431
426
  name: string;
432
427
  version: string;
433
428
  }[] | undefined;
429
+ customConditions?: string[] | undefined;
430
+ otelImportHook?: {
431
+ include?: string[] | undefined;
432
+ exclude?: string[] | undefined;
433
+ } | undefined;
434
434
  }>;
435
435
  }, "strip", z.ZodTypeAny, {
436
436
  build: {
437
437
  environment: string;
438
438
  contentHash: string;
439
- configPath: string;
440
- runtime: "node" | "node-22" | "bun";
441
439
  packageVersion: string;
442
440
  cliPackageVersion: string;
443
441
  deploy: {
@@ -447,13 +445,14 @@ export declare const IndexMessage: z.ZodObject<{
447
445
  } | undefined;
448
446
  };
449
447
  target: "dev" | "deploy" | "unmanaged";
448
+ runtime: "node" | "node-22" | "bun";
450
449
  config: {
451
450
  project: string;
452
451
  dirs: string[];
453
452
  };
454
453
  files: {
455
- entry: string;
456
454
  out: string;
455
+ entry: string;
457
456
  }[];
458
457
  sources: Record<string, {
459
458
  contentHash: string;
@@ -462,34 +461,33 @@ export declare const IndexMessage: z.ZodObject<{
462
461
  outputPath: string;
463
462
  runWorkerEntryPoint: string;
464
463
  indexWorkerEntryPoint: string;
464
+ configPath: string;
465
465
  build: {
466
466
  env?: Record<string, string> | undefined;
467
467
  commands?: string[] | undefined;
468
468
  };
469
- loaderEntryPoint?: string | undefined;
470
- initEntryPoint?: string | undefined;
471
- customConditions?: string[] | undefined;
472
- otelImportHook?: {
473
- include?: string[] | undefined;
474
- exclude?: string[] | undefined;
475
- } | undefined;
476
469
  image?: {
477
470
  pkgs?: string[] | undefined;
478
471
  instructions?: string[] | undefined;
479
472
  } | undefined;
480
473
  runControllerEntryPoint?: string | undefined;
481
474
  indexControllerEntryPoint?: string | undefined;
475
+ loaderEntryPoint?: string | undefined;
476
+ initEntryPoint?: string | undefined;
482
477
  externals?: {
483
478
  name: string;
484
479
  version: string;
485
480
  }[] | undefined;
481
+ customConditions?: string[] | undefined;
482
+ otelImportHook?: {
483
+ include?: string[] | undefined;
484
+ exclude?: string[] | undefined;
485
+ } | undefined;
486
486
  };
487
487
  }, {
488
488
  build: {
489
489
  environment: string;
490
490
  contentHash: string;
491
- configPath: string;
492
- runtime: "node" | "node-22" | "bun";
493
491
  packageVersion: string;
494
492
  cliPackageVersion: string;
495
493
  deploy: {
@@ -499,13 +497,14 @@ export declare const IndexMessage: z.ZodObject<{
499
497
  } | undefined;
500
498
  };
501
499
  target: "dev" | "deploy" | "unmanaged";
500
+ runtime: "node" | "node-22" | "bun";
502
501
  config: {
503
502
  project: string;
504
503
  dirs: string[];
505
504
  };
506
505
  files: {
507
- entry: string;
508
506
  out: string;
507
+ entry: string;
509
508
  }[];
510
509
  sources: Record<string, {
511
510
  contentHash: string;
@@ -514,27 +513,28 @@ export declare const IndexMessage: z.ZodObject<{
514
513
  outputPath: string;
515
514
  runWorkerEntryPoint: string;
516
515
  indexWorkerEntryPoint: string;
516
+ configPath: string;
517
517
  build: {
518
518
  env?: Record<string, string> | undefined;
519
519
  commands?: string[] | undefined;
520
520
  };
521
- loaderEntryPoint?: string | undefined;
522
- initEntryPoint?: string | undefined;
523
- customConditions?: string[] | undefined;
524
- otelImportHook?: {
525
- include?: string[] | undefined;
526
- exclude?: string[] | undefined;
527
- } | undefined;
528
521
  image?: {
529
522
  pkgs?: string[] | undefined;
530
523
  instructions?: string[] | undefined;
531
524
  } | undefined;
532
525
  runControllerEntryPoint?: string | undefined;
533
526
  indexControllerEntryPoint?: string | undefined;
527
+ loaderEntryPoint?: string | undefined;
528
+ initEntryPoint?: string | undefined;
534
529
  externals?: {
535
530
  name: string;
536
531
  version: string;
537
532
  }[] | undefined;
533
+ customConditions?: string[] | undefined;
534
+ otelImportHook?: {
535
+ include?: string[] | undefined;
536
+ exclude?: string[] | undefined;
537
+ } | undefined;
538
538
  };
539
539
  }>;
540
540
  }, "strip", z.ZodTypeAny, {
@@ -543,8 +543,6 @@ export declare const IndexMessage: z.ZodObject<{
543
543
  build: {
544
544
  environment: string;
545
545
  contentHash: string;
546
- configPath: string;
547
- runtime: "node" | "node-22" | "bun";
548
546
  packageVersion: string;
549
547
  cliPackageVersion: string;
550
548
  deploy: {
@@ -554,13 +552,14 @@ export declare const IndexMessage: z.ZodObject<{
554
552
  } | undefined;
555
553
  };
556
554
  target: "dev" | "deploy" | "unmanaged";
555
+ runtime: "node" | "node-22" | "bun";
557
556
  config: {
558
557
  project: string;
559
558
  dirs: string[];
560
559
  };
561
560
  files: {
562
- entry: string;
563
561
  out: string;
562
+ entry: string;
564
563
  }[];
565
564
  sources: Record<string, {
566
565
  contentHash: string;
@@ -569,27 +568,28 @@ export declare const IndexMessage: z.ZodObject<{
569
568
  outputPath: string;
570
569
  runWorkerEntryPoint: string;
571
570
  indexWorkerEntryPoint: string;
571
+ configPath: string;
572
572
  build: {
573
573
  env?: Record<string, string> | undefined;
574
574
  commands?: string[] | undefined;
575
575
  };
576
- loaderEntryPoint?: string | undefined;
577
- initEntryPoint?: string | undefined;
578
- customConditions?: string[] | undefined;
579
- otelImportHook?: {
580
- include?: string[] | undefined;
581
- exclude?: string[] | undefined;
582
- } | undefined;
583
576
  image?: {
584
577
  pkgs?: string[] | undefined;
585
578
  instructions?: string[] | undefined;
586
579
  } | undefined;
587
580
  runControllerEntryPoint?: string | undefined;
588
581
  indexControllerEntryPoint?: string | undefined;
582
+ loaderEntryPoint?: string | undefined;
583
+ initEntryPoint?: string | undefined;
589
584
  externals?: {
590
585
  name: string;
591
586
  version: string;
592
587
  }[] | undefined;
588
+ customConditions?: string[] | undefined;
589
+ otelImportHook?: {
590
+ include?: string[] | undefined;
591
+ exclude?: string[] | undefined;
592
+ } | undefined;
593
593
  };
594
594
  };
595
595
  }, {
@@ -598,8 +598,6 @@ export declare const IndexMessage: z.ZodObject<{
598
598
  build: {
599
599
  environment: string;
600
600
  contentHash: string;
601
- configPath: string;
602
- runtime: "node" | "node-22" | "bun";
603
601
  packageVersion: string;
604
602
  cliPackageVersion: string;
605
603
  deploy: {
@@ -609,13 +607,14 @@ export declare const IndexMessage: z.ZodObject<{
609
607
  } | undefined;
610
608
  };
611
609
  target: "dev" | "deploy" | "unmanaged";
610
+ runtime: "node" | "node-22" | "bun";
612
611
  config: {
613
612
  project: string;
614
613
  dirs: string[];
615
614
  };
616
615
  files: {
617
- entry: string;
618
616
  out: string;
617
+ entry: string;
619
618
  }[];
620
619
  sources: Record<string, {
621
620
  contentHash: string;
@@ -624,27 +623,28 @@ export declare const IndexMessage: z.ZodObject<{
624
623
  outputPath: string;
625
624
  runWorkerEntryPoint: string;
626
625
  indexWorkerEntryPoint: string;
626
+ configPath: string;
627
627
  build: {
628
628
  env?: Record<string, string> | undefined;
629
629
  commands?: string[] | undefined;
630
630
  };
631
- loaderEntryPoint?: string | undefined;
632
- initEntryPoint?: string | undefined;
633
- customConditions?: string[] | undefined;
634
- otelImportHook?: {
635
- include?: string[] | undefined;
636
- exclude?: string[] | undefined;
637
- } | undefined;
638
631
  image?: {
639
632
  pkgs?: string[] | undefined;
640
633
  instructions?: string[] | undefined;
641
634
  } | undefined;
642
635
  runControllerEntryPoint?: string | undefined;
643
636
  indexControllerEntryPoint?: string | undefined;
637
+ loaderEntryPoint?: string | undefined;
638
+ initEntryPoint?: string | undefined;
644
639
  externals?: {
645
640
  name: string;
646
641
  version: string;
647
642
  }[] | undefined;
643
+ customConditions?: string[] | undefined;
644
+ otelImportHook?: {
645
+ include?: string[] | undefined;
646
+ exclude?: string[] | undefined;
647
+ } | undefined;
648
648
  };
649
649
  };
650
650
  }>;
@@ -709,12 +709,12 @@ export declare const WorkerManifest: z.ZodObject<{
709
709
  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>]>>;
710
710
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
711
711
  }, "strip", z.ZodTypeAny, {
712
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
713
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
712
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
713
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
714
714
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
715
715
  }, {
716
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
717
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
716
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
717
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
718
718
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
719
719
  }>>;
720
720
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -733,19 +733,18 @@ export declare const WorkerManifest: z.ZodObject<{
733
733
  id: string;
734
734
  filePath: string;
735
735
  entryPoint: string;
736
- exportName?: string | undefined;
737
736
  maxDuration?: number | undefined;
737
+ exportName?: string | undefined;
738
738
  queue?: {
739
739
  name?: string | undefined;
740
740
  concurrencyLimit?: number | null | undefined;
741
741
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
742
742
  } | undefined;
743
743
  machine?: {
744
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
745
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
744
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
745
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
746
746
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
747
747
  } | undefined;
748
- description?: string | undefined;
749
748
  retry?: {
750
749
  maxAttempts?: number | undefined;
751
750
  factor?: number | undefined;
@@ -756,6 +755,7 @@ export declare const WorkerManifest: z.ZodObject<{
756
755
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
757
756
  } | undefined;
758
757
  } | undefined;
758
+ description?: string | undefined;
759
759
  triggerSource?: string | undefined;
760
760
  schedule?: {
761
761
  cron: string;
@@ -765,19 +765,18 @@ export declare const WorkerManifest: z.ZodObject<{
765
765
  id: string;
766
766
  filePath: string;
767
767
  entryPoint: string;
768
- exportName?: string | undefined;
769
768
  maxDuration?: number | undefined;
769
+ exportName?: string | undefined;
770
770
  queue?: {
771
771
  name?: string | undefined;
772
772
  concurrencyLimit?: number | null | undefined;
773
773
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
774
774
  } | undefined;
775
775
  machine?: {
776
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
777
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
776
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
777
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
778
778
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
779
779
  } | undefined;
780
- description?: string | undefined;
781
780
  retry?: {
782
781
  maxAttempts?: number | undefined;
783
782
  factor?: number | undefined;
@@ -788,6 +787,7 @@ export declare const WorkerManifest: z.ZodObject<{
788
787
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
789
788
  } | undefined;
790
789
  } | undefined;
790
+ description?: string | undefined;
791
791
  triggerSource?: string | undefined;
792
792
  schedule?: {
793
793
  cron: string;
@@ -824,24 +824,22 @@ export declare const WorkerManifest: z.ZodObject<{
824
824
  exclude?: string[] | undefined;
825
825
  }>>;
826
826
  }, "strip", z.ZodTypeAny, {
827
- configPath: string;
828
827
  tasks: {
829
828
  id: string;
830
829
  filePath: string;
831
830
  entryPoint: string;
832
- exportName?: string | undefined;
833
831
  maxDuration?: number | undefined;
832
+ exportName?: string | undefined;
834
833
  queue?: {
835
834
  name?: string | undefined;
836
835
  concurrencyLimit?: number | null | undefined;
837
836
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
838
837
  } | undefined;
839
838
  machine?: {
840
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
841
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
839
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
840
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
842
841
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
843
842
  } | undefined;
844
- description?: string | undefined;
845
843
  retry?: {
846
844
  maxAttempts?: number | undefined;
847
845
  factor?: number | undefined;
@@ -852,20 +850,21 @@ export declare const WorkerManifest: z.ZodObject<{
852
850
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
853
851
  } | undefined;
854
852
  } | undefined;
853
+ description?: string | undefined;
855
854
  triggerSource?: string | undefined;
856
855
  schedule?: {
857
856
  cron: string;
858
857
  timezone: string;
859
858
  } | undefined;
860
859
  }[];
861
- workerEntryPoint: string;
862
860
  runtime: "node" | "node-22" | "bun";
861
+ configPath: string;
862
+ workerEntryPoint: string;
863
863
  queues?: {
864
864
  name: string;
865
865
  concurrencyLimit?: number | null | undefined;
866
866
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
867
867
  }[] | undefined;
868
- controllerEntryPoint?: string | undefined;
869
868
  loaderEntryPoint?: string | undefined;
870
869
  initEntryPoint?: string | undefined;
871
870
  customConditions?: string[] | undefined;
@@ -873,25 +872,24 @@ export declare const WorkerManifest: z.ZodObject<{
873
872
  include?: string[] | undefined;
874
873
  exclude?: string[] | undefined;
875
874
  } | undefined;
875
+ controllerEntryPoint?: string | undefined;
876
876
  }, {
877
- configPath: string;
878
877
  tasks: {
879
878
  id: string;
880
879
  filePath: string;
881
880
  entryPoint: string;
882
- exportName?: string | undefined;
883
881
  maxDuration?: number | undefined;
882
+ exportName?: string | undefined;
884
883
  queue?: {
885
884
  name?: string | undefined;
886
885
  concurrencyLimit?: number | null | undefined;
887
886
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
888
887
  } | undefined;
889
888
  machine?: {
890
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
891
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
889
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
890
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
892
891
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
893
892
  } | undefined;
894
- description?: string | undefined;
895
893
  retry?: {
896
894
  maxAttempts?: number | undefined;
897
895
  factor?: number | undefined;
@@ -902,20 +900,21 @@ export declare const WorkerManifest: z.ZodObject<{
902
900
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
903
901
  } | undefined;
904
902
  } | undefined;
903
+ description?: string | undefined;
905
904
  triggerSource?: string | undefined;
906
905
  schedule?: {
907
906
  cron: string;
908
907
  timezone: string;
909
908
  } | undefined;
910
909
  }[];
911
- workerEntryPoint: string;
912
910
  runtime: "node" | "node-22" | "bun";
911
+ configPath: string;
912
+ workerEntryPoint: string;
913
913
  queues?: {
914
914
  name: string;
915
915
  concurrencyLimit?: number | null | undefined;
916
916
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
917
917
  }[] | undefined;
918
- controllerEntryPoint?: string | undefined;
919
918
  loaderEntryPoint?: string | undefined;
920
919
  initEntryPoint?: string | undefined;
921
920
  customConditions?: string[] | undefined;
@@ -923,6 +922,7 @@ export declare const WorkerManifest: z.ZodObject<{
923
922
  include?: string[] | undefined;
924
923
  exclude?: string[] | undefined;
925
924
  } | undefined;
925
+ controllerEntryPoint?: string | undefined;
926
926
  }>;
927
927
  export type WorkerManifest = z.infer<typeof WorkerManifest>;
928
928
  export declare const WorkerManifestMessage: z.ZodObject<{
@@ -988,12 +988,12 @@ export declare const WorkerManifestMessage: z.ZodObject<{
988
988
  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>]>>;
989
989
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
990
990
  }, "strip", z.ZodTypeAny, {
991
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
992
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
991
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
992
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
993
993
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
994
994
  }, {
995
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
996
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
995
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
996
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
997
997
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
998
998
  }>>;
999
999
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -1012,19 +1012,18 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1012
1012
  id: string;
1013
1013
  filePath: string;
1014
1014
  entryPoint: string;
1015
- exportName?: string | undefined;
1016
1015
  maxDuration?: number | undefined;
1016
+ exportName?: string | undefined;
1017
1017
  queue?: {
1018
1018
  name?: string | undefined;
1019
1019
  concurrencyLimit?: number | null | undefined;
1020
1020
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1021
1021
  } | undefined;
1022
1022
  machine?: {
1023
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1024
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1023
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1024
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1025
1025
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1026
1026
  } | undefined;
1027
- description?: string | undefined;
1028
1027
  retry?: {
1029
1028
  maxAttempts?: number | undefined;
1030
1029
  factor?: number | undefined;
@@ -1035,6 +1034,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1035
1034
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1036
1035
  } | undefined;
1037
1036
  } | undefined;
1037
+ description?: string | undefined;
1038
1038
  triggerSource?: string | undefined;
1039
1039
  schedule?: {
1040
1040
  cron: string;
@@ -1044,19 +1044,18 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1044
1044
  id: string;
1045
1045
  filePath: string;
1046
1046
  entryPoint: string;
1047
- exportName?: string | undefined;
1048
1047
  maxDuration?: number | undefined;
1048
+ exportName?: string | undefined;
1049
1049
  queue?: {
1050
1050
  name?: string | undefined;
1051
1051
  concurrencyLimit?: number | null | undefined;
1052
1052
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1053
1053
  } | undefined;
1054
1054
  machine?: {
1055
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1056
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1055
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1056
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1057
1057
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1058
1058
  } | undefined;
1059
- description?: string | undefined;
1060
1059
  retry?: {
1061
1060
  maxAttempts?: number | undefined;
1062
1061
  factor?: number | undefined;
@@ -1067,6 +1066,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1067
1066
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1068
1067
  } | undefined;
1069
1068
  } | undefined;
1069
+ description?: string | undefined;
1070
1070
  triggerSource?: string | undefined;
1071
1071
  schedule?: {
1072
1072
  cron: string;
@@ -1103,24 +1103,22 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1103
1103
  exclude?: string[] | undefined;
1104
1104
  }>>;
1105
1105
  }, "strip", z.ZodTypeAny, {
1106
- configPath: string;
1107
1106
  tasks: {
1108
1107
  id: string;
1109
1108
  filePath: string;
1110
1109
  entryPoint: string;
1111
- exportName?: string | undefined;
1112
1110
  maxDuration?: number | undefined;
1111
+ exportName?: string | undefined;
1113
1112
  queue?: {
1114
1113
  name?: string | undefined;
1115
1114
  concurrencyLimit?: number | null | undefined;
1116
1115
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1117
1116
  } | undefined;
1118
1117
  machine?: {
1119
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1120
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1118
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1119
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1121
1120
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1122
1121
  } | undefined;
1123
- description?: string | undefined;
1124
1122
  retry?: {
1125
1123
  maxAttempts?: number | undefined;
1126
1124
  factor?: number | undefined;
@@ -1131,20 +1129,21 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1131
1129
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1132
1130
  } | undefined;
1133
1131
  } | undefined;
1132
+ description?: string | undefined;
1134
1133
  triggerSource?: string | undefined;
1135
1134
  schedule?: {
1136
1135
  cron: string;
1137
1136
  timezone: string;
1138
1137
  } | undefined;
1139
1138
  }[];
1140
- workerEntryPoint: string;
1141
1139
  runtime: "node" | "node-22" | "bun";
1140
+ configPath: string;
1141
+ workerEntryPoint: string;
1142
1142
  queues?: {
1143
1143
  name: string;
1144
1144
  concurrencyLimit?: number | null | undefined;
1145
1145
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1146
1146
  }[] | undefined;
1147
- controllerEntryPoint?: string | undefined;
1148
1147
  loaderEntryPoint?: string | undefined;
1149
1148
  initEntryPoint?: string | undefined;
1150
1149
  customConditions?: string[] | undefined;
@@ -1152,25 +1151,24 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1152
1151
  include?: string[] | undefined;
1153
1152
  exclude?: string[] | undefined;
1154
1153
  } | undefined;
1154
+ controllerEntryPoint?: string | undefined;
1155
1155
  }, {
1156
- configPath: string;
1157
1156
  tasks: {
1158
1157
  id: string;
1159
1158
  filePath: string;
1160
1159
  entryPoint: string;
1161
- exportName?: string | undefined;
1162
1160
  maxDuration?: number | undefined;
1161
+ exportName?: string | undefined;
1163
1162
  queue?: {
1164
1163
  name?: string | undefined;
1165
1164
  concurrencyLimit?: number | null | undefined;
1166
1165
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1167
1166
  } | undefined;
1168
1167
  machine?: {
1169
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1170
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1168
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1169
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1171
1170
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1172
1171
  } | undefined;
1173
- description?: string | undefined;
1174
1172
  retry?: {
1175
1173
  maxAttempts?: number | undefined;
1176
1174
  factor?: number | undefined;
@@ -1181,20 +1179,21 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1181
1179
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1182
1180
  } | undefined;
1183
1181
  } | undefined;
1182
+ description?: string | undefined;
1184
1183
  triggerSource?: string | undefined;
1185
1184
  schedule?: {
1186
1185
  cron: string;
1187
1186
  timezone: string;
1188
1187
  } | undefined;
1189
1188
  }[];
1190
- workerEntryPoint: string;
1191
1189
  runtime: "node" | "node-22" | "bun";
1190
+ configPath: string;
1191
+ workerEntryPoint: string;
1192
1192
  queues?: {
1193
1193
  name: string;
1194
1194
  concurrencyLimit?: number | null | undefined;
1195
1195
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1196
1196
  }[] | undefined;
1197
- controllerEntryPoint?: string | undefined;
1198
1197
  loaderEntryPoint?: string | undefined;
1199
1198
  initEntryPoint?: string | undefined;
1200
1199
  customConditions?: string[] | undefined;
@@ -1202,27 +1201,26 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1202
1201
  include?: string[] | undefined;
1203
1202
  exclude?: string[] | undefined;
1204
1203
  } | undefined;
1204
+ controllerEntryPoint?: string | undefined;
1205
1205
  }>;
1206
1206
  }, "strip", z.ZodTypeAny, {
1207
1207
  manifest: {
1208
- configPath: string;
1209
1208
  tasks: {
1210
1209
  id: string;
1211
1210
  filePath: string;
1212
1211
  entryPoint: string;
1213
- exportName?: string | undefined;
1214
1212
  maxDuration?: number | undefined;
1213
+ exportName?: string | undefined;
1215
1214
  queue?: {
1216
1215
  name?: string | undefined;
1217
1216
  concurrencyLimit?: number | null | undefined;
1218
1217
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1219
1218
  } | undefined;
1220
1219
  machine?: {
1221
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1222
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1220
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1221
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1223
1222
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1224
1223
  } | undefined;
1225
- description?: string | undefined;
1226
1224
  retry?: {
1227
1225
  maxAttempts?: number | undefined;
1228
1226
  factor?: number | undefined;
@@ -1233,20 +1231,21 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1233
1231
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1234
1232
  } | undefined;
1235
1233
  } | undefined;
1234
+ description?: string | undefined;
1236
1235
  triggerSource?: string | undefined;
1237
1236
  schedule?: {
1238
1237
  cron: string;
1239
1238
  timezone: string;
1240
1239
  } | undefined;
1241
1240
  }[];
1242
- workerEntryPoint: string;
1243
1241
  runtime: "node" | "node-22" | "bun";
1242
+ configPath: string;
1243
+ workerEntryPoint: string;
1244
1244
  queues?: {
1245
1245
  name: string;
1246
1246
  concurrencyLimit?: number | null | undefined;
1247
1247
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1248
1248
  }[] | undefined;
1249
- controllerEntryPoint?: string | undefined;
1250
1249
  loaderEntryPoint?: string | undefined;
1251
1250
  initEntryPoint?: string | undefined;
1252
1251
  customConditions?: string[] | undefined;
@@ -1254,27 +1253,26 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1254
1253
  include?: string[] | undefined;
1255
1254
  exclude?: string[] | undefined;
1256
1255
  } | undefined;
1256
+ controllerEntryPoint?: string | undefined;
1257
1257
  };
1258
1258
  }, {
1259
1259
  manifest: {
1260
- configPath: string;
1261
1260
  tasks: {
1262
1261
  id: string;
1263
1262
  filePath: string;
1264
1263
  entryPoint: string;
1265
- exportName?: string | undefined;
1266
1264
  maxDuration?: number | undefined;
1265
+ exportName?: string | undefined;
1267
1266
  queue?: {
1268
1267
  name?: string | undefined;
1269
1268
  concurrencyLimit?: number | null | undefined;
1270
1269
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1271
1270
  } | undefined;
1272
1271
  machine?: {
1273
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1274
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1272
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1273
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1275
1274
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1276
1275
  } | undefined;
1277
- description?: string | undefined;
1278
1276
  retry?: {
1279
1277
  maxAttempts?: number | undefined;
1280
1278
  factor?: number | undefined;
@@ -1285,20 +1283,21 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1285
1283
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1286
1284
  } | undefined;
1287
1285
  } | undefined;
1286
+ description?: string | undefined;
1288
1287
  triggerSource?: string | undefined;
1289
1288
  schedule?: {
1290
1289
  cron: string;
1291
1290
  timezone: string;
1292
1291
  } | undefined;
1293
1292
  }[];
1294
- workerEntryPoint: string;
1295
1293
  runtime: "node" | "node-22" | "bun";
1294
+ configPath: string;
1295
+ workerEntryPoint: string;
1296
1296
  queues?: {
1297
1297
  name: string;
1298
1298
  concurrencyLimit?: number | null | undefined;
1299
1299
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1300
1300
  }[] | undefined;
1301
- controllerEntryPoint?: string | undefined;
1302
1301
  loaderEntryPoint?: string | undefined;
1303
1302
  initEntryPoint?: string | undefined;
1304
1303
  customConditions?: string[] | undefined;
@@ -1306,30 +1305,29 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1306
1305
  include?: string[] | undefined;
1307
1306
  exclude?: string[] | undefined;
1308
1307
  } | undefined;
1308
+ controllerEntryPoint?: string | undefined;
1309
1309
  };
1310
1310
  }>;
1311
1311
  }, "strip", z.ZodTypeAny, {
1312
1312
  type: "worker-manifest";
1313
1313
  data: {
1314
1314
  manifest: {
1315
- configPath: string;
1316
1315
  tasks: {
1317
1316
  id: string;
1318
1317
  filePath: string;
1319
1318
  entryPoint: string;
1320
- exportName?: string | undefined;
1321
1319
  maxDuration?: number | undefined;
1320
+ exportName?: string | undefined;
1322
1321
  queue?: {
1323
1322
  name?: string | undefined;
1324
1323
  concurrencyLimit?: number | null | undefined;
1325
1324
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1326
1325
  } | undefined;
1327
1326
  machine?: {
1328
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1329
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1327
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1328
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1330
1329
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1331
1330
  } | undefined;
1332
- description?: string | undefined;
1333
1331
  retry?: {
1334
1332
  maxAttempts?: number | undefined;
1335
1333
  factor?: number | undefined;
@@ -1340,20 +1338,21 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1340
1338
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1341
1339
  } | undefined;
1342
1340
  } | undefined;
1341
+ description?: string | undefined;
1343
1342
  triggerSource?: string | undefined;
1344
1343
  schedule?: {
1345
1344
  cron: string;
1346
1345
  timezone: string;
1347
1346
  } | undefined;
1348
1347
  }[];
1349
- workerEntryPoint: string;
1350
1348
  runtime: "node" | "node-22" | "bun";
1349
+ configPath: string;
1350
+ workerEntryPoint: string;
1351
1351
  queues?: {
1352
1352
  name: string;
1353
1353
  concurrencyLimit?: number | null | undefined;
1354
1354
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1355
1355
  }[] | undefined;
1356
- controllerEntryPoint?: string | undefined;
1357
1356
  loaderEntryPoint?: string | undefined;
1358
1357
  initEntryPoint?: string | undefined;
1359
1358
  customConditions?: string[] | undefined;
@@ -1361,30 +1360,29 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1361
1360
  include?: string[] | undefined;
1362
1361
  exclude?: string[] | undefined;
1363
1362
  } | undefined;
1363
+ controllerEntryPoint?: string | undefined;
1364
1364
  };
1365
1365
  };
1366
1366
  }, {
1367
1367
  type: "worker-manifest";
1368
1368
  data: {
1369
1369
  manifest: {
1370
- configPath: string;
1371
1370
  tasks: {
1372
1371
  id: string;
1373
1372
  filePath: string;
1374
1373
  entryPoint: string;
1375
- exportName?: string | undefined;
1376
1374
  maxDuration?: number | undefined;
1375
+ exportName?: string | undefined;
1377
1376
  queue?: {
1378
1377
  name?: string | undefined;
1379
1378
  concurrencyLimit?: number | null | undefined;
1380
1379
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1381
1380
  } | undefined;
1382
1381
  machine?: {
1383
- cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
1384
- memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
1382
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
1383
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
1385
1384
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1386
1385
  } | undefined;
1387
- description?: string | undefined;
1388
1386
  retry?: {
1389
1387
  maxAttempts?: number | undefined;
1390
1388
  factor?: number | undefined;
@@ -1395,20 +1393,21 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1395
1393
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1396
1394
  } | undefined;
1397
1395
  } | undefined;
1396
+ description?: string | undefined;
1398
1397
  triggerSource?: string | undefined;
1399
1398
  schedule?: {
1400
1399
  cron: string;
1401
1400
  timezone: string;
1402
1401
  } | undefined;
1403
1402
  }[];
1404
- workerEntryPoint: string;
1405
1403
  runtime: "node" | "node-22" | "bun";
1404
+ configPath: string;
1405
+ workerEntryPoint: string;
1406
1406
  queues?: {
1407
1407
  name: string;
1408
1408
  concurrencyLimit?: number | null | undefined;
1409
1409
  releaseConcurrencyOnWaitpoint?: boolean | undefined;
1410
1410
  }[] | undefined;
1411
- controllerEntryPoint?: string | undefined;
1412
1411
  loaderEntryPoint?: string | undefined;
1413
1412
  initEntryPoint?: string | undefined;
1414
1413
  customConditions?: string[] | undefined;
@@ -1416,6 +1415,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1416
1415
  include?: string[] | undefined;
1417
1416
  exclude?: string[] | undefined;
1418
1417
  } | undefined;
1418
+ controllerEntryPoint?: string | undefined;
1419
1419
  };
1420
1420
  };
1421
1421
  }>;