@trigger.dev/core 4.5.9 → 4.5.11

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 (345) 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.js.map +1 -1
  4. package/dist/commonjs/package.json +6 -1
  5. package/dist/commonjs/retry.js.map +1 -1
  6. package/dist/commonjs/schemas/eventFilter.js.map +1 -1
  7. package/dist/commonjs/schemas/json.js.map +1 -1
  8. package/dist/commonjs/utils.js.map +1 -1
  9. package/dist/commonjs/v3/apiClient/core.js.map +1 -1
  10. package/dist/commonjs/v3/apiClient/errors.js.map +1 -1
  11. package/dist/commonjs/v3/apiClient/getBranch.js.map +1 -1
  12. package/dist/commonjs/v3/apiClient/index.d.ts +437 -425
  13. package/dist/commonjs/v3/apiClient/index.js +3 -4
  14. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  15. package/dist/commonjs/v3/apiClient/pagination.js.map +1 -1
  16. package/dist/commonjs/v3/apiClient/runStream.d.ts +14 -0
  17. package/dist/commonjs/v3/apiClient/runStream.js +71 -17
  18. package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
  19. package/dist/commonjs/v3/apiClient/runStream.test.js +34 -0
  20. package/dist/commonjs/v3/apiClient/runStream.test.js.map +1 -1
  21. package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
  22. package/dist/commonjs/v3/apiClientManager/index.js.map +1 -1
  23. package/dist/commonjs/v3/apiKeys.js.map +1 -1
  24. package/dist/commonjs/v3/apps/backoff.js.map +1 -1
  25. package/dist/commonjs/v3/apps/exec.js.map +1 -1
  26. package/dist/commonjs/v3/apps/http.js.map +1 -1
  27. package/dist/commonjs/v3/build/extensions.js.map +1 -1
  28. package/dist/commonjs/v3/build/flags.js.map +1 -1
  29. package/dist/commonjs/v3/build/runtime.js.map +1 -1
  30. package/dist/commonjs/v3/clock/clock.js.map +1 -1
  31. package/dist/commonjs/v3/clock/index.js.map +1 -1
  32. package/dist/commonjs/v3/clock/preciseWallClock.js.map +1 -1
  33. package/dist/commonjs/v3/clock/simpleClock.js.map +1 -1
  34. package/dist/commonjs/v3/consoleInterceptor.js.map +1 -1
  35. package/dist/commonjs/v3/errors.d.ts +4 -4
  36. package/dist/commonjs/v3/errors.js.map +1 -1
  37. package/dist/commonjs/v3/heartbeats/api.js.map +1 -1
  38. package/dist/commonjs/v3/heartbeats/manager.js.map +1 -1
  39. package/dist/commonjs/v3/icons.d.ts +1 -1
  40. package/dist/commonjs/v3/icons.js.map +1 -1
  41. package/dist/commonjs/v3/idempotency-key-catalog/inMemoryIdempotencyKeyCatalog.js.map +1 -1
  42. package/dist/commonjs/v3/idempotency-key-catalog/index.js.map +1 -1
  43. package/dist/commonjs/v3/idempotencyKeys.js.map +1 -1
  44. package/dist/commonjs/v3/index.js.map +1 -1
  45. package/dist/commonjs/v3/inputStreams/index.js.map +1 -1
  46. package/dist/commonjs/v3/inputStreams/manager.js.map +1 -1
  47. package/dist/commonjs/v3/inputStreams/noopManager.js.map +1 -1
  48. package/dist/commonjs/v3/inputStreams/types.js.map +1 -1
  49. package/dist/commonjs/v3/isomorphic/dates.js.map +1 -1
  50. package/dist/commonjs/v3/isomorphic/duration.js.map +1 -1
  51. package/dist/commonjs/v3/isomorphic/friendlyId.js.map +1 -1
  52. package/dist/commonjs/v3/isomorphic/maxDuration.js.map +1 -1
  53. package/dist/commonjs/v3/isomorphic/queueName.js.map +1 -1
  54. package/dist/commonjs/v3/isomorphic/runOpsResidency.js.map +1 -1
  55. package/dist/commonjs/v3/isomorphic/traceContext.js.map +1 -1
  56. package/dist/commonjs/v3/jwt.js.map +1 -1
  57. package/dist/commonjs/v3/lifecycleHooks/index.js.map +1 -1
  58. package/dist/commonjs/v3/lifecycleHooks/manager.js.map +1 -1
  59. package/dist/commonjs/v3/limits.js.map +1 -1
  60. package/dist/commonjs/v3/locals/index.js.map +1 -1
  61. package/dist/commonjs/v3/locals/manager.js.map +1 -1
  62. package/dist/commonjs/v3/locals-api.js.map +1 -1
  63. package/dist/commonjs/v3/logger/index.js.map +1 -1
  64. package/dist/commonjs/v3/logger/taskLogger.js.map +1 -1
  65. package/dist/commonjs/v3/machines/index.js.map +1 -1
  66. package/dist/commonjs/v3/otel/diskIoMetrics.js.map +1 -1
  67. package/dist/commonjs/v3/otel/filesystemMetrics.js.map +1 -1
  68. package/dist/commonjs/v3/otel/nodejsRuntimeMetrics.js.map +1 -1
  69. package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
  70. package/dist/commonjs/v3/otel/utils.js.map +1 -1
  71. package/dist/commonjs/v3/realtimeStreams/index.js.map +1 -1
  72. package/dist/commonjs/v3/realtimeStreams/manager.js.map +1 -1
  73. package/dist/commonjs/v3/realtimeStreams/noopManager.js.map +1 -1
  74. package/dist/commonjs/v3/realtimeStreams/sessionStreamInstance.js.map +1 -1
  75. package/dist/commonjs/v3/realtimeStreams/sessionStreamOneshot.js.map +1 -1
  76. package/dist/commonjs/v3/realtimeStreams/streamInstance.js.map +1 -1
  77. package/dist/commonjs/v3/realtimeStreams/streamsWriterV1.js.map +1 -1
  78. package/dist/commonjs/v3/realtimeStreams/streamsWriterV2.js +10 -2
  79. package/dist/commonjs/v3/realtimeStreams/streamsWriterV2.js.map +1 -1
  80. package/dist/commonjs/v3/resource-catalog/index.js.map +1 -1
  81. package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
  82. package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
  83. package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPool.js.map +1 -1
  84. package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPoolMetrics.js.map +1 -1
  85. package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +211 -211
  86. package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
  87. package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
  88. package/dist/commonjs/v3/runEngineWorker/supervisor/queueMetricsProcessor.js.map +1 -1
  89. package/dist/commonjs/v3/runEngineWorker/supervisor/scalingStrategies.js.map +1 -1
  90. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +1126 -1126
  91. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
  92. package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
  93. package/dist/commonjs/v3/runEngineWorker/supervisor/util.js.map +1 -1
  94. package/dist/commonjs/v3/runEngineWorker/util.js.map +1 -1
  95. package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +162 -162
  96. package/dist/commonjs/v3/runEngineWorker/workload/http.js +8 -0
  97. package/dist/commonjs/v3/runEngineWorker/workload/http.js.map +1 -1
  98. package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +974 -974
  99. package/dist/commonjs/v3/runEngineWorker/workload/util.js.map +1 -1
  100. package/dist/commonjs/v3/runMetadata/index.js.map +1 -1
  101. package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
  102. package/dist/commonjs/v3/runMetadata/noopManager.js.map +1 -1
  103. package/dist/commonjs/v3/runMetadata/operations.js.map +1 -1
  104. package/dist/commonjs/v3/runTimelineMetrics/index.js.map +1 -1
  105. package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -1
  106. package/dist/commonjs/v3/runtime/index.js.map +1 -1
  107. package/dist/commonjs/v3/runtime/noopRuntimeManager.js.map +1 -1
  108. package/dist/commonjs/v3/runtime/preventMultipleWaits.js.map +1 -1
  109. package/dist/commonjs/v3/runtime/sharedRuntimeManager.js.map +1 -1
  110. package/dist/commonjs/v3/schemas/api.d.ts +2974 -2925
  111. package/dist/commonjs/v3/schemas/api.js +12 -0
  112. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  113. package/dist/commonjs/v3/schemas/build.d.ts +632 -614
  114. package/dist/commonjs/v3/schemas/build.js.map +1 -1
  115. package/dist/commonjs/v3/schemas/checkpoints.d.ts +237 -237
  116. package/dist/commonjs/v3/schemas/common.d.ts +1409 -1409
  117. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  118. package/dist/commonjs/v3/schemas/errors.d.ts +38 -38
  119. package/dist/commonjs/v3/schemas/errors.js.map +1 -1
  120. package/dist/commonjs/v3/schemas/eventFilter.js.map +1 -1
  121. package/dist/commonjs/v3/schemas/fetch.d.ts +70 -70
  122. package/dist/commonjs/v3/schemas/fetch.js.map +1 -1
  123. package/dist/commonjs/v3/schemas/idempotencyKey.test.js +14 -0
  124. package/dist/commonjs/v3/schemas/idempotencyKey.test.js.map +1 -1
  125. package/dist/commonjs/v3/schemas/index.d.ts +1 -0
  126. package/dist/commonjs/v3/schemas/index.js +1 -0
  127. package/dist/commonjs/v3/schemas/index.js.map +1 -1
  128. package/dist/commonjs/v3/schemas/messages.d.ts +1003 -994
  129. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  130. package/dist/commonjs/v3/schemas/openTelemetry.d.ts +90 -90
  131. package/dist/commonjs/v3/schemas/openTelemetry.js.map +1 -1
  132. package/dist/commonjs/v3/schemas/query.d.ts +41 -41
  133. package/dist/commonjs/v3/schemas/query.js.map +1 -1
  134. package/dist/commonjs/v3/schemas/queues.d.ts +10 -10
  135. package/dist/commonjs/v3/schemas/queues.js.map +1 -1
  136. package/dist/commonjs/v3/schemas/reports.d.ts +833 -0
  137. package/dist/commonjs/v3/schemas/reports.js +134 -0
  138. package/dist/commonjs/v3/schemas/reports.js.map +1 -0
  139. package/dist/commonjs/v3/schemas/resources.d.ts +140 -128
  140. package/dist/commonjs/v3/schemas/resources.js.map +1 -1
  141. package/dist/commonjs/v3/schemas/runEngine.d.ts +490 -490
  142. package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
  143. package/dist/commonjs/v3/schemas/schemas.d.ts +664 -644
  144. package/dist/commonjs/v3/schemas/schemas.js +8 -1
  145. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  146. package/dist/commonjs/v3/schemas/style.d.ts +2 -2
  147. package/dist/commonjs/v3/schemas/style.js.map +1 -1
  148. package/dist/commonjs/v3/schemas/webhooks.d.ts +814 -814
  149. package/dist/commonjs/v3/schemas/webhooks.js.map +1 -1
  150. package/dist/commonjs/v3/sdkScope/index.js.map +1 -1
  151. package/dist/commonjs/v3/serverOnly/checkpointClient.d.ts +16 -0
  152. package/dist/commonjs/v3/serverOnly/checkpointClient.js +33 -0
  153. package/dist/commonjs/v3/serverOnly/checkpointClient.js.map +1 -1
  154. package/dist/commonjs/v3/serverOnly/httpServer.js.map +1 -1
  155. package/dist/commonjs/v3/serverOnly/idempotencyKeys.js.map +1 -1
  156. package/dist/commonjs/v3/serverOnly/jumpHash.js.map +1 -1
  157. package/dist/commonjs/v3/serverOnly/k8s.js.map +1 -1
  158. package/dist/commonjs/v3/serverOnly/placementTags.js.map +1 -1
  159. package/dist/commonjs/v3/serverOnly/shutdownManager.js.map +1 -1
  160. package/dist/commonjs/v3/serverOnly/singleton.js.map +1 -1
  161. package/dist/commonjs/v3/sessionStreams/chatSnapshot.js.map +1 -1
  162. package/dist/commonjs/v3/sessionStreams/index.js.map +1 -1
  163. package/dist/commonjs/v3/sessionStreams/manager.js.map +1 -1
  164. package/dist/commonjs/v3/sessionStreams/noopManager.js.map +1 -1
  165. package/dist/commonjs/v3/sessionStreams/types.js.map +1 -1
  166. package/dist/commonjs/v3/sessionStreams/wireProtocol.js.map +1 -1
  167. package/dist/commonjs/v3/streams/asyncIterableStream.js.map +1 -1
  168. package/dist/commonjs/v3/taskContext/index.js.map +1 -1
  169. package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
  170. package/dist/commonjs/v3/telnetLogServer.js.map +1 -1
  171. package/dist/commonjs/v3/test/index.d.ts +3 -0
  172. package/dist/commonjs/v3/test/index.js +7 -1
  173. package/dist/commonjs/v3/test/index.js.map +1 -1
  174. package/dist/commonjs/v3/test/mock-task-context.d.ts +16 -1
  175. package/dist/commonjs/v3/test/mock-task-context.js +13 -5
  176. package/dist/commonjs/v3/test/mock-task-context.js.map +1 -1
  177. package/dist/commonjs/v3/test/session-waitpoint-backend.d.ts +68 -0
  178. package/dist/commonjs/v3/test/session-waitpoint-backend.js +228 -0
  179. package/dist/commonjs/v3/test/session-waitpoint-backend.js.map +1 -0
  180. package/dist/commonjs/v3/test/test-input-stream-manager.js.map +1 -1
  181. package/dist/commonjs/v3/test/test-realtime-streams-manager.js.map +1 -1
  182. package/dist/commonjs/v3/test/test-run-metadata-manager.js.map +1 -1
  183. package/dist/commonjs/v3/test/test-session-stream-manager.js.map +1 -1
  184. package/dist/commonjs/v3/timeout/api.js.map +1 -1
  185. package/dist/commonjs/v3/timeout/types.js.map +1 -1
  186. package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -1
  187. package/dist/commonjs/v3/traceContext/api.js.map +1 -1
  188. package/dist/commonjs/v3/traceContext/manager.js.map +1 -1
  189. package/dist/commonjs/v3/tracer.js.map +1 -1
  190. package/dist/commonjs/v3/tryCatch.js.map +1 -1
  191. package/dist/commonjs/v3/types/schemas.js.map +1 -1
  192. package/dist/commonjs/v3/types/tasks.d.ts +21 -7
  193. package/dist/commonjs/v3/types/tasks.js.map +1 -1
  194. package/dist/commonjs/v3/types/tools.js.map +1 -1
  195. package/dist/commonjs/v3/usage/api.js.map +1 -1
  196. package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
  197. package/dist/commonjs/v3/usage/noopUsageManager.js.map +1 -1
  198. package/dist/commonjs/v3/usage/prodUsageManager.js.map +1 -1
  199. package/dist/commonjs/v3/usage/usageClient.js.map +1 -1
  200. package/dist/commonjs/v3/utils/crypto.js.map +1 -1
  201. package/dist/commonjs/v3/utils/durations.js.map +1 -1
  202. package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
  203. package/dist/commonjs/v3/utils/getEnv.js.map +1 -1
  204. package/dist/commonjs/v3/utils/gitBranch.js.map +1 -1
  205. package/dist/commonjs/v3/utils/globals.js.map +1 -1
  206. package/dist/commonjs/v3/utils/imageRef.js.map +1 -1
  207. package/dist/commonjs/v3/utils/interval.js.map +1 -1
  208. package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
  209. package/dist/commonjs/v3/utils/omit.js.map +1 -1
  210. package/dist/commonjs/v3/utils/reconnectBackoff.js.map +1 -1
  211. package/dist/commonjs/v3/utils/retries.js.map +1 -1
  212. package/dist/commonjs/v3/utils/safeAsyncLocalStorage.js.map +1 -1
  213. package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -1
  214. package/dist/commonjs/v3/utils/styleAttributes.js.map +1 -1
  215. package/dist/commonjs/v3/utils/timers.js.map +1 -1
  216. package/dist/commonjs/v3/waitUntil/index.js.map +1 -1
  217. package/dist/commonjs/v3/waitUntil/manager.js.map +1 -1
  218. package/dist/commonjs/v3/waitpoints/index.js.map +1 -1
  219. package/dist/commonjs/v3/workers/populateEnv.js.map +1 -1
  220. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  221. package/dist/commonjs/v3/workers/warmStartClient.js.map +1 -1
  222. package/dist/commonjs/v3/workloadDeploymentToken.d.ts +2 -2
  223. package/dist/commonjs/v3/workloadDeploymentToken.js.map +1 -1
  224. package/dist/commonjs/v3/zodIpc.js.map +1 -1
  225. package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -2
  226. package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
  227. package/dist/commonjs/v3/zodSocket.js.map +1 -1
  228. package/dist/commonjs/version.js +1 -1
  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 +437 -425
  234. package/dist/esm/v3/apiClient/index.js +4 -5
  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 +14 -0
  238. package/dist/esm/v3/apiClient/runStream.js +71 -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/logger/taskLogger.js.map +1 -1
  260. package/dist/esm/v3/machines/index.js.map +1 -1
  261. package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
  262. package/dist/esm/v3/realtimeStreams/manager.js.map +1 -1
  263. package/dist/esm/v3/realtimeStreams/sessionStreamInstance.js.map +1 -1
  264. package/dist/esm/v3/realtimeStreams/streamInstance.js.map +1 -1
  265. package/dist/esm/v3/realtimeStreams/streamsWriterV1.js.map +1 -1
  266. package/dist/esm/v3/realtimeStreams/streamsWriterV2.js +10 -2
  267. package/dist/esm/v3/realtimeStreams/streamsWriterV2.js.map +1 -1
  268. package/dist/esm/v3/runEngineWorker/supervisor/consumerPoolMetrics.js.map +1 -1
  269. package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +211 -211
  270. package/dist/esm/v3/runEngineWorker/supervisor/queueMetricsProcessor.js.map +1 -1
  271. package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +1126 -1126
  272. package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
  273. package/dist/esm/v3/runEngineWorker/workload/http.d.ts +162 -162
  274. package/dist/esm/v3/runEngineWorker/workload/http.js +8 -0
  275. package/dist/esm/v3/runEngineWorker/workload/http.js.map +1 -1
  276. package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +974 -974
  277. package/dist/esm/v3/runMetadata/manager.js.map +1 -1
  278. package/dist/esm/v3/runMetadata/operations.js.map +1 -1
  279. package/dist/esm/v3/runtime/sharedRuntimeManager.js.map +1 -1
  280. package/dist/esm/v3/schemas/api.d.ts +2974 -2925
  281. package/dist/esm/v3/schemas/api.js +12 -0
  282. package/dist/esm/v3/schemas/api.js.map +1 -1
  283. package/dist/esm/v3/schemas/build.d.ts +632 -614
  284. package/dist/esm/v3/schemas/checkpoints.d.ts +237 -237
  285. package/dist/esm/v3/schemas/common.d.ts +1409 -1409
  286. package/dist/esm/v3/schemas/errors.d.ts +38 -38
  287. package/dist/esm/v3/schemas/fetch.d.ts +70 -70
  288. package/dist/esm/v3/schemas/idempotencyKey.test.js +14 -0
  289. package/dist/esm/v3/schemas/idempotencyKey.test.js.map +1 -1
  290. package/dist/esm/v3/schemas/index.d.ts +1 -0
  291. package/dist/esm/v3/schemas/index.js +1 -0
  292. package/dist/esm/v3/schemas/index.js.map +1 -1
  293. package/dist/esm/v3/schemas/messages.d.ts +1003 -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/reports.d.ts +833 -0
  298. package/dist/esm/v3/schemas/reports.js +131 -0
  299. package/dist/esm/v3/schemas/reports.js.map +1 -0
  300. package/dist/esm/v3/schemas/resources.d.ts +140 -128
  301. package/dist/esm/v3/schemas/runEngine.d.ts +490 -490
  302. package/dist/esm/v3/schemas/schemas.d.ts +664 -644
  303. package/dist/esm/v3/schemas/schemas.js +7 -0
  304. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  305. package/dist/esm/v3/schemas/style.d.ts +2 -2
  306. package/dist/esm/v3/schemas/webhooks.d.ts +814 -814
  307. package/dist/esm/v3/serverOnly/checkpointClient.d.ts +16 -0
  308. package/dist/esm/v3/serverOnly/checkpointClient.js +33 -0
  309. package/dist/esm/v3/serverOnly/checkpointClient.js.map +1 -1
  310. package/dist/esm/v3/serverOnly/placementTags.js.map +1 -1
  311. package/dist/esm/v3/serverOnly/shutdownManager.js.map +1 -1
  312. package/dist/esm/v3/sessionStreams/manager.js.map +1 -1
  313. package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
  314. package/dist/esm/v3/test/index.d.ts +3 -0
  315. package/dist/esm/v3/test/index.js +2 -0
  316. package/dist/esm/v3/test/index.js.map +1 -1
  317. package/dist/esm/v3/test/mock-task-context.d.ts +16 -1
  318. package/dist/esm/v3/test/mock-task-context.js +13 -5
  319. package/dist/esm/v3/test/mock-task-context.js.map +1 -1
  320. package/dist/esm/v3/test/session-waitpoint-backend.d.ts +68 -0
  321. package/dist/esm/v3/test/session-waitpoint-backend.js +222 -0
  322. package/dist/esm/v3/test/session-waitpoint-backend.js.map +1 -0
  323. package/dist/esm/v3/timeout/types.js.map +1 -1
  324. package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -1
  325. package/dist/esm/v3/tracer.js.map +1 -1
  326. package/dist/esm/v3/types/tasks.d.ts +21 -7
  327. package/dist/esm/v3/types/tasks.js.map +1 -1
  328. package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
  329. package/dist/esm/v3/usage/prodUsageManager.js.map +1 -1
  330. package/dist/esm/v3/usage/usageClient.js.map +1 -1
  331. package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
  332. package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
  333. package/dist/esm/v3/utils/retries.js.map +1 -1
  334. package/dist/esm/v3/utils/structuredLogger.js.map +1 -1
  335. package/dist/esm/v3/utils/timers.js.map +1 -1
  336. package/dist/esm/v3/waitUntil/manager.js.map +1 -1
  337. package/dist/esm/v3/workers/populateEnv.js.map +1 -1
  338. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  339. package/dist/esm/v3/workers/warmStartClient.js.map +1 -1
  340. package/dist/esm/v3/workloadDeploymentToken.d.ts +2 -2
  341. package/dist/esm/v3/zodIpc.js.map +1 -1
  342. package/dist/esm/v3/zodMessageHandler.d.ts +2 -2
  343. package/dist/esm/v3/zodMessageHandler.js.map +1 -1
  344. package/dist/esm/version.js +1 -1
  345. 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<{
@@ -899,33 +896,31 @@ export declare const WorkerManifest: z.ZodObject<{
899
896
  cron: z.ZodString;
900
897
  timezone: z.ZodString;
901
898
  environments: z.ZodOptional<z.ZodArray<z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>, "many">>;
899
+ window: z.ZodOptional<z.ZodString>;
902
900
  }, "strip", z.ZodTypeAny, {
903
901
  cron: string;
904
902
  timezone: string;
905
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
903
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
904
+ window?: string | undefined;
906
905
  }, {
907
906
  cron: string;
908
907
  timezone: string;
909
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
908
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
909
+ window?: string | undefined;
910
910
  }>>;
911
911
  maxDuration: z.ZodOptional<z.ZodNumber>;
912
912
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
913
913
  payloadSchema: z.ZodOptional<z.ZodUnknown>;
914
+ filePath: z.ZodString;
915
+ exportName: z.ZodOptional<z.ZodString>;
916
+ entryPoint: z.ZodString;
914
917
  }, "strip", z.ZodTypeAny, {
915
918
  id: string;
916
- filePath: string;
917
- entryPoint: string;
918
- maxDuration?: number | undefined;
919
+ description?: string | undefined;
919
920
  queue?: {
920
- name?: string | undefined;
921
921
  concurrencyLimit?: number | null | undefined;
922
+ name?: string | undefined;
922
923
  } | 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
924
  retry?: {
930
925
  maxAttempts?: number | undefined;
931
926
  factor?: number | undefined;
@@ -933,11 +928,14 @@ export declare const WorkerManifest: z.ZodObject<{
933
928
  maxTimeoutInMs?: number | undefined;
934
929
  randomize?: boolean | undefined;
935
930
  outOfMemory?: {
936
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
931
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
937
932
  } | undefined;
938
933
  } | undefined;
939
- description?: string | undefined;
940
- ttl?: string | number | undefined;
934
+ machine?: {
935
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
936
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
937
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
938
+ } | undefined;
941
939
  triggerSource?: string | undefined;
942
940
  agentConfig?: {
943
941
  type: string;
@@ -945,24 +943,22 @@ export declare const WorkerManifest: z.ZodObject<{
945
943
  schedule?: {
946
944
  cron: string;
947
945
  timezone: string;
948
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
946
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
947
+ window?: string | undefined;
949
948
  } | undefined;
949
+ maxDuration?: number | undefined;
950
+ ttl?: string | number | undefined;
950
951
  payloadSchema?: unknown;
951
- }, {
952
- id: string;
953
952
  filePath: string;
953
+ exportName?: string | undefined;
954
954
  entryPoint: string;
955
- maxDuration?: number | undefined;
955
+ }, {
956
+ id: string;
957
+ description?: string | undefined;
956
958
  queue?: {
957
- name?: string | undefined;
958
959
  concurrencyLimit?: number | null | undefined;
960
+ name?: string | undefined;
959
961
  } | 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
962
  retry?: {
967
963
  maxAttempts?: number | undefined;
968
964
  factor?: number | undefined;
@@ -970,11 +966,14 @@ export declare const WorkerManifest: z.ZodObject<{
970
966
  maxTimeoutInMs?: number | undefined;
971
967
  randomize?: boolean | undefined;
972
968
  outOfMemory?: {
973
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
969
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
974
970
  } | undefined;
975
971
  } | undefined;
976
- description?: string | undefined;
977
- ttl?: string | number | undefined;
972
+ machine?: {
973
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
974
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
975
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
976
+ } | undefined;
978
977
  triggerSource?: string | undefined;
979
978
  agentConfig?: {
980
979
  type: string;
@@ -982,9 +981,15 @@ export declare const WorkerManifest: z.ZodObject<{
982
981
  schedule?: {
983
982
  cron: string;
984
983
  timezone: string;
985
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
984
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
985
+ window?: string | undefined;
986
986
  } | undefined;
987
+ maxDuration?: number | undefined;
988
+ ttl?: string | number | undefined;
987
989
  payloadSchema?: unknown;
990
+ filePath: string;
991
+ exportName?: string | undefined;
992
+ entryPoint: string;
988
993
  }>, "many">;
989
994
  prompts: z.ZodOptional<z.ZodArray<z.ZodObject<{
990
995
  filePath: z.ZodString;
@@ -997,20 +1002,20 @@ export declare const WorkerManifest: z.ZodObject<{
997
1002
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
998
1003
  variableSchema: z.ZodOptional<z.ZodUnknown>;
999
1004
  }, "strip", z.ZodTypeAny, {
1000
- id: string;
1001
1005
  filePath: string;
1002
- entryPoint: string;
1003
1006
  exportName?: string | undefined;
1007
+ entryPoint: string;
1008
+ id: string;
1004
1009
  description?: string | undefined;
1005
1010
  content?: string | undefined;
1006
1011
  model?: string | undefined;
1007
1012
  config?: Record<string, unknown> | undefined;
1008
1013
  variableSchema?: unknown;
1009
1014
  }, {
1010
- id: string;
1011
1015
  filePath: string;
1012
- entryPoint: string;
1013
1016
  exportName?: string | undefined;
1017
+ entryPoint: string;
1018
+ id: string;
1014
1019
  description?: string | undefined;
1015
1020
  content?: string | undefined;
1016
1021
  model?: string | undefined;
@@ -1024,17 +1029,17 @@ export declare const WorkerManifest: z.ZodObject<{
1024
1029
  id: z.ZodString;
1025
1030
  sourcePath: z.ZodString;
1026
1031
  }, "strip", z.ZodTypeAny, {
1027
- id: string;
1028
1032
  filePath: string;
1033
+ exportName?: string | undefined;
1029
1034
  entryPoint: string;
1035
+ id: string;
1030
1036
  sourcePath: string;
1031
- exportName?: string | undefined;
1032
1037
  }, {
1033
- id: string;
1034
1038
  filePath: string;
1039
+ exportName?: string | undefined;
1035
1040
  entryPoint: string;
1041
+ id: string;
1036
1042
  sourcePath: string;
1037
- exportName?: string | undefined;
1038
1043
  }>, "many">>;
1039
1044
  queues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1040
1045
  name: z.ZodString;
@@ -1075,22 +1080,14 @@ export declare const WorkerManifest: z.ZodObject<{
1075
1080
  exclude?: string[] | undefined;
1076
1081
  }>>;
1077
1082
  }, "strip", z.ZodTypeAny, {
1078
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1083
+ configPath: string;
1079
1084
  tasks: {
1080
1085
  id: string;
1081
- filePath: string;
1082
- entryPoint: string;
1083
- maxDuration?: number | undefined;
1086
+ description?: string | undefined;
1084
1087
  queue?: {
1085
- name?: string | undefined;
1086
1088
  concurrencyLimit?: number | null | undefined;
1089
+ name?: string | undefined;
1087
1090
  } | 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
1091
  retry?: {
1095
1092
  maxAttempts?: number | undefined;
1096
1093
  factor?: number | undefined;
@@ -1098,11 +1095,14 @@ export declare const WorkerManifest: z.ZodObject<{
1098
1095
  maxTimeoutInMs?: number | undefined;
1099
1096
  randomize?: boolean | undefined;
1100
1097
  outOfMemory?: {
1101
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1098
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1102
1099
  } | undefined;
1103
1100
  } | undefined;
1104
- description?: string | undefined;
1105
- ttl?: string | number | undefined;
1101
+ machine?: {
1102
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1103
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1104
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1105
+ } | undefined;
1106
1106
  triggerSource?: string | undefined;
1107
1107
  agentConfig?: {
1108
1108
  type: string;
@@ -1110,65 +1110,63 @@ export declare const WorkerManifest: z.ZodObject<{
1110
1110
  schedule?: {
1111
1111
  cron: string;
1112
1112
  timezone: string;
1113
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1113
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1114
+ window?: string | undefined;
1114
1115
  } | undefined;
1116
+ maxDuration?: number | undefined;
1117
+ ttl?: string | number | undefined;
1115
1118
  payloadSchema?: unknown;
1119
+ filePath: string;
1120
+ exportName?: string | undefined;
1121
+ entryPoint: string;
1116
1122
  }[];
1117
- configPath: string;
1118
- workerEntryPoint: string;
1119
- runtimeVersion?: string | undefined;
1120
- queues?: {
1121
- name: string;
1122
- concurrencyLimit?: number | null | undefined;
1123
- }[] | undefined;
1124
1123
  prompts?: {
1125
- id: string;
1126
1124
  filePath: string;
1127
- entryPoint: string;
1128
1125
  exportName?: string | undefined;
1126
+ entryPoint: string;
1127
+ id: string;
1129
1128
  description?: string | undefined;
1130
1129
  content?: string | undefined;
1131
1130
  model?: string | undefined;
1132
1131
  config?: Record<string, unknown> | undefined;
1133
1132
  variableSchema?: unknown;
1134
1133
  }[] | 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
1134
  skills?: {
1143
- id: string;
1144
1135
  filePath: string;
1136
+ exportName?: string | undefined;
1145
1137
  entryPoint: string;
1138
+ id: string;
1146
1139
  sourcePath: string;
1147
- exportName?: string | undefined;
1148
1140
  }[] | undefined;
1141
+ queues?: {
1142
+ name: string;
1143
+ concurrencyLimit?: number | null | undefined;
1144
+ }[] | undefined;
1145
+ workerEntryPoint: string;
1149
1146
  controllerEntryPoint?: string | undefined;
1147
+ loaderEntryPoint?: string | undefined;
1148
+ initEntryPoint?: string | undefined;
1149
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1150
+ runtimeVersion?: string | undefined;
1151
+ customConditions?: string[] | undefined;
1150
1152
  timings?: Record<string, number> | undefined;
1151
1153
  processKeepAlive?: {
1152
1154
  enabled: boolean;
1153
1155
  maxExecutionsPerProcess?: number | undefined;
1154
1156
  } | undefined;
1157
+ otelImportHook?: {
1158
+ include?: string[] | undefined;
1159
+ exclude?: string[] | undefined;
1160
+ } | undefined;
1155
1161
  }, {
1156
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1162
+ configPath: string;
1157
1163
  tasks: {
1158
1164
  id: string;
1159
- filePath: string;
1160
- entryPoint: string;
1161
- maxDuration?: number | undefined;
1165
+ description?: string | undefined;
1162
1166
  queue?: {
1163
- name?: string | undefined;
1164
1167
  concurrencyLimit?: number | null | undefined;
1168
+ name?: string | undefined;
1165
1169
  } | 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
1170
  retry?: {
1173
1171
  maxAttempts?: number | undefined;
1174
1172
  factor?: number | undefined;
@@ -1176,11 +1174,14 @@ export declare const WorkerManifest: z.ZodObject<{
1176
1174
  maxTimeoutInMs?: number | undefined;
1177
1175
  randomize?: boolean | undefined;
1178
1176
  outOfMemory?: {
1179
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1177
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1180
1178
  } | undefined;
1181
1179
  } | undefined;
1182
- description?: string | undefined;
1183
- ttl?: string | number | undefined;
1180
+ machine?: {
1181
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1182
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1183
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1184
+ } | undefined;
1184
1185
  triggerSource?: string | undefined;
1185
1186
  agentConfig?: {
1186
1187
  type: string;
@@ -1188,48 +1189,54 @@ export declare const WorkerManifest: z.ZodObject<{
1188
1189
  schedule?: {
1189
1190
  cron: string;
1190
1191
  timezone: string;
1191
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1192
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1193
+ window?: string | undefined;
1192
1194
  } | undefined;
1195
+ maxDuration?: number | undefined;
1196
+ ttl?: string | number | undefined;
1193
1197
  payloadSchema?: unknown;
1198
+ filePath: string;
1199
+ exportName?: string | undefined;
1200
+ entryPoint: string;
1194
1201
  }[];
1195
- configPath: string;
1196
- workerEntryPoint: string;
1197
- runtimeVersion?: string | undefined;
1198
- queues?: {
1199
- name: string;
1200
- concurrencyLimit?: number | null | undefined;
1201
- }[] | undefined;
1202
1202
  prompts?: {
1203
- id: string;
1204
1203
  filePath: string;
1205
- entryPoint: string;
1206
1204
  exportName?: string | undefined;
1205
+ entryPoint: string;
1206
+ id: string;
1207
1207
  description?: string | undefined;
1208
1208
  content?: string | undefined;
1209
1209
  model?: string | undefined;
1210
1210
  config?: Record<string, unknown> | undefined;
1211
1211
  variableSchema?: unknown;
1212
1212
  }[] | 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
1213
  skills?: {
1221
- id: string;
1222
1214
  filePath: string;
1215
+ exportName?: string | undefined;
1223
1216
  entryPoint: string;
1217
+ id: string;
1224
1218
  sourcePath: string;
1225
- exportName?: string | undefined;
1226
1219
  }[] | undefined;
1220
+ queues?: {
1221
+ name: string;
1222
+ concurrencyLimit?: number | null | undefined;
1223
+ }[] | undefined;
1224
+ workerEntryPoint: string;
1227
1225
  controllerEntryPoint?: string | undefined;
1226
+ loaderEntryPoint?: string | undefined;
1227
+ initEntryPoint?: string | undefined;
1228
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1229
+ runtimeVersion?: string | undefined;
1230
+ customConditions?: string[] | undefined;
1228
1231
  timings?: Record<string, number> | undefined;
1229
1232
  processKeepAlive?: {
1230
1233
  enabled: boolean;
1231
1234
  maxExecutionsPerProcess?: number | undefined;
1232
1235
  } | undefined;
1236
+ otelImportHook?: {
1237
+ include?: string[] | undefined;
1238
+ exclude?: string[] | undefined;
1239
+ } | undefined;
1233
1240
  }>;
1234
1241
  export type WorkerManifest = z.infer<typeof WorkerManifest>;
1235
1242
  export declare const WorkerManifestMessage: z.ZodObject<{
@@ -1238,9 +1245,6 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1238
1245
  manifest: z.ZodObject<{
1239
1246
  configPath: z.ZodString;
1240
1247
  tasks: z.ZodArray<z.ZodObject<{
1241
- filePath: z.ZodString;
1242
- exportName: z.ZodOptional<z.ZodString>;
1243
- entryPoint: z.ZodString;
1244
1248
  id: z.ZodString;
1245
1249
  description: z.ZodOptional<z.ZodString>;
1246
1250
  queue: z.ZodOptional<z.ZodObject<{
@@ -1248,11 +1252,11 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1248
1252
  } & {
1249
1253
  name: z.ZodOptional<z.ZodString>;
1250
1254
  }, "strip", z.ZodTypeAny, {
1251
- name?: string | undefined;
1252
1255
  concurrencyLimit?: number | null | undefined;
1253
- }, {
1254
1256
  name?: string | undefined;
1257
+ }, {
1255
1258
  concurrencyLimit?: number | null | undefined;
1259
+ name?: string | undefined;
1256
1260
  }>>;
1257
1261
  retry: z.ZodOptional<z.ZodObject<{
1258
1262
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -1263,9 +1267,9 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1263
1267
  outOfMemory: z.ZodOptional<z.ZodObject<{
1264
1268
  machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
1265
1269
  }, "strip", z.ZodTypeAny, {
1266
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1270
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1267
1271
  }, {
1268
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1272
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1269
1273
  }>>;
1270
1274
  }, "strip", z.ZodTypeAny, {
1271
1275
  maxAttempts?: number | undefined;
@@ -1274,7 +1278,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1274
1278
  maxTimeoutInMs?: number | undefined;
1275
1279
  randomize?: boolean | undefined;
1276
1280
  outOfMemory?: {
1277
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1281
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1278
1282
  } | undefined;
1279
1283
  }, {
1280
1284
  maxAttempts?: number | undefined;
@@ -1283,7 +1287,7 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1283
1287
  maxTimeoutInMs?: number | undefined;
1284
1288
  randomize?: boolean | undefined;
1285
1289
  outOfMemory?: {
1286
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1290
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1287
1291
  } | undefined;
1288
1292
  }>>;
1289
1293
  machine: z.ZodOptional<z.ZodObject<{
@@ -1291,13 +1295,13 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1291
1295
  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
1296
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
1293
1297
  }, "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;
1298
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1299
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1300
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1297
1301
  }, {
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;
1302
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1303
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1304
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1301
1305
  }>>;
1302
1306
  triggerSource: z.ZodOptional<z.ZodString>;
1303
1307
  agentConfig: z.ZodOptional<z.ZodObject<{
@@ -1311,33 +1315,31 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1311
1315
  cron: z.ZodString;
1312
1316
  timezone: z.ZodString;
1313
1317
  environments: z.ZodOptional<z.ZodArray<z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>, "many">>;
1318
+ window: z.ZodOptional<z.ZodString>;
1314
1319
  }, "strip", z.ZodTypeAny, {
1315
1320
  cron: string;
1316
1321
  timezone: string;
1317
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1322
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1323
+ window?: string | undefined;
1318
1324
  }, {
1319
1325
  cron: string;
1320
1326
  timezone: string;
1321
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1327
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1328
+ window?: string | undefined;
1322
1329
  }>>;
1323
1330
  maxDuration: z.ZodOptional<z.ZodNumber>;
1324
1331
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1325
1332
  payloadSchema: z.ZodOptional<z.ZodUnknown>;
1333
+ filePath: z.ZodString;
1334
+ exportName: z.ZodOptional<z.ZodString>;
1335
+ entryPoint: z.ZodString;
1326
1336
  }, "strip", z.ZodTypeAny, {
1327
1337
  id: string;
1328
- filePath: string;
1329
- entryPoint: string;
1330
- maxDuration?: number | undefined;
1338
+ description?: string | undefined;
1331
1339
  queue?: {
1332
- name?: string | undefined;
1333
1340
  concurrencyLimit?: number | null | undefined;
1341
+ name?: string | undefined;
1334
1342
  } | 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
1343
  retry?: {
1342
1344
  maxAttempts?: number | undefined;
1343
1345
  factor?: number | undefined;
@@ -1345,11 +1347,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1345
1347
  maxTimeoutInMs?: number | undefined;
1346
1348
  randomize?: boolean | undefined;
1347
1349
  outOfMemory?: {
1348
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1350
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1349
1351
  } | undefined;
1350
1352
  } | undefined;
1351
- description?: string | undefined;
1352
- ttl?: string | number | undefined;
1353
+ machine?: {
1354
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1355
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1356
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1357
+ } | undefined;
1353
1358
  triggerSource?: string | undefined;
1354
1359
  agentConfig?: {
1355
1360
  type: string;
@@ -1357,24 +1362,22 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1357
1362
  schedule?: {
1358
1363
  cron: string;
1359
1364
  timezone: string;
1360
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1365
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1366
+ window?: string | undefined;
1361
1367
  } | undefined;
1368
+ maxDuration?: number | undefined;
1369
+ ttl?: string | number | undefined;
1362
1370
  payloadSchema?: unknown;
1363
- }, {
1364
- id: string;
1365
1371
  filePath: string;
1372
+ exportName?: string | undefined;
1366
1373
  entryPoint: string;
1367
- maxDuration?: number | undefined;
1374
+ }, {
1375
+ id: string;
1376
+ description?: string | undefined;
1368
1377
  queue?: {
1369
- name?: string | undefined;
1370
1378
  concurrencyLimit?: number | null | undefined;
1379
+ name?: string | undefined;
1371
1380
  } | 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
1381
  retry?: {
1379
1382
  maxAttempts?: number | undefined;
1380
1383
  factor?: number | undefined;
@@ -1382,11 +1385,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1382
1385
  maxTimeoutInMs?: number | undefined;
1383
1386
  randomize?: boolean | undefined;
1384
1387
  outOfMemory?: {
1385
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1388
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1386
1389
  } | undefined;
1387
1390
  } | undefined;
1388
- description?: string | undefined;
1389
- ttl?: string | number | undefined;
1391
+ machine?: {
1392
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1393
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1394
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1395
+ } | undefined;
1390
1396
  triggerSource?: string | undefined;
1391
1397
  agentConfig?: {
1392
1398
  type: string;
@@ -1394,9 +1400,15 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1394
1400
  schedule?: {
1395
1401
  cron: string;
1396
1402
  timezone: string;
1397
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1403
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1404
+ window?: string | undefined;
1398
1405
  } | undefined;
1406
+ maxDuration?: number | undefined;
1407
+ ttl?: string | number | undefined;
1399
1408
  payloadSchema?: unknown;
1409
+ filePath: string;
1410
+ exportName?: string | undefined;
1411
+ entryPoint: string;
1400
1412
  }>, "many">;
1401
1413
  prompts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1402
1414
  filePath: z.ZodString;
@@ -1409,20 +1421,20 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1409
1421
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1410
1422
  variableSchema: z.ZodOptional<z.ZodUnknown>;
1411
1423
  }, "strip", z.ZodTypeAny, {
1412
- id: string;
1413
1424
  filePath: string;
1414
- entryPoint: string;
1415
1425
  exportName?: string | undefined;
1426
+ entryPoint: string;
1427
+ id: string;
1416
1428
  description?: string | undefined;
1417
1429
  content?: string | undefined;
1418
1430
  model?: string | undefined;
1419
1431
  config?: Record<string, unknown> | undefined;
1420
1432
  variableSchema?: unknown;
1421
1433
  }, {
1422
- id: string;
1423
1434
  filePath: string;
1424
- entryPoint: string;
1425
1435
  exportName?: string | undefined;
1436
+ entryPoint: string;
1437
+ id: string;
1426
1438
  description?: string | undefined;
1427
1439
  content?: string | undefined;
1428
1440
  model?: string | undefined;
@@ -1436,17 +1448,17 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1436
1448
  id: z.ZodString;
1437
1449
  sourcePath: z.ZodString;
1438
1450
  }, "strip", z.ZodTypeAny, {
1439
- id: string;
1440
1451
  filePath: string;
1452
+ exportName?: string | undefined;
1441
1453
  entryPoint: string;
1454
+ id: string;
1442
1455
  sourcePath: string;
1443
- exportName?: string | undefined;
1444
1456
  }, {
1445
- id: string;
1446
1457
  filePath: string;
1458
+ exportName?: string | undefined;
1447
1459
  entryPoint: string;
1460
+ id: string;
1448
1461
  sourcePath: string;
1449
- exportName?: string | undefined;
1450
1462
  }>, "many">>;
1451
1463
  queues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1452
1464
  name: z.ZodString;
@@ -1487,22 +1499,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1487
1499
  exclude?: string[] | undefined;
1488
1500
  }>>;
1489
1501
  }, "strip", z.ZodTypeAny, {
1490
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1502
+ configPath: string;
1491
1503
  tasks: {
1492
1504
  id: string;
1493
- filePath: string;
1494
- entryPoint: string;
1495
- maxDuration?: number | undefined;
1505
+ description?: string | undefined;
1496
1506
  queue?: {
1497
- name?: string | undefined;
1498
1507
  concurrencyLimit?: number | null | undefined;
1508
+ name?: string | undefined;
1499
1509
  } | 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
1510
  retry?: {
1507
1511
  maxAttempts?: number | undefined;
1508
1512
  factor?: number | undefined;
@@ -1510,11 +1514,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1510
1514
  maxTimeoutInMs?: number | undefined;
1511
1515
  randomize?: boolean | undefined;
1512
1516
  outOfMemory?: {
1513
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1517
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1514
1518
  } | undefined;
1515
1519
  } | undefined;
1516
- description?: string | undefined;
1517
- ttl?: string | number | undefined;
1520
+ machine?: {
1521
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1522
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1523
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1524
+ } | undefined;
1518
1525
  triggerSource?: string | undefined;
1519
1526
  agentConfig?: {
1520
1527
  type: string;
@@ -1522,65 +1529,63 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1522
1529
  schedule?: {
1523
1530
  cron: string;
1524
1531
  timezone: string;
1525
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1532
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1533
+ window?: string | undefined;
1526
1534
  } | undefined;
1535
+ maxDuration?: number | undefined;
1536
+ ttl?: string | number | undefined;
1527
1537
  payloadSchema?: unknown;
1538
+ filePath: string;
1539
+ exportName?: string | undefined;
1540
+ entryPoint: string;
1528
1541
  }[];
1529
- configPath: string;
1530
- workerEntryPoint: string;
1531
- runtimeVersion?: string | undefined;
1532
- queues?: {
1533
- name: string;
1534
- concurrencyLimit?: number | null | undefined;
1535
- }[] | undefined;
1536
1542
  prompts?: {
1537
- id: string;
1538
1543
  filePath: string;
1539
- entryPoint: string;
1540
1544
  exportName?: string | undefined;
1545
+ entryPoint: string;
1546
+ id: string;
1541
1547
  description?: string | undefined;
1542
1548
  content?: string | undefined;
1543
1549
  model?: string | undefined;
1544
1550
  config?: Record<string, unknown> | undefined;
1545
1551
  variableSchema?: unknown;
1546
1552
  }[] | 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
1553
  skills?: {
1555
- id: string;
1556
1554
  filePath: string;
1555
+ exportName?: string | undefined;
1557
1556
  entryPoint: string;
1557
+ id: string;
1558
1558
  sourcePath: string;
1559
- exportName?: string | undefined;
1560
1559
  }[] | undefined;
1560
+ queues?: {
1561
+ name: string;
1562
+ concurrencyLimit?: number | null | undefined;
1563
+ }[] | undefined;
1564
+ workerEntryPoint: string;
1561
1565
  controllerEntryPoint?: string | undefined;
1566
+ loaderEntryPoint?: string | undefined;
1567
+ initEntryPoint?: string | undefined;
1568
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1569
+ runtimeVersion?: string | undefined;
1570
+ customConditions?: string[] | undefined;
1562
1571
  timings?: Record<string, number> | undefined;
1563
1572
  processKeepAlive?: {
1564
1573
  enabled: boolean;
1565
1574
  maxExecutionsPerProcess?: number | undefined;
1566
1575
  } | undefined;
1576
+ otelImportHook?: {
1577
+ include?: string[] | undefined;
1578
+ exclude?: string[] | undefined;
1579
+ } | undefined;
1567
1580
  }, {
1568
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1581
+ configPath: string;
1569
1582
  tasks: {
1570
1583
  id: string;
1571
- filePath: string;
1572
- entryPoint: string;
1573
- maxDuration?: number | undefined;
1584
+ description?: string | undefined;
1574
1585
  queue?: {
1575
- name?: string | undefined;
1576
1586
  concurrencyLimit?: number | null | undefined;
1587
+ name?: string | undefined;
1577
1588
  } | 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
1589
  retry?: {
1585
1590
  maxAttempts?: number | undefined;
1586
1591
  factor?: number | undefined;
@@ -1588,11 +1593,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1588
1593
  maxTimeoutInMs?: number | undefined;
1589
1594
  randomize?: boolean | undefined;
1590
1595
  outOfMemory?: {
1591
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1596
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1592
1597
  } | undefined;
1593
1598
  } | undefined;
1594
- description?: string | undefined;
1595
- ttl?: string | number | undefined;
1599
+ machine?: {
1600
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1601
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1602
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1603
+ } | undefined;
1596
1604
  triggerSource?: string | undefined;
1597
1605
  agentConfig?: {
1598
1606
  type: string;
@@ -1600,67 +1608,65 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1600
1608
  schedule?: {
1601
1609
  cron: string;
1602
1610
  timezone: string;
1603
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1611
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1612
+ window?: string | undefined;
1604
1613
  } | undefined;
1614
+ maxDuration?: number | undefined;
1615
+ ttl?: string | number | undefined;
1605
1616
  payloadSchema?: unknown;
1617
+ filePath: string;
1618
+ exportName?: string | undefined;
1619
+ entryPoint: string;
1606
1620
  }[];
1607
- configPath: string;
1608
- workerEntryPoint: string;
1609
- runtimeVersion?: string | undefined;
1610
- queues?: {
1611
- name: string;
1612
- concurrencyLimit?: number | null | undefined;
1613
- }[] | undefined;
1614
1621
  prompts?: {
1615
- id: string;
1616
1622
  filePath: string;
1617
- entryPoint: string;
1618
1623
  exportName?: string | undefined;
1624
+ entryPoint: string;
1625
+ id: string;
1619
1626
  description?: string | undefined;
1620
1627
  content?: string | undefined;
1621
1628
  model?: string | undefined;
1622
1629
  config?: Record<string, unknown> | undefined;
1623
1630
  variableSchema?: unknown;
1624
1631
  }[] | 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
1632
  skills?: {
1633
- id: string;
1634
1633
  filePath: string;
1634
+ exportName?: string | undefined;
1635
1635
  entryPoint: string;
1636
+ id: string;
1636
1637
  sourcePath: string;
1637
- exportName?: string | undefined;
1638
1638
  }[] | undefined;
1639
+ queues?: {
1640
+ name: string;
1641
+ concurrencyLimit?: number | null | undefined;
1642
+ }[] | undefined;
1643
+ workerEntryPoint: string;
1639
1644
  controllerEntryPoint?: string | undefined;
1645
+ loaderEntryPoint?: string | undefined;
1646
+ initEntryPoint?: string | undefined;
1647
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1648
+ runtimeVersion?: string | undefined;
1649
+ customConditions?: string[] | undefined;
1640
1650
  timings?: Record<string, number> | undefined;
1641
1651
  processKeepAlive?: {
1642
1652
  enabled: boolean;
1643
1653
  maxExecutionsPerProcess?: number | undefined;
1644
1654
  } | undefined;
1655
+ otelImportHook?: {
1656
+ include?: string[] | undefined;
1657
+ exclude?: string[] | undefined;
1658
+ } | undefined;
1645
1659
  }>;
1646
1660
  }, "strip", z.ZodTypeAny, {
1647
1661
  manifest: {
1648
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1662
+ configPath: string;
1649
1663
  tasks: {
1650
1664
  id: string;
1651
- filePath: string;
1652
- entryPoint: string;
1653
- maxDuration?: number | undefined;
1665
+ description?: string | undefined;
1654
1666
  queue?: {
1655
- name?: string | undefined;
1656
1667
  concurrencyLimit?: number | null | undefined;
1668
+ name?: string | undefined;
1657
1669
  } | 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
1670
  retry?: {
1665
1671
  maxAttempts?: number | undefined;
1666
1672
  factor?: number | undefined;
@@ -1668,11 +1674,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1668
1674
  maxTimeoutInMs?: number | undefined;
1669
1675
  randomize?: boolean | undefined;
1670
1676
  outOfMemory?: {
1671
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1677
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1672
1678
  } | undefined;
1673
1679
  } | undefined;
1674
- description?: string | undefined;
1675
- ttl?: string | number | undefined;
1680
+ machine?: {
1681
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1682
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1683
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1684
+ } | undefined;
1676
1685
  triggerSource?: string | undefined;
1677
1686
  agentConfig?: {
1678
1687
  type: string;
@@ -1680,67 +1689,65 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1680
1689
  schedule?: {
1681
1690
  cron: string;
1682
1691
  timezone: string;
1683
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1692
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1693
+ window?: string | undefined;
1684
1694
  } | undefined;
1695
+ maxDuration?: number | undefined;
1696
+ ttl?: string | number | undefined;
1685
1697
  payloadSchema?: unknown;
1698
+ filePath: string;
1699
+ exportName?: string | undefined;
1700
+ entryPoint: string;
1686
1701
  }[];
1687
- configPath: string;
1688
- workerEntryPoint: string;
1689
- runtimeVersion?: string | undefined;
1690
- queues?: {
1691
- name: string;
1692
- concurrencyLimit?: number | null | undefined;
1693
- }[] | undefined;
1694
1702
  prompts?: {
1695
- id: string;
1696
1703
  filePath: string;
1697
- entryPoint: string;
1698
1704
  exportName?: string | undefined;
1705
+ entryPoint: string;
1706
+ id: string;
1699
1707
  description?: string | undefined;
1700
1708
  content?: string | undefined;
1701
1709
  model?: string | undefined;
1702
1710
  config?: Record<string, unknown> | undefined;
1703
1711
  variableSchema?: unknown;
1704
1712
  }[] | 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
1713
  skills?: {
1713
- id: string;
1714
1714
  filePath: string;
1715
+ exportName?: string | undefined;
1715
1716
  entryPoint: string;
1717
+ id: string;
1716
1718
  sourcePath: string;
1717
- exportName?: string | undefined;
1718
1719
  }[] | undefined;
1720
+ queues?: {
1721
+ name: string;
1722
+ concurrencyLimit?: number | null | undefined;
1723
+ }[] | undefined;
1724
+ workerEntryPoint: string;
1719
1725
  controllerEntryPoint?: string | undefined;
1726
+ loaderEntryPoint?: string | undefined;
1727
+ initEntryPoint?: string | undefined;
1728
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1729
+ runtimeVersion?: string | undefined;
1730
+ customConditions?: string[] | undefined;
1720
1731
  timings?: Record<string, number> | undefined;
1721
1732
  processKeepAlive?: {
1722
1733
  enabled: boolean;
1723
1734
  maxExecutionsPerProcess?: number | undefined;
1724
1735
  } | undefined;
1736
+ otelImportHook?: {
1737
+ include?: string[] | undefined;
1738
+ exclude?: string[] | undefined;
1739
+ } | undefined;
1725
1740
  };
1726
1741
  }, {
1727
1742
  manifest: {
1728
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1743
+ configPath: string;
1729
1744
  tasks: {
1730
1745
  id: string;
1731
- filePath: string;
1732
- entryPoint: string;
1733
- maxDuration?: number | undefined;
1746
+ description?: string | undefined;
1734
1747
  queue?: {
1735
- name?: string | undefined;
1736
1748
  concurrencyLimit?: number | null | undefined;
1749
+ name?: string | undefined;
1737
1750
  } | 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
1751
  retry?: {
1745
1752
  maxAttempts?: number | undefined;
1746
1753
  factor?: number | undefined;
@@ -1748,11 +1755,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1748
1755
  maxTimeoutInMs?: number | undefined;
1749
1756
  randomize?: boolean | undefined;
1750
1757
  outOfMemory?: {
1751
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1758
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1752
1759
  } | undefined;
1753
1760
  } | undefined;
1754
- description?: string | undefined;
1755
- ttl?: string | number | undefined;
1761
+ machine?: {
1762
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1763
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1764
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1765
+ } | undefined;
1756
1766
  triggerSource?: string | undefined;
1757
1767
  agentConfig?: {
1758
1768
  type: string;
@@ -1760,70 +1770,68 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1760
1770
  schedule?: {
1761
1771
  cron: string;
1762
1772
  timezone: string;
1763
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1773
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1774
+ window?: string | undefined;
1764
1775
  } | undefined;
1776
+ maxDuration?: number | undefined;
1777
+ ttl?: string | number | undefined;
1765
1778
  payloadSchema?: unknown;
1779
+ filePath: string;
1780
+ exportName?: string | undefined;
1781
+ entryPoint: string;
1766
1782
  }[];
1767
- configPath: string;
1768
- workerEntryPoint: string;
1769
- runtimeVersion?: string | undefined;
1770
- queues?: {
1771
- name: string;
1772
- concurrencyLimit?: number | null | undefined;
1773
- }[] | undefined;
1774
1783
  prompts?: {
1775
- id: string;
1776
1784
  filePath: string;
1777
- entryPoint: string;
1778
1785
  exportName?: string | undefined;
1786
+ entryPoint: string;
1787
+ id: string;
1779
1788
  description?: string | undefined;
1780
1789
  content?: string | undefined;
1781
1790
  model?: string | undefined;
1782
1791
  config?: Record<string, unknown> | undefined;
1783
1792
  variableSchema?: unknown;
1784
1793
  }[] | 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
1794
  skills?: {
1793
- id: string;
1794
1795
  filePath: string;
1796
+ exportName?: string | undefined;
1795
1797
  entryPoint: string;
1798
+ id: string;
1796
1799
  sourcePath: string;
1797
- exportName?: string | undefined;
1798
1800
  }[] | undefined;
1801
+ queues?: {
1802
+ name: string;
1803
+ concurrencyLimit?: number | null | undefined;
1804
+ }[] | undefined;
1805
+ workerEntryPoint: string;
1799
1806
  controllerEntryPoint?: string | undefined;
1807
+ loaderEntryPoint?: string | undefined;
1808
+ initEntryPoint?: string | undefined;
1809
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1810
+ runtimeVersion?: string | undefined;
1811
+ customConditions?: string[] | undefined;
1800
1812
  timings?: Record<string, number> | undefined;
1801
1813
  processKeepAlive?: {
1802
1814
  enabled: boolean;
1803
1815
  maxExecutionsPerProcess?: number | undefined;
1804
1816
  } | undefined;
1817
+ otelImportHook?: {
1818
+ include?: string[] | undefined;
1819
+ exclude?: string[] | undefined;
1820
+ } | undefined;
1805
1821
  };
1806
1822
  }>;
1807
1823
  }, "strip", z.ZodTypeAny, {
1808
1824
  type: "worker-manifest";
1809
1825
  data: {
1810
1826
  manifest: {
1811
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1827
+ configPath: string;
1812
1828
  tasks: {
1813
1829
  id: string;
1814
- filePath: string;
1815
- entryPoint: string;
1816
- maxDuration?: number | undefined;
1830
+ description?: string | undefined;
1817
1831
  queue?: {
1818
- name?: string | undefined;
1819
1832
  concurrencyLimit?: number | null | undefined;
1833
+ name?: string | undefined;
1820
1834
  } | 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
1835
  retry?: {
1828
1836
  maxAttempts?: number | undefined;
1829
1837
  factor?: number | undefined;
@@ -1831,11 +1839,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1831
1839
  maxTimeoutInMs?: number | undefined;
1832
1840
  randomize?: boolean | undefined;
1833
1841
  outOfMemory?: {
1834
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1842
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1835
1843
  } | undefined;
1836
1844
  } | undefined;
1837
- description?: string | undefined;
1838
- ttl?: string | number | undefined;
1845
+ machine?: {
1846
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1847
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1848
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1849
+ } | undefined;
1839
1850
  triggerSource?: string | undefined;
1840
1851
  agentConfig?: {
1841
1852
  type: string;
@@ -1843,70 +1854,68 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1843
1854
  schedule?: {
1844
1855
  cron: string;
1845
1856
  timezone: string;
1846
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1857
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1858
+ window?: string | undefined;
1847
1859
  } | undefined;
1860
+ maxDuration?: number | undefined;
1861
+ ttl?: string | number | undefined;
1848
1862
  payloadSchema?: unknown;
1863
+ filePath: string;
1864
+ exportName?: string | undefined;
1865
+ entryPoint: string;
1849
1866
  }[];
1850
- configPath: string;
1851
- workerEntryPoint: string;
1852
- runtimeVersion?: string | undefined;
1853
- queues?: {
1854
- name: string;
1855
- concurrencyLimit?: number | null | undefined;
1856
- }[] | undefined;
1857
1867
  prompts?: {
1858
- id: string;
1859
1868
  filePath: string;
1860
- entryPoint: string;
1861
1869
  exportName?: string | undefined;
1870
+ entryPoint: string;
1871
+ id: string;
1862
1872
  description?: string | undefined;
1863
1873
  content?: string | undefined;
1864
1874
  model?: string | undefined;
1865
1875
  config?: Record<string, unknown> | undefined;
1866
1876
  variableSchema?: unknown;
1867
1877
  }[] | 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
1878
  skills?: {
1876
- id: string;
1877
1879
  filePath: string;
1880
+ exportName?: string | undefined;
1878
1881
  entryPoint: string;
1882
+ id: string;
1879
1883
  sourcePath: string;
1880
- exportName?: string | undefined;
1881
1884
  }[] | undefined;
1885
+ queues?: {
1886
+ name: string;
1887
+ concurrencyLimit?: number | null | undefined;
1888
+ }[] | undefined;
1889
+ workerEntryPoint: string;
1882
1890
  controllerEntryPoint?: string | undefined;
1891
+ loaderEntryPoint?: string | undefined;
1892
+ initEntryPoint?: string | undefined;
1893
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1894
+ runtimeVersion?: string | undefined;
1895
+ customConditions?: string[] | undefined;
1883
1896
  timings?: Record<string, number> | undefined;
1884
1897
  processKeepAlive?: {
1885
1898
  enabled: boolean;
1886
1899
  maxExecutionsPerProcess?: number | undefined;
1887
1900
  } | undefined;
1901
+ otelImportHook?: {
1902
+ include?: string[] | undefined;
1903
+ exclude?: string[] | undefined;
1904
+ } | undefined;
1888
1905
  };
1889
1906
  };
1890
1907
  }, {
1891
1908
  type: "worker-manifest";
1892
1909
  data: {
1893
1910
  manifest: {
1894
- runtime: "node" | "node-22" | "node-24" | "node-26" | "bun";
1911
+ configPath: string;
1895
1912
  tasks: {
1896
1913
  id: string;
1897
- filePath: string;
1898
- entryPoint: string;
1899
- maxDuration?: number | undefined;
1914
+ description?: string | undefined;
1900
1915
  queue?: {
1901
- name?: string | undefined;
1902
1916
  concurrencyLimit?: number | null | undefined;
1917
+ name?: string | undefined;
1903
1918
  } | 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
1919
  retry?: {
1911
1920
  maxAttempts?: number | undefined;
1912
1921
  factor?: number | undefined;
@@ -1914,11 +1923,14 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1914
1923
  maxTimeoutInMs?: number | undefined;
1915
1924
  randomize?: boolean | undefined;
1916
1925
  outOfMemory?: {
1917
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1926
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1918
1927
  } | undefined;
1919
1928
  } | undefined;
1920
- description?: string | undefined;
1921
- ttl?: string | number | undefined;
1929
+ machine?: {
1930
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
1931
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
1932
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
1933
+ } | undefined;
1922
1934
  triggerSource?: string | undefined;
1923
1935
  agentConfig?: {
1924
1936
  type: string;
@@ -1926,48 +1938,54 @@ export declare const WorkerManifestMessage: z.ZodObject<{
1926
1938
  schedule?: {
1927
1939
  cron: string;
1928
1940
  timezone: string;
1929
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
1941
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
1942
+ window?: string | undefined;
1930
1943
  } | undefined;
1944
+ maxDuration?: number | undefined;
1945
+ ttl?: string | number | undefined;
1931
1946
  payloadSchema?: unknown;
1947
+ filePath: string;
1948
+ exportName?: string | undefined;
1949
+ entryPoint: string;
1932
1950
  }[];
1933
- configPath: string;
1934
- workerEntryPoint: string;
1935
- runtimeVersion?: string | undefined;
1936
- queues?: {
1937
- name: string;
1938
- concurrencyLimit?: number | null | undefined;
1939
- }[] | undefined;
1940
1951
  prompts?: {
1941
- id: string;
1942
1952
  filePath: string;
1943
- entryPoint: string;
1944
1953
  exportName?: string | undefined;
1954
+ entryPoint: string;
1955
+ id: string;
1945
1956
  description?: string | undefined;
1946
1957
  content?: string | undefined;
1947
1958
  model?: string | undefined;
1948
1959
  config?: Record<string, unknown> | undefined;
1949
1960
  variableSchema?: unknown;
1950
1961
  }[] | 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
1962
  skills?: {
1959
- id: string;
1960
1963
  filePath: string;
1964
+ exportName?: string | undefined;
1961
1965
  entryPoint: string;
1966
+ id: string;
1962
1967
  sourcePath: string;
1963
- exportName?: string | undefined;
1964
1968
  }[] | undefined;
1969
+ queues?: {
1970
+ name: string;
1971
+ concurrencyLimit?: number | null | undefined;
1972
+ }[] | undefined;
1973
+ workerEntryPoint: string;
1965
1974
  controllerEntryPoint?: string | undefined;
1975
+ loaderEntryPoint?: string | undefined;
1976
+ initEntryPoint?: string | undefined;
1977
+ runtime: "bun" | "node" | "node-22" | "node-24" | "node-26";
1978
+ runtimeVersion?: string | undefined;
1979
+ customConditions?: string[] | undefined;
1966
1980
  timings?: Record<string, number> | undefined;
1967
1981
  processKeepAlive?: {
1968
1982
  enabled: boolean;
1969
1983
  maxExecutionsPerProcess?: number | undefined;
1970
1984
  } | undefined;
1985
+ otelImportHook?: {
1986
+ include?: string[] | undefined;
1987
+ exclude?: string[] | undefined;
1988
+ } | undefined;
1971
1989
  };
1972
1990
  };
1973
1991
  }>;
@@ -1980,13 +1998,13 @@ export declare const ImportError: z.ZodObject<{
1980
1998
  }, "strip", z.ZodTypeAny, {
1981
1999
  message: string;
1982
2000
  file: string;
1983
- name?: string | undefined;
1984
2001
  stack?: string | undefined;
2002
+ name?: string | undefined;
1985
2003
  }, {
1986
2004
  message: string;
1987
2005
  file: string;
1988
- name?: string | undefined;
1989
2006
  stack?: string | undefined;
2007
+ name?: string | undefined;
1990
2008
  }>;
1991
2009
  export type ImportError = z.infer<typeof ImportError>;
1992
2010
  export declare const ImportTaskFileErrors: z.ZodArray<z.ZodObject<{
@@ -1997,12 +2015,12 @@ export declare const ImportTaskFileErrors: z.ZodArray<z.ZodObject<{
1997
2015
  }, "strip", z.ZodTypeAny, {
1998
2016
  message: string;
1999
2017
  file: string;
2000
- name?: string | undefined;
2001
2018
  stack?: string | undefined;
2019
+ name?: string | undefined;
2002
2020
  }, {
2003
2021
  message: string;
2004
2022
  file: string;
2005
- name?: string | undefined;
2006
2023
  stack?: string | undefined;
2024
+ name?: string | undefined;
2007
2025
  }>, "many">;
2008
2026
  export type ImportTaskFileErrors = z.infer<typeof ImportTaskFileErrors>;