@trigger.dev/core 4.5.8 → 4.5.10

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 (341) hide show
  1. package/dist/commonjs/debounce.js.map +1 -1
  2. package/dist/commonjs/eventFilterMatches.js.map +1 -1
  3. package/dist/commonjs/logger.d.ts +1 -0
  4. package/dist/commonjs/logger.js +101 -29
  5. package/dist/commonjs/logger.js.map +1 -1
  6. package/dist/commonjs/package.json +6 -1
  7. package/dist/commonjs/retry.js.map +1 -1
  8. package/dist/commonjs/schemas/eventFilter.js.map +1 -1
  9. package/dist/commonjs/schemas/json.js.map +1 -1
  10. package/dist/commonjs/utils.js.map +1 -1
  11. package/dist/commonjs/v3/apiClient/core.js.map +1 -1
  12. package/dist/commonjs/v3/apiClient/errors.js.map +1 -1
  13. package/dist/commonjs/v3/apiClient/getBranch.js.map +1 -1
  14. package/dist/commonjs/v3/apiClient/index.d.ts +430 -422
  15. package/dist/commonjs/v3/apiClient/index.js +35 -0
  16. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  17. package/dist/commonjs/v3/apiClient/pagination.js.map +1 -1
  18. package/dist/commonjs/v3/apiClient/runStream.d.ts +8 -0
  19. package/dist/commonjs/v3/apiClient/runStream.js +64 -17
  20. package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
  21. package/dist/commonjs/v3/apiClient/runStream.test.js +34 -0
  22. package/dist/commonjs/v3/apiClient/runStream.test.js.map +1 -1
  23. package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
  24. package/dist/commonjs/v3/apiClientManager/index.js.map +1 -1
  25. package/dist/commonjs/v3/apiKeys.js.map +1 -1
  26. package/dist/commonjs/v3/apps/backoff.js.map +1 -1
  27. package/dist/commonjs/v3/apps/exec.js.map +1 -1
  28. package/dist/commonjs/v3/apps/http.js.map +1 -1
  29. package/dist/commonjs/v3/build/extensions.js.map +1 -1
  30. package/dist/commonjs/v3/build/flags.js.map +1 -1
  31. package/dist/commonjs/v3/build/runtime.js.map +1 -1
  32. package/dist/commonjs/v3/clock/clock.js.map +1 -1
  33. package/dist/commonjs/v3/clock/index.js.map +1 -1
  34. package/dist/commonjs/v3/clock/preciseWallClock.js.map +1 -1
  35. package/dist/commonjs/v3/clock/simpleClock.js.map +1 -1
  36. package/dist/commonjs/v3/consoleInterceptor.js.map +1 -1
  37. package/dist/commonjs/v3/errors.d.ts +4 -4
  38. package/dist/commonjs/v3/errors.js.map +1 -1
  39. package/dist/commonjs/v3/heartbeats/api.js.map +1 -1
  40. package/dist/commonjs/v3/heartbeats/manager.js.map +1 -1
  41. package/dist/commonjs/v3/icons.d.ts +1 -1
  42. package/dist/commonjs/v3/icons.js.map +1 -1
  43. package/dist/commonjs/v3/idempotency-key-catalog/inMemoryIdempotencyKeyCatalog.js.map +1 -1
  44. package/dist/commonjs/v3/idempotency-key-catalog/index.js.map +1 -1
  45. package/dist/commonjs/v3/idempotencyKeys.js.map +1 -1
  46. package/dist/commonjs/v3/index.js.map +1 -1
  47. package/dist/commonjs/v3/inputStreams/index.js.map +1 -1
  48. package/dist/commonjs/v3/inputStreams/manager.js.map +1 -1
  49. package/dist/commonjs/v3/inputStreams/noopManager.js.map +1 -1
  50. package/dist/commonjs/v3/inputStreams/types.js.map +1 -1
  51. package/dist/commonjs/v3/isomorphic/dates.js.map +1 -1
  52. package/dist/commonjs/v3/isomorphic/duration.js.map +1 -1
  53. package/dist/commonjs/v3/isomorphic/friendlyId.js.map +1 -1
  54. package/dist/commonjs/v3/isomorphic/maxDuration.js.map +1 -1
  55. package/dist/commonjs/v3/isomorphic/queueName.js.map +1 -1
  56. package/dist/commonjs/v3/isomorphic/runOpsResidency.js.map +1 -1
  57. package/dist/commonjs/v3/isomorphic/traceContext.js.map +1 -1
  58. package/dist/commonjs/v3/jwt.d.ts +2 -0
  59. package/dist/commonjs/v3/jwt.js +32 -0
  60. package/dist/commonjs/v3/jwt.js.map +1 -1
  61. package/dist/commonjs/v3/lifecycleHooks/index.js.map +1 -1
  62. package/dist/commonjs/v3/lifecycleHooks/manager.js.map +1 -1
  63. package/dist/commonjs/v3/limits.js.map +1 -1
  64. package/dist/commonjs/v3/locals/index.js.map +1 -1
  65. package/dist/commonjs/v3/locals/manager.js.map +1 -1
  66. package/dist/commonjs/v3/locals-api.js.map +1 -1
  67. package/dist/commonjs/v3/logger/index.js.map +1 -1
  68. package/dist/commonjs/v3/logger/taskLogger.js.map +1 -1
  69. package/dist/commonjs/v3/machines/index.js.map +1 -1
  70. package/dist/commonjs/v3/otel/diskIoMetrics.js.map +1 -1
  71. package/dist/commonjs/v3/otel/filesystemMetrics.js.map +1 -1
  72. package/dist/commonjs/v3/otel/nodejsRuntimeMetrics.js.map +1 -1
  73. package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
  74. package/dist/commonjs/v3/otel/utils.js.map +1 -1
  75. package/dist/commonjs/v3/realtimeStreams/index.js.map +1 -1
  76. package/dist/commonjs/v3/realtimeStreams/manager.js.map +1 -1
  77. package/dist/commonjs/v3/realtimeStreams/noopManager.js.map +1 -1
  78. package/dist/commonjs/v3/realtimeStreams/sessionStreamInstance.js.map +1 -1
  79. package/dist/commonjs/v3/realtimeStreams/sessionStreamOneshot.js.map +1 -1
  80. package/dist/commonjs/v3/realtimeStreams/streamInstance.js.map +1 -1
  81. package/dist/commonjs/v3/realtimeStreams/streamsWriterV1.js.map +1 -1
  82. package/dist/commonjs/v3/realtimeStreams/streamsWriterV2.js +10 -2
  83. package/dist/commonjs/v3/realtimeStreams/streamsWriterV2.js.map +1 -1
  84. package/dist/commonjs/v3/resource-catalog/index.js.map +1 -1
  85. package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
  86. package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
  87. package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPool.js.map +1 -1
  88. package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPoolMetrics.js.map +1 -1
  89. package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +211 -211
  90. package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
  91. package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
  92. package/dist/commonjs/v3/runEngineWorker/supervisor/queueMetricsProcessor.js.map +1 -1
  93. package/dist/commonjs/v3/runEngineWorker/supervisor/scalingStrategies.js.map +1 -1
  94. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +1126 -1126
  95. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
  96. package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
  97. package/dist/commonjs/v3/runEngineWorker/supervisor/util.js.map +1 -1
  98. package/dist/commonjs/v3/runEngineWorker/util.js.map +1 -1
  99. package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +162 -162
  100. package/dist/commonjs/v3/runEngineWorker/workload/http.js +8 -0
  101. package/dist/commonjs/v3/runEngineWorker/workload/http.js.map +1 -1
  102. package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +974 -974
  103. package/dist/commonjs/v3/runEngineWorker/workload/util.js.map +1 -1
  104. package/dist/commonjs/v3/runMetadata/index.js.map +1 -1
  105. package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
  106. package/dist/commonjs/v3/runMetadata/noopManager.js.map +1 -1
  107. package/dist/commonjs/v3/runMetadata/operations.js.map +1 -1
  108. package/dist/commonjs/v3/runTimelineMetrics/index.js.map +1 -1
  109. package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -1
  110. package/dist/commonjs/v3/runtime/index.js.map +1 -1
  111. package/dist/commonjs/v3/runtime/noopRuntimeManager.js.map +1 -1
  112. package/dist/commonjs/v3/runtime/preventMultipleWaits.js.map +1 -1
  113. package/dist/commonjs/v3/runtime/sharedRuntimeManager.js.map +1 -1
  114. package/dist/commonjs/v3/schemas/api.d.ts +2930 -2926
  115. package/dist/commonjs/v3/schemas/api.js +2 -0
  116. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  117. package/dist/commonjs/v3/schemas/build.d.ts +614 -614
  118. package/dist/commonjs/v3/schemas/build.js.map +1 -1
  119. package/dist/commonjs/v3/schemas/checkpoints.d.ts +237 -237
  120. package/dist/commonjs/v3/schemas/common.d.ts +1409 -1409
  121. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  122. package/dist/commonjs/v3/schemas/errors.d.ts +38 -38
  123. package/dist/commonjs/v3/schemas/errors.js.map +1 -1
  124. package/dist/commonjs/v3/schemas/eventFilter.js.map +1 -1
  125. package/dist/commonjs/v3/schemas/fetch.d.ts +70 -70
  126. package/dist/commonjs/v3/schemas/fetch.js.map +1 -1
  127. package/dist/commonjs/v3/schemas/idempotencyKey.test.js +14 -0
  128. package/dist/commonjs/v3/schemas/idempotencyKey.test.js.map +1 -1
  129. package/dist/commonjs/v3/schemas/messages.d.ts +994 -994
  130. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  131. package/dist/commonjs/v3/schemas/openTelemetry.d.ts +90 -90
  132. package/dist/commonjs/v3/schemas/openTelemetry.js.map +1 -1
  133. package/dist/commonjs/v3/schemas/query.d.ts +41 -41
  134. package/dist/commonjs/v3/schemas/query.js.map +1 -1
  135. package/dist/commonjs/v3/schemas/queues.d.ts +10 -10
  136. package/dist/commonjs/v3/schemas/queues.js.map +1 -1
  137. package/dist/commonjs/v3/schemas/resources.d.ts +128 -128
  138. package/dist/commonjs/v3/schemas/resources.js.map +1 -1
  139. package/dist/commonjs/v3/schemas/runEngine.d.ts +490 -490
  140. package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
  141. package/dist/commonjs/v3/schemas/schemas.d.ts +644 -644
  142. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  143. package/dist/commonjs/v3/schemas/style.d.ts +2 -2
  144. package/dist/commonjs/v3/schemas/style.js.map +1 -1
  145. package/dist/commonjs/v3/schemas/webhooks.d.ts +814 -814
  146. package/dist/commonjs/v3/schemas/webhooks.js.map +1 -1
  147. package/dist/commonjs/v3/sdkScope/index.js.map +1 -1
  148. package/dist/commonjs/v3/serverOnly/checkpointClient.d.ts +16 -0
  149. package/dist/commonjs/v3/serverOnly/checkpointClient.js +33 -0
  150. package/dist/commonjs/v3/serverOnly/checkpointClient.js.map +1 -1
  151. package/dist/commonjs/v3/serverOnly/httpServer.js.map +1 -1
  152. package/dist/commonjs/v3/serverOnly/idempotencyKeys.js.map +1 -1
  153. package/dist/commonjs/v3/serverOnly/jumpHash.js.map +1 -1
  154. package/dist/commonjs/v3/serverOnly/k8s.js.map +1 -1
  155. package/dist/commonjs/v3/serverOnly/placementTags.js.map +1 -1
  156. package/dist/commonjs/v3/serverOnly/shutdownManager.js.map +1 -1
  157. package/dist/commonjs/v3/serverOnly/singleton.js.map +1 -1
  158. package/dist/commonjs/v3/sessionStreams/chatSnapshot.js.map +1 -1
  159. package/dist/commonjs/v3/sessionStreams/index.js.map +1 -1
  160. package/dist/commonjs/v3/sessionStreams/manager.js.map +1 -1
  161. package/dist/commonjs/v3/sessionStreams/noopManager.js.map +1 -1
  162. package/dist/commonjs/v3/sessionStreams/types.js.map +1 -1
  163. package/dist/commonjs/v3/sessionStreams/wireProtocol.js.map +1 -1
  164. package/dist/commonjs/v3/streams/asyncIterableStream.js.map +1 -1
  165. package/dist/commonjs/v3/taskContext/index.js.map +1 -1
  166. package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
  167. package/dist/commonjs/v3/telnetLogServer.js.map +1 -1
  168. package/dist/commonjs/v3/test/index.d.ts +3 -0
  169. package/dist/commonjs/v3/test/index.js +7 -1
  170. package/dist/commonjs/v3/test/index.js.map +1 -1
  171. package/dist/commonjs/v3/test/mock-task-context.d.ts +16 -1
  172. package/dist/commonjs/v3/test/mock-task-context.js +13 -5
  173. package/dist/commonjs/v3/test/mock-task-context.js.map +1 -1
  174. package/dist/commonjs/v3/test/session-waitpoint-backend.d.ts +68 -0
  175. package/dist/commonjs/v3/test/session-waitpoint-backend.js +228 -0
  176. package/dist/commonjs/v3/test/session-waitpoint-backend.js.map +1 -0
  177. package/dist/commonjs/v3/test/test-input-stream-manager.js.map +1 -1
  178. package/dist/commonjs/v3/test/test-realtime-streams-manager.js.map +1 -1
  179. package/dist/commonjs/v3/test/test-run-metadata-manager.js.map +1 -1
  180. package/dist/commonjs/v3/test/test-session-stream-manager.js.map +1 -1
  181. package/dist/commonjs/v3/timeout/api.js.map +1 -1
  182. package/dist/commonjs/v3/timeout/types.js.map +1 -1
  183. package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -1
  184. package/dist/commonjs/v3/traceContext/api.js.map +1 -1
  185. package/dist/commonjs/v3/traceContext/manager.js.map +1 -1
  186. package/dist/commonjs/v3/tracer.js.map +1 -1
  187. package/dist/commonjs/v3/tryCatch.js.map +1 -1
  188. package/dist/commonjs/v3/types/schemas.js.map +1 -1
  189. package/dist/commonjs/v3/types/tasks.d.ts +21 -7
  190. package/dist/commonjs/v3/types/tasks.js.map +1 -1
  191. package/dist/commonjs/v3/types/tools.js.map +1 -1
  192. package/dist/commonjs/v3/usage/api.js.map +1 -1
  193. package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
  194. package/dist/commonjs/v3/usage/noopUsageManager.js.map +1 -1
  195. package/dist/commonjs/v3/usage/prodUsageManager.js.map +1 -1
  196. package/dist/commonjs/v3/usage/usageClient.js.map +1 -1
  197. package/dist/commonjs/v3/utils/crypto.js.map +1 -1
  198. package/dist/commonjs/v3/utils/durations.js.map +1 -1
  199. package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
  200. package/dist/commonjs/v3/utils/getEnv.js.map +1 -1
  201. package/dist/commonjs/v3/utils/gitBranch.js.map +1 -1
  202. package/dist/commonjs/v3/utils/globals.js.map +1 -1
  203. package/dist/commonjs/v3/utils/imageRef.js.map +1 -1
  204. package/dist/commonjs/v3/utils/interval.js.map +1 -1
  205. package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
  206. package/dist/commonjs/v3/utils/omit.js.map +1 -1
  207. package/dist/commonjs/v3/utils/reconnectBackoff.js.map +1 -1
  208. package/dist/commonjs/v3/utils/retries.js.map +1 -1
  209. package/dist/commonjs/v3/utils/safeAsyncLocalStorage.js.map +1 -1
  210. package/dist/commonjs/v3/utils/structuredLogger.js +3 -2
  211. package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -1
  212. package/dist/commonjs/v3/utils/styleAttributes.js.map +1 -1
  213. package/dist/commonjs/v3/utils/timers.js.map +1 -1
  214. package/dist/commonjs/v3/waitUntil/index.js.map +1 -1
  215. package/dist/commonjs/v3/waitUntil/manager.js.map +1 -1
  216. package/dist/commonjs/v3/waitpoints/index.js.map +1 -1
  217. package/dist/commonjs/v3/workers/populateEnv.js.map +1 -1
  218. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  219. package/dist/commonjs/v3/workers/warmStartClient.js.map +1 -1
  220. package/dist/commonjs/v3/workloadDeploymentToken.d.ts +2 -2
  221. package/dist/commonjs/v3/workloadDeploymentToken.js.map +1 -1
  222. package/dist/commonjs/v3/zodIpc.js.map +1 -1
  223. package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -2
  224. package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
  225. package/dist/commonjs/v3/zodSocket.js.map +1 -1
  226. package/dist/commonjs/version.js +1 -1
  227. package/dist/esm/logger.d.ts +1 -0
  228. package/dist/esm/logger.js +100 -29
  229. package/dist/esm/logger.js.map +1 -1
  230. package/dist/esm/package.json +6 -1
  231. package/dist/esm/retry.js.map +1 -1
  232. package/dist/esm/v3/apiClient/core.js.map +1 -1
  233. package/dist/esm/v3/apiClient/index.d.ts +430 -422
  234. package/dist/esm/v3/apiClient/index.js +35 -0
  235. package/dist/esm/v3/apiClient/index.js.map +1 -1
  236. package/dist/esm/v3/apiClient/pagination.js.map +1 -1
  237. package/dist/esm/v3/apiClient/runStream.d.ts +8 -0
  238. package/dist/esm/v3/apiClient/runStream.js +64 -17
  239. package/dist/esm/v3/apiClient/runStream.js.map +1 -1
  240. package/dist/esm/v3/apiClient/runStream.test.js +34 -0
  241. package/dist/esm/v3/apiClient/runStream.test.js.map +1 -1
  242. package/dist/esm/v3/apiClient/stream.js.map +1 -1
  243. package/dist/esm/v3/apiClientManager/index.js.map +1 -1
  244. package/dist/esm/v3/apps/backoff.js.map +1 -1
  245. package/dist/esm/v3/apps/exec.js.map +1 -1
  246. package/dist/esm/v3/apps/http.js.map +1 -1
  247. package/dist/esm/v3/build/extensions.js.map +1 -1
  248. package/dist/esm/v3/build/runtime.js.map +1 -1
  249. package/dist/esm/v3/clock/preciseWallClock.js.map +1 -1
  250. package/dist/esm/v3/consoleInterceptor.js.map +1 -1
  251. package/dist/esm/v3/errors.d.ts +4 -4
  252. package/dist/esm/v3/errors.js.map +1 -1
  253. package/dist/esm/v3/heartbeats/manager.js.map +1 -1
  254. package/dist/esm/v3/icons.d.ts +1 -1
  255. package/dist/esm/v3/idempotencyKeys.js.map +1 -1
  256. package/dist/esm/v3/inputStreams/manager.js.map +1 -1
  257. package/dist/esm/v3/inputStreams/types.js.map +1 -1
  258. package/dist/esm/v3/isomorphic/friendlyId.js.map +1 -1
  259. package/dist/esm/v3/jwt.d.ts +2 -0
  260. package/dist/esm/v3/jwt.js +30 -0
  261. package/dist/esm/v3/jwt.js.map +1 -1
  262. package/dist/esm/v3/logger/taskLogger.js.map +1 -1
  263. package/dist/esm/v3/machines/index.js.map +1 -1
  264. package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
  265. package/dist/esm/v3/realtimeStreams/manager.js.map +1 -1
  266. package/dist/esm/v3/realtimeStreams/sessionStreamInstance.js.map +1 -1
  267. package/dist/esm/v3/realtimeStreams/streamInstance.js.map +1 -1
  268. package/dist/esm/v3/realtimeStreams/streamsWriterV1.js.map +1 -1
  269. package/dist/esm/v3/realtimeStreams/streamsWriterV2.js +10 -2
  270. package/dist/esm/v3/realtimeStreams/streamsWriterV2.js.map +1 -1
  271. package/dist/esm/v3/runEngineWorker/supervisor/consumerPoolMetrics.js.map +1 -1
  272. package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +211 -211
  273. package/dist/esm/v3/runEngineWorker/supervisor/queueMetricsProcessor.js.map +1 -1
  274. package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +1126 -1126
  275. package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
  276. package/dist/esm/v3/runEngineWorker/workload/http.d.ts +162 -162
  277. package/dist/esm/v3/runEngineWorker/workload/http.js +8 -0
  278. package/dist/esm/v3/runEngineWorker/workload/http.js.map +1 -1
  279. package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +968 -968
  280. package/dist/esm/v3/runMetadata/manager.js.map +1 -1
  281. package/dist/esm/v3/runMetadata/operations.js.map +1 -1
  282. package/dist/esm/v3/runtime/sharedRuntimeManager.js.map +1 -1
  283. package/dist/esm/v3/schemas/api.d.ts +2930 -2926
  284. package/dist/esm/v3/schemas/api.js +2 -0
  285. package/dist/esm/v3/schemas/api.js.map +1 -1
  286. package/dist/esm/v3/schemas/build.d.ts +614 -614
  287. package/dist/esm/v3/schemas/checkpoints.d.ts +237 -237
  288. package/dist/esm/v3/schemas/common.d.ts +1409 -1409
  289. package/dist/esm/v3/schemas/errors.d.ts +38 -38
  290. package/dist/esm/v3/schemas/fetch.d.ts +70 -70
  291. package/dist/esm/v3/schemas/idempotencyKey.test.js +14 -0
  292. package/dist/esm/v3/schemas/idempotencyKey.test.js.map +1 -1
  293. package/dist/esm/v3/schemas/messages.d.ts +994 -994
  294. package/dist/esm/v3/schemas/openTelemetry.d.ts +90 -90
  295. package/dist/esm/v3/schemas/query.d.ts +41 -41
  296. package/dist/esm/v3/schemas/queues.d.ts +10 -10
  297. package/dist/esm/v3/schemas/resources.d.ts +128 -128
  298. package/dist/esm/v3/schemas/runEngine.d.ts +490 -490
  299. package/dist/esm/v3/schemas/schemas.d.ts +644 -644
  300. package/dist/esm/v3/schemas/style.d.ts +2 -2
  301. package/dist/esm/v3/schemas/webhooks.d.ts +814 -814
  302. package/dist/esm/v3/serverOnly/checkpointClient.d.ts +16 -0
  303. package/dist/esm/v3/serverOnly/checkpointClient.js +33 -0
  304. package/dist/esm/v3/serverOnly/checkpointClient.js.map +1 -1
  305. package/dist/esm/v3/serverOnly/placementTags.js.map +1 -1
  306. package/dist/esm/v3/serverOnly/shutdownManager.js.map +1 -1
  307. package/dist/esm/v3/sessionStreams/manager.js.map +1 -1
  308. package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
  309. package/dist/esm/v3/test/index.d.ts +3 -0
  310. package/dist/esm/v3/test/index.js +2 -0
  311. package/dist/esm/v3/test/index.js.map +1 -1
  312. package/dist/esm/v3/test/mock-task-context.d.ts +16 -1
  313. package/dist/esm/v3/test/mock-task-context.js +13 -5
  314. package/dist/esm/v3/test/mock-task-context.js.map +1 -1
  315. package/dist/esm/v3/test/session-waitpoint-backend.d.ts +68 -0
  316. package/dist/esm/v3/test/session-waitpoint-backend.js +222 -0
  317. package/dist/esm/v3/test/session-waitpoint-backend.js.map +1 -0
  318. package/dist/esm/v3/timeout/types.js.map +1 -1
  319. package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -1
  320. package/dist/esm/v3/tracer.js.map +1 -1
  321. package/dist/esm/v3/types/tasks.d.ts +21 -7
  322. package/dist/esm/v3/types/tasks.js.map +1 -1
  323. package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
  324. package/dist/esm/v3/usage/prodUsageManager.js.map +1 -1
  325. package/dist/esm/v3/usage/usageClient.js.map +1 -1
  326. package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
  327. package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
  328. package/dist/esm/v3/utils/retries.js.map +1 -1
  329. package/dist/esm/v3/utils/structuredLogger.js +3 -2
  330. package/dist/esm/v3/utils/structuredLogger.js.map +1 -1
  331. package/dist/esm/v3/utils/timers.js.map +1 -1
  332. package/dist/esm/v3/waitUntil/manager.js.map +1 -1
  333. package/dist/esm/v3/workers/populateEnv.js.map +1 -1
  334. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  335. package/dist/esm/v3/workers/warmStartClient.js.map +1 -1
  336. package/dist/esm/v3/workloadDeploymentToken.d.ts +2 -2
  337. package/dist/esm/v3/zodIpc.js.map +1 -1
  338. package/dist/esm/v3/zodMessageHandler.d.ts +2 -2
  339. package/dist/esm/v3/zodMessageHandler.js.map +1 -1
  340. package/dist/esm/version.js +1 -1
  341. package/package.json +18 -3
@@ -38,21 +38,21 @@ export declare const BuildManifest: z.ZodObject<{
38
38
  entry: z.ZodString;
39
39
  out: z.ZodString;
40
40
  }, "strip", z.ZodTypeAny, {
41
- out: string;
42
41
  entry: string;
43
- }, {
44
42
  out: string;
43
+ }, {
45
44
  entry: string;
45
+ out: string;
46
46
  }>, "many">;
47
47
  sources: z.ZodRecord<z.ZodString, z.ZodObject<{
48
48
  contents: z.ZodString;
49
49
  contentHash: z.ZodString;
50
50
  }, "strip", z.ZodTypeAny, {
51
- contentHash: string;
52
51
  contents: string;
53
- }, {
54
52
  contentHash: string;
53
+ }, {
55
54
  contents: string;
55
+ contentHash: string;
56
56
  }>>;
57
57
  outputPath: z.ZodString;
58
58
  runWorkerEntryPoint: z.ZodString;
@@ -148,141 +148,141 @@ export declare const BuildManifest: z.ZodObject<{
148
148
  id: z.ZodString;
149
149
  sourcePath: z.ZodString;
150
150
  }, "strip", z.ZodTypeAny, {
151
- id: string;
152
151
  filePath: string;
152
+ exportName?: string | undefined;
153
153
  entryPoint: string;
154
+ id: string;
154
155
  sourcePath: string;
155
- exportName?: string | undefined;
156
156
  }, {
157
- id: string;
158
157
  filePath: string;
158
+ exportName?: string | undefined;
159
159
  entryPoint: string;
160
+ id: string;
160
161
  sourcePath: string;
161
- exportName?: string | undefined;
162
162
  }>, "many">>;
163
163
  }, "strip", z.ZodTypeAny, {
164
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
164
+ target: "deploy" | "dev" | "unmanaged";
165
+ packageVersion: string;
166
+ cliPackageVersion: string;
167
+ contentHash: string;
168
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
165
169
  environment: string;
170
+ branch?: string | undefined;
166
171
  config: {
167
172
  project: string;
168
173
  dirs: string[];
169
174
  };
170
- contentHash: string;
171
- packageVersion: string;
172
- cliPackageVersion: string;
173
- deploy: {
174
- env?: Record<string, string> | undefined;
175
- sync?: {
176
- env?: Record<string, string> | undefined;
177
- parentEnv?: Record<string, string> | undefined;
178
- secretEnv?: Record<string, string> | undefined;
179
- secretParentEnv?: Record<string, string> | undefined;
180
- } | undefined;
181
- };
182
- target: "dev" | "deploy" | "unmanaged";
183
175
  files: {
184
- out: string;
185
176
  entry: string;
177
+ out: string;
186
178
  }[];
187
179
  sources: Record<string, {
188
- contentHash: string;
189
180
  contents: string;
181
+ contentHash: string;
190
182
  }>;
191
183
  outputPath: string;
192
184
  runWorkerEntryPoint: string;
185
+ runControllerEntryPoint?: string | undefined;
193
186
  indexWorkerEntryPoint: string;
187
+ indexControllerEntryPoint?: string | undefined;
188
+ loaderEntryPoint?: string | undefined;
189
+ initEntryPoint?: string | undefined;
194
190
  configPath: string;
191
+ externals?: {
192
+ name: string;
193
+ version: string;
194
+ }[] | undefined;
195
195
  build: {
196
196
  env?: Record<string, string> | undefined;
197
197
  commands?: string[] | undefined;
198
198
  };
199
+ customConditions?: string[] | undefined;
200
+ deploy: {
201
+ env?: Record<string, string> | undefined;
202
+ sync?: {
203
+ env?: Record<string, string> | undefined;
204
+ parentEnv?: Record<string, string> | undefined;
205
+ secretEnv?: Record<string, string> | undefined;
206
+ secretParentEnv?: Record<string, string> | undefined;
207
+ } | undefined;
208
+ };
199
209
  image?: {
200
210
  pkgs?: string[] | undefined;
201
211
  instructions?: string[] | undefined;
202
212
  } | undefined;
203
- branch?: string | undefined;
204
- runControllerEntryPoint?: string | undefined;
205
- indexControllerEntryPoint?: string | undefined;
206
- loaderEntryPoint?: string | undefined;
207
- initEntryPoint?: string | undefined;
208
- externals?: {
209
- name: string;
210
- version: string;
211
- }[] | undefined;
212
- customConditions?: string[] | undefined;
213
213
  otelImportHook?: {
214
214
  include?: string[] | undefined;
215
215
  exclude?: string[] | undefined;
216
216
  } | undefined;
217
217
  outputHashes?: Record<string, string> | undefined;
218
218
  skills?: {
219
- id: string;
220
219
  filePath: string;
220
+ exportName?: string | undefined;
221
221
  entryPoint: string;
222
+ id: string;
222
223
  sourcePath: string;
223
- exportName?: string | undefined;
224
224
  }[] | undefined;
225
225
  }, {
226
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
226
+ target: "deploy" | "dev" | "unmanaged";
227
+ packageVersion: string;
228
+ cliPackageVersion: string;
229
+ contentHash: string;
230
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
227
231
  environment: string;
232
+ branch?: string | undefined;
228
233
  config: {
229
234
  project: string;
230
235
  dirs: string[];
231
236
  };
232
- contentHash: string;
233
- packageVersion: string;
234
- cliPackageVersion: string;
235
- deploy: {
236
- env?: Record<string, string> | undefined;
237
- sync?: {
238
- env?: Record<string, string> | undefined;
239
- parentEnv?: Record<string, string> | undefined;
240
- secretEnv?: Record<string, string> | undefined;
241
- secretParentEnv?: Record<string, string> | undefined;
242
- } | undefined;
243
- };
244
- target: "dev" | "deploy" | "unmanaged";
245
237
  files: {
246
- out: string;
247
238
  entry: string;
239
+ out: string;
248
240
  }[];
249
241
  sources: Record<string, {
250
- contentHash: string;
251
242
  contents: string;
243
+ contentHash: string;
252
244
  }>;
253
245
  outputPath: string;
254
246
  runWorkerEntryPoint: string;
247
+ runControllerEntryPoint?: string | undefined;
255
248
  indexWorkerEntryPoint: string;
249
+ indexControllerEntryPoint?: string | undefined;
250
+ loaderEntryPoint?: string | undefined;
251
+ initEntryPoint?: string | undefined;
256
252
  configPath: string;
253
+ externals?: {
254
+ name: string;
255
+ version: string;
256
+ }[] | undefined;
257
257
  build: {
258
258
  env?: Record<string, string> | undefined;
259
259
  commands?: string[] | undefined;
260
260
  };
261
+ customConditions?: string[] | undefined;
262
+ deploy: {
263
+ env?: Record<string, string> | undefined;
264
+ sync?: {
265
+ env?: Record<string, string> | undefined;
266
+ parentEnv?: Record<string, string> | undefined;
267
+ secretEnv?: Record<string, string> | undefined;
268
+ secretParentEnv?: Record<string, string> | undefined;
269
+ } | undefined;
270
+ };
261
271
  image?: {
262
272
  pkgs?: string[] | undefined;
263
273
  instructions?: string[] | undefined;
264
274
  } | undefined;
265
- branch?: string | undefined;
266
- runControllerEntryPoint?: string | undefined;
267
- indexControllerEntryPoint?: string | undefined;
268
- loaderEntryPoint?: string | undefined;
269
- initEntryPoint?: string | undefined;
270
- externals?: {
271
- name: string;
272
- version: string;
273
- }[] | undefined;
274
- customConditions?: string[] | undefined;
275
275
  otelImportHook?: {
276
276
  include?: string[] | undefined;
277
277
  exclude?: string[] | undefined;
278
278
  } | undefined;
279
279
  outputHashes?: Record<string, string> | undefined;
280
280
  skills?: {
281
- id: string;
282
281
  filePath: string;
282
+ exportName?: string | undefined;
283
283
  entryPoint: string;
284
+ id: string;
284
285
  sourcePath: string;
285
- exportName?: string | undefined;
286
286
  }[] | undefined;
287
287
  }>;
288
288
  export type BuildManifest = z.infer<typeof BuildManifest>;
@@ -311,21 +311,21 @@ export declare const IndexMessage: z.ZodObject<{
311
311
  entry: z.ZodString;
312
312
  out: z.ZodString;
313
313
  }, "strip", z.ZodTypeAny, {
314
- out: string;
315
314
  entry: string;
316
- }, {
317
315
  out: string;
316
+ }, {
318
317
  entry: string;
318
+ out: string;
319
319
  }>, "many">;
320
320
  sources: z.ZodRecord<z.ZodString, z.ZodObject<{
321
321
  contents: z.ZodString;
322
322
  contentHash: z.ZodString;
323
323
  }, "strip", z.ZodTypeAny, {
324
- contentHash: string;
325
324
  contents: string;
326
- }, {
327
325
  contentHash: string;
326
+ }, {
328
327
  contents: string;
328
+ contentHash: string;
329
329
  }>>;
330
330
  outputPath: z.ZodString;
331
331
  runWorkerEntryPoint: z.ZodString;
@@ -421,269 +421,269 @@ export declare const IndexMessage: z.ZodObject<{
421
421
  id: z.ZodString;
422
422
  sourcePath: z.ZodString;
423
423
  }, "strip", z.ZodTypeAny, {
424
- id: string;
425
424
  filePath: string;
425
+ exportName?: string | undefined;
426
426
  entryPoint: string;
427
+ id: string;
427
428
  sourcePath: string;
428
- exportName?: string | undefined;
429
429
  }, {
430
- id: string;
431
430
  filePath: string;
431
+ exportName?: string | undefined;
432
432
  entryPoint: string;
433
+ id: string;
433
434
  sourcePath: string;
434
- exportName?: string | undefined;
435
435
  }>, "many">>;
436
436
  }, "strip", z.ZodTypeAny, {
437
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
437
+ target: "deploy" | "dev" | "unmanaged";
438
+ packageVersion: string;
439
+ cliPackageVersion: string;
440
+ contentHash: string;
441
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
438
442
  environment: string;
443
+ branch?: string | undefined;
439
444
  config: {
440
445
  project: string;
441
446
  dirs: string[];
442
447
  };
443
- contentHash: string;
444
- packageVersion: string;
445
- cliPackageVersion: string;
446
- deploy: {
447
- env?: Record<string, string> | undefined;
448
- sync?: {
449
- env?: Record<string, string> | undefined;
450
- parentEnv?: Record<string, string> | undefined;
451
- secretEnv?: Record<string, string> | undefined;
452
- secretParentEnv?: Record<string, string> | undefined;
453
- } | undefined;
454
- };
455
- target: "dev" | "deploy" | "unmanaged";
456
448
  files: {
457
- out: string;
458
449
  entry: string;
450
+ out: string;
459
451
  }[];
460
452
  sources: Record<string, {
461
- contentHash: string;
462
453
  contents: string;
454
+ contentHash: string;
463
455
  }>;
464
456
  outputPath: string;
465
457
  runWorkerEntryPoint: string;
458
+ runControllerEntryPoint?: string | undefined;
466
459
  indexWorkerEntryPoint: string;
460
+ indexControllerEntryPoint?: string | undefined;
461
+ loaderEntryPoint?: string | undefined;
462
+ initEntryPoint?: string | undefined;
467
463
  configPath: string;
464
+ externals?: {
465
+ name: string;
466
+ version: string;
467
+ }[] | undefined;
468
468
  build: {
469
469
  env?: Record<string, string> | undefined;
470
470
  commands?: string[] | undefined;
471
471
  };
472
+ customConditions?: string[] | undefined;
473
+ deploy: {
474
+ env?: Record<string, string> | undefined;
475
+ sync?: {
476
+ env?: Record<string, string> | undefined;
477
+ parentEnv?: Record<string, string> | undefined;
478
+ secretEnv?: Record<string, string> | undefined;
479
+ secretParentEnv?: Record<string, string> | undefined;
480
+ } | undefined;
481
+ };
472
482
  image?: {
473
483
  pkgs?: string[] | undefined;
474
484
  instructions?: string[] | undefined;
475
485
  } | undefined;
476
- branch?: string | undefined;
477
- runControllerEntryPoint?: string | undefined;
478
- indexControllerEntryPoint?: string | undefined;
479
- loaderEntryPoint?: string | undefined;
480
- initEntryPoint?: string | undefined;
481
- externals?: {
482
- name: string;
483
- version: string;
484
- }[] | undefined;
485
- customConditions?: string[] | undefined;
486
486
  otelImportHook?: {
487
487
  include?: string[] | undefined;
488
488
  exclude?: string[] | undefined;
489
489
  } | undefined;
490
490
  outputHashes?: Record<string, string> | undefined;
491
491
  skills?: {
492
- id: string;
493
492
  filePath: string;
493
+ exportName?: string | undefined;
494
494
  entryPoint: string;
495
+ id: string;
495
496
  sourcePath: string;
496
- exportName?: string | undefined;
497
497
  }[] | undefined;
498
498
  }, {
499
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
499
+ target: "deploy" | "dev" | "unmanaged";
500
+ packageVersion: string;
501
+ cliPackageVersion: string;
502
+ contentHash: string;
503
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
500
504
  environment: string;
505
+ branch?: string | undefined;
501
506
  config: {
502
507
  project: string;
503
508
  dirs: string[];
504
509
  };
505
- contentHash: string;
506
- packageVersion: string;
507
- cliPackageVersion: string;
508
- deploy: {
509
- env?: Record<string, string> | undefined;
510
- sync?: {
511
- env?: Record<string, string> | undefined;
512
- parentEnv?: Record<string, string> | undefined;
513
- secretEnv?: Record<string, string> | undefined;
514
- secretParentEnv?: Record<string, string> | undefined;
515
- } | undefined;
516
- };
517
- target: "dev" | "deploy" | "unmanaged";
518
510
  files: {
519
- out: string;
520
511
  entry: string;
512
+ out: string;
521
513
  }[];
522
514
  sources: Record<string, {
523
- contentHash: string;
524
515
  contents: string;
516
+ contentHash: string;
525
517
  }>;
526
518
  outputPath: string;
527
519
  runWorkerEntryPoint: string;
520
+ runControllerEntryPoint?: string | undefined;
528
521
  indexWorkerEntryPoint: string;
522
+ indexControllerEntryPoint?: string | undefined;
523
+ loaderEntryPoint?: string | undefined;
524
+ initEntryPoint?: string | undefined;
529
525
  configPath: string;
526
+ externals?: {
527
+ name: string;
528
+ version: string;
529
+ }[] | undefined;
530
530
  build: {
531
531
  env?: Record<string, string> | undefined;
532
532
  commands?: string[] | undefined;
533
533
  };
534
+ customConditions?: string[] | undefined;
535
+ deploy: {
536
+ env?: Record<string, string> | undefined;
537
+ sync?: {
538
+ env?: Record<string, string> | undefined;
539
+ parentEnv?: Record<string, string> | undefined;
540
+ secretEnv?: Record<string, string> | undefined;
541
+ secretParentEnv?: Record<string, string> | undefined;
542
+ } | undefined;
543
+ };
534
544
  image?: {
535
545
  pkgs?: string[] | undefined;
536
546
  instructions?: string[] | undefined;
537
547
  } | undefined;
538
- branch?: string | undefined;
539
- runControllerEntryPoint?: string | undefined;
540
- indexControllerEntryPoint?: string | undefined;
541
- loaderEntryPoint?: string | undefined;
542
- initEntryPoint?: string | undefined;
543
- externals?: {
544
- name: string;
545
- version: string;
546
- }[] | undefined;
547
- customConditions?: string[] | undefined;
548
548
  otelImportHook?: {
549
549
  include?: string[] | undefined;
550
550
  exclude?: string[] | undefined;
551
551
  } | undefined;
552
552
  outputHashes?: Record<string, string> | undefined;
553
553
  skills?: {
554
- id: string;
555
554
  filePath: string;
555
+ exportName?: string | undefined;
556
556
  entryPoint: string;
557
+ id: string;
557
558
  sourcePath: string;
558
- exportName?: string | undefined;
559
559
  }[] | undefined;
560
560
  }>;
561
561
  }, "strip", z.ZodTypeAny, {
562
562
  build: {
563
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
563
+ target: "deploy" | "dev" | "unmanaged";
564
+ packageVersion: string;
565
+ cliPackageVersion: string;
566
+ contentHash: string;
567
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
564
568
  environment: string;
569
+ branch?: string | undefined;
565
570
  config: {
566
571
  project: string;
567
572
  dirs: string[];
568
573
  };
569
- contentHash: string;
570
- packageVersion: string;
571
- cliPackageVersion: string;
572
- deploy: {
573
- env?: Record<string, string> | undefined;
574
- sync?: {
575
- env?: Record<string, string> | undefined;
576
- parentEnv?: Record<string, string> | undefined;
577
- secretEnv?: Record<string, string> | undefined;
578
- secretParentEnv?: Record<string, string> | undefined;
579
- } | undefined;
580
- };
581
- target: "dev" | "deploy" | "unmanaged";
582
574
  files: {
583
- out: string;
584
575
  entry: string;
576
+ out: string;
585
577
  }[];
586
578
  sources: Record<string, {
587
- contentHash: string;
588
579
  contents: string;
580
+ contentHash: string;
589
581
  }>;
590
582
  outputPath: string;
591
583
  runWorkerEntryPoint: string;
584
+ runControllerEntryPoint?: string | undefined;
592
585
  indexWorkerEntryPoint: string;
586
+ indexControllerEntryPoint?: string | undefined;
587
+ loaderEntryPoint?: string | undefined;
588
+ initEntryPoint?: string | undefined;
593
589
  configPath: string;
590
+ externals?: {
591
+ name: string;
592
+ version: string;
593
+ }[] | undefined;
594
594
  build: {
595
595
  env?: Record<string, string> | undefined;
596
596
  commands?: string[] | undefined;
597
597
  };
598
+ customConditions?: string[] | undefined;
599
+ deploy: {
600
+ env?: Record<string, string> | undefined;
601
+ sync?: {
602
+ env?: Record<string, string> | undefined;
603
+ parentEnv?: Record<string, string> | undefined;
604
+ secretEnv?: Record<string, string> | undefined;
605
+ secretParentEnv?: Record<string, string> | undefined;
606
+ } | undefined;
607
+ };
598
608
  image?: {
599
609
  pkgs?: string[] | undefined;
600
610
  instructions?: string[] | undefined;
601
611
  } | undefined;
602
- branch?: string | undefined;
603
- runControllerEntryPoint?: string | undefined;
604
- indexControllerEntryPoint?: string | undefined;
605
- loaderEntryPoint?: string | undefined;
606
- initEntryPoint?: string | undefined;
607
- externals?: {
608
- name: string;
609
- version: string;
610
- }[] | undefined;
611
- customConditions?: string[] | undefined;
612
612
  otelImportHook?: {
613
613
  include?: string[] | undefined;
614
614
  exclude?: string[] | undefined;
615
615
  } | undefined;
616
616
  outputHashes?: Record<string, string> | undefined;
617
617
  skills?: {
618
- id: string;
619
618
  filePath: string;
619
+ exportName?: string | undefined;
620
620
  entryPoint: string;
621
+ id: string;
621
622
  sourcePath: string;
622
- exportName?: string | undefined;
623
623
  }[] | undefined;
624
624
  };
625
625
  }, {
626
626
  build: {
627
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
627
+ target: "deploy" | "dev" | "unmanaged";
628
+ packageVersion: string;
629
+ cliPackageVersion: string;
630
+ contentHash: string;
631
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
628
632
  environment: string;
633
+ branch?: string | undefined;
629
634
  config: {
630
635
  project: string;
631
636
  dirs: string[];
632
637
  };
633
- contentHash: string;
634
- packageVersion: string;
635
- cliPackageVersion: string;
636
- deploy: {
637
- env?: Record<string, string> | undefined;
638
- sync?: {
639
- env?: Record<string, string> | undefined;
640
- parentEnv?: Record<string, string> | undefined;
641
- secretEnv?: Record<string, string> | undefined;
642
- secretParentEnv?: Record<string, string> | undefined;
643
- } | undefined;
644
- };
645
- target: "dev" | "deploy" | "unmanaged";
646
638
  files: {
647
- out: string;
648
639
  entry: string;
640
+ out: string;
649
641
  }[];
650
642
  sources: Record<string, {
651
- contentHash: string;
652
643
  contents: string;
644
+ contentHash: string;
653
645
  }>;
654
646
  outputPath: string;
655
647
  runWorkerEntryPoint: string;
648
+ runControllerEntryPoint?: string | undefined;
656
649
  indexWorkerEntryPoint: string;
650
+ indexControllerEntryPoint?: string | undefined;
651
+ loaderEntryPoint?: string | undefined;
652
+ initEntryPoint?: string | undefined;
657
653
  configPath: string;
654
+ externals?: {
655
+ name: string;
656
+ version: string;
657
+ }[] | undefined;
658
658
  build: {
659
659
  env?: Record<string, string> | undefined;
660
660
  commands?: string[] | undefined;
661
661
  };
662
+ customConditions?: string[] | undefined;
663
+ deploy: {
664
+ env?: Record<string, string> | undefined;
665
+ sync?: {
666
+ env?: Record<string, string> | undefined;
667
+ parentEnv?: Record<string, string> | undefined;
668
+ secretEnv?: Record<string, string> | undefined;
669
+ secretParentEnv?: Record<string, string> | undefined;
670
+ } | undefined;
671
+ };
662
672
  image?: {
663
673
  pkgs?: string[] | undefined;
664
674
  instructions?: string[] | undefined;
665
675
  } | undefined;
666
- branch?: string | undefined;
667
- runControllerEntryPoint?: string | undefined;
668
- indexControllerEntryPoint?: string | undefined;
669
- loaderEntryPoint?: string | undefined;
670
- initEntryPoint?: string | undefined;
671
- externals?: {
672
- name: string;
673
- version: string;
674
- }[] | undefined;
675
- customConditions?: string[] | undefined;
676
676
  otelImportHook?: {
677
677
  include?: string[] | undefined;
678
678
  exclude?: string[] | undefined;
679
679
  } | undefined;
680
680
  outputHashes?: Record<string, string> | undefined;
681
681
  skills?: {
682
- id: string;
683
682
  filePath: string;
683
+ exportName?: string | undefined;
684
684
  entryPoint: string;
685
+ id: string;
685
686
  sourcePath: string;
686
- exportName?: string | undefined;
687
687
  }[] | undefined;
688
688
  };
689
689
  }>;
@@ -691,66 +691,66 @@ export declare const IndexMessage: z.ZodObject<{
691
691
  type: "index";
692
692
  data: {
693
693
  build: {
694
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
694
+ target: "deploy" | "dev" | "unmanaged";
695
+ packageVersion: string;
696
+ cliPackageVersion: string;
697
+ contentHash: string;
698
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
695
699
  environment: string;
700
+ branch?: string | undefined;
696
701
  config: {
697
702
  project: string;
698
703
  dirs: string[];
699
704
  };
700
- contentHash: string;
701
- packageVersion: string;
702
- cliPackageVersion: string;
703
- deploy: {
704
- env?: Record<string, string> | undefined;
705
- sync?: {
706
- env?: Record<string, string> | undefined;
707
- parentEnv?: Record<string, string> | undefined;
708
- secretEnv?: Record<string, string> | undefined;
709
- secretParentEnv?: Record<string, string> | undefined;
710
- } | undefined;
711
- };
712
- target: "dev" | "deploy" | "unmanaged";
713
705
  files: {
714
- out: string;
715
706
  entry: string;
707
+ out: string;
716
708
  }[];
717
709
  sources: Record<string, {
718
- contentHash: string;
719
710
  contents: string;
711
+ contentHash: string;
720
712
  }>;
721
713
  outputPath: string;
722
714
  runWorkerEntryPoint: string;
715
+ runControllerEntryPoint?: string | undefined;
723
716
  indexWorkerEntryPoint: string;
717
+ indexControllerEntryPoint?: string | undefined;
718
+ loaderEntryPoint?: string | undefined;
719
+ initEntryPoint?: string | undefined;
724
720
  configPath: string;
721
+ externals?: {
722
+ name: string;
723
+ version: string;
724
+ }[] | undefined;
725
725
  build: {
726
726
  env?: Record<string, string> | undefined;
727
727
  commands?: string[] | undefined;
728
728
  };
729
+ customConditions?: string[] | undefined;
730
+ deploy: {
731
+ env?: Record<string, string> | undefined;
732
+ sync?: {
733
+ env?: Record<string, string> | undefined;
734
+ parentEnv?: Record<string, string> | undefined;
735
+ secretEnv?: Record<string, string> | undefined;
736
+ secretParentEnv?: Record<string, string> | undefined;
737
+ } | undefined;
738
+ };
729
739
  image?: {
730
740
  pkgs?: string[] | undefined;
731
741
  instructions?: string[] | undefined;
732
742
  } | undefined;
733
- branch?: string | undefined;
734
- runControllerEntryPoint?: string | undefined;
735
- indexControllerEntryPoint?: string | undefined;
736
- loaderEntryPoint?: string | undefined;
737
- initEntryPoint?: string | undefined;
738
- externals?: {
739
- name: string;
740
- version: string;
741
- }[] | undefined;
742
- customConditions?: string[] | undefined;
743
743
  otelImportHook?: {
744
744
  include?: string[] | undefined;
745
745
  exclude?: string[] | undefined;
746
746
  } | undefined;
747
747
  outputHashes?: Record<string, string> | undefined;
748
748
  skills?: {
749
- id: string;
750
749
  filePath: string;
750
+ exportName?: string | undefined;
751
751
  entryPoint: string;
752
+ id: string;
752
753
  sourcePath: string;
753
- exportName?: string | undefined;
754
754
  }[] | undefined;
755
755
  };
756
756
  };
@@ -758,66 +758,66 @@ export declare const IndexMessage: z.ZodObject<{
758
758
  type: "index";
759
759
  data: {
760
760
  build: {
761
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
761
+ target: "deploy" | "dev" | "unmanaged";
762
+ packageVersion: string;
763
+ cliPackageVersion: string;
764
+ contentHash: string;
765
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
762
766
  environment: string;
767
+ branch?: string | undefined;
763
768
  config: {
764
769
  project: string;
765
770
  dirs: string[];
766
771
  };
767
- contentHash: string;
768
- packageVersion: string;
769
- cliPackageVersion: string;
770
- deploy: {
771
- env?: Record<string, string> | undefined;
772
- sync?: {
773
- env?: Record<string, string> | undefined;
774
- parentEnv?: Record<string, string> | undefined;
775
- secretEnv?: Record<string, string> | undefined;
776
- secretParentEnv?: Record<string, string> | undefined;
777
- } | undefined;
778
- };
779
- target: "dev" | "deploy" | "unmanaged";
780
772
  files: {
781
- out: string;
782
773
  entry: string;
774
+ out: string;
783
775
  }[];
784
776
  sources: Record<string, {
785
- contentHash: string;
786
777
  contents: string;
778
+ contentHash: string;
787
779
  }>;
788
780
  outputPath: string;
789
781
  runWorkerEntryPoint: string;
782
+ runControllerEntryPoint?: string | undefined;
790
783
  indexWorkerEntryPoint: string;
784
+ indexControllerEntryPoint?: string | undefined;
785
+ loaderEntryPoint?: string | undefined;
786
+ initEntryPoint?: string | undefined;
791
787
  configPath: string;
788
+ externals?: {
789
+ name: string;
790
+ version: string;
791
+ }[] | undefined;
792
792
  build: {
793
793
  env?: Record<string, string> | undefined;
794
794
  commands?: string[] | undefined;
795
795
  };
796
+ customConditions?: string[] | undefined;
797
+ deploy: {
798
+ env?: Record<string, string> | undefined;
799
+ sync?: {
800
+ env?: Record<string, string> | undefined;
801
+ parentEnv?: Record<string, string> | undefined;
802
+ secretEnv?: Record<string, string> | undefined;
803
+ secretParentEnv?: Record<string, string> | undefined;
804
+ } | undefined;
805
+ };
796
806
  image?: {
797
807
  pkgs?: string[] | undefined;
798
808
  instructions?: string[] | undefined;
799
809
  } | undefined;
800
- branch?: string | undefined;
801
- runControllerEntryPoint?: string | undefined;
802
- indexControllerEntryPoint?: string | undefined;
803
- loaderEntryPoint?: string | undefined;
804
- initEntryPoint?: string | undefined;
805
- externals?: {
806
- name: string;
807
- version: string;
808
- }[] | undefined;
809
- customConditions?: string[] | undefined;
810
810
  otelImportHook?: {
811
811
  include?: string[] | undefined;
812
812
  exclude?: string[] | undefined;
813
813
  } | undefined;
814
814
  outputHashes?: Record<string, string> | undefined;
815
815
  skills?: {
816
- id: string;
817
816
  filePath: string;
817
+ exportName?: string | undefined;
818
818
  entryPoint: string;
819
+ id: string;
819
820
  sourcePath: string;
820
- exportName?: string | undefined;
821
821
  }[] | undefined;
822
822
  };
823
823
  };
@@ -826,9 +826,6 @@ export type IndexMessage = z.infer<typeof IndexMessage>;
826
826
  export declare const WorkerManifest: z.ZodObject<{
827
827
  configPath: z.ZodString;
828
828
  tasks: z.ZodArray<z.ZodObject<{
829
- filePath: z.ZodString;
830
- exportName: z.ZodOptional<z.ZodString>;
831
- entryPoint: z.ZodString;
832
829
  id: z.ZodString;
833
830
  description: z.ZodOptional<z.ZodString>;
834
831
  queue: z.ZodOptional<z.ZodObject<{
@@ -836,11 +833,11 @@ export declare const WorkerManifest: z.ZodObject<{
836
833
  } & {
837
834
  name: z.ZodOptional<z.ZodString>;
838
835
  }, "strip", z.ZodTypeAny, {
839
- name?: string | undefined;
840
836
  concurrencyLimit?: number | null | undefined;
841
- }, {
842
837
  name?: string | undefined;
838
+ }, {
843
839
  concurrencyLimit?: number | null | undefined;
840
+ name?: string | undefined;
844
841
  }>>;
845
842
  retry: z.ZodOptional<z.ZodObject<{
846
843
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -851,9 +848,9 @@ export declare const WorkerManifest: z.ZodObject<{
851
848
  outOfMemory: z.ZodOptional<z.ZodObject<{
852
849
  machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
853
850
  }, "strip", z.ZodTypeAny, {
854
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
851
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
855
852
  }, {
856
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
853
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
857
854
  }>>;
858
855
  }, "strip", z.ZodTypeAny, {
859
856
  maxAttempts?: number | undefined;
@@ -862,7 +859,7 @@ export declare const WorkerManifest: z.ZodObject<{
862
859
  maxTimeoutInMs?: number | undefined;
863
860
  randomize?: boolean | undefined;
864
861
  outOfMemory?: {
865
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
862
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
866
863
  } | undefined;
867
864
  }, {
868
865
  maxAttempts?: number | undefined;
@@ -871,7 +868,7 @@ export declare const WorkerManifest: z.ZodObject<{
871
868
  maxTimeoutInMs?: number | undefined;
872
869
  randomize?: boolean | undefined;
873
870
  outOfMemory?: {
874
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
871
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
875
872
  } | undefined;
876
873
  }>>;
877
874
  machine: z.ZodOptional<z.ZodObject<{
@@ -879,13 +876,13 @@ export declare const WorkerManifest: z.ZodObject<{
879
876
  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>]>>;
880
877
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
881
878
  }, "strip", z.ZodTypeAny, {
882
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
883
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
884
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
879
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
880
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
881
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
885
882
  }, {
886
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
887
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
888
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
883
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
884
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
885
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
889
886
  }>>;
890
887
  triggerSource: z.ZodOptional<z.ZodString>;
891
888
  agentConfig: z.ZodOptional<z.ZodObject<{
@@ -902,30 +899,25 @@ export declare const WorkerManifest: z.ZodObject<{
902
899
  }, "strip", z.ZodTypeAny, {
903
900
  cron: string;
904
901
  timezone: string;
905
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
902
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
906
903
  }, {
907
904
  cron: string;
908
905
  timezone: string;
909
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
906
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
910
907
  }>>;
911
908
  maxDuration: z.ZodOptional<z.ZodNumber>;
912
909
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
913
910
  payloadSchema: z.ZodOptional<z.ZodUnknown>;
911
+ filePath: z.ZodString;
912
+ exportName: z.ZodOptional<z.ZodString>;
913
+ entryPoint: z.ZodString;
914
914
  }, "strip", z.ZodTypeAny, {
915
915
  id: string;
916
- filePath: string;
917
- entryPoint: string;
918
- maxDuration?: number | undefined;
916
+ description?: string | undefined;
919
917
  queue?: {
920
- name?: string | undefined;
921
918
  concurrencyLimit?: number | null | undefined;
919
+ name?: string | undefined;
922
920
  } | undefined;
923
- machine?: {
924
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
925
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
926
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
927
- } | undefined;
928
- exportName?: string | undefined;
929
921
  retry?: {
930
922
  maxAttempts?: number | undefined;
931
923
  factor?: number | undefined;
@@ -933,11 +925,14 @@ export declare const WorkerManifest: z.ZodObject<{
933
925
  maxTimeoutInMs?: number | undefined;
934
926
  randomize?: boolean | undefined;
935
927
  outOfMemory?: {
936
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
928
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
937
929
  } | undefined;
938
930
  } | undefined;
939
- description?: string | undefined;
940
- ttl?: string | number | undefined;
931
+ machine?: {
932
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
933
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
934
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
935
+ } | undefined;
941
936
  triggerSource?: string | undefined;
942
937
  agentConfig?: {
943
938
  type: string;
@@ -945,24 +940,21 @@ export declare const WorkerManifest: z.ZodObject<{
945
940
  schedule?: {
946
941
  cron: string;
947
942
  timezone: string;
948
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
943
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
949
944
  } | undefined;
945
+ maxDuration?: number | undefined;
946
+ ttl?: string | number | undefined;
950
947
  payloadSchema?: unknown;
951
- }, {
952
- id: string;
953
948
  filePath: string;
949
+ exportName?: string | undefined;
954
950
  entryPoint: string;
955
- maxDuration?: number | undefined;
951
+ }, {
952
+ id: string;
953
+ description?: string | undefined;
956
954
  queue?: {
957
- name?: string | undefined;
958
955
  concurrencyLimit?: number | null | undefined;
956
+ name?: string | undefined;
959
957
  } | undefined;
960
- machine?: {
961
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
962
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
963
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
964
- } | undefined;
965
- exportName?: string | undefined;
966
958
  retry?: {
967
959
  maxAttempts?: number | undefined;
968
960
  factor?: number | undefined;
@@ -970,11 +962,14 @@ export declare const WorkerManifest: z.ZodObject<{
970
962
  maxTimeoutInMs?: number | undefined;
971
963
  randomize?: boolean | undefined;
972
964
  outOfMemory?: {
973
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
965
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
974
966
  } | undefined;
975
967
  } | undefined;
976
- description?: string | undefined;
977
- ttl?: string | number | undefined;
968
+ machine?: {
969
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
970
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
971
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
972
+ } | undefined;
978
973
  triggerSource?: string | undefined;
979
974
  agentConfig?: {
980
975
  type: string;
@@ -982,9 +977,14 @@ export declare const WorkerManifest: z.ZodObject<{
982
977
  schedule?: {
983
978
  cron: string;
984
979
  timezone: string;
985
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
980
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
986
981
  } | undefined;
982
+ maxDuration?: number | undefined;
983
+ ttl?: string | number | undefined;
987
984
  payloadSchema?: unknown;
985
+ filePath: string;
986
+ exportName?: string | undefined;
987
+ entryPoint: string;
988
988
  }>, "many">;
989
989
  prompts: z.ZodOptional<z.ZodArray<z.ZodObject<{
990
990
  filePath: z.ZodString;
@@ -997,20 +997,20 @@ export declare const WorkerManifest: z.ZodObject<{
997
997
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
998
998
  variableSchema: z.ZodOptional<z.ZodUnknown>;
999
999
  }, "strip", z.ZodTypeAny, {
1000
- id: string;
1001
1000
  filePath: string;
1002
- entryPoint: string;
1003
1001
  exportName?: string | undefined;
1002
+ entryPoint: string;
1003
+ id: string;
1004
1004
  description?: string | undefined;
1005
1005
  content?: string | undefined;
1006
1006
  model?: string | undefined;
1007
1007
  config?: Record<string, unknown> | undefined;
1008
1008
  variableSchema?: unknown;
1009
1009
  }, {
1010
- id: string;
1011
1010
  filePath: string;
1012
- entryPoint: string;
1013
1011
  exportName?: string | undefined;
1012
+ entryPoint: string;
1013
+ id: string;
1014
1014
  description?: string | undefined;
1015
1015
  content?: string | undefined;
1016
1016
  model?: string | undefined;
@@ -1024,17 +1024,17 @@ export declare const WorkerManifest: z.ZodObject<{
1024
1024
  id: z.ZodString;
1025
1025
  sourcePath: z.ZodString;
1026
1026
  }, "strip", z.ZodTypeAny, {
1027
- id: string;
1028
1027
  filePath: string;
1028
+ exportName?: string | undefined;
1029
1029
  entryPoint: string;
1030
+ id: string;
1030
1031
  sourcePath: string;
1031
- exportName?: string | undefined;
1032
1032
  }, {
1033
- id: string;
1034
1033
  filePath: string;
1034
+ exportName?: string | undefined;
1035
1035
  entryPoint: string;
1036
+ id: string;
1036
1037
  sourcePath: string;
1037
- exportName?: string | undefined;
1038
1038
  }>, "many">>;
1039
1039
  queues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1040
1040
  name: z.ZodString;
@@ -1075,22 +1075,14 @@ export declare const WorkerManifest: z.ZodObject<{
1075
1075
  exclude?: string[] | undefined;
1076
1076
  }>>;
1077
1077
  }, "strip", z.ZodTypeAny, {
1078
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1078
+ configPath: string;
1079
1079
  tasks: {
1080
1080
  id: string;
1081
- filePath: string;
1082
- entryPoint: string;
1083
- maxDuration?: number | undefined;
1081
+ description?: string | undefined;
1084
1082
  queue?: {
1085
- name?: string | undefined;
1086
1083
  concurrencyLimit?: number | null | undefined;
1084
+ name?: string | undefined;
1087
1085
  } | undefined;
1088
- machine?: {
1089
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1090
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1091
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1092
- } | undefined;
1093
- exportName?: string | undefined;
1094
1086
  retry?: {
1095
1087
  maxAttempts?: number | undefined;
1096
1088
  factor?: number | undefined;
@@ -1098,11 +1090,14 @@ export declare const WorkerManifest: z.ZodObject<{
1098
1090
  maxTimeoutInMs?: number | undefined;
1099
1091
  randomize?: boolean | undefined;
1100
1092
  outOfMemory?: {
1101
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1093
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1102
1094
  } | undefined;
1103
1095
  } | undefined;
1104
- description?: string | undefined;
1105
- ttl?: string | number | undefined;
1096
+ machine?: {
1097
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1098
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1099
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1100
+ } | undefined;
1106
1101
  triggerSource?: string | undefined;
1107
1102
  agentConfig?: {
1108
1103
  type: string;
@@ -1110,65 +1105,62 @@ export declare const WorkerManifest: z.ZodObject<{
1110
1105
  schedule?: {
1111
1106
  cron: string;
1112
1107
  timezone: string;
1113
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1108
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1114
1109
  } | undefined;
1110
+ maxDuration?: number | undefined;
1111
+ ttl?: string | number | undefined;
1115
1112
  payloadSchema?: unknown;
1113
+ filePath: string;
1114
+ exportName?: string | undefined;
1115
+ entryPoint: string;
1116
1116
  }[];
1117
- configPath: string;
1118
- workerEntryPoint: string;
1119
- runtimeVersion?: string | undefined;
1120
- queues?: {
1121
- name: string;
1122
- concurrencyLimit?: number | null | undefined;
1123
- }[] | undefined;
1124
1117
  prompts?: {
1125
- id: string;
1126
1118
  filePath: string;
1127
- entryPoint: string;
1128
1119
  exportName?: string | undefined;
1120
+ entryPoint: string;
1121
+ id: string;
1129
1122
  description?: string | undefined;
1130
1123
  content?: string | undefined;
1131
1124
  model?: string | undefined;
1132
1125
  config?: Record<string, unknown> | undefined;
1133
1126
  variableSchema?: unknown;
1134
1127
  }[] | undefined;
1135
- loaderEntryPoint?: string | undefined;
1136
- initEntryPoint?: string | undefined;
1137
- customConditions?: string[] | undefined;
1138
- otelImportHook?: {
1139
- include?: string[] | undefined;
1140
- exclude?: string[] | undefined;
1141
- } | undefined;
1142
1128
  skills?: {
1143
- id: string;
1144
1129
  filePath: string;
1130
+ exportName?: string | undefined;
1145
1131
  entryPoint: string;
1132
+ id: string;
1146
1133
  sourcePath: string;
1147
- exportName?: string | undefined;
1148
1134
  }[] | undefined;
1135
+ queues?: {
1136
+ name: string;
1137
+ concurrencyLimit?: number | null | undefined;
1138
+ }[] | undefined;
1139
+ workerEntryPoint: string;
1149
1140
  controllerEntryPoint?: string | undefined;
1141
+ loaderEntryPoint?: string | undefined;
1142
+ initEntryPoint?: string | undefined;
1143
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1144
+ runtimeVersion?: string | undefined;
1145
+ customConditions?: string[] | undefined;
1150
1146
  timings?: Record<string, number> | undefined;
1151
1147
  processKeepAlive?: {
1152
1148
  enabled: boolean;
1153
1149
  maxExecutionsPerProcess?: number | undefined;
1154
1150
  } | undefined;
1151
+ otelImportHook?: {
1152
+ include?: string[] | undefined;
1153
+ exclude?: string[] | undefined;
1154
+ } | undefined;
1155
1155
  }, {
1156
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1156
+ configPath: string;
1157
1157
  tasks: {
1158
1158
  id: string;
1159
- filePath: string;
1160
- entryPoint: string;
1161
- maxDuration?: number | undefined;
1159
+ description?: string | undefined;
1162
1160
  queue?: {
1163
- name?: string | undefined;
1164
1161
  concurrencyLimit?: number | null | undefined;
1162
+ name?: string | undefined;
1165
1163
  } | undefined;
1166
- machine?: {
1167
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1168
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1169
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1170
- } | undefined;
1171
- exportName?: string | undefined;
1172
1164
  retry?: {
1173
1165
  maxAttempts?: number | undefined;
1174
1166
  factor?: number | undefined;
@@ -1176,11 +1168,14 @@ export declare const WorkerManifest: z.ZodObject<{
1176
1168
  maxTimeoutInMs?: number | undefined;
1177
1169
  randomize?: boolean | undefined;
1178
1170
  outOfMemory?: {
1179
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1171
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1180
1172
  } | undefined;
1181
1173
  } | undefined;
1182
- description?: string | undefined;
1183
- ttl?: string | number | undefined;
1174
+ machine?: {
1175
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1176
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1177
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1178
+ } | undefined;
1184
1179
  triggerSource?: string | undefined;
1185
1180
  agentConfig?: {
1186
1181
  type: string;
@@ -1188,48 +1183,53 @@ export declare const WorkerManifest: z.ZodObject<{
1188
1183
  schedule?: {
1189
1184
  cron: string;
1190
1185
  timezone: string;
1191
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1186
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1192
1187
  } | undefined;
1188
+ maxDuration?: number | undefined;
1189
+ ttl?: string | number | undefined;
1193
1190
  payloadSchema?: unknown;
1191
+ filePath: string;
1192
+ exportName?: string | undefined;
1193
+ entryPoint: string;
1194
1194
  }[];
1195
- configPath: string;
1196
- workerEntryPoint: string;
1197
- runtimeVersion?: string | undefined;
1198
- queues?: {
1199
- name: string;
1200
- concurrencyLimit?: number | null | undefined;
1201
- }[] | undefined;
1202
1195
  prompts?: {
1203
- id: string;
1204
1196
  filePath: string;
1205
- entryPoint: string;
1206
1197
  exportName?: string | undefined;
1198
+ entryPoint: string;
1199
+ id: string;
1207
1200
  description?: string | undefined;
1208
1201
  content?: string | undefined;
1209
1202
  model?: string | undefined;
1210
1203
  config?: Record<string, unknown> | undefined;
1211
1204
  variableSchema?: unknown;
1212
1205
  }[] | undefined;
1213
- loaderEntryPoint?: string | undefined;
1214
- initEntryPoint?: string | undefined;
1215
- customConditions?: string[] | undefined;
1216
- otelImportHook?: {
1217
- include?: string[] | undefined;
1218
- exclude?: string[] | undefined;
1219
- } | undefined;
1220
1206
  skills?: {
1221
- id: string;
1222
1207
  filePath: string;
1208
+ exportName?: string | undefined;
1223
1209
  entryPoint: string;
1210
+ id: string;
1224
1211
  sourcePath: string;
1225
- exportName?: string | undefined;
1226
1212
  }[] | undefined;
1213
+ queues?: {
1214
+ name: string;
1215
+ concurrencyLimit?: number | null | undefined;
1216
+ }[] | undefined;
1217
+ workerEntryPoint: string;
1227
1218
  controllerEntryPoint?: string | undefined;
1219
+ loaderEntryPoint?: string | undefined;
1220
+ initEntryPoint?: string | undefined;
1221
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1222
+ runtimeVersion?: string | undefined;
1223
+ customConditions?: string[] | undefined;
1228
1224
  timings?: Record<string, number> | undefined;
1229
1225
  processKeepAlive?: {
1230
1226
  enabled: boolean;
1231
1227
  maxExecutionsPerProcess?: number | undefined;
1232
1228
  } | undefined;
1229
+ otelImportHook?: {
1230
+ include?: string[] | undefined;
1231
+ exclude?: string[] | undefined;
1232
+ } | undefined;
1233
1233
  }>;
1234
1234
  export type WorkerManifest = z.infer<typeof WorkerManifest>;
1235
1235
  export declare const WorkerManifestMessage: z.ZodObject<{
@@ -1238,9 +1238,6 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1238
1238
  manifest: z.ZodObject<{
1239
1239
  configPath: z.ZodString;
1240
1240
  tasks: z.ZodArray<z.ZodObject<{
1241
- filePath: z.ZodString;
1242
- exportName: z.ZodOptional<z.ZodString>;
1243
- entryPoint: z.ZodString;
1244
1241
  id: z.ZodString;
1245
1242
  description: z.ZodOptional<z.ZodString>;
1246
1243
  queue: z.ZodOptional<z.ZodObject<{
@@ -1248,11 +1245,11 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1248
1245
  } & {
1249
1246
  name: z.ZodOptional<z.ZodString>;
1250
1247
  }, "strip", z.ZodTypeAny, {
1251
- name?: string | undefined;
1252
1248
  concurrencyLimit?: number | null | undefined;
1253
- }, {
1254
1249
  name?: string | undefined;
1250
+ }, {
1255
1251
  concurrencyLimit?: number | null | undefined;
1252
+ name?: string | undefined;
1256
1253
  }>>;
1257
1254
  retry: z.ZodOptional<z.ZodObject<{
1258
1255
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -1263,9 +1260,9 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1263
1260
  outOfMemory: z.ZodOptional<z.ZodObject<{
1264
1261
  machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
1265
1262
  }, "strip", z.ZodTypeAny, {
1266
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1263
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1267
1264
  }, {
1268
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1265
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1269
1266
  }>>;
1270
1267
  }, "strip", z.ZodTypeAny, {
1271
1268
  maxAttempts?: number | undefined;
@@ -1274,7 +1271,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1274
1271
  maxTimeoutInMs?: number | undefined;
1275
1272
  randomize?: boolean | undefined;
1276
1273
  outOfMemory?: {
1277
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1274
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1278
1275
  } | undefined;
1279
1276
  }, {
1280
1277
  maxAttempts?: number | undefined;
@@ -1283,7 +1280,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1283
1280
  maxTimeoutInMs?: number | undefined;
1284
1281
  randomize?: boolean | undefined;
1285
1282
  outOfMemory?: {
1286
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1283
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1287
1284
  } | undefined;
1288
1285
  }>>;
1289
1286
  machine: z.ZodOptional<z.ZodObject<{
@@ -1291,13 +1288,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1291
1288
  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>]>>;
1292
1289
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
1293
1290
  }, "strip", z.ZodTypeAny, {
1294
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1295
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1296
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1291
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1292
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1293
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1297
1294
  }, {
1298
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1299
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1300
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1295
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1296
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1297
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1301
1298
  }>>;
1302
1299
  triggerSource: z.ZodOptional<z.ZodString>;
1303
1300
  agentConfig: z.ZodOptional<z.ZodObject<{
@@ -1314,30 +1311,25 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1314
1311
  }, "strip", z.ZodTypeAny, {
1315
1312
  cron: string;
1316
1313
  timezone: string;
1317
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1314
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1318
1315
  }, {
1319
1316
  cron: string;
1320
1317
  timezone: string;
1321
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1318
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1322
1319
  }>>;
1323
1320
  maxDuration: z.ZodOptional<z.ZodNumber>;
1324
1321
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1325
1322
  payloadSchema: z.ZodOptional<z.ZodUnknown>;
1323
+ filePath: z.ZodString;
1324
+ exportName: z.ZodOptional<z.ZodString>;
1325
+ entryPoint: z.ZodString;
1326
1326
  }, "strip", z.ZodTypeAny, {
1327
1327
  id: string;
1328
- filePath: string;
1329
- entryPoint: string;
1330
- maxDuration?: number | undefined;
1328
+ description?: string | undefined;
1331
1329
  queue?: {
1332
- name?: string | undefined;
1333
1330
  concurrencyLimit?: number | null | undefined;
1331
+ name?: string | undefined;
1334
1332
  } | undefined;
1335
- machine?: {
1336
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1337
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1338
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1339
- } | undefined;
1340
- exportName?: string | undefined;
1341
1333
  retry?: {
1342
1334
  maxAttempts?: number | undefined;
1343
1335
  factor?: number | undefined;
@@ -1345,11 +1337,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1345
1337
  maxTimeoutInMs?: number | undefined;
1346
1338
  randomize?: boolean | undefined;
1347
1339
  outOfMemory?: {
1348
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1340
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1349
1341
  } | undefined;
1350
1342
  } | undefined;
1351
- description?: string | undefined;
1352
- ttl?: string | number | undefined;
1343
+ machine?: {
1344
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1345
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1346
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1347
+ } | undefined;
1353
1348
  triggerSource?: string | undefined;
1354
1349
  agentConfig?: {
1355
1350
  type: string;
@@ -1357,24 +1352,21 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1357
1352
  schedule?: {
1358
1353
  cron: string;
1359
1354
  timezone: string;
1360
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1355
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1361
1356
  } | undefined;
1357
+ maxDuration?: number | undefined;
1358
+ ttl?: string | number | undefined;
1362
1359
  payloadSchema?: unknown;
1363
- }, {
1364
- id: string;
1365
1360
  filePath: string;
1361
+ exportName?: string | undefined;
1366
1362
  entryPoint: string;
1367
- maxDuration?: number | undefined;
1363
+ }, {
1364
+ id: string;
1365
+ description?: string | undefined;
1368
1366
  queue?: {
1369
- name?: string | undefined;
1370
1367
  concurrencyLimit?: number | null | undefined;
1368
+ name?: string | undefined;
1371
1369
  } | undefined;
1372
- machine?: {
1373
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1374
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1375
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1376
- } | undefined;
1377
- exportName?: string | undefined;
1378
1370
  retry?: {
1379
1371
  maxAttempts?: number | undefined;
1380
1372
  factor?: number | undefined;
@@ -1382,11 +1374,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1382
1374
  maxTimeoutInMs?: number | undefined;
1383
1375
  randomize?: boolean | undefined;
1384
1376
  outOfMemory?: {
1385
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1377
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1386
1378
  } | undefined;
1387
1379
  } | undefined;
1388
- description?: string | undefined;
1389
- ttl?: string | number | undefined;
1380
+ machine?: {
1381
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1382
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1383
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1384
+ } | undefined;
1390
1385
  triggerSource?: string | undefined;
1391
1386
  agentConfig?: {
1392
1387
  type: string;
@@ -1394,9 +1389,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1394
1389
  schedule?: {
1395
1390
  cron: string;
1396
1391
  timezone: string;
1397
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1392
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1398
1393
  } | undefined;
1394
+ maxDuration?: number | undefined;
1395
+ ttl?: string | number | undefined;
1399
1396
  payloadSchema?: unknown;
1397
+ filePath: string;
1398
+ exportName?: string | undefined;
1399
+ entryPoint: string;
1400
1400
  }>, "many">;
1401
1401
  prompts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1402
1402
  filePath: z.ZodString;
@@ -1409,20 +1409,20 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1409
1409
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1410
1410
  variableSchema: z.ZodOptional<z.ZodUnknown>;
1411
1411
  }, "strip", z.ZodTypeAny, {
1412
- id: string;
1413
1412
  filePath: string;
1414
- entryPoint: string;
1415
1413
  exportName?: string | undefined;
1414
+ entryPoint: string;
1415
+ id: string;
1416
1416
  description?: string | undefined;
1417
1417
  content?: string | undefined;
1418
1418
  model?: string | undefined;
1419
1419
  config?: Record<string, unknown> | undefined;
1420
1420
  variableSchema?: unknown;
1421
1421
  }, {
1422
- id: string;
1423
1422
  filePath: string;
1424
- entryPoint: string;
1425
1423
  exportName?: string | undefined;
1424
+ entryPoint: string;
1425
+ id: string;
1426
1426
  description?: string | undefined;
1427
1427
  content?: string | undefined;
1428
1428
  model?: string | undefined;
@@ -1436,17 +1436,17 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1436
1436
  id: z.ZodString;
1437
1437
  sourcePath: z.ZodString;
1438
1438
  }, "strip", z.ZodTypeAny, {
1439
- id: string;
1440
1439
  filePath: string;
1440
+ exportName?: string | undefined;
1441
1441
  entryPoint: string;
1442
+ id: string;
1442
1443
  sourcePath: string;
1443
- exportName?: string | undefined;
1444
1444
  }, {
1445
- id: string;
1446
1445
  filePath: string;
1446
+ exportName?: string | undefined;
1447
1447
  entryPoint: string;
1448
+ id: string;
1448
1449
  sourcePath: string;
1449
- exportName?: string | undefined;
1450
1450
  }>, "many">>;
1451
1451
  queues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1452
1452
  name: z.ZodString;
@@ -1487,22 +1487,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1487
1487
  exclude?: string[] | undefined;
1488
1488
  }>>;
1489
1489
  }, "strip", z.ZodTypeAny, {
1490
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1490
+ configPath: string;
1491
1491
  tasks: {
1492
1492
  id: string;
1493
- filePath: string;
1494
- entryPoint: string;
1495
- maxDuration?: number | undefined;
1493
+ description?: string | undefined;
1496
1494
  queue?: {
1497
- name?: string | undefined;
1498
1495
  concurrencyLimit?: number | null | undefined;
1496
+ name?: string | undefined;
1499
1497
  } | undefined;
1500
- machine?: {
1501
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1502
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1503
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1504
- } | undefined;
1505
- exportName?: string | undefined;
1506
1498
  retry?: {
1507
1499
  maxAttempts?: number | undefined;
1508
1500
  factor?: number | undefined;
@@ -1510,11 +1502,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1510
1502
  maxTimeoutInMs?: number | undefined;
1511
1503
  randomize?: boolean | undefined;
1512
1504
  outOfMemory?: {
1513
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1505
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1514
1506
  } | undefined;
1515
1507
  } | undefined;
1516
- description?: string | undefined;
1517
- ttl?: string | number | undefined;
1508
+ machine?: {
1509
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1510
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1511
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1512
+ } | undefined;
1518
1513
  triggerSource?: string | undefined;
1519
1514
  agentConfig?: {
1520
1515
  type: string;
@@ -1522,65 +1517,62 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1522
1517
  schedule?: {
1523
1518
  cron: string;
1524
1519
  timezone: string;
1525
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1520
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1526
1521
  } | undefined;
1522
+ maxDuration?: number | undefined;
1523
+ ttl?: string | number | undefined;
1527
1524
  payloadSchema?: unknown;
1525
+ filePath: string;
1526
+ exportName?: string | undefined;
1527
+ entryPoint: string;
1528
1528
  }[];
1529
- configPath: string;
1530
- workerEntryPoint: string;
1531
- runtimeVersion?: string | undefined;
1532
- queues?: {
1533
- name: string;
1534
- concurrencyLimit?: number | null | undefined;
1535
- }[] | undefined;
1536
1529
  prompts?: {
1537
- id: string;
1538
1530
  filePath: string;
1539
- entryPoint: string;
1540
1531
  exportName?: string | undefined;
1532
+ entryPoint: string;
1533
+ id: string;
1541
1534
  description?: string | undefined;
1542
1535
  content?: string | undefined;
1543
1536
  model?: string | undefined;
1544
1537
  config?: Record<string, unknown> | undefined;
1545
1538
  variableSchema?: unknown;
1546
1539
  }[] | undefined;
1547
- loaderEntryPoint?: string | undefined;
1548
- initEntryPoint?: string | undefined;
1549
- customConditions?: string[] | undefined;
1550
- otelImportHook?: {
1551
- include?: string[] | undefined;
1552
- exclude?: string[] | undefined;
1553
- } | undefined;
1554
1540
  skills?: {
1555
- id: string;
1556
1541
  filePath: string;
1542
+ exportName?: string | undefined;
1557
1543
  entryPoint: string;
1544
+ id: string;
1558
1545
  sourcePath: string;
1559
- exportName?: string | undefined;
1560
1546
  }[] | undefined;
1547
+ queues?: {
1548
+ name: string;
1549
+ concurrencyLimit?: number | null | undefined;
1550
+ }[] | undefined;
1551
+ workerEntryPoint: string;
1561
1552
  controllerEntryPoint?: string | undefined;
1553
+ loaderEntryPoint?: string | undefined;
1554
+ initEntryPoint?: string | undefined;
1555
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1556
+ runtimeVersion?: string | undefined;
1557
+ customConditions?: string[] | undefined;
1562
1558
  timings?: Record<string, number> | undefined;
1563
1559
  processKeepAlive?: {
1564
1560
  enabled: boolean;
1565
1561
  maxExecutionsPerProcess?: number | undefined;
1566
1562
  } | undefined;
1563
+ otelImportHook?: {
1564
+ include?: string[] | undefined;
1565
+ exclude?: string[] | undefined;
1566
+ } | undefined;
1567
1567
  }, {
1568
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1568
+ configPath: string;
1569
1569
  tasks: {
1570
1570
  id: string;
1571
- filePath: string;
1572
- entryPoint: string;
1573
- maxDuration?: number | undefined;
1571
+ description?: string | undefined;
1574
1572
  queue?: {
1575
- name?: string | undefined;
1576
1573
  concurrencyLimit?: number | null | undefined;
1574
+ name?: string | undefined;
1577
1575
  } | undefined;
1578
- machine?: {
1579
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1580
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1581
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1582
- } | undefined;
1583
- exportName?: string | undefined;
1584
1576
  retry?: {
1585
1577
  maxAttempts?: number | undefined;
1586
1578
  factor?: number | undefined;
@@ -1588,11 +1580,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1588
1580
  maxTimeoutInMs?: number | undefined;
1589
1581
  randomize?: boolean | undefined;
1590
1582
  outOfMemory?: {
1591
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1583
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1592
1584
  } | undefined;
1593
1585
  } | undefined;
1594
- description?: string | undefined;
1595
- ttl?: string | number | undefined;
1586
+ machine?: {
1587
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1588
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1589
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1590
+ } | undefined;
1596
1591
  triggerSource?: string | undefined;
1597
1592
  agentConfig?: {
1598
1593
  type: string;
@@ -1600,67 +1595,64 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1600
1595
  schedule?: {
1601
1596
  cron: string;
1602
1597
  timezone: string;
1603
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1598
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1604
1599
  } | undefined;
1600
+ maxDuration?: number | undefined;
1601
+ ttl?: string | number | undefined;
1605
1602
  payloadSchema?: unknown;
1603
+ filePath: string;
1604
+ exportName?: string | undefined;
1605
+ entryPoint: string;
1606
1606
  }[];
1607
- configPath: string;
1608
- workerEntryPoint: string;
1609
- runtimeVersion?: string | undefined;
1610
- queues?: {
1611
- name: string;
1612
- concurrencyLimit?: number | null | undefined;
1613
- }[] | undefined;
1614
1607
  prompts?: {
1615
- id: string;
1616
1608
  filePath: string;
1617
- entryPoint: string;
1618
1609
  exportName?: string | undefined;
1610
+ entryPoint: string;
1611
+ id: string;
1619
1612
  description?: string | undefined;
1620
1613
  content?: string | undefined;
1621
1614
  model?: string | undefined;
1622
1615
  config?: Record<string, unknown> | undefined;
1623
1616
  variableSchema?: unknown;
1624
1617
  }[] | undefined;
1625
- loaderEntryPoint?: string | undefined;
1626
- initEntryPoint?: string | undefined;
1627
- customConditions?: string[] | undefined;
1628
- otelImportHook?: {
1629
- include?: string[] | undefined;
1630
- exclude?: string[] | undefined;
1631
- } | undefined;
1632
1618
  skills?: {
1633
- id: string;
1634
1619
  filePath: string;
1620
+ exportName?: string | undefined;
1635
1621
  entryPoint: string;
1622
+ id: string;
1636
1623
  sourcePath: string;
1637
- exportName?: string | undefined;
1638
1624
  }[] | undefined;
1625
+ queues?: {
1626
+ name: string;
1627
+ concurrencyLimit?: number | null | undefined;
1628
+ }[] | undefined;
1629
+ workerEntryPoint: string;
1639
1630
  controllerEntryPoint?: string | undefined;
1631
+ loaderEntryPoint?: string | undefined;
1632
+ initEntryPoint?: string | undefined;
1633
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1634
+ runtimeVersion?: string | undefined;
1635
+ customConditions?: string[] | undefined;
1640
1636
  timings?: Record<string, number> | undefined;
1641
1637
  processKeepAlive?: {
1642
1638
  enabled: boolean;
1643
1639
  maxExecutionsPerProcess?: number | undefined;
1644
1640
  } | undefined;
1641
+ otelImportHook?: {
1642
+ include?: string[] | undefined;
1643
+ exclude?: string[] | undefined;
1644
+ } | undefined;
1645
1645
  }>;
1646
1646
  }, "strip", z.ZodTypeAny, {
1647
1647
  manifest: {
1648
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1648
+ configPath: string;
1649
1649
  tasks: {
1650
1650
  id: string;
1651
- filePath: string;
1652
- entryPoint: string;
1653
- maxDuration?: number | undefined;
1651
+ description?: string | undefined;
1654
1652
  queue?: {
1655
- name?: string | undefined;
1656
1653
  concurrencyLimit?: number | null | undefined;
1654
+ name?: string | undefined;
1657
1655
  } | undefined;
1658
- machine?: {
1659
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1660
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1661
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1662
- } | undefined;
1663
- exportName?: string | undefined;
1664
1656
  retry?: {
1665
1657
  maxAttempts?: number | undefined;
1666
1658
  factor?: number | undefined;
@@ -1668,11 +1660,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1668
1660
  maxTimeoutInMs?: number | undefined;
1669
1661
  randomize?: boolean | undefined;
1670
1662
  outOfMemory?: {
1671
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1663
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1672
1664
  } | undefined;
1673
1665
  } | undefined;
1674
- description?: string | undefined;
1675
- ttl?: string | number | undefined;
1666
+ machine?: {
1667
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1668
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1669
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1670
+ } | undefined;
1676
1671
  triggerSource?: string | undefined;
1677
1672
  agentConfig?: {
1678
1673
  type: string;
@@ -1680,67 +1675,64 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1680
1675
  schedule?: {
1681
1676
  cron: string;
1682
1677
  timezone: string;
1683
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1678
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1684
1679
  } | undefined;
1680
+ maxDuration?: number | undefined;
1681
+ ttl?: string | number | undefined;
1685
1682
  payloadSchema?: unknown;
1683
+ filePath: string;
1684
+ exportName?: string | undefined;
1685
+ entryPoint: string;
1686
1686
  }[];
1687
- configPath: string;
1688
- workerEntryPoint: string;
1689
- runtimeVersion?: string | undefined;
1690
- queues?: {
1691
- name: string;
1692
- concurrencyLimit?: number | null | undefined;
1693
- }[] | undefined;
1694
1687
  prompts?: {
1695
- id: string;
1696
1688
  filePath: string;
1697
- entryPoint: string;
1698
1689
  exportName?: string | undefined;
1690
+ entryPoint: string;
1691
+ id: string;
1699
1692
  description?: string | undefined;
1700
1693
  content?: string | undefined;
1701
1694
  model?: string | undefined;
1702
1695
  config?: Record<string, unknown> | undefined;
1703
1696
  variableSchema?: unknown;
1704
1697
  }[] | undefined;
1705
- loaderEntryPoint?: string | undefined;
1706
- initEntryPoint?: string | undefined;
1707
- customConditions?: string[] | undefined;
1708
- otelImportHook?: {
1709
- include?: string[] | undefined;
1710
- exclude?: string[] | undefined;
1711
- } | undefined;
1712
1698
  skills?: {
1713
- id: string;
1714
1699
  filePath: string;
1700
+ exportName?: string | undefined;
1715
1701
  entryPoint: string;
1702
+ id: string;
1716
1703
  sourcePath: string;
1717
- exportName?: string | undefined;
1718
1704
  }[] | undefined;
1705
+ queues?: {
1706
+ name: string;
1707
+ concurrencyLimit?: number | null | undefined;
1708
+ }[] | undefined;
1709
+ workerEntryPoint: string;
1719
1710
  controllerEntryPoint?: string | undefined;
1711
+ loaderEntryPoint?: string | undefined;
1712
+ initEntryPoint?: string | undefined;
1713
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1714
+ runtimeVersion?: string | undefined;
1715
+ customConditions?: string[] | undefined;
1720
1716
  timings?: Record<string, number> | undefined;
1721
1717
  processKeepAlive?: {
1722
1718
  enabled: boolean;
1723
1719
  maxExecutionsPerProcess?: number | undefined;
1724
1720
  } | undefined;
1721
+ otelImportHook?: {
1722
+ include?: string[] | undefined;
1723
+ exclude?: string[] | undefined;
1724
+ } | undefined;
1725
1725
  };
1726
1726
  }, {
1727
1727
  manifest: {
1728
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1728
+ configPath: string;
1729
1729
  tasks: {
1730
1730
  id: string;
1731
- filePath: string;
1732
- entryPoint: string;
1733
- maxDuration?: number | undefined;
1731
+ description?: string | undefined;
1734
1732
  queue?: {
1735
- name?: string | undefined;
1736
1733
  concurrencyLimit?: number | null | undefined;
1734
+ name?: string | undefined;
1737
1735
  } | undefined;
1738
- machine?: {
1739
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1740
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1741
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1742
- } | undefined;
1743
- exportName?: string | undefined;
1744
1736
  retry?: {
1745
1737
  maxAttempts?: number | undefined;
1746
1738
  factor?: number | undefined;
@@ -1748,11 +1740,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1748
1740
  maxTimeoutInMs?: number | undefined;
1749
1741
  randomize?: boolean | undefined;
1750
1742
  outOfMemory?: {
1751
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1743
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1752
1744
  } | undefined;
1753
1745
  } | undefined;
1754
- description?: string | undefined;
1755
- ttl?: string | number | undefined;
1746
+ machine?: {
1747
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1748
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1749
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1750
+ } | undefined;
1756
1751
  triggerSource?: string | undefined;
1757
1752
  agentConfig?: {
1758
1753
  type: string;
@@ -1760,70 +1755,67 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1760
1755
  schedule?: {
1761
1756
  cron: string;
1762
1757
  timezone: string;
1763
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1758
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1764
1759
  } | undefined;
1760
+ maxDuration?: number | undefined;
1761
+ ttl?: string | number | undefined;
1765
1762
  payloadSchema?: unknown;
1763
+ filePath: string;
1764
+ exportName?: string | undefined;
1765
+ entryPoint: string;
1766
1766
  }[];
1767
- configPath: string;
1768
- workerEntryPoint: string;
1769
- runtimeVersion?: string | undefined;
1770
- queues?: {
1771
- name: string;
1772
- concurrencyLimit?: number | null | undefined;
1773
- }[] | undefined;
1774
1767
  prompts?: {
1775
- id: string;
1776
1768
  filePath: string;
1777
- entryPoint: string;
1778
1769
  exportName?: string | undefined;
1770
+ entryPoint: string;
1771
+ id: string;
1779
1772
  description?: string | undefined;
1780
1773
  content?: string | undefined;
1781
1774
  model?: string | undefined;
1782
1775
  config?: Record<string, unknown> | undefined;
1783
1776
  variableSchema?: unknown;
1784
1777
  }[] | undefined;
1785
- loaderEntryPoint?: string | undefined;
1786
- initEntryPoint?: string | undefined;
1787
- customConditions?: string[] | undefined;
1788
- otelImportHook?: {
1789
- include?: string[] | undefined;
1790
- exclude?: string[] | undefined;
1791
- } | undefined;
1792
1778
  skills?: {
1793
- id: string;
1794
1779
  filePath: string;
1780
+ exportName?: string | undefined;
1795
1781
  entryPoint: string;
1782
+ id: string;
1796
1783
  sourcePath: string;
1797
- exportName?: string | undefined;
1798
1784
  }[] | undefined;
1785
+ queues?: {
1786
+ name: string;
1787
+ concurrencyLimit?: number | null | undefined;
1788
+ }[] | undefined;
1789
+ workerEntryPoint: string;
1799
1790
  controllerEntryPoint?: string | undefined;
1791
+ loaderEntryPoint?: string | undefined;
1792
+ initEntryPoint?: string | undefined;
1793
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1794
+ runtimeVersion?: string | undefined;
1795
+ customConditions?: string[] | undefined;
1800
1796
  timings?: Record<string, number> | undefined;
1801
1797
  processKeepAlive?: {
1802
1798
  enabled: boolean;
1803
1799
  maxExecutionsPerProcess?: number | undefined;
1804
1800
  } | undefined;
1801
+ otelImportHook?: {
1802
+ include?: string[] | undefined;
1803
+ exclude?: string[] | undefined;
1804
+ } | undefined;
1805
1805
  };
1806
1806
  }>;
1807
1807
  }, "strip", z.ZodTypeAny, {
1808
1808
  type: "worker-manifest";
1809
1809
  data: {
1810
1810
  manifest: {
1811
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1811
+ configPath: string;
1812
1812
  tasks: {
1813
1813
  id: string;
1814
- filePath: string;
1815
- entryPoint: string;
1816
- maxDuration?: number | undefined;
1814
+ description?: string | undefined;
1817
1815
  queue?: {
1818
- name?: string | undefined;
1819
1816
  concurrencyLimit?: number | null | undefined;
1817
+ name?: string | undefined;
1820
1818
  } | undefined;
1821
- machine?: {
1822
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1823
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1824
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1825
- } | undefined;
1826
- exportName?: string | undefined;
1827
1819
  retry?: {
1828
1820
  maxAttempts?: number | undefined;
1829
1821
  factor?: number | undefined;
@@ -1831,11 +1823,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1831
1823
  maxTimeoutInMs?: number | undefined;
1832
1824
  randomize?: boolean | undefined;
1833
1825
  outOfMemory?: {
1834
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1826
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1835
1827
  } | undefined;
1836
1828
  } | undefined;
1837
- description?: string | undefined;
1838
- ttl?: string | number | undefined;
1829
+ machine?: {
1830
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1831
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1832
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1833
+ } | undefined;
1839
1834
  triggerSource?: string | undefined;
1840
1835
  agentConfig?: {
1841
1836
  type: string;
@@ -1843,70 +1838,67 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1843
1838
  schedule?: {
1844
1839
  cron: string;
1845
1840
  timezone: string;
1846
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1841
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1847
1842
  } | undefined;
1843
+ maxDuration?: number | undefined;
1844
+ ttl?: string | number | undefined;
1848
1845
  payloadSchema?: unknown;
1846
+ filePath: string;
1847
+ exportName?: string | undefined;
1848
+ entryPoint: string;
1849
1849
  }[];
1850
- configPath: string;
1851
- workerEntryPoint: string;
1852
- runtimeVersion?: string | undefined;
1853
- queues?: {
1854
- name: string;
1855
- concurrencyLimit?: number | null | undefined;
1856
- }[] | undefined;
1857
1850
  prompts?: {
1858
- id: string;
1859
1851
  filePath: string;
1860
- entryPoint: string;
1861
1852
  exportName?: string | undefined;
1853
+ entryPoint: string;
1854
+ id: string;
1862
1855
  description?: string | undefined;
1863
1856
  content?: string | undefined;
1864
1857
  model?: string | undefined;
1865
1858
  config?: Record<string, unknown> | undefined;
1866
1859
  variableSchema?: unknown;
1867
1860
  }[] | undefined;
1868
- loaderEntryPoint?: string | undefined;
1869
- initEntryPoint?: string | undefined;
1870
- customConditions?: string[] | undefined;
1871
- otelImportHook?: {
1872
- include?: string[] | undefined;
1873
- exclude?: string[] | undefined;
1874
- } | undefined;
1875
1861
  skills?: {
1876
- id: string;
1877
1862
  filePath: string;
1863
+ exportName?: string | undefined;
1878
1864
  entryPoint: string;
1865
+ id: string;
1879
1866
  sourcePath: string;
1880
- exportName?: string | undefined;
1881
1867
  }[] | undefined;
1868
+ queues?: {
1869
+ name: string;
1870
+ concurrencyLimit?: number | null | undefined;
1871
+ }[] | undefined;
1872
+ workerEntryPoint: string;
1882
1873
  controllerEntryPoint?: string | undefined;
1874
+ loaderEntryPoint?: string | undefined;
1875
+ initEntryPoint?: string | undefined;
1876
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1877
+ runtimeVersion?: string | undefined;
1878
+ customConditions?: string[] | undefined;
1883
1879
  timings?: Record<string, number> | undefined;
1884
1880
  processKeepAlive?: {
1885
1881
  enabled: boolean;
1886
1882
  maxExecutionsPerProcess?: number | undefined;
1887
1883
  } | undefined;
1884
+ otelImportHook?: {
1885
+ include?: string[] | undefined;
1886
+ exclude?: string[] | undefined;
1887
+ } | undefined;
1888
1888
  };
1889
1889
  };
1890
1890
  }, {
1891
1891
  type: "worker-manifest";
1892
1892
  data: {
1893
1893
  manifest: {
1894
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1894
+ configPath: string;
1895
1895
  tasks: {
1896
1896
  id: string;
1897
- filePath: string;
1898
- entryPoint: string;
1899
- maxDuration?: number | undefined;
1897
+ description?: string | undefined;
1900
1898
  queue?: {
1901
- name?: string | undefined;
1902
1899
  concurrencyLimit?: number | null | undefined;
1900
+ name?: string | undefined;
1903
1901
  } | undefined;
1904
- machine?: {
1905
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
1906
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
1907
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1908
- } | undefined;
1909
- exportName?: string | undefined;
1910
1902
  retry?: {
1911
1903
  maxAttempts?: number | undefined;
1912
1904
  factor?: number | undefined;
@@ -1914,11 +1906,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1914
1906
  maxTimeoutInMs?: number | undefined;
1915
1907
  randomize?: boolean | undefined;
1916
1908
  outOfMemory?: {
1917
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1909
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1918
1910
  } | undefined;
1919
1911
  } | undefined;
1920
- description?: string | undefined;
1921
- ttl?: string | number | undefined;
1912
+ machine?: {
1913
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1914
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1915
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1916
+ } | undefined;
1922
1917
  triggerSource?: string | undefined;
1923
1918
  agentConfig?: {
1924
1919
  type: string;
@@ -1926,48 +1921,53 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1926
1921
  schedule?: {
1927
1922
  cron: string;
1928
1923
  timezone: string;
1929
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1924
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1930
1925
  } | undefined;
1926
+ maxDuration?: number | undefined;
1927
+ ttl?: string | number | undefined;
1931
1928
  payloadSchema?: unknown;
1929
+ filePath: string;
1930
+ exportName?: string | undefined;
1931
+ entryPoint: string;
1932
1932
  }[];
1933
- configPath: string;
1934
- workerEntryPoint: string;
1935
- runtimeVersion?: string | undefined;
1936
- queues?: {
1937
- name: string;
1938
- concurrencyLimit?: number | null | undefined;
1939
- }[] | undefined;
1940
1933
  prompts?: {
1941
- id: string;
1942
1934
  filePath: string;
1943
- entryPoint: string;
1944
1935
  exportName?: string | undefined;
1936
+ entryPoint: string;
1937
+ id: string;
1945
1938
  description?: string | undefined;
1946
1939
  content?: string | undefined;
1947
1940
  model?: string | undefined;
1948
1941
  config?: Record<string, unknown> | undefined;
1949
1942
  variableSchema?: unknown;
1950
1943
  }[] | undefined;
1951
- loaderEntryPoint?: string | undefined;
1952
- initEntryPoint?: string | undefined;
1953
- customConditions?: string[] | undefined;
1954
- otelImportHook?: {
1955
- include?: string[] | undefined;
1956
- exclude?: string[] | undefined;
1957
- } | undefined;
1958
1944
  skills?: {
1959
- id: string;
1960
1945
  filePath: string;
1946
+ exportName?: string | undefined;
1961
1947
  entryPoint: string;
1948
+ id: string;
1962
1949
  sourcePath: string;
1963
- exportName?: string | undefined;
1964
1950
  }[] | undefined;
1951
+ queues?: {
1952
+ name: string;
1953
+ concurrencyLimit?: number | null | undefined;
1954
+ }[] | undefined;
1955
+ workerEntryPoint: string;
1965
1956
  controllerEntryPoint?: string | undefined;
1957
+ loaderEntryPoint?: string | undefined;
1958
+ initEntryPoint?: string | undefined;
1959
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1960
+ runtimeVersion?: string | undefined;
1961
+ customConditions?: string[] | undefined;
1966
1962
  timings?: Record<string, number> | undefined;
1967
1963
  processKeepAlive?: {
1968
1964
  enabled: boolean;
1969
1965
  maxExecutionsPerProcess?: number | undefined;
1970
1966
  } | undefined;
1967
+ otelImportHook?: {
1968
+ include?: string[] | undefined;
1969
+ exclude?: string[] | undefined;
1970
+ } | undefined;
1971
1971
  };
1972
1972
  };
1973
1973
  }>;
@@ -1980,13 +1980,13 @@ export declare const ImportError: z.ZodObject<{
1980
1980
  }, "strip", z.ZodTypeAny, {
1981
1981
  message: string;
1982
1982
  file: string;
1983
- name?: string | undefined;
1984
1983
  stack?: string | undefined;
1984
+ name?: string | undefined;
1985
1985
  }, {
1986
1986
  message: string;
1987
1987
  file: string;
1988
- name?: string | undefined;
1989
1988
  stack?: string | undefined;
1989
+ name?: string | undefined;
1990
1990
  }>;
1991
1991
  export type ImportError = z.infer<typeof ImportError>;
1992
1992
  export declare const ImportTaskFileErrors: z.ZodArray<z.ZodObject<{
@@ -1997,12 +1997,12 @@ export declare const ImportTaskFileErrors: z.ZodArray<z.ZodObject<{
1997
1997
  }, "strip", z.ZodTypeAny, {
1998
1998
  message: string;
1999
1999
  file: string;
2000
- name?: string | undefined;
2001
2000
  stack?: string | undefined;
2001
+ name?: string | undefined;
2002
2002
  }, {
2003
2003
  message: string;
2004
2004
  file: string;
2005
- name?: string | undefined;
2006
2005
  stack?: string | undefined;
2006
+ name?: string | undefined;
2007
2007
  }>, "many">;
2008
2008
  export type ImportTaskFileErrors = z.infer<typeof ImportTaskFileErrors>;