@trigger.dev/core 4.5.9 → 4.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) 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 +422 -422
  13. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  14. package/dist/commonjs/v3/apiClient/pagination.js.map +1 -1
  15. package/dist/commonjs/v3/apiClient/runStream.d.ts +8 -0
  16. package/dist/commonjs/v3/apiClient/runStream.js +64 -17
  17. package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
  18. package/dist/commonjs/v3/apiClient/runStream.test.js +34 -0
  19. package/dist/commonjs/v3/apiClient/runStream.test.js.map +1 -1
  20. package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
  21. package/dist/commonjs/v3/apiClientManager/index.js.map +1 -1
  22. package/dist/commonjs/v3/apiKeys.js.map +1 -1
  23. package/dist/commonjs/v3/apps/backoff.js.map +1 -1
  24. package/dist/commonjs/v3/apps/exec.js.map +1 -1
  25. package/dist/commonjs/v3/apps/http.js.map +1 -1
  26. package/dist/commonjs/v3/build/extensions.js.map +1 -1
  27. package/dist/commonjs/v3/build/flags.js.map +1 -1
  28. package/dist/commonjs/v3/build/runtime.js.map +1 -1
  29. package/dist/commonjs/v3/clock/clock.js.map +1 -1
  30. package/dist/commonjs/v3/clock/index.js.map +1 -1
  31. package/dist/commonjs/v3/clock/preciseWallClock.js.map +1 -1
  32. package/dist/commonjs/v3/clock/simpleClock.js.map +1 -1
  33. package/dist/commonjs/v3/consoleInterceptor.js.map +1 -1
  34. package/dist/commonjs/v3/errors.d.ts +4 -4
  35. package/dist/commonjs/v3/errors.js.map +1 -1
  36. package/dist/commonjs/v3/heartbeats/api.js.map +1 -1
  37. package/dist/commonjs/v3/heartbeats/manager.js.map +1 -1
  38. package/dist/commonjs/v3/icons.d.ts +1 -1
  39. package/dist/commonjs/v3/icons.js.map +1 -1
  40. package/dist/commonjs/v3/idempotency-key-catalog/inMemoryIdempotencyKeyCatalog.js.map +1 -1
  41. package/dist/commonjs/v3/idempotency-key-catalog/index.js.map +1 -1
  42. package/dist/commonjs/v3/idempotencyKeys.js.map +1 -1
  43. package/dist/commonjs/v3/index.js.map +1 -1
  44. package/dist/commonjs/v3/inputStreams/index.js.map +1 -1
  45. package/dist/commonjs/v3/inputStreams/manager.js.map +1 -1
  46. package/dist/commonjs/v3/inputStreams/noopManager.js.map +1 -1
  47. package/dist/commonjs/v3/inputStreams/types.js.map +1 -1
  48. package/dist/commonjs/v3/isomorphic/dates.js.map +1 -1
  49. package/dist/commonjs/v3/isomorphic/duration.js.map +1 -1
  50. package/dist/commonjs/v3/isomorphic/friendlyId.js.map +1 -1
  51. package/dist/commonjs/v3/isomorphic/maxDuration.js.map +1 -1
  52. package/dist/commonjs/v3/isomorphic/queueName.js.map +1 -1
  53. package/dist/commonjs/v3/isomorphic/runOpsResidency.js.map +1 -1
  54. package/dist/commonjs/v3/isomorphic/traceContext.js.map +1 -1
  55. package/dist/commonjs/v3/jwt.js.map +1 -1
  56. package/dist/commonjs/v3/lifecycleHooks/index.js.map +1 -1
  57. package/dist/commonjs/v3/lifecycleHooks/manager.js.map +1 -1
  58. package/dist/commonjs/v3/limits.js.map +1 -1
  59. package/dist/commonjs/v3/locals/index.js.map +1 -1
  60. package/dist/commonjs/v3/locals/manager.js.map +1 -1
  61. package/dist/commonjs/v3/locals-api.js.map +1 -1
  62. package/dist/commonjs/v3/logger/index.js.map +1 -1
  63. package/dist/commonjs/v3/logger/taskLogger.js.map +1 -1
  64. package/dist/commonjs/v3/machines/index.js.map +1 -1
  65. package/dist/commonjs/v3/otel/diskIoMetrics.js.map +1 -1
  66. package/dist/commonjs/v3/otel/filesystemMetrics.js.map +1 -1
  67. package/dist/commonjs/v3/otel/nodejsRuntimeMetrics.js.map +1 -1
  68. package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
  69. package/dist/commonjs/v3/otel/utils.js.map +1 -1
  70. package/dist/commonjs/v3/realtimeStreams/index.js.map +1 -1
  71. package/dist/commonjs/v3/realtimeStreams/manager.js.map +1 -1
  72. package/dist/commonjs/v3/realtimeStreams/noopManager.js.map +1 -1
  73. package/dist/commonjs/v3/realtimeStreams/sessionStreamInstance.js.map +1 -1
  74. package/dist/commonjs/v3/realtimeStreams/sessionStreamOneshot.js.map +1 -1
  75. package/dist/commonjs/v3/realtimeStreams/streamInstance.js.map +1 -1
  76. package/dist/commonjs/v3/realtimeStreams/streamsWriterV1.js.map +1 -1
  77. package/dist/commonjs/v3/realtimeStreams/streamsWriterV2.js +10 -2
  78. package/dist/commonjs/v3/realtimeStreams/streamsWriterV2.js.map +1 -1
  79. package/dist/commonjs/v3/resource-catalog/index.js.map +1 -1
  80. package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
  81. package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
  82. package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPool.js.map +1 -1
  83. package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPoolMetrics.js.map +1 -1
  84. package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +211 -211
  85. package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
  86. package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
  87. package/dist/commonjs/v3/runEngineWorker/supervisor/queueMetricsProcessor.js.map +1 -1
  88. package/dist/commonjs/v3/runEngineWorker/supervisor/scalingStrategies.js.map +1 -1
  89. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +1126 -1126
  90. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
  91. package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
  92. package/dist/commonjs/v3/runEngineWorker/supervisor/util.js.map +1 -1
  93. package/dist/commonjs/v3/runEngineWorker/util.js.map +1 -1
  94. package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +162 -162
  95. package/dist/commonjs/v3/runEngineWorker/workload/http.js +8 -0
  96. package/dist/commonjs/v3/runEngineWorker/workload/http.js.map +1 -1
  97. package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +974 -974
  98. package/dist/commonjs/v3/runEngineWorker/workload/util.js.map +1 -1
  99. package/dist/commonjs/v3/runMetadata/index.js.map +1 -1
  100. package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
  101. package/dist/commonjs/v3/runMetadata/noopManager.js.map +1 -1
  102. package/dist/commonjs/v3/runMetadata/operations.js.map +1 -1
  103. package/dist/commonjs/v3/runTimelineMetrics/index.js.map +1 -1
  104. package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -1
  105. package/dist/commonjs/v3/runtime/index.js.map +1 -1
  106. package/dist/commonjs/v3/runtime/noopRuntimeManager.js.map +1 -1
  107. package/dist/commonjs/v3/runtime/preventMultipleWaits.js.map +1 -1
  108. package/dist/commonjs/v3/runtime/sharedRuntimeManager.js.map +1 -1
  109. package/dist/commonjs/v3/schemas/api.d.ts +2930 -2926
  110. package/dist/commonjs/v3/schemas/api.js +2 -0
  111. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  112. package/dist/commonjs/v3/schemas/build.d.ts +614 -614
  113. package/dist/commonjs/v3/schemas/build.js.map +1 -1
  114. package/dist/commonjs/v3/schemas/checkpoints.d.ts +237 -237
  115. package/dist/commonjs/v3/schemas/common.d.ts +1409 -1409
  116. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  117. package/dist/commonjs/v3/schemas/errors.d.ts +38 -38
  118. package/dist/commonjs/v3/schemas/errors.js.map +1 -1
  119. package/dist/commonjs/v3/schemas/eventFilter.js.map +1 -1
  120. package/dist/commonjs/v3/schemas/fetch.d.ts +70 -70
  121. package/dist/commonjs/v3/schemas/fetch.js.map +1 -1
  122. package/dist/commonjs/v3/schemas/idempotencyKey.test.js +14 -0
  123. package/dist/commonjs/v3/schemas/idempotencyKey.test.js.map +1 -1
  124. package/dist/commonjs/v3/schemas/messages.d.ts +994 -994
  125. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  126. package/dist/commonjs/v3/schemas/openTelemetry.d.ts +90 -90
  127. package/dist/commonjs/v3/schemas/openTelemetry.js.map +1 -1
  128. package/dist/commonjs/v3/schemas/query.d.ts +41 -41
  129. package/dist/commonjs/v3/schemas/query.js.map +1 -1
  130. package/dist/commonjs/v3/schemas/queues.d.ts +10 -10
  131. package/dist/commonjs/v3/schemas/queues.js.map +1 -1
  132. package/dist/commonjs/v3/schemas/resources.d.ts +128 -128
  133. package/dist/commonjs/v3/schemas/resources.js.map +1 -1
  134. package/dist/commonjs/v3/schemas/runEngine.d.ts +490 -490
  135. package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
  136. package/dist/commonjs/v3/schemas/schemas.d.ts +644 -644
  137. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  138. package/dist/commonjs/v3/schemas/style.d.ts +2 -2
  139. package/dist/commonjs/v3/schemas/style.js.map +1 -1
  140. package/dist/commonjs/v3/schemas/webhooks.d.ts +814 -814
  141. package/dist/commonjs/v3/schemas/webhooks.js.map +1 -1
  142. package/dist/commonjs/v3/sdkScope/index.js.map +1 -1
  143. package/dist/commonjs/v3/serverOnly/checkpointClient.d.ts +16 -0
  144. package/dist/commonjs/v3/serverOnly/checkpointClient.js +33 -0
  145. package/dist/commonjs/v3/serverOnly/checkpointClient.js.map +1 -1
  146. package/dist/commonjs/v3/serverOnly/httpServer.js.map +1 -1
  147. package/dist/commonjs/v3/serverOnly/idempotencyKeys.js.map +1 -1
  148. package/dist/commonjs/v3/serverOnly/jumpHash.js.map +1 -1
  149. package/dist/commonjs/v3/serverOnly/k8s.js.map +1 -1
  150. package/dist/commonjs/v3/serverOnly/placementTags.js.map +1 -1
  151. package/dist/commonjs/v3/serverOnly/shutdownManager.js.map +1 -1
  152. package/dist/commonjs/v3/serverOnly/singleton.js.map +1 -1
  153. package/dist/commonjs/v3/sessionStreams/chatSnapshot.js.map +1 -1
  154. package/dist/commonjs/v3/sessionStreams/index.js.map +1 -1
  155. package/dist/commonjs/v3/sessionStreams/manager.js.map +1 -1
  156. package/dist/commonjs/v3/sessionStreams/noopManager.js.map +1 -1
  157. package/dist/commonjs/v3/sessionStreams/types.js.map +1 -1
  158. package/dist/commonjs/v3/sessionStreams/wireProtocol.js.map +1 -1
  159. package/dist/commonjs/v3/streams/asyncIterableStream.js.map +1 -1
  160. package/dist/commonjs/v3/taskContext/index.js.map +1 -1
  161. package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
  162. package/dist/commonjs/v3/telnetLogServer.js.map +1 -1
  163. package/dist/commonjs/v3/test/index.d.ts +3 -0
  164. package/dist/commonjs/v3/test/index.js +7 -1
  165. package/dist/commonjs/v3/test/index.js.map +1 -1
  166. package/dist/commonjs/v3/test/mock-task-context.d.ts +16 -1
  167. package/dist/commonjs/v3/test/mock-task-context.js +13 -5
  168. package/dist/commonjs/v3/test/mock-task-context.js.map +1 -1
  169. package/dist/commonjs/v3/test/session-waitpoint-backend.d.ts +68 -0
  170. package/dist/commonjs/v3/test/session-waitpoint-backend.js +228 -0
  171. package/dist/commonjs/v3/test/session-waitpoint-backend.js.map +1 -0
  172. package/dist/commonjs/v3/test/test-input-stream-manager.js.map +1 -1
  173. package/dist/commonjs/v3/test/test-realtime-streams-manager.js.map +1 -1
  174. package/dist/commonjs/v3/test/test-run-metadata-manager.js.map +1 -1
  175. package/dist/commonjs/v3/test/test-session-stream-manager.js.map +1 -1
  176. package/dist/commonjs/v3/timeout/api.js.map +1 -1
  177. package/dist/commonjs/v3/timeout/types.js.map +1 -1
  178. package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -1
  179. package/dist/commonjs/v3/traceContext/api.js.map +1 -1
  180. package/dist/commonjs/v3/traceContext/manager.js.map +1 -1
  181. package/dist/commonjs/v3/tracer.js.map +1 -1
  182. package/dist/commonjs/v3/tryCatch.js.map +1 -1
  183. package/dist/commonjs/v3/types/schemas.js.map +1 -1
  184. package/dist/commonjs/v3/types/tasks.d.ts +21 -7
  185. package/dist/commonjs/v3/types/tasks.js.map +1 -1
  186. package/dist/commonjs/v3/types/tools.js.map +1 -1
  187. package/dist/commonjs/v3/usage/api.js.map +1 -1
  188. package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
  189. package/dist/commonjs/v3/usage/noopUsageManager.js.map +1 -1
  190. package/dist/commonjs/v3/usage/prodUsageManager.js.map +1 -1
  191. package/dist/commonjs/v3/usage/usageClient.js.map +1 -1
  192. package/dist/commonjs/v3/utils/crypto.js.map +1 -1
  193. package/dist/commonjs/v3/utils/durations.js.map +1 -1
  194. package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
  195. package/dist/commonjs/v3/utils/getEnv.js.map +1 -1
  196. package/dist/commonjs/v3/utils/gitBranch.js.map +1 -1
  197. package/dist/commonjs/v3/utils/globals.js.map +1 -1
  198. package/dist/commonjs/v3/utils/imageRef.js.map +1 -1
  199. package/dist/commonjs/v3/utils/interval.js.map +1 -1
  200. package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
  201. package/dist/commonjs/v3/utils/omit.js.map +1 -1
  202. package/dist/commonjs/v3/utils/reconnectBackoff.js.map +1 -1
  203. package/dist/commonjs/v3/utils/retries.js.map +1 -1
  204. package/dist/commonjs/v3/utils/safeAsyncLocalStorage.js.map +1 -1
  205. package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -1
  206. package/dist/commonjs/v3/utils/styleAttributes.js.map +1 -1
  207. package/dist/commonjs/v3/utils/timers.js.map +1 -1
  208. package/dist/commonjs/v3/waitUntil/index.js.map +1 -1
  209. package/dist/commonjs/v3/waitUntil/manager.js.map +1 -1
  210. package/dist/commonjs/v3/waitpoints/index.js.map +1 -1
  211. package/dist/commonjs/v3/workers/populateEnv.js.map +1 -1
  212. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  213. package/dist/commonjs/v3/workers/warmStartClient.js.map +1 -1
  214. package/dist/commonjs/v3/workloadDeploymentToken.d.ts +2 -2
  215. package/dist/commonjs/v3/workloadDeploymentToken.js.map +1 -1
  216. package/dist/commonjs/v3/zodIpc.js.map +1 -1
  217. package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -2
  218. package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
  219. package/dist/commonjs/v3/zodSocket.js.map +1 -1
  220. package/dist/commonjs/version.js +1 -1
  221. package/dist/esm/logger.js.map +1 -1
  222. package/dist/esm/package.json +6 -1
  223. package/dist/esm/retry.js.map +1 -1
  224. package/dist/esm/v3/apiClient/core.js.map +1 -1
  225. package/dist/esm/v3/apiClient/index.d.ts +422 -422
  226. package/dist/esm/v3/apiClient/index.js.map +1 -1
  227. package/dist/esm/v3/apiClient/pagination.js.map +1 -1
  228. package/dist/esm/v3/apiClient/runStream.d.ts +8 -0
  229. package/dist/esm/v3/apiClient/runStream.js +64 -17
  230. package/dist/esm/v3/apiClient/runStream.js.map +1 -1
  231. package/dist/esm/v3/apiClient/runStream.test.js +34 -0
  232. package/dist/esm/v3/apiClient/runStream.test.js.map +1 -1
  233. package/dist/esm/v3/apiClient/stream.js.map +1 -1
  234. package/dist/esm/v3/apiClientManager/index.js.map +1 -1
  235. package/dist/esm/v3/apps/backoff.js.map +1 -1
  236. package/dist/esm/v3/apps/exec.js.map +1 -1
  237. package/dist/esm/v3/apps/http.js.map +1 -1
  238. package/dist/esm/v3/build/extensions.js.map +1 -1
  239. package/dist/esm/v3/build/runtime.js.map +1 -1
  240. package/dist/esm/v3/clock/preciseWallClock.js.map +1 -1
  241. package/dist/esm/v3/consoleInterceptor.js.map +1 -1
  242. package/dist/esm/v3/errors.d.ts +4 -4
  243. package/dist/esm/v3/errors.js.map +1 -1
  244. package/dist/esm/v3/heartbeats/manager.js.map +1 -1
  245. package/dist/esm/v3/icons.d.ts +1 -1
  246. package/dist/esm/v3/idempotencyKeys.js.map +1 -1
  247. package/dist/esm/v3/inputStreams/manager.js.map +1 -1
  248. package/dist/esm/v3/inputStreams/types.js.map +1 -1
  249. package/dist/esm/v3/isomorphic/friendlyId.js.map +1 -1
  250. package/dist/esm/v3/logger/taskLogger.js.map +1 -1
  251. package/dist/esm/v3/machines/index.js.map +1 -1
  252. package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
  253. package/dist/esm/v3/realtimeStreams/manager.js.map +1 -1
  254. package/dist/esm/v3/realtimeStreams/sessionStreamInstance.js.map +1 -1
  255. package/dist/esm/v3/realtimeStreams/streamInstance.js.map +1 -1
  256. package/dist/esm/v3/realtimeStreams/streamsWriterV1.js.map +1 -1
  257. package/dist/esm/v3/realtimeStreams/streamsWriterV2.js +10 -2
  258. package/dist/esm/v3/realtimeStreams/streamsWriterV2.js.map +1 -1
  259. package/dist/esm/v3/runEngineWorker/supervisor/consumerPoolMetrics.js.map +1 -1
  260. package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +211 -211
  261. package/dist/esm/v3/runEngineWorker/supervisor/queueMetricsProcessor.js.map +1 -1
  262. package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +1126 -1126
  263. package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
  264. package/dist/esm/v3/runEngineWorker/workload/http.d.ts +162 -162
  265. package/dist/esm/v3/runEngineWorker/workload/http.js +8 -0
  266. package/dist/esm/v3/runEngineWorker/workload/http.js.map +1 -1
  267. package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +968 -968
  268. package/dist/esm/v3/runMetadata/manager.js.map +1 -1
  269. package/dist/esm/v3/runMetadata/operations.js.map +1 -1
  270. package/dist/esm/v3/runtime/sharedRuntimeManager.js.map +1 -1
  271. package/dist/esm/v3/schemas/api.d.ts +2930 -2926
  272. package/dist/esm/v3/schemas/api.js +2 -0
  273. package/dist/esm/v3/schemas/api.js.map +1 -1
  274. package/dist/esm/v3/schemas/build.d.ts +614 -614
  275. package/dist/esm/v3/schemas/checkpoints.d.ts +237 -237
  276. package/dist/esm/v3/schemas/common.d.ts +1409 -1409
  277. package/dist/esm/v3/schemas/errors.d.ts +38 -38
  278. package/dist/esm/v3/schemas/fetch.d.ts +70 -70
  279. package/dist/esm/v3/schemas/idempotencyKey.test.js +14 -0
  280. package/dist/esm/v3/schemas/idempotencyKey.test.js.map +1 -1
  281. package/dist/esm/v3/schemas/messages.d.ts +994 -994
  282. package/dist/esm/v3/schemas/openTelemetry.d.ts +90 -90
  283. package/dist/esm/v3/schemas/query.d.ts +41 -41
  284. package/dist/esm/v3/schemas/queues.d.ts +10 -10
  285. package/dist/esm/v3/schemas/resources.d.ts +128 -128
  286. package/dist/esm/v3/schemas/runEngine.d.ts +490 -490
  287. package/dist/esm/v3/schemas/schemas.d.ts +644 -644
  288. package/dist/esm/v3/schemas/style.d.ts +2 -2
  289. package/dist/esm/v3/schemas/webhooks.d.ts +814 -814
  290. package/dist/esm/v3/serverOnly/checkpointClient.d.ts +16 -0
  291. package/dist/esm/v3/serverOnly/checkpointClient.js +33 -0
  292. package/dist/esm/v3/serverOnly/checkpointClient.js.map +1 -1
  293. package/dist/esm/v3/serverOnly/placementTags.js.map +1 -1
  294. package/dist/esm/v3/serverOnly/shutdownManager.js.map +1 -1
  295. package/dist/esm/v3/sessionStreams/manager.js.map +1 -1
  296. package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
  297. package/dist/esm/v3/test/index.d.ts +3 -0
  298. package/dist/esm/v3/test/index.js +2 -0
  299. package/dist/esm/v3/test/index.js.map +1 -1
  300. package/dist/esm/v3/test/mock-task-context.d.ts +16 -1
  301. package/dist/esm/v3/test/mock-task-context.js +13 -5
  302. package/dist/esm/v3/test/mock-task-context.js.map +1 -1
  303. package/dist/esm/v3/test/session-waitpoint-backend.d.ts +68 -0
  304. package/dist/esm/v3/test/session-waitpoint-backend.js +222 -0
  305. package/dist/esm/v3/test/session-waitpoint-backend.js.map +1 -0
  306. package/dist/esm/v3/timeout/types.js.map +1 -1
  307. package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -1
  308. package/dist/esm/v3/tracer.js.map +1 -1
  309. package/dist/esm/v3/types/tasks.d.ts +21 -7
  310. package/dist/esm/v3/types/tasks.js.map +1 -1
  311. package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
  312. package/dist/esm/v3/usage/prodUsageManager.js.map +1 -1
  313. package/dist/esm/v3/usage/usageClient.js.map +1 -1
  314. package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
  315. package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
  316. package/dist/esm/v3/utils/retries.js.map +1 -1
  317. package/dist/esm/v3/utils/structuredLogger.js.map +1 -1
  318. package/dist/esm/v3/utils/timers.js.map +1 -1
  319. package/dist/esm/v3/waitUntil/manager.js.map +1 -1
  320. package/dist/esm/v3/workers/populateEnv.js.map +1 -1
  321. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  322. package/dist/esm/v3/workers/warmStartClient.js.map +1 -1
  323. package/dist/esm/v3/workloadDeploymentToken.d.ts +2 -2
  324. package/dist/esm/v3/zodIpc.js.map +1 -1
  325. package/dist/esm/v3/zodMessageHandler.d.ts +2 -2
  326. package/dist/esm/v3/zodMessageHandler.js.map +1 -1
  327. package/dist/esm/version.js +1 -1
  328. package/package.json +18 -3
@@ -9,13 +9,13 @@ export declare const TaskRunExecutionMetric: z.ZodObject<{
9
9
  timestamp: z.ZodNumber;
10
10
  duration: z.ZodNumber;
11
11
  }, "strip", z.ZodTypeAny, {
12
- event: string;
13
12
  name: string;
13
+ event: string;
14
14
  timestamp: number;
15
15
  duration: number;
16
16
  }, {
17
- event: string;
18
17
  name: string;
18
+ event: string;
19
19
  timestamp: number;
20
20
  duration: number;
21
21
  }>;
@@ -26,13 +26,13 @@ export declare const TaskRunExecutionMetrics: z.ZodArray<z.ZodObject<{
26
26
  timestamp: z.ZodNumber;
27
27
  duration: z.ZodNumber;
28
28
  }, "strip", z.ZodTypeAny, {
29
- event: string;
30
29
  name: string;
30
+ event: string;
31
31
  timestamp: number;
32
32
  duration: number;
33
33
  }, {
34
- event: string;
35
34
  name: string;
35
+ event: string;
36
36
  timestamp: number;
37
37
  duration: number;
38
38
  }>, "many">;
@@ -53,11 +53,11 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
53
53
  id: z.ZodString;
54
54
  name: z.ZodString;
55
55
  }, "strip", z.ZodTypeAny, {
56
- name: string;
57
56
  id: string;
58
- }, {
59
57
  name: string;
58
+ }, {
60
59
  id: string;
60
+ name: string;
61
61
  }>;
62
62
  environment: z.ZodObject<{
63
63
  id: z.ZodString;
@@ -79,73 +79,73 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
79
79
  pullRequestTitle: z.ZodOptional<z.ZodString>;
80
80
  pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
81
81
  }, "strip", z.ZodTypeAny, {
82
- dirty?: boolean | undefined;
83
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
84
82
  provider?: string | undefined;
83
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
85
84
  ghUsername?: string | undefined;
86
85
  ghUserAvatarUrl?: string | undefined;
87
86
  commitAuthorName?: string | undefined;
88
87
  commitMessage?: string | undefined;
89
88
  commitRef?: string | undefined;
90
89
  commitSha?: string | undefined;
90
+ dirty?: boolean | undefined;
91
91
  remoteUrl?: string | undefined;
92
92
  pullRequestNumber?: number | undefined;
93
93
  pullRequestTitle?: string | undefined;
94
- pullRequestState?: "open" | "closed" | "merged" | undefined;
94
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
95
95
  }, {
96
- dirty?: boolean | undefined;
97
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
98
96
  provider?: string | undefined;
97
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
99
98
  ghUsername?: string | undefined;
100
99
  ghUserAvatarUrl?: string | undefined;
101
100
  commitAuthorName?: string | undefined;
102
101
  commitMessage?: string | undefined;
103
102
  commitRef?: string | undefined;
104
103
  commitSha?: string | undefined;
104
+ dirty?: boolean | undefined;
105
105
  remoteUrl?: string | undefined;
106
106
  pullRequestNumber?: number | undefined;
107
107
  pullRequestTitle?: string | undefined;
108
- pullRequestState?: "open" | "closed" | "merged" | undefined;
108
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
109
109
  }>>;
110
110
  }, "strip", z.ZodTypeAny, {
111
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
112
111
  id: string;
113
112
  slug: string;
113
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
114
114
  branchName?: string | undefined;
115
115
  git?: {
116
- dirty?: boolean | undefined;
117
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
118
116
  provider?: string | undefined;
117
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
119
118
  ghUsername?: string | undefined;
120
119
  ghUserAvatarUrl?: string | undefined;
121
120
  commitAuthorName?: string | undefined;
122
121
  commitMessage?: string | undefined;
123
122
  commitRef?: string | undefined;
124
123
  commitSha?: string | undefined;
124
+ dirty?: boolean | undefined;
125
125
  remoteUrl?: string | undefined;
126
126
  pullRequestNumber?: number | undefined;
127
127
  pullRequestTitle?: string | undefined;
128
- pullRequestState?: "open" | "closed" | "merged" | undefined;
128
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
129
129
  } | undefined;
130
130
  }, {
131
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
132
131
  id: string;
133
132
  slug: string;
133
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
134
134
  branchName?: string | undefined;
135
135
  git?: {
136
- dirty?: boolean | undefined;
137
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
138
136
  provider?: string | undefined;
137
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
139
138
  ghUsername?: string | undefined;
140
139
  ghUserAvatarUrl?: string | undefined;
141
140
  commitAuthorName?: string | undefined;
142
141
  commitMessage?: string | undefined;
143
142
  commitRef?: string | undefined;
144
143
  commitSha?: string | undefined;
144
+ dirty?: boolean | undefined;
145
145
  remoteUrl?: string | undefined;
146
146
  pullRequestNumber?: number | undefined;
147
147
  pullRequestTitle?: string | undefined;
148
- pullRequestState?: "open" | "closed" | "merged" | undefined;
148
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
149
149
  } | undefined;
150
150
  }>;
151
151
  organization: z.ZodObject<{
@@ -153,13 +153,13 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
153
153
  slug: z.ZodString;
154
154
  name: z.ZodString;
155
155
  }, "strip", z.ZodTypeAny, {
156
- name: string;
157
156
  id: string;
158
157
  slug: string;
159
- }, {
160
158
  name: string;
159
+ }, {
161
160
  id: string;
162
161
  slug: string;
162
+ name: string;
163
163
  }>;
164
164
  project: z.ZodObject<{
165
165
  id: z.ZodString;
@@ -167,15 +167,15 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
167
167
  slug: z.ZodString;
168
168
  name: z.ZodString;
169
169
  }, "strip", z.ZodTypeAny, {
170
- name: string;
171
170
  id: string;
172
- slug: string;
173
171
  ref: string;
174
- }, {
172
+ slug: string;
175
173
  name: string;
174
+ }, {
176
175
  id: string;
177
- slug: string;
178
176
  ref: string;
177
+ slug: string;
178
+ name: string;
179
179
  }>;
180
180
  machine: z.ZodObject<{
181
181
  name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
@@ -183,14 +183,14 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
183
183
  memory: z.ZodNumber;
184
184
  centsPerMs: z.ZodNumber;
185
185
  }, "strip", z.ZodTypeAny, {
186
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
186
187
  cpu: number;
187
188
  memory: number;
188
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
189
189
  centsPerMs: number;
190
190
  }, {
191
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
191
192
  cpu: number;
192
193
  memory: number;
193
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
194
194
  centsPerMs: number;
195
195
  }>;
196
196
  batch: z.ZodOptional<z.ZodObject<{
@@ -221,75 +221,75 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
221
221
  pullRequestTitle: z.ZodOptional<z.ZodString>;
222
222
  pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
223
223
  }, "strip", z.ZodTypeAny, {
224
- dirty?: boolean | undefined;
225
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
226
224
  provider?: string | undefined;
225
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
227
226
  ghUsername?: string | undefined;
228
227
  ghUserAvatarUrl?: string | undefined;
229
228
  commitAuthorName?: string | undefined;
230
229
  commitMessage?: string | undefined;
231
230
  commitRef?: string | undefined;
232
231
  commitSha?: string | undefined;
232
+ dirty?: boolean | undefined;
233
233
  remoteUrl?: string | undefined;
234
234
  pullRequestNumber?: number | undefined;
235
235
  pullRequestTitle?: string | undefined;
236
- pullRequestState?: "open" | "closed" | "merged" | undefined;
236
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
237
237
  }, {
238
- dirty?: boolean | undefined;
239
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
240
238
  provider?: string | undefined;
239
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
241
240
  ghUsername?: string | undefined;
242
241
  ghUserAvatarUrl?: string | undefined;
243
242
  commitAuthorName?: string | undefined;
244
243
  commitMessage?: string | undefined;
245
244
  commitRef?: string | undefined;
246
245
  commitSha?: string | undefined;
246
+ dirty?: boolean | undefined;
247
247
  remoteUrl?: string | undefined;
248
248
  pullRequestNumber?: number | undefined;
249
249
  pullRequestTitle?: string | undefined;
250
- pullRequestState?: "open" | "closed" | "merged" | undefined;
250
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
251
251
  }>>;
252
252
  }, "strip", z.ZodTypeAny, {
253
253
  id: string;
254
- version: string;
255
254
  shortCode: string;
255
+ version: string;
256
256
  runtime: string;
257
257
  runtimeVersion: string;
258
258
  git?: {
259
- dirty?: boolean | undefined;
260
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
261
259
  provider?: string | undefined;
260
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
262
261
  ghUsername?: string | undefined;
263
262
  ghUserAvatarUrl?: string | undefined;
264
263
  commitAuthorName?: string | undefined;
265
264
  commitMessage?: string | undefined;
266
265
  commitRef?: string | undefined;
267
266
  commitSha?: string | undefined;
267
+ dirty?: boolean | undefined;
268
268
  remoteUrl?: string | undefined;
269
269
  pullRequestNumber?: number | undefined;
270
270
  pullRequestTitle?: string | undefined;
271
- pullRequestState?: "open" | "closed" | "merged" | undefined;
271
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
272
272
  } | undefined;
273
273
  }, {
274
274
  id: string;
275
- version: string;
276
275
  shortCode: string;
276
+ version: string;
277
277
  runtime: string;
278
278
  runtimeVersion: string;
279
279
  git?: {
280
- dirty?: boolean | undefined;
281
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
282
280
  provider?: string | undefined;
281
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
283
282
  ghUsername?: string | undefined;
284
283
  ghUserAvatarUrl?: string | undefined;
285
284
  commitAuthorName?: string | undefined;
286
285
  commitMessage?: string | undefined;
287
286
  commitRef?: string | undefined;
288
287
  commitSha?: string | undefined;
288
+ dirty?: boolean | undefined;
289
289
  remoteUrl?: string | undefined;
290
290
  pullRequestNumber?: number | undefined;
291
291
  pullRequestTitle?: string | undefined;
292
- pullRequestState?: "open" | "closed" | "merged" | undefined;
292
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
293
293
  } | undefined;
294
294
  }>>;
295
295
  attempt: z.ZodObject<{
@@ -325,19 +325,19 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
325
325
  costInCents: z.ZodOptional<z.ZodNumber>;
326
326
  region: z.ZodOptional<z.ZodString>;
327
327
  }, "strip", z.ZodTypeAny, {
328
- payload: string;
329
328
  id: string;
329
+ payload: string;
330
330
  payloadType: string;
331
331
  tags: string[];
332
332
  isTest: boolean;
333
333
  isReplay: boolean;
334
334
  createdAt: Date;
335
335
  startedAt: Date;
336
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
337
336
  idempotencyKey?: string | undefined;
338
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
337
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
339
338
  maxAttempts?: number | undefined;
340
339
  version?: string | undefined;
340
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
341
341
  maxDuration?: number | undefined;
342
342
  priority?: number | undefined;
343
343
  baseCostInCents?: number | undefined;
@@ -347,19 +347,19 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
347
347
  costInCents?: number | undefined;
348
348
  region?: string | undefined;
349
349
  }, {
350
- payload: string;
351
350
  id: string;
351
+ payload: string;
352
352
  payloadType: string;
353
353
  tags: string[];
354
- createdAt: Date;
355
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
356
354
  isTest?: boolean | undefined;
357
355
  isReplay?: boolean | undefined;
356
+ createdAt: Date;
358
357
  startedAt?: Date | undefined;
359
358
  idempotencyKey?: string | undefined;
360
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
359
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
361
360
  maxAttempts?: number | undefined;
362
361
  version?: string | undefined;
362
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
363
363
  maxDuration?: number | undefined;
364
364
  priority?: number | undefined;
365
365
  baseCostInCents?: number | undefined;
@@ -379,38 +379,6 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
379
379
  realtimeStreamsVersion?: string | undefined;
380
380
  }>>;
381
381
  }, "strip", z.ZodTypeAny, {
382
- run: {
383
- payload: string;
384
- id: string;
385
- payloadType: string;
386
- tags: string[];
387
- isTest: boolean;
388
- isReplay: boolean;
389
- createdAt: Date;
390
- startedAt: Date;
391
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
392
- idempotencyKey?: string | undefined;
393
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
394
- maxAttempts?: number | undefined;
395
- version?: string | undefined;
396
- maxDuration?: number | undefined;
397
- priority?: number | undefined;
398
- baseCostInCents?: number | undefined;
399
- parentTaskRunId?: string | undefined;
400
- rootTaskRunId?: string | undefined;
401
- durationMs?: number | undefined;
402
- costInCents?: number | undefined;
403
- region?: string | undefined;
404
- } & {
405
- traceContext?: Record<string, unknown> | undefined;
406
- realtimeStreamsVersion?: string | undefined;
407
- };
408
- attempt: {
409
- number: number;
410
- startedAt: Date;
411
- } & {
412
- [k: string]: unknown;
413
- };
414
382
  task: {
415
383
  id: string;
416
384
  filePath: string;
@@ -418,45 +386,45 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
418
386
  [k: string]: unknown;
419
387
  };
420
388
  queue: {
421
- name: string;
422
389
  id: string;
390
+ name: string;
423
391
  };
424
392
  environment: {
425
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
426
393
  id: string;
427
394
  slug: string;
395
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
428
396
  branchName?: string | undefined;
429
397
  git?: {
430
- dirty?: boolean | undefined;
431
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
432
398
  provider?: string | undefined;
399
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
433
400
  ghUsername?: string | undefined;
434
401
  ghUserAvatarUrl?: string | undefined;
435
402
  commitAuthorName?: string | undefined;
436
403
  commitMessage?: string | undefined;
437
404
  commitRef?: string | undefined;
438
405
  commitSha?: string | undefined;
406
+ dirty?: boolean | undefined;
439
407
  remoteUrl?: string | undefined;
440
408
  pullRequestNumber?: number | undefined;
441
409
  pullRequestTitle?: string | undefined;
442
- pullRequestState?: "open" | "closed" | "merged" | undefined;
410
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
443
411
  } | undefined;
444
412
  };
445
413
  organization: {
446
- name: string;
447
414
  id: string;
448
415
  slug: string;
416
+ name: string;
449
417
  };
450
418
  project: {
451
- name: string;
452
419
  id: string;
453
- slug: string;
454
420
  ref: string;
421
+ slug: string;
422
+ name: string;
455
423
  };
456
424
  machine: {
425
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
457
426
  cpu: number;
458
427
  memory: number;
459
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
460
428
  centsPerMs: number;
461
429
  };
462
430
  batch?: {
@@ -464,41 +432,46 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
464
432
  } | undefined;
465
433
  deployment?: {
466
434
  id: string;
467
- version: string;
468
435
  shortCode: string;
436
+ version: string;
469
437
  runtime: string;
470
438
  runtimeVersion: string;
471
439
  git?: {
472
- dirty?: boolean | undefined;
473
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
474
440
  provider?: string | undefined;
441
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
475
442
  ghUsername?: string | undefined;
476
443
  ghUserAvatarUrl?: string | undefined;
477
444
  commitAuthorName?: string | undefined;
478
445
  commitMessage?: string | undefined;
479
446
  commitRef?: string | undefined;
480
447
  commitSha?: string | undefined;
448
+ dirty?: boolean | undefined;
481
449
  remoteUrl?: string | undefined;
482
450
  pullRequestNumber?: number | undefined;
483
451
  pullRequestTitle?: string | undefined;
484
- pullRequestState?: "open" | "closed" | "merged" | undefined;
452
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
485
453
  } | undefined;
486
454
  } | undefined;
487
- }, {
455
+ attempt: {
456
+ number: number;
457
+ startedAt: Date;
458
+ } & {
459
+ [k: string]: unknown;
460
+ };
488
461
  run: {
489
- payload: string;
490
462
  id: string;
463
+ payload: string;
491
464
  payloadType: string;
492
465
  tags: string[];
466
+ isTest: boolean;
467
+ isReplay: boolean;
493
468
  createdAt: Date;
494
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
495
- isTest?: boolean | undefined;
496
- isReplay?: boolean | undefined;
497
- startedAt?: Date | undefined;
469
+ startedAt: Date;
498
470
  idempotencyKey?: string | undefined;
499
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
471
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
500
472
  maxAttempts?: number | undefined;
501
473
  version?: string | undefined;
474
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
502
475
  maxDuration?: number | undefined;
503
476
  priority?: number | undefined;
504
477
  baseCostInCents?: number | undefined;
@@ -511,12 +484,7 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
511
484
  traceContext?: Record<string, unknown> | undefined;
512
485
  realtimeStreamsVersion?: string | undefined;
513
486
  };
514
- attempt: {
515
- number: number;
516
- startedAt: Date;
517
- } & {
518
- [k: string]: unknown;
519
- };
487
+ }, {
520
488
  task: {
521
489
  id: string;
522
490
  filePath: string;
@@ -524,45 +492,45 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
524
492
  [k: string]: unknown;
525
493
  };
526
494
  queue: {
527
- name: string;
528
495
  id: string;
496
+ name: string;
529
497
  };
530
498
  environment: {
531
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
532
499
  id: string;
533
500
  slug: string;
501
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
534
502
  branchName?: string | undefined;
535
503
  git?: {
536
- dirty?: boolean | undefined;
537
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
538
504
  provider?: string | undefined;
505
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
539
506
  ghUsername?: string | undefined;
540
507
  ghUserAvatarUrl?: string | undefined;
541
508
  commitAuthorName?: string | undefined;
542
509
  commitMessage?: string | undefined;
543
510
  commitRef?: string | undefined;
544
511
  commitSha?: string | undefined;
512
+ dirty?: boolean | undefined;
545
513
  remoteUrl?: string | undefined;
546
514
  pullRequestNumber?: number | undefined;
547
515
  pullRequestTitle?: string | undefined;
548
- pullRequestState?: "open" | "closed" | "merged" | undefined;
516
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
549
517
  } | undefined;
550
518
  };
551
519
  organization: {
552
- name: string;
553
520
  id: string;
554
521
  slug: string;
522
+ name: string;
555
523
  };
556
524
  project: {
557
- name: string;
558
525
  id: string;
559
- slug: string;
560
526
  ref: string;
527
+ slug: string;
528
+ name: string;
561
529
  };
562
530
  machine: {
531
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
563
532
  cpu: number;
564
533
  memory: number;
565
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
566
534
  centsPerMs: number;
567
535
  };
568
536
  batch?: {
@@ -570,62 +538,46 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
570
538
  } | undefined;
571
539
  deployment?: {
572
540
  id: string;
573
- version: string;
574
541
  shortCode: string;
542
+ version: string;
575
543
  runtime: string;
576
544
  runtimeVersion: string;
577
545
  git?: {
578
- dirty?: boolean | undefined;
579
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
580
546
  provider?: string | undefined;
547
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
581
548
  ghUsername?: string | undefined;
582
549
  ghUserAvatarUrl?: string | undefined;
583
550
  commitAuthorName?: string | undefined;
584
551
  commitMessage?: string | undefined;
585
552
  commitRef?: string | undefined;
586
553
  commitSha?: string | undefined;
554
+ dirty?: boolean | undefined;
587
555
  remoteUrl?: string | undefined;
588
556
  pullRequestNumber?: number | undefined;
589
557
  pullRequestTitle?: string | undefined;
590
- pullRequestState?: "open" | "closed" | "merged" | undefined;
558
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
591
559
  } | undefined;
592
560
  } | undefined;
593
- }>;
594
- traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
595
- environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
596
- metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
597
- name: z.ZodString;
598
- event: z.ZodString;
599
- timestamp: z.ZodNumber;
600
- duration: z.ZodNumber;
601
- }, "strip", z.ZodTypeAny, {
602
- event: string;
603
- name: string;
604
- timestamp: number;
605
- duration: number;
606
- }, {
607
- event: string;
608
- name: string;
609
- timestamp: number;
610
- duration: number;
611
- }>, "many">>;
612
- }, "strip", z.ZodTypeAny, {
613
- traceContext: Record<string, unknown>;
614
- execution: {
561
+ attempt: {
562
+ number: number;
563
+ startedAt: Date;
564
+ } & {
565
+ [k: string]: unknown;
566
+ };
615
567
  run: {
616
- payload: string;
617
568
  id: string;
569
+ payload: string;
618
570
  payloadType: string;
619
571
  tags: string[];
620
- isTest: boolean;
621
- isReplay: boolean;
572
+ isTest?: boolean | undefined;
573
+ isReplay?: boolean | undefined;
622
574
  createdAt: Date;
623
- startedAt: Date;
624
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
575
+ startedAt?: Date | undefined;
625
576
  idempotencyKey?: string | undefined;
626
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
577
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
627
578
  maxAttempts?: number | undefined;
628
579
  version?: string | undefined;
580
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
629
581
  maxDuration?: number | undefined;
630
582
  priority?: number | undefined;
631
583
  baseCostInCents?: number | undefined;
@@ -638,12 +590,27 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
638
590
  traceContext?: Record<string, unknown> | undefined;
639
591
  realtimeStreamsVersion?: string | undefined;
640
592
  };
641
- attempt: {
642
- number: number;
643
- startedAt: Date;
644
- } & {
645
- [k: string]: unknown;
646
- };
593
+ }>;
594
+ traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
595
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
596
+ metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
597
+ name: z.ZodString;
598
+ event: z.ZodString;
599
+ timestamp: z.ZodNumber;
600
+ duration: z.ZodNumber;
601
+ }, "strip", z.ZodTypeAny, {
602
+ name: string;
603
+ event: string;
604
+ timestamp: number;
605
+ duration: number;
606
+ }, {
607
+ name: string;
608
+ event: string;
609
+ timestamp: number;
610
+ duration: number;
611
+ }>, "many">>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ execution: {
647
614
  task: {
648
615
  id: string;
649
616
  filePath: string;
@@ -651,45 +618,45 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
651
618
  [k: string]: unknown;
652
619
  };
653
620
  queue: {
654
- name: string;
655
621
  id: string;
622
+ name: string;
656
623
  };
657
624
  environment: {
658
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
659
625
  id: string;
660
626
  slug: string;
627
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
661
628
  branchName?: string | undefined;
662
629
  git?: {
663
- dirty?: boolean | undefined;
664
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
665
630
  provider?: string | undefined;
631
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
666
632
  ghUsername?: string | undefined;
667
633
  ghUserAvatarUrl?: string | undefined;
668
634
  commitAuthorName?: string | undefined;
669
635
  commitMessage?: string | undefined;
670
636
  commitRef?: string | undefined;
671
637
  commitSha?: string | undefined;
638
+ dirty?: boolean | undefined;
672
639
  remoteUrl?: string | undefined;
673
640
  pullRequestNumber?: number | undefined;
674
641
  pullRequestTitle?: string | undefined;
675
- pullRequestState?: "open" | "closed" | "merged" | undefined;
642
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
676
643
  } | undefined;
677
644
  };
678
645
  organization: {
679
- name: string;
680
646
  id: string;
681
647
  slug: string;
648
+ name: string;
682
649
  };
683
650
  project: {
684
- name: string;
685
651
  id: string;
686
- slug: string;
687
652
  ref: string;
653
+ slug: string;
654
+ name: string;
688
655
  };
689
656
  machine: {
657
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
690
658
  cpu: number;
691
659
  memory: number;
692
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
693
660
  centsPerMs: number;
694
661
  };
695
662
  batch?: {
@@ -697,51 +664,46 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
697
664
  } | undefined;
698
665
  deployment?: {
699
666
  id: string;
700
- version: string;
701
667
  shortCode: string;
668
+ version: string;
702
669
  runtime: string;
703
670
  runtimeVersion: string;
704
671
  git?: {
705
- dirty?: boolean | undefined;
706
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
707
672
  provider?: string | undefined;
673
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
708
674
  ghUsername?: string | undefined;
709
675
  ghUserAvatarUrl?: string | undefined;
710
676
  commitAuthorName?: string | undefined;
711
677
  commitMessage?: string | undefined;
712
678
  commitRef?: string | undefined;
713
679
  commitSha?: string | undefined;
680
+ dirty?: boolean | undefined;
714
681
  remoteUrl?: string | undefined;
715
682
  pullRequestNumber?: number | undefined;
716
683
  pullRequestTitle?: string | undefined;
717
- pullRequestState?: "open" | "closed" | "merged" | undefined;
684
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
718
685
  } | undefined;
719
686
  } | undefined;
720
- };
721
- environment?: Record<string, string> | undefined;
722
- metrics?: {
723
- event: string;
724
- name: string;
725
- timestamp: number;
726
- duration: number;
727
- }[] | undefined;
728
- }, {
729
- traceContext: Record<string, unknown>;
730
- execution: {
687
+ attempt: {
688
+ number: number;
689
+ startedAt: Date;
690
+ } & {
691
+ [k: string]: unknown;
692
+ };
731
693
  run: {
732
- payload: string;
733
694
  id: string;
695
+ payload: string;
734
696
  payloadType: string;
735
697
  tags: string[];
698
+ isTest: boolean;
699
+ isReplay: boolean;
736
700
  createdAt: Date;
737
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
738
- isTest?: boolean | undefined;
739
- isReplay?: boolean | undefined;
740
- startedAt?: Date | undefined;
701
+ startedAt: Date;
741
702
  idempotencyKey?: string | undefined;
742
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
703
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
743
704
  maxAttempts?: number | undefined;
744
705
  version?: string | undefined;
706
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
745
707
  maxDuration?: number | undefined;
746
708
  priority?: number | undefined;
747
709
  baseCostInCents?: number | undefined;
@@ -754,58 +716,63 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
754
716
  traceContext?: Record<string, unknown> | undefined;
755
717
  realtimeStreamsVersion?: string | undefined;
756
718
  };
757
- attempt: {
758
- number: number;
759
- startedAt: Date;
760
- } & {
761
- [k: string]: unknown;
762
- };
763
- task: {
764
- id: string;
765
- filePath: string;
766
- } & {
767
- [k: string]: unknown;
768
- };
769
- queue: {
770
- name: string;
719
+ };
720
+ traceContext: Record<string, unknown>;
721
+ environment?: Record<string, string> | undefined;
722
+ metrics?: {
723
+ name: string;
724
+ event: string;
725
+ timestamp: number;
726
+ duration: number;
727
+ }[] | undefined;
728
+ }, {
729
+ execution: {
730
+ task: {
731
+ id: string;
732
+ filePath: string;
733
+ } & {
734
+ [k: string]: unknown;
735
+ };
736
+ queue: {
771
737
  id: string;
738
+ name: string;
772
739
  };
773
740
  environment: {
774
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
775
741
  id: string;
776
742
  slug: string;
743
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
777
744
  branchName?: string | undefined;
778
745
  git?: {
779
- dirty?: boolean | undefined;
780
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
781
746
  provider?: string | undefined;
747
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
782
748
  ghUsername?: string | undefined;
783
749
  ghUserAvatarUrl?: string | undefined;
784
750
  commitAuthorName?: string | undefined;
785
751
  commitMessage?: string | undefined;
786
752
  commitRef?: string | undefined;
787
753
  commitSha?: string | undefined;
754
+ dirty?: boolean | undefined;
788
755
  remoteUrl?: string | undefined;
789
756
  pullRequestNumber?: number | undefined;
790
757
  pullRequestTitle?: string | undefined;
791
- pullRequestState?: "open" | "closed" | "merged" | undefined;
758
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
792
759
  } | undefined;
793
760
  };
794
761
  organization: {
795
- name: string;
796
762
  id: string;
797
763
  slug: string;
764
+ name: string;
798
765
  };
799
766
  project: {
800
- name: string;
801
767
  id: string;
802
- slug: string;
803
768
  ref: string;
769
+ slug: string;
770
+ name: string;
804
771
  };
805
772
  machine: {
773
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
806
774
  cpu: number;
807
775
  memory: number;
808
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
809
776
  centsPerMs: number;
810
777
  };
811
778
  batch?: {
@@ -813,31 +780,64 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
813
780
  } | undefined;
814
781
  deployment?: {
815
782
  id: string;
816
- version: string;
817
783
  shortCode: string;
784
+ version: string;
818
785
  runtime: string;
819
786
  runtimeVersion: string;
820
787
  git?: {
821
- dirty?: boolean | undefined;
822
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
823
788
  provider?: string | undefined;
789
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
824
790
  ghUsername?: string | undefined;
825
791
  ghUserAvatarUrl?: string | undefined;
826
792
  commitAuthorName?: string | undefined;
827
793
  commitMessage?: string | undefined;
828
794
  commitRef?: string | undefined;
829
795
  commitSha?: string | undefined;
796
+ dirty?: boolean | undefined;
830
797
  remoteUrl?: string | undefined;
831
798
  pullRequestNumber?: number | undefined;
832
799
  pullRequestTitle?: string | undefined;
833
- pullRequestState?: "open" | "closed" | "merged" | undefined;
800
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
834
801
  } | undefined;
835
802
  } | undefined;
803
+ attempt: {
804
+ number: number;
805
+ startedAt: Date;
806
+ } & {
807
+ [k: string]: unknown;
808
+ };
809
+ run: {
810
+ id: string;
811
+ payload: string;
812
+ payloadType: string;
813
+ tags: string[];
814
+ isTest?: boolean | undefined;
815
+ isReplay?: boolean | undefined;
816
+ createdAt: Date;
817
+ startedAt?: Date | undefined;
818
+ idempotencyKey?: string | undefined;
819
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
820
+ maxAttempts?: number | undefined;
821
+ version?: string | undefined;
822
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
823
+ maxDuration?: number | undefined;
824
+ priority?: number | undefined;
825
+ baseCostInCents?: number | undefined;
826
+ parentTaskRunId?: string | undefined;
827
+ rootTaskRunId?: string | undefined;
828
+ durationMs?: number | undefined;
829
+ costInCents?: number | undefined;
830
+ region?: string | undefined;
831
+ } & {
832
+ traceContext?: Record<string, unknown> | undefined;
833
+ realtimeStreamsVersion?: string | undefined;
834
+ };
836
835
  };
836
+ traceContext: Record<string, unknown>;
837
837
  environment?: Record<string, string> | undefined;
838
838
  metrics?: {
839
- event: string;
840
839
  name: string;
840
+ event: string;
841
841
  timestamp: number;
842
842
  duration: number;
843
843
  }[] | undefined;
@@ -866,18 +866,18 @@ export declare const V3ProdTaskRunExecution: z.ZodObject<{
866
866
  status: z.ZodString;
867
867
  }, "strip", z.ZodTypeAny, {
868
868
  number: number;
869
- status: string;
870
- id: string;
871
869
  startedAt: Date;
870
+ id: string;
872
871
  backgroundWorkerId: string;
873
872
  backgroundWorkerTaskId: string;
873
+ status: string;
874
874
  }, {
875
875
  number: number;
876
- status: string;
877
- id: string;
878
876
  startedAt: Date;
877
+ id: string;
879
878
  backgroundWorkerId: string;
880
879
  backgroundWorkerTaskId: string;
880
+ status: string;
881
881
  }>;
882
882
  run: z.ZodIntersection<z.ZodObject<{
883
883
  id: z.ZodString;
@@ -899,43 +899,43 @@ export declare const V3ProdTaskRunExecution: z.ZodObject<{
899
899
  costInCents: z.ZodNumber;
900
900
  baseCostInCents: z.ZodNumber;
901
901
  }, "strip", z.ZodTypeAny, {
902
- payload: string;
903
902
  id: string;
903
+ payload: string;
904
904
  payloadType: string;
905
905
  tags: string[];
906
906
  isTest: boolean;
907
907
  isReplay: boolean;
908
908
  createdAt: Date;
909
909
  startedAt: Date;
910
- baseCostInCents: number;
911
- durationMs: number;
912
- costInCents: number;
913
- context?: unknown;
914
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
915
910
  idempotencyKey?: string | undefined;
916
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
911
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
917
912
  maxAttempts?: number | undefined;
918
913
  version?: string | undefined;
914
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
919
915
  maxDuration?: number | undefined;
916
+ context?: unknown;
917
+ durationMs: number;
918
+ costInCents: number;
919
+ baseCostInCents: number;
920
920
  }, {
921
- payload: string;
922
921
  id: string;
922
+ payload: string;
923
923
  payloadType: string;
924
924
  tags: string[];
925
- createdAt: Date;
926
- baseCostInCents: number;
927
- durationMs: number;
928
- costInCents: number;
929
- context?: unknown;
930
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
931
925
  isTest?: boolean | undefined;
932
926
  isReplay?: boolean | undefined;
927
+ createdAt: Date;
933
928
  startedAt?: Date | undefined;
934
929
  idempotencyKey?: string | undefined;
935
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
930
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
936
931
  maxAttempts?: number | undefined;
937
932
  version?: string | undefined;
933
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
938
934
  maxDuration?: number | undefined;
935
+ context?: unknown;
936
+ durationMs: number;
937
+ costInCents: number;
938
+ baseCostInCents: number;
939
939
  }>, z.ZodObject<{
940
940
  traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
941
941
  }, "strip", z.ZodTypeAny, {
@@ -947,11 +947,11 @@ export declare const V3ProdTaskRunExecution: z.ZodObject<{
947
947
  id: z.ZodString;
948
948
  name: z.ZodString;
949
949
  }, "strip", z.ZodTypeAny, {
950
- name: string;
951
950
  id: string;
952
- }, {
953
951
  name: string;
952
+ }, {
954
953
  id: string;
954
+ name: string;
955
955
  }>;
956
956
  environment: z.ZodObject<{
957
957
  id: z.ZodString;
@@ -973,73 +973,73 @@ export declare const V3ProdTaskRunExecution: z.ZodObject<{
973
973
  pullRequestTitle: z.ZodOptional<z.ZodString>;
974
974
  pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
975
975
  }, "strip", z.ZodTypeAny, {
976
- dirty?: boolean | undefined;
977
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
978
976
  provider?: string | undefined;
977
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
979
978
  ghUsername?: string | undefined;
980
979
  ghUserAvatarUrl?: string | undefined;
981
980
  commitAuthorName?: string | undefined;
982
981
  commitMessage?: string | undefined;
983
982
  commitRef?: string | undefined;
984
983
  commitSha?: string | undefined;
984
+ dirty?: boolean | undefined;
985
985
  remoteUrl?: string | undefined;
986
986
  pullRequestNumber?: number | undefined;
987
987
  pullRequestTitle?: string | undefined;
988
- pullRequestState?: "open" | "closed" | "merged" | undefined;
988
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
989
989
  }, {
990
- dirty?: boolean | undefined;
991
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
992
990
  provider?: string | undefined;
991
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
993
992
  ghUsername?: string | undefined;
994
993
  ghUserAvatarUrl?: string | undefined;
995
994
  commitAuthorName?: string | undefined;
996
995
  commitMessage?: string | undefined;
997
996
  commitRef?: string | undefined;
998
997
  commitSha?: string | undefined;
998
+ dirty?: boolean | undefined;
999
999
  remoteUrl?: string | undefined;
1000
1000
  pullRequestNumber?: number | undefined;
1001
1001
  pullRequestTitle?: string | undefined;
1002
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1002
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1003
1003
  }>>;
1004
1004
  }, "strip", z.ZodTypeAny, {
1005
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1006
1005
  id: string;
1007
1006
  slug: string;
1007
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
1008
1008
  branchName?: string | undefined;
1009
1009
  git?: {
1010
- dirty?: boolean | undefined;
1011
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1012
1010
  provider?: string | undefined;
1011
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1013
1012
  ghUsername?: string | undefined;
1014
1013
  ghUserAvatarUrl?: string | undefined;
1015
1014
  commitAuthorName?: string | undefined;
1016
1015
  commitMessage?: string | undefined;
1017
1016
  commitRef?: string | undefined;
1018
1017
  commitSha?: string | undefined;
1018
+ dirty?: boolean | undefined;
1019
1019
  remoteUrl?: string | undefined;
1020
1020
  pullRequestNumber?: number | undefined;
1021
1021
  pullRequestTitle?: string | undefined;
1022
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1022
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1023
1023
  } | undefined;
1024
1024
  }, {
1025
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1026
1025
  id: string;
1027
1026
  slug: string;
1027
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
1028
1028
  branchName?: string | undefined;
1029
1029
  git?: {
1030
- dirty?: boolean | undefined;
1031
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1032
1030
  provider?: string | undefined;
1031
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1033
1032
  ghUsername?: string | undefined;
1034
1033
  ghUserAvatarUrl?: string | undefined;
1035
1034
  commitAuthorName?: string | undefined;
1036
1035
  commitMessage?: string | undefined;
1037
1036
  commitRef?: string | undefined;
1038
1037
  commitSha?: string | undefined;
1038
+ dirty?: boolean | undefined;
1039
1039
  remoteUrl?: string | undefined;
1040
1040
  pullRequestNumber?: number | undefined;
1041
1041
  pullRequestTitle?: string | undefined;
1042
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1042
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1043
1043
  } | undefined;
1044
1044
  }>;
1045
1045
  organization: z.ZodObject<{
@@ -1047,13 +1047,13 @@ export declare const V3ProdTaskRunExecution: z.ZodObject<{
1047
1047
  slug: z.ZodString;
1048
1048
  name: z.ZodString;
1049
1049
  }, "strip", z.ZodTypeAny, {
1050
- name: string;
1051
1050
  id: string;
1052
1051
  slug: string;
1053
- }, {
1054
1052
  name: string;
1053
+ }, {
1055
1054
  id: string;
1056
1055
  slug: string;
1056
+ name: string;
1057
1057
  }>;
1058
1058
  project: z.ZodObject<{
1059
1059
  id: z.ZodString;
@@ -1061,15 +1061,15 @@ export declare const V3ProdTaskRunExecution: z.ZodObject<{
1061
1061
  slug: z.ZodString;
1062
1062
  name: z.ZodString;
1063
1063
  }, "strip", z.ZodTypeAny, {
1064
- name: string;
1065
1064
  id: string;
1066
- slug: string;
1067
1065
  ref: string;
1068
- }, {
1066
+ slug: string;
1069
1067
  name: string;
1068
+ }, {
1070
1069
  id: string;
1071
- slug: string;
1072
1070
  ref: string;
1071
+ slug: string;
1072
+ name: string;
1073
1073
  }>;
1074
1074
  batch: z.ZodOptional<z.ZodObject<{
1075
1075
  id: z.ZodString;
@@ -1086,13 +1086,13 @@ export declare const V3ProdTaskRunExecution: z.ZodObject<{
1086
1086
  type: z.ZodOptional<z.ZodEnum<["V1", "V2"]>>;
1087
1087
  }, "strip", z.ZodTypeAny, {
1088
1088
  id: string;
1089
- version: string;
1090
1089
  contentHash: string;
1090
+ version: string;
1091
1091
  type?: "V1" | "V2" | undefined;
1092
1092
  }, {
1093
1093
  id: string;
1094
- version: string;
1095
1094
  contentHash: string;
1095
+ version: string;
1096
1096
  type?: "V1" | "V2" | undefined;
1097
1097
  }>;
1098
1098
  machine: z.ZodDefault<z.ZodObject<{
@@ -1101,190 +1101,190 @@ export declare const V3ProdTaskRunExecution: z.ZodObject<{
1101
1101
  memory: z.ZodNumber;
1102
1102
  centsPerMs: z.ZodNumber;
1103
1103
  }, "strip", z.ZodTypeAny, {
1104
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
1104
1105
  cpu: number;
1105
1106
  memory: number;
1106
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1107
1107
  centsPerMs: number;
1108
1108
  }, {
1109
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
1109
1110
  cpu: number;
1110
1111
  memory: number;
1111
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1112
1112
  centsPerMs: number;
1113
1113
  }>>;
1114
1114
  }, "strip", z.ZodTypeAny, {
1115
+ task: {
1116
+ id: string;
1117
+ filePath: string;
1118
+ exportName?: string | undefined;
1119
+ };
1120
+ attempt: {
1121
+ number: number;
1122
+ startedAt: Date;
1123
+ id: string;
1124
+ backgroundWorkerId: string;
1125
+ backgroundWorkerTaskId: string;
1126
+ status: string;
1127
+ };
1115
1128
  run: {
1116
- payload: string;
1117
1129
  id: string;
1130
+ payload: string;
1118
1131
  payloadType: string;
1119
1132
  tags: string[];
1120
1133
  isTest: boolean;
1121
1134
  isReplay: boolean;
1122
1135
  createdAt: Date;
1123
1136
  startedAt: Date;
1124
- baseCostInCents: number;
1125
- durationMs: number;
1126
- costInCents: number;
1127
- context?: unknown;
1128
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1129
1137
  idempotencyKey?: string | undefined;
1130
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
1138
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
1131
1139
  maxAttempts?: number | undefined;
1132
1140
  version?: string | undefined;
1141
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1133
1142
  maxDuration?: number | undefined;
1143
+ context?: unknown;
1144
+ durationMs: number;
1145
+ costInCents: number;
1146
+ baseCostInCents: number;
1134
1147
  } & {
1135
1148
  traceContext?: Record<string, unknown> | undefined;
1136
1149
  };
1137
- attempt: {
1138
- number: number;
1139
- status: string;
1140
- id: string;
1141
- startedAt: Date;
1142
- backgroundWorkerId: string;
1143
- backgroundWorkerTaskId: string;
1144
- };
1145
- task: {
1146
- id: string;
1147
- filePath: string;
1148
- exportName?: string | undefined;
1149
- };
1150
1150
  queue: {
1151
- name: string;
1152
1151
  id: string;
1152
+ name: string;
1153
1153
  };
1154
1154
  environment: {
1155
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1156
1155
  id: string;
1157
1156
  slug: string;
1157
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
1158
1158
  branchName?: string | undefined;
1159
1159
  git?: {
1160
- dirty?: boolean | undefined;
1161
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1162
1160
  provider?: string | undefined;
1161
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1163
1162
  ghUsername?: string | undefined;
1164
1163
  ghUserAvatarUrl?: string | undefined;
1165
1164
  commitAuthorName?: string | undefined;
1166
1165
  commitMessage?: string | undefined;
1167
1166
  commitRef?: string | undefined;
1168
1167
  commitSha?: string | undefined;
1168
+ dirty?: boolean | undefined;
1169
1169
  remoteUrl?: string | undefined;
1170
1170
  pullRequestNumber?: number | undefined;
1171
1171
  pullRequestTitle?: string | undefined;
1172
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1172
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1173
1173
  } | undefined;
1174
1174
  };
1175
1175
  organization: {
1176
- name: string;
1177
1176
  id: string;
1178
1177
  slug: string;
1178
+ name: string;
1179
1179
  };
1180
1180
  project: {
1181
- name: string;
1182
1181
  id: string;
1183
- slug: string;
1184
1182
  ref: string;
1183
+ slug: string;
1184
+ name: string;
1185
+ };
1186
+ batch?: {
1187
+ id: string;
1188
+ } | undefined;
1189
+ worker: {
1190
+ id: string;
1191
+ contentHash: string;
1192
+ version: string;
1193
+ type?: "V1" | "V2" | undefined;
1185
1194
  };
1186
1195
  machine: {
1196
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
1187
1197
  cpu: number;
1188
1198
  memory: number;
1189
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1190
1199
  centsPerMs: number;
1191
1200
  };
1192
- worker: {
1201
+ }, {
1202
+ task: {
1193
1203
  id: string;
1194
- version: string;
1195
- contentHash: string;
1196
- type?: "V1" | "V2" | undefined;
1204
+ filePath: string;
1205
+ exportName?: string | undefined;
1197
1206
  };
1198
- batch?: {
1207
+ attempt: {
1208
+ number: number;
1209
+ startedAt: Date;
1199
1210
  id: string;
1200
- } | undefined;
1201
- }, {
1211
+ backgroundWorkerId: string;
1212
+ backgroundWorkerTaskId: string;
1213
+ status: string;
1214
+ };
1202
1215
  run: {
1203
- payload: string;
1204
1216
  id: string;
1217
+ payload: string;
1205
1218
  payloadType: string;
1206
1219
  tags: string[];
1207
- createdAt: Date;
1208
- baseCostInCents: number;
1209
- durationMs: number;
1210
- costInCents: number;
1211
- context?: unknown;
1212
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1213
1220
  isTest?: boolean | undefined;
1214
1221
  isReplay?: boolean | undefined;
1222
+ createdAt: Date;
1215
1223
  startedAt?: Date | undefined;
1216
1224
  idempotencyKey?: string | undefined;
1217
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
1225
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
1218
1226
  maxAttempts?: number | undefined;
1219
1227
  version?: string | undefined;
1228
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1220
1229
  maxDuration?: number | undefined;
1230
+ context?: unknown;
1231
+ durationMs: number;
1232
+ costInCents: number;
1233
+ baseCostInCents: number;
1221
1234
  } & {
1222
1235
  traceContext?: Record<string, unknown> | undefined;
1223
1236
  };
1224
- attempt: {
1225
- number: number;
1226
- status: string;
1227
- id: string;
1228
- startedAt: Date;
1229
- backgroundWorkerId: string;
1230
- backgroundWorkerTaskId: string;
1231
- };
1232
- task: {
1233
- id: string;
1234
- filePath: string;
1235
- exportName?: string | undefined;
1236
- };
1237
1237
  queue: {
1238
- name: string;
1239
1238
  id: string;
1239
+ name: string;
1240
1240
  };
1241
1241
  environment: {
1242
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1243
1242
  id: string;
1244
1243
  slug: string;
1244
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
1245
1245
  branchName?: string | undefined;
1246
1246
  git?: {
1247
- dirty?: boolean | undefined;
1248
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1249
1247
  provider?: string | undefined;
1248
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1250
1249
  ghUsername?: string | undefined;
1251
1250
  ghUserAvatarUrl?: string | undefined;
1252
1251
  commitAuthorName?: string | undefined;
1253
1252
  commitMessage?: string | undefined;
1254
1253
  commitRef?: string | undefined;
1255
1254
  commitSha?: string | undefined;
1255
+ dirty?: boolean | undefined;
1256
1256
  remoteUrl?: string | undefined;
1257
1257
  pullRequestNumber?: number | undefined;
1258
1258
  pullRequestTitle?: string | undefined;
1259
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1259
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1260
1260
  } | undefined;
1261
1261
  };
1262
1262
  organization: {
1263
- name: string;
1264
1263
  id: string;
1265
1264
  slug: string;
1265
+ name: string;
1266
1266
  };
1267
1267
  project: {
1268
- name: string;
1269
1268
  id: string;
1270
- slug: string;
1271
1269
  ref: string;
1270
+ slug: string;
1271
+ name: string;
1272
1272
  };
1273
+ batch?: {
1274
+ id: string;
1275
+ } | undefined;
1273
1276
  worker: {
1274
1277
  id: string;
1275
- version: string;
1276
1278
  contentHash: string;
1279
+ version: string;
1277
1280
  type?: "V1" | "V2" | undefined;
1278
1281
  };
1279
1282
  machine?: {
1283
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
1280
1284
  cpu: number;
1281
1285
  memory: number;
1282
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1283
1286
  centsPerMs: number;
1284
1287
  } | undefined;
1285
- batch?: {
1286
- id: string;
1287
- } | undefined;
1288
1288
  }>;
1289
1289
  export type V3ProdTaskRunExecution = z.infer<typeof V3ProdTaskRunExecution>;
1290
1290
  export declare const V3ProdTaskRunExecutionPayload: z.ZodObject<{
@@ -1311,18 +1311,18 @@ export declare const V3ProdTaskRunExecutionPayload: z.ZodObject<{
1311
1311
  status: z.ZodString;
1312
1312
  }, "strip", z.ZodTypeAny, {
1313
1313
  number: number;
1314
- status: string;
1315
- id: string;
1316
1314
  startedAt: Date;
1315
+ id: string;
1317
1316
  backgroundWorkerId: string;
1318
1317
  backgroundWorkerTaskId: string;
1318
+ status: string;
1319
1319
  }, {
1320
1320
  number: number;
1321
- status: string;
1322
- id: string;
1323
1321
  startedAt: Date;
1322
+ id: string;
1324
1323
  backgroundWorkerId: string;
1325
1324
  backgroundWorkerTaskId: string;
1325
+ status: string;
1326
1326
  }>;
1327
1327
  run: z.ZodIntersection<z.ZodObject<{
1328
1328
  id: z.ZodString;
@@ -1344,43 +1344,43 @@ export declare const V3ProdTaskRunExecutionPayload: z.ZodObject<{
1344
1344
  costInCents: z.ZodNumber;
1345
1345
  baseCostInCents: z.ZodNumber;
1346
1346
  }, "strip", z.ZodTypeAny, {
1347
- payload: string;
1348
1347
  id: string;
1348
+ payload: string;
1349
1349
  payloadType: string;
1350
1350
  tags: string[];
1351
1351
  isTest: boolean;
1352
1352
  isReplay: boolean;
1353
1353
  createdAt: Date;
1354
1354
  startedAt: Date;
1355
- baseCostInCents: number;
1356
- durationMs: number;
1357
- costInCents: number;
1358
- context?: unknown;
1359
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1360
1355
  idempotencyKey?: string | undefined;
1361
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
1356
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
1362
1357
  maxAttempts?: number | undefined;
1363
1358
  version?: string | undefined;
1359
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1364
1360
  maxDuration?: number | undefined;
1361
+ context?: unknown;
1362
+ durationMs: number;
1363
+ costInCents: number;
1364
+ baseCostInCents: number;
1365
1365
  }, {
1366
- payload: string;
1367
1366
  id: string;
1367
+ payload: string;
1368
1368
  payloadType: string;
1369
1369
  tags: string[];
1370
- createdAt: Date;
1371
- baseCostInCents: number;
1372
- durationMs: number;
1373
- costInCents: number;
1374
- context?: unknown;
1375
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1376
1370
  isTest?: boolean | undefined;
1377
1371
  isReplay?: boolean | undefined;
1372
+ createdAt: Date;
1378
1373
  startedAt?: Date | undefined;
1379
1374
  idempotencyKey?: string | undefined;
1380
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
1375
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
1381
1376
  maxAttempts?: number | undefined;
1382
1377
  version?: string | undefined;
1378
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1383
1379
  maxDuration?: number | undefined;
1380
+ context?: unknown;
1381
+ durationMs: number;
1382
+ costInCents: number;
1383
+ baseCostInCents: number;
1384
1384
  }>, z.ZodObject<{
1385
1385
  traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1386
1386
  }, "strip", z.ZodTypeAny, {
@@ -1392,11 +1392,11 @@ export declare const V3ProdTaskRunExecutionPayload: z.ZodObject<{
1392
1392
  id: z.ZodString;
1393
1393
  name: z.ZodString;
1394
1394
  }, "strip", z.ZodTypeAny, {
1395
- name: string;
1396
1395
  id: string;
1397
- }, {
1398
1396
  name: string;
1397
+ }, {
1399
1398
  id: string;
1399
+ name: string;
1400
1400
  }>;
1401
1401
  environment: z.ZodObject<{
1402
1402
  id: z.ZodString;
@@ -1418,73 +1418,73 @@ export declare const V3ProdTaskRunExecutionPayload: z.ZodObject<{
1418
1418
  pullRequestTitle: z.ZodOptional<z.ZodString>;
1419
1419
  pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
1420
1420
  }, "strip", z.ZodTypeAny, {
1421
- dirty?: boolean | undefined;
1422
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1423
1421
  provider?: string | undefined;
1422
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1424
1423
  ghUsername?: string | undefined;
1425
1424
  ghUserAvatarUrl?: string | undefined;
1426
1425
  commitAuthorName?: string | undefined;
1427
1426
  commitMessage?: string | undefined;
1428
1427
  commitRef?: string | undefined;
1429
1428
  commitSha?: string | undefined;
1429
+ dirty?: boolean | undefined;
1430
1430
  remoteUrl?: string | undefined;
1431
1431
  pullRequestNumber?: number | undefined;
1432
1432
  pullRequestTitle?: string | undefined;
1433
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1433
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1434
1434
  }, {
1435
- dirty?: boolean | undefined;
1436
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1437
1435
  provider?: string | undefined;
1436
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1438
1437
  ghUsername?: string | undefined;
1439
1438
  ghUserAvatarUrl?: string | undefined;
1440
1439
  commitAuthorName?: string | undefined;
1441
1440
  commitMessage?: string | undefined;
1442
1441
  commitRef?: string | undefined;
1443
1442
  commitSha?: string | undefined;
1443
+ dirty?: boolean | undefined;
1444
1444
  remoteUrl?: string | undefined;
1445
1445
  pullRequestNumber?: number | undefined;
1446
1446
  pullRequestTitle?: string | undefined;
1447
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1447
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1448
1448
  }>>;
1449
1449
  }, "strip", z.ZodTypeAny, {
1450
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1451
1450
  id: string;
1452
1451
  slug: string;
1452
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
1453
1453
  branchName?: string | undefined;
1454
1454
  git?: {
1455
- dirty?: boolean | undefined;
1456
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1457
1455
  provider?: string | undefined;
1456
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1458
1457
  ghUsername?: string | undefined;
1459
1458
  ghUserAvatarUrl?: string | undefined;
1460
1459
  commitAuthorName?: string | undefined;
1461
1460
  commitMessage?: string | undefined;
1462
1461
  commitRef?: string | undefined;
1463
1462
  commitSha?: string | undefined;
1463
+ dirty?: boolean | undefined;
1464
1464
  remoteUrl?: string | undefined;
1465
1465
  pullRequestNumber?: number | undefined;
1466
1466
  pullRequestTitle?: string | undefined;
1467
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1467
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1468
1468
  } | undefined;
1469
1469
  }, {
1470
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1471
1470
  id: string;
1472
1471
  slug: string;
1472
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
1473
1473
  branchName?: string | undefined;
1474
1474
  git?: {
1475
- dirty?: boolean | undefined;
1476
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1477
1475
  provider?: string | undefined;
1476
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1478
1477
  ghUsername?: string | undefined;
1479
1478
  ghUserAvatarUrl?: string | undefined;
1480
1479
  commitAuthorName?: string | undefined;
1481
1480
  commitMessage?: string | undefined;
1482
1481
  commitRef?: string | undefined;
1483
1482
  commitSha?: string | undefined;
1483
+ dirty?: boolean | undefined;
1484
1484
  remoteUrl?: string | undefined;
1485
1485
  pullRequestNumber?: number | undefined;
1486
1486
  pullRequestTitle?: string | undefined;
1487
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1487
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1488
1488
  } | undefined;
1489
1489
  }>;
1490
1490
  organization: z.ZodObject<{
@@ -1492,13 +1492,13 @@ export declare const V3ProdTaskRunExecutionPayload: z.ZodObject<{
1492
1492
  slug: z.ZodString;
1493
1493
  name: z.ZodString;
1494
1494
  }, "strip", z.ZodTypeAny, {
1495
- name: string;
1496
1495
  id: string;
1497
1496
  slug: string;
1498
- }, {
1499
1497
  name: string;
1498
+ }, {
1500
1499
  id: string;
1501
1500
  slug: string;
1501
+ name: string;
1502
1502
  }>;
1503
1503
  project: z.ZodObject<{
1504
1504
  id: z.ZodString;
@@ -1506,15 +1506,15 @@ export declare const V3ProdTaskRunExecutionPayload: z.ZodObject<{
1506
1506
  slug: z.ZodString;
1507
1507
  name: z.ZodString;
1508
1508
  }, "strip", z.ZodTypeAny, {
1509
- name: string;
1510
1509
  id: string;
1511
- slug: string;
1512
1510
  ref: string;
1513
- }, {
1511
+ slug: string;
1514
1512
  name: string;
1513
+ }, {
1515
1514
  id: string;
1516
- slug: string;
1517
1515
  ref: string;
1516
+ slug: string;
1517
+ name: string;
1518
1518
  }>;
1519
1519
  batch: z.ZodOptional<z.ZodObject<{
1520
1520
  id: z.ZodString;
@@ -1531,13 +1531,13 @@ export declare const V3ProdTaskRunExecutionPayload: z.ZodObject<{
1531
1531
  type: z.ZodOptional<z.ZodEnum<["V1", "V2"]>>;
1532
1532
  }, "strip", z.ZodTypeAny, {
1533
1533
  id: string;
1534
- version: string;
1535
1534
  contentHash: string;
1535
+ version: string;
1536
1536
  type?: "V1" | "V2" | undefined;
1537
1537
  }, {
1538
1538
  id: string;
1539
- version: string;
1540
1539
  contentHash: string;
1540
+ version: string;
1541
1541
  type?: "V1" | "V2" | undefined;
1542
1542
  }>;
1543
1543
  machine: z.ZodDefault<z.ZodObject<{
@@ -1546,190 +1546,190 @@ export declare const V3ProdTaskRunExecutionPayload: z.ZodObject<{
1546
1546
  memory: z.ZodNumber;
1547
1547
  centsPerMs: z.ZodNumber;
1548
1548
  }, "strip", z.ZodTypeAny, {
1549
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
1549
1550
  cpu: number;
1550
1551
  memory: number;
1551
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1552
1552
  centsPerMs: number;
1553
1553
  }, {
1554
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
1554
1555
  cpu: number;
1555
1556
  memory: number;
1556
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1557
1557
  centsPerMs: number;
1558
1558
  }>>;
1559
1559
  }, "strip", z.ZodTypeAny, {
1560
+ task: {
1561
+ id: string;
1562
+ filePath: string;
1563
+ exportName?: string | undefined;
1564
+ };
1565
+ attempt: {
1566
+ number: number;
1567
+ startedAt: Date;
1568
+ id: string;
1569
+ backgroundWorkerId: string;
1570
+ backgroundWorkerTaskId: string;
1571
+ status: string;
1572
+ };
1560
1573
  run: {
1561
- payload: string;
1562
1574
  id: string;
1575
+ payload: string;
1563
1576
  payloadType: string;
1564
1577
  tags: string[];
1565
1578
  isTest: boolean;
1566
1579
  isReplay: boolean;
1567
1580
  createdAt: Date;
1568
1581
  startedAt: Date;
1569
- baseCostInCents: number;
1570
- durationMs: number;
1571
- costInCents: number;
1572
- context?: unknown;
1573
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1574
1582
  idempotencyKey?: string | undefined;
1575
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
1583
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
1576
1584
  maxAttempts?: number | undefined;
1577
1585
  version?: string | undefined;
1586
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1578
1587
  maxDuration?: number | undefined;
1588
+ context?: unknown;
1589
+ durationMs: number;
1590
+ costInCents: number;
1591
+ baseCostInCents: number;
1579
1592
  } & {
1580
1593
  traceContext?: Record<string, unknown> | undefined;
1581
1594
  };
1582
- attempt: {
1583
- number: number;
1584
- status: string;
1585
- id: string;
1586
- startedAt: Date;
1587
- backgroundWorkerId: string;
1588
- backgroundWorkerTaskId: string;
1589
- };
1590
- task: {
1591
- id: string;
1592
- filePath: string;
1593
- exportName?: string | undefined;
1594
- };
1595
1595
  queue: {
1596
- name: string;
1597
1596
  id: string;
1597
+ name: string;
1598
1598
  };
1599
1599
  environment: {
1600
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1601
1600
  id: string;
1602
1601
  slug: string;
1602
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
1603
1603
  branchName?: string | undefined;
1604
1604
  git?: {
1605
- dirty?: boolean | undefined;
1606
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1607
1605
  provider?: string | undefined;
1606
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1608
1607
  ghUsername?: string | undefined;
1609
1608
  ghUserAvatarUrl?: string | undefined;
1610
1609
  commitAuthorName?: string | undefined;
1611
1610
  commitMessage?: string | undefined;
1612
1611
  commitRef?: string | undefined;
1613
1612
  commitSha?: string | undefined;
1613
+ dirty?: boolean | undefined;
1614
1614
  remoteUrl?: string | undefined;
1615
1615
  pullRequestNumber?: number | undefined;
1616
1616
  pullRequestTitle?: string | undefined;
1617
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1617
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1618
1618
  } | undefined;
1619
1619
  };
1620
1620
  organization: {
1621
- name: string;
1622
1621
  id: string;
1623
1622
  slug: string;
1623
+ name: string;
1624
1624
  };
1625
1625
  project: {
1626
- name: string;
1627
1626
  id: string;
1628
- slug: string;
1629
1627
  ref: string;
1628
+ slug: string;
1629
+ name: string;
1630
+ };
1631
+ batch?: {
1632
+ id: string;
1633
+ } | undefined;
1634
+ worker: {
1635
+ id: string;
1636
+ contentHash: string;
1637
+ version: string;
1638
+ type?: "V1" | "V2" | undefined;
1630
1639
  };
1631
1640
  machine: {
1641
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
1632
1642
  cpu: number;
1633
1643
  memory: number;
1634
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1635
1644
  centsPerMs: number;
1636
1645
  };
1637
- worker: {
1646
+ }, {
1647
+ task: {
1638
1648
  id: string;
1639
- version: string;
1640
- contentHash: string;
1641
- type?: "V1" | "V2" | undefined;
1649
+ filePath: string;
1650
+ exportName?: string | undefined;
1642
1651
  };
1643
- batch?: {
1652
+ attempt: {
1653
+ number: number;
1654
+ startedAt: Date;
1644
1655
  id: string;
1645
- } | undefined;
1646
- }, {
1656
+ backgroundWorkerId: string;
1657
+ backgroundWorkerTaskId: string;
1658
+ status: string;
1659
+ };
1647
1660
  run: {
1648
- payload: string;
1649
1661
  id: string;
1662
+ payload: string;
1650
1663
  payloadType: string;
1651
1664
  tags: string[];
1652
- createdAt: Date;
1653
- baseCostInCents: number;
1654
- durationMs: number;
1655
- costInCents: number;
1656
- context?: unknown;
1657
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1658
1665
  isTest?: boolean | undefined;
1659
1666
  isReplay?: boolean | undefined;
1667
+ createdAt: Date;
1660
1668
  startedAt?: Date | undefined;
1661
1669
  idempotencyKey?: string | undefined;
1662
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
1670
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
1663
1671
  maxAttempts?: number | undefined;
1664
1672
  version?: string | undefined;
1673
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1665
1674
  maxDuration?: number | undefined;
1675
+ context?: unknown;
1676
+ durationMs: number;
1677
+ costInCents: number;
1678
+ baseCostInCents: number;
1666
1679
  } & {
1667
1680
  traceContext?: Record<string, unknown> | undefined;
1668
1681
  };
1669
- attempt: {
1670
- number: number;
1671
- status: string;
1672
- id: string;
1673
- startedAt: Date;
1674
- backgroundWorkerId: string;
1675
- backgroundWorkerTaskId: string;
1676
- };
1677
- task: {
1678
- id: string;
1679
- filePath: string;
1680
- exportName?: string | undefined;
1681
- };
1682
1682
  queue: {
1683
- name: string;
1684
1683
  id: string;
1684
+ name: string;
1685
1685
  };
1686
1686
  environment: {
1687
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1688
1687
  id: string;
1689
1688
  slug: string;
1689
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
1690
1690
  branchName?: string | undefined;
1691
1691
  git?: {
1692
- dirty?: boolean | undefined;
1693
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1694
1692
  provider?: string | undefined;
1693
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1695
1694
  ghUsername?: string | undefined;
1696
1695
  ghUserAvatarUrl?: string | undefined;
1697
1696
  commitAuthorName?: string | undefined;
1698
1697
  commitMessage?: string | undefined;
1699
1698
  commitRef?: string | undefined;
1700
1699
  commitSha?: string | undefined;
1700
+ dirty?: boolean | undefined;
1701
1701
  remoteUrl?: string | undefined;
1702
1702
  pullRequestNumber?: number | undefined;
1703
1703
  pullRequestTitle?: string | undefined;
1704
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1704
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1705
1705
  } | undefined;
1706
1706
  };
1707
1707
  organization: {
1708
- name: string;
1709
1708
  id: string;
1710
1709
  slug: string;
1710
+ name: string;
1711
1711
  };
1712
1712
  project: {
1713
- name: string;
1714
1713
  id: string;
1715
- slug: string;
1716
1714
  ref: string;
1715
+ slug: string;
1716
+ name: string;
1717
1717
  };
1718
+ batch?: {
1719
+ id: string;
1720
+ } | undefined;
1718
1721
  worker: {
1719
1722
  id: string;
1720
- version: string;
1721
1723
  contentHash: string;
1724
+ version: string;
1722
1725
  type?: "V1" | "V2" | undefined;
1723
1726
  };
1724
1727
  machine?: {
1728
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
1725
1729
  cpu: number;
1726
1730
  memory: number;
1727
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1728
1731
  centsPerMs: number;
1729
1732
  } | undefined;
1730
- batch?: {
1731
- id: string;
1732
- } | undefined;
1733
1733
  }>;
1734
1734
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1735
1735
  environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1739,207 +1739,207 @@ export declare const V3ProdTaskRunExecutionPayload: z.ZodObject<{
1739
1739
  timestamp: z.ZodNumber;
1740
1740
  duration: z.ZodNumber;
1741
1741
  }, "strip", z.ZodTypeAny, {
1742
- event: string;
1743
1742
  name: string;
1743
+ event: string;
1744
1744
  timestamp: number;
1745
1745
  duration: number;
1746
1746
  }, {
1747
- event: string;
1748
1747
  name: string;
1748
+ event: string;
1749
1749
  timestamp: number;
1750
1750
  duration: number;
1751
1751
  }>, "many">>;
1752
1752
  }, "strip", z.ZodTypeAny, {
1753
- traceContext: Record<string, unknown>;
1754
1753
  execution: {
1754
+ task: {
1755
+ id: string;
1756
+ filePath: string;
1757
+ exportName?: string | undefined;
1758
+ };
1759
+ attempt: {
1760
+ number: number;
1761
+ startedAt: Date;
1762
+ id: string;
1763
+ backgroundWorkerId: string;
1764
+ backgroundWorkerTaskId: string;
1765
+ status: string;
1766
+ };
1755
1767
  run: {
1756
- payload: string;
1757
1768
  id: string;
1769
+ payload: string;
1758
1770
  payloadType: string;
1759
1771
  tags: string[];
1760
1772
  isTest: boolean;
1761
1773
  isReplay: boolean;
1762
1774
  createdAt: Date;
1763
1775
  startedAt: Date;
1764
- baseCostInCents: number;
1765
- durationMs: number;
1766
- costInCents: number;
1767
- context?: unknown;
1768
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1769
1776
  idempotencyKey?: string | undefined;
1770
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
1777
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
1771
1778
  maxAttempts?: number | undefined;
1772
1779
  version?: string | undefined;
1780
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1773
1781
  maxDuration?: number | undefined;
1782
+ context?: unknown;
1783
+ durationMs: number;
1784
+ costInCents: number;
1785
+ baseCostInCents: number;
1774
1786
  } & {
1775
1787
  traceContext?: Record<string, unknown> | undefined;
1776
1788
  };
1777
- attempt: {
1778
- number: number;
1779
- status: string;
1780
- id: string;
1781
- startedAt: Date;
1782
- backgroundWorkerId: string;
1783
- backgroundWorkerTaskId: string;
1784
- };
1785
- task: {
1786
- id: string;
1787
- filePath: string;
1788
- exportName?: string | undefined;
1789
- };
1790
1789
  queue: {
1791
- name: string;
1792
1790
  id: string;
1791
+ name: string;
1793
1792
  };
1794
1793
  environment: {
1795
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1796
1794
  id: string;
1797
1795
  slug: string;
1796
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
1798
1797
  branchName?: string | undefined;
1799
1798
  git?: {
1800
- dirty?: boolean | undefined;
1801
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1802
1799
  provider?: string | undefined;
1800
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1803
1801
  ghUsername?: string | undefined;
1804
1802
  ghUserAvatarUrl?: string | undefined;
1805
1803
  commitAuthorName?: string | undefined;
1806
1804
  commitMessage?: string | undefined;
1807
1805
  commitRef?: string | undefined;
1808
1806
  commitSha?: string | undefined;
1807
+ dirty?: boolean | undefined;
1809
1808
  remoteUrl?: string | undefined;
1810
1809
  pullRequestNumber?: number | undefined;
1811
1810
  pullRequestTitle?: string | undefined;
1812
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1811
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1813
1812
  } | undefined;
1814
1813
  };
1815
1814
  organization: {
1816
- name: string;
1817
1815
  id: string;
1818
1816
  slug: string;
1817
+ name: string;
1819
1818
  };
1820
1819
  project: {
1821
- name: string;
1822
1820
  id: string;
1823
- slug: string;
1824
1821
  ref: string;
1822
+ slug: string;
1823
+ name: string;
1825
1824
  };
1826
- machine: {
1827
- cpu: number;
1828
- memory: number;
1829
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1830
- centsPerMs: number;
1831
- };
1825
+ batch?: {
1826
+ id: string;
1827
+ } | undefined;
1832
1828
  worker: {
1833
1829
  id: string;
1834
- version: string;
1835
1830
  contentHash: string;
1831
+ version: string;
1836
1832
  type?: "V1" | "V2" | undefined;
1837
1833
  };
1838
- batch?: {
1839
- id: string;
1840
- } | undefined;
1834
+ machine: {
1835
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
1836
+ cpu: number;
1837
+ memory: number;
1838
+ centsPerMs: number;
1839
+ };
1841
1840
  };
1841
+ traceContext: Record<string, unknown>;
1842
1842
  environment?: Record<string, string> | undefined;
1843
1843
  metrics?: {
1844
- event: string;
1845
1844
  name: string;
1845
+ event: string;
1846
1846
  timestamp: number;
1847
1847
  duration: number;
1848
1848
  }[] | undefined;
1849
1849
  }, {
1850
- traceContext: Record<string, unknown>;
1851
1850
  execution: {
1851
+ task: {
1852
+ id: string;
1853
+ filePath: string;
1854
+ exportName?: string | undefined;
1855
+ };
1856
+ attempt: {
1857
+ number: number;
1858
+ startedAt: Date;
1859
+ id: string;
1860
+ backgroundWorkerId: string;
1861
+ backgroundWorkerTaskId: string;
1862
+ status: string;
1863
+ };
1852
1864
  run: {
1853
- payload: string;
1854
1865
  id: string;
1866
+ payload: string;
1855
1867
  payloadType: string;
1856
1868
  tags: string[];
1857
- createdAt: Date;
1858
- baseCostInCents: number;
1859
- durationMs: number;
1860
- costInCents: number;
1861
- context?: unknown;
1862
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1863
1869
  isTest?: boolean | undefined;
1864
1870
  isReplay?: boolean | undefined;
1871
+ createdAt: Date;
1865
1872
  startedAt?: Date | undefined;
1866
1873
  idempotencyKey?: string | undefined;
1867
- idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
1874
+ idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
1868
1875
  maxAttempts?: number | undefined;
1869
1876
  version?: string | undefined;
1877
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1870
1878
  maxDuration?: number | undefined;
1879
+ context?: unknown;
1880
+ durationMs: number;
1881
+ costInCents: number;
1882
+ baseCostInCents: number;
1871
1883
  } & {
1872
1884
  traceContext?: Record<string, unknown> | undefined;
1873
1885
  };
1874
- attempt: {
1875
- number: number;
1876
- status: string;
1877
- id: string;
1878
- startedAt: Date;
1879
- backgroundWorkerId: string;
1880
- backgroundWorkerTaskId: string;
1881
- };
1882
- task: {
1883
- id: string;
1884
- filePath: string;
1885
- exportName?: string | undefined;
1886
- };
1887
1886
  queue: {
1888
- name: string;
1889
1887
  id: string;
1888
+ name: string;
1890
1889
  };
1891
1890
  environment: {
1892
- type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
1893
1891
  id: string;
1894
1892
  slug: string;
1893
+ type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
1895
1894
  branchName?: string | undefined;
1896
1895
  git?: {
1897
- dirty?: boolean | undefined;
1898
- source?: "trigger_github_app" | "github_actions" | "local" | undefined;
1899
1896
  provider?: string | undefined;
1897
+ source?: "github_actions" | "local" | "trigger_github_app" | undefined;
1900
1898
  ghUsername?: string | undefined;
1901
1899
  ghUserAvatarUrl?: string | undefined;
1902
1900
  commitAuthorName?: string | undefined;
1903
1901
  commitMessage?: string | undefined;
1904
1902
  commitRef?: string | undefined;
1905
1903
  commitSha?: string | undefined;
1904
+ dirty?: boolean | undefined;
1906
1905
  remoteUrl?: string | undefined;
1907
1906
  pullRequestNumber?: number | undefined;
1908
1907
  pullRequestTitle?: string | undefined;
1909
- pullRequestState?: "open" | "closed" | "merged" | undefined;
1908
+ pullRequestState?: "closed" | "merged" | "open" | undefined;
1910
1909
  } | undefined;
1911
1910
  };
1912
1911
  organization: {
1913
- name: string;
1914
1912
  id: string;
1915
1913
  slug: string;
1914
+ name: string;
1916
1915
  };
1917
1916
  project: {
1918
- name: string;
1919
1917
  id: string;
1920
- slug: string;
1921
1918
  ref: string;
1919
+ slug: string;
1920
+ name: string;
1922
1921
  };
1922
+ batch?: {
1923
+ id: string;
1924
+ } | undefined;
1923
1925
  worker: {
1924
1926
  id: string;
1925
- version: string;
1926
1927
  contentHash: string;
1928
+ version: string;
1927
1929
  type?: "V1" | "V2" | undefined;
1928
1930
  };
1929
1931
  machine?: {
1932
+ name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
1930
1933
  cpu: number;
1931
1934
  memory: number;
1932
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1933
1935
  centsPerMs: number;
1934
1936
  } | undefined;
1935
- batch?: {
1936
- id: string;
1937
- } | undefined;
1938
1937
  };
1938
+ traceContext: Record<string, unknown>;
1939
1939
  environment?: Record<string, string> | undefined;
1940
1940
  metrics?: {
1941
- event: string;
1942
1941
  name: string;
1942
+ event: string;
1943
1943
  timestamp: number;
1944
1944
  duration: number;
1945
1945
  }[] | undefined;
@@ -2141,9 +2141,9 @@ export declare const RetryOptions: z.ZodObject<{
2141
2141
  outOfMemory: z.ZodOptional<z.ZodObject<{
2142
2142
  machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
2143
2143
  }, "strip", z.ZodTypeAny, {
2144
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2144
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2145
2145
  }, {
2146
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2146
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2147
2147
  }>>;
2148
2148
  }, "strip", z.ZodTypeAny, {
2149
2149
  maxAttempts?: number | undefined;
@@ -2152,7 +2152,7 @@ export declare const RetryOptions: z.ZodObject<{
2152
2152
  maxTimeoutInMs?: number | undefined;
2153
2153
  randomize?: boolean | undefined;
2154
2154
  outOfMemory?: {
2155
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2155
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2156
2156
  } | undefined;
2157
2157
  }, {
2158
2158
  maxAttempts?: number | undefined;
@@ -2161,7 +2161,7 @@ export declare const RetryOptions: z.ZodObject<{
2161
2161
  maxTimeoutInMs?: number | undefined;
2162
2162
  randomize?: boolean | undefined;
2163
2163
  outOfMemory?: {
2164
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2164
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2165
2165
  } | undefined;
2166
2166
  }>;
2167
2167
  export type RetryOptions = z.infer<typeof RetryOptions>;
@@ -2217,11 +2217,11 @@ export declare const ScheduleMetadata: z.ZodObject<{
2217
2217
  }, "strip", z.ZodTypeAny, {
2218
2218
  cron: string;
2219
2219
  timezone: string;
2220
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
2220
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
2221
2221
  }, {
2222
2222
  cron: string;
2223
2223
  timezone: string;
2224
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
2224
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
2225
2225
  }>;
2226
2226
  export declare const TaskMetadata: z.ZodObject<{
2227
2227
  id: z.ZodString;
@@ -2231,11 +2231,11 @@ export declare const TaskMetadata: z.ZodObject<{
2231
2231
  } & {
2232
2232
  name: z.ZodOptional<z.ZodString>;
2233
2233
  }, "strip", z.ZodTypeAny, {
2234
- name?: string | undefined;
2235
2234
  concurrencyLimit?: number | null | undefined;
2236
- }, {
2237
2235
  name?: string | undefined;
2236
+ }, {
2238
2237
  concurrencyLimit?: number | null | undefined;
2238
+ name?: string | undefined;
2239
2239
  }>>;
2240
2240
  retry: z.ZodOptional<z.ZodObject<{
2241
2241
  /** The number of attempts before giving up */
@@ -2261,9 +2261,9 @@ export declare const TaskMetadata: z.ZodObject<{
2261
2261
  outOfMemory: z.ZodOptional<z.ZodObject<{
2262
2262
  machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
2263
2263
  }, "strip", z.ZodTypeAny, {
2264
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2264
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2265
2265
  }, {
2266
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2266
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2267
2267
  }>>;
2268
2268
  }, "strip", z.ZodTypeAny, {
2269
2269
  maxAttempts?: number | undefined;
@@ -2272,7 +2272,7 @@ export declare const TaskMetadata: z.ZodObject<{
2272
2272
  maxTimeoutInMs?: number | undefined;
2273
2273
  randomize?: boolean | undefined;
2274
2274
  outOfMemory?: {
2275
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2275
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2276
2276
  } | undefined;
2277
2277
  }, {
2278
2278
  maxAttempts?: number | undefined;
@@ -2281,7 +2281,7 @@ export declare const TaskMetadata: z.ZodObject<{
2281
2281
  maxTimeoutInMs?: number | undefined;
2282
2282
  randomize?: boolean | undefined;
2283
2283
  outOfMemory?: {
2284
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2284
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2285
2285
  } | undefined;
2286
2286
  }>>;
2287
2287
  machine: z.ZodOptional<z.ZodObject<{
@@ -2289,13 +2289,13 @@ export declare const TaskMetadata: z.ZodObject<{
2289
2289
  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>]>>;
2290
2290
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
2291
2291
  }, "strip", z.ZodTypeAny, {
2292
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
2293
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
2294
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2292
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
2293
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
2294
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2295
2295
  }, {
2296
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
2297
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
2298
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2296
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
2297
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
2298
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2299
2299
  }>>;
2300
2300
  triggerSource: z.ZodOptional<z.ZodString>;
2301
2301
  agentConfig: z.ZodOptional<z.ZodObject<{
@@ -2312,26 +2312,21 @@ export declare const TaskMetadata: z.ZodObject<{
2312
2312
  }, "strip", z.ZodTypeAny, {
2313
2313
  cron: string;
2314
2314
  timezone: string;
2315
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
2315
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
2316
2316
  }, {
2317
2317
  cron: string;
2318
2318
  timezone: string;
2319
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
2319
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
2320
2320
  }>>;
2321
2321
  maxDuration: z.ZodOptional<z.ZodNumber>;
2322
2322
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2323
2323
  payloadSchema: z.ZodOptional<z.ZodUnknown>;
2324
2324
  }, "strip", z.ZodTypeAny, {
2325
2325
  id: string;
2326
- maxDuration?: number | undefined;
2326
+ description?: string | undefined;
2327
2327
  queue?: {
2328
- name?: string | undefined;
2329
2328
  concurrencyLimit?: number | null | undefined;
2330
- } | undefined;
2331
- machine?: {
2332
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
2333
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
2334
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2329
+ name?: string | undefined;
2335
2330
  } | undefined;
2336
2331
  retry?: {
2337
2332
  maxAttempts?: number | undefined;
@@ -2340,11 +2335,14 @@ export declare const TaskMetadata: z.ZodObject<{
2340
2335
  maxTimeoutInMs?: number | undefined;
2341
2336
  randomize?: boolean | undefined;
2342
2337
  outOfMemory?: {
2343
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2338
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2344
2339
  } | undefined;
2345
2340
  } | undefined;
2346
- description?: string | undefined;
2347
- ttl?: string | number | undefined;
2341
+ machine?: {
2342
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
2343
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
2344
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2345
+ } | undefined;
2348
2346
  triggerSource?: string | undefined;
2349
2347
  agentConfig?: {
2350
2348
  type: string;
@@ -2352,20 +2350,17 @@ export declare const TaskMetadata: z.ZodObject<{
2352
2350
  schedule?: {
2353
2351
  cron: string;
2354
2352
  timezone: string;
2355
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
2353
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
2356
2354
  } | undefined;
2355
+ maxDuration?: number | undefined;
2356
+ ttl?: string | number | undefined;
2357
2357
  payloadSchema?: unknown;
2358
2358
  }, {
2359
2359
  id: string;
2360
- maxDuration?: number | undefined;
2360
+ description?: string | undefined;
2361
2361
  queue?: {
2362
- name?: string | undefined;
2363
2362
  concurrencyLimit?: number | null | undefined;
2364
- } | undefined;
2365
- machine?: {
2366
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
2367
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
2368
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2363
+ name?: string | undefined;
2369
2364
  } | undefined;
2370
2365
  retry?: {
2371
2366
  maxAttempts?: number | undefined;
@@ -2374,11 +2369,14 @@ export declare const TaskMetadata: z.ZodObject<{
2374
2369
  maxTimeoutInMs?: number | undefined;
2375
2370
  randomize?: boolean | undefined;
2376
2371
  outOfMemory?: {
2377
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2372
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2378
2373
  } | undefined;
2379
2374
  } | undefined;
2380
- description?: string | undefined;
2381
- ttl?: string | number | undefined;
2375
+ machine?: {
2376
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
2377
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
2378
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2379
+ } | undefined;
2382
2380
  triggerSource?: string | undefined;
2383
2381
  agentConfig?: {
2384
2382
  type: string;
@@ -2386,8 +2384,10 @@ export declare const TaskMetadata: z.ZodObject<{
2386
2384
  schedule?: {
2387
2385
  cron: string;
2388
2386
  timezone: string;
2389
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
2387
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
2390
2388
  } | undefined;
2389
+ maxDuration?: number | undefined;
2390
+ ttl?: string | number | undefined;
2391
2391
  payloadSchema?: unknown;
2392
2392
  }>;
2393
2393
  export type TaskMetadata = z.infer<typeof TaskMetadata>;
@@ -2395,11 +2395,11 @@ export declare const TaskFile: z.ZodObject<{
2395
2395
  entry: z.ZodString;
2396
2396
  out: z.ZodString;
2397
2397
  }, "strip", z.ZodTypeAny, {
2398
- out: string;
2399
2398
  entry: string;
2400
- }, {
2401
2399
  out: string;
2400
+ }, {
2402
2401
  entry: string;
2402
+ out: string;
2403
2403
  }>;
2404
2404
  export type TaskFile = z.infer<typeof TaskFile>;
2405
2405
  export declare const TaskFileMetadata: z.ZodObject<{
@@ -2408,18 +2408,15 @@ export declare const TaskFileMetadata: z.ZodObject<{
2408
2408
  entryPoint: z.ZodString;
2409
2409
  }, "strip", z.ZodTypeAny, {
2410
2410
  filePath: string;
2411
- entryPoint: string;
2412
2411
  exportName?: string | undefined;
2412
+ entryPoint: string;
2413
2413
  }, {
2414
2414
  filePath: string;
2415
- entryPoint: string;
2416
2415
  exportName?: string | undefined;
2416
+ entryPoint: string;
2417
2417
  }>;
2418
2418
  export type TaskFileMetadata = z.infer<typeof TaskFileMetadata>;
2419
2419
  export declare const TaskManifest: z.ZodObject<{
2420
- filePath: z.ZodString;
2421
- exportName: z.ZodOptional<z.ZodString>;
2422
- entryPoint: z.ZodString;
2423
2420
  id: z.ZodString;
2424
2421
  description: z.ZodOptional<z.ZodString>;
2425
2422
  queue: z.ZodOptional<z.ZodObject<{
@@ -2427,11 +2424,11 @@ export declare const TaskManifest: z.ZodObject<{
2427
2424
  } & {
2428
2425
  name: z.ZodOptional<z.ZodString>;
2429
2426
  }, "strip", z.ZodTypeAny, {
2430
- name?: string | undefined;
2431
2427
  concurrencyLimit?: number | null | undefined;
2432
- }, {
2433
2428
  name?: string | undefined;
2429
+ }, {
2434
2430
  concurrencyLimit?: number | null | undefined;
2431
+ name?: string | undefined;
2435
2432
  }>>;
2436
2433
  retry: z.ZodOptional<z.ZodObject<{
2437
2434
  /** The number of attempts before giving up */
@@ -2457,9 +2454,9 @@ export declare const TaskManifest: z.ZodObject<{
2457
2454
  outOfMemory: z.ZodOptional<z.ZodObject<{
2458
2455
  machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
2459
2456
  }, "strip", z.ZodTypeAny, {
2460
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2457
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2461
2458
  }, {
2462
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2459
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2463
2460
  }>>;
2464
2461
  }, "strip", z.ZodTypeAny, {
2465
2462
  maxAttempts?: number | undefined;
@@ -2468,7 +2465,7 @@ export declare const TaskManifest: z.ZodObject<{
2468
2465
  maxTimeoutInMs?: number | undefined;
2469
2466
  randomize?: boolean | undefined;
2470
2467
  outOfMemory?: {
2471
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2468
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2472
2469
  } | undefined;
2473
2470
  }, {
2474
2471
  maxAttempts?: number | undefined;
@@ -2477,7 +2474,7 @@ export declare const TaskManifest: z.ZodObject<{
2477
2474
  maxTimeoutInMs?: number | undefined;
2478
2475
  randomize?: boolean | undefined;
2479
2476
  outOfMemory?: {
2480
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2477
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2481
2478
  } | undefined;
2482
2479
  }>>;
2483
2480
  machine: z.ZodOptional<z.ZodObject<{
@@ -2485,13 +2482,13 @@ export declare const TaskManifest: z.ZodObject<{
2485
2482
  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>]>>;
2486
2483
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
2487
2484
  }, "strip", z.ZodTypeAny, {
2488
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
2489
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
2490
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2485
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
2486
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
2487
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2491
2488
  }, {
2492
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
2493
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
2494
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2489
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
2490
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
2491
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2495
2492
  }>>;
2496
2493
  triggerSource: z.ZodOptional<z.ZodString>;
2497
2494
  agentConfig: z.ZodOptional<z.ZodObject<{
@@ -2508,30 +2505,25 @@ export declare const TaskManifest: z.ZodObject<{
2508
2505
  }, "strip", z.ZodTypeAny, {
2509
2506
  cron: string;
2510
2507
  timezone: string;
2511
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
2508
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
2512
2509
  }, {
2513
2510
  cron: string;
2514
2511
  timezone: string;
2515
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
2512
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
2516
2513
  }>>;
2517
2514
  maxDuration: z.ZodOptional<z.ZodNumber>;
2518
2515
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2519
2516
  payloadSchema: z.ZodOptional<z.ZodUnknown>;
2517
+ filePath: z.ZodString;
2518
+ exportName: z.ZodOptional<z.ZodString>;
2519
+ entryPoint: z.ZodString;
2520
2520
  }, "strip", z.ZodTypeAny, {
2521
2521
  id: string;
2522
- filePath: string;
2523
- entryPoint: string;
2524
- maxDuration?: number | undefined;
2522
+ description?: string | undefined;
2525
2523
  queue?: {
2526
- name?: string | undefined;
2527
2524
  concurrencyLimit?: number | null | undefined;
2525
+ name?: string | undefined;
2528
2526
  } | undefined;
2529
- machine?: {
2530
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
2531
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
2532
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2533
- } | undefined;
2534
- exportName?: string | undefined;
2535
2527
  retry?: {
2536
2528
  maxAttempts?: number | undefined;
2537
2529
  factor?: number | undefined;
@@ -2539,11 +2531,14 @@ export declare const TaskManifest: z.ZodObject<{
2539
2531
  maxTimeoutInMs?: number | undefined;
2540
2532
  randomize?: boolean | undefined;
2541
2533
  outOfMemory?: {
2542
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2534
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2543
2535
  } | undefined;
2544
2536
  } | undefined;
2545
- description?: string | undefined;
2546
- ttl?: string | number | undefined;
2537
+ machine?: {
2538
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
2539
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
2540
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2541
+ } | undefined;
2547
2542
  triggerSource?: string | undefined;
2548
2543
  agentConfig?: {
2549
2544
  type: string;
@@ -2551,24 +2546,21 @@ export declare const TaskManifest: z.ZodObject<{
2551
2546
  schedule?: {
2552
2547
  cron: string;
2553
2548
  timezone: string;
2554
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
2549
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
2555
2550
  } | undefined;
2551
+ maxDuration?: number | undefined;
2552
+ ttl?: string | number | undefined;
2556
2553
  payloadSchema?: unknown;
2557
- }, {
2558
- id: string;
2559
2554
  filePath: string;
2555
+ exportName?: string | undefined;
2560
2556
  entryPoint: string;
2561
- maxDuration?: number | undefined;
2557
+ }, {
2558
+ id: string;
2559
+ description?: string | undefined;
2562
2560
  queue?: {
2563
- name?: string | undefined;
2564
2561
  concurrencyLimit?: number | null | undefined;
2562
+ name?: string | undefined;
2565
2563
  } | undefined;
2566
- machine?: {
2567
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
2568
- memory?: 1 | 2 | 4 | 0.25 | 0.5 | 8 | undefined;
2569
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2570
- } | undefined;
2571
- exportName?: string | undefined;
2572
2564
  retry?: {
2573
2565
  maxAttempts?: number | undefined;
2574
2566
  factor?: number | undefined;
@@ -2576,11 +2568,14 @@ export declare const TaskManifest: z.ZodObject<{
2576
2568
  maxTimeoutInMs?: number | undefined;
2577
2569
  randomize?: boolean | undefined;
2578
2570
  outOfMemory?: {
2579
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2571
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2580
2572
  } | undefined;
2581
2573
  } | undefined;
2582
- description?: string | undefined;
2583
- ttl?: string | number | undefined;
2574
+ machine?: {
2575
+ cpu?: 0.25 | 0.5 | 1 | 2 | 4 | undefined;
2576
+ memory?: 0.25 | 0.5 | 1 | 2 | 4 | 8 | undefined;
2577
+ preset?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2578
+ } | undefined;
2584
2579
  triggerSource?: string | undefined;
2585
2580
  agentConfig?: {
2586
2581
  type: string;
@@ -2588,9 +2583,14 @@ export declare const TaskManifest: z.ZodObject<{
2588
2583
  schedule?: {
2589
2584
  cron: string;
2590
2585
  timezone: string;
2591
- environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
2586
+ environments?: ("DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING")[] | undefined;
2592
2587
  } | undefined;
2588
+ maxDuration?: number | undefined;
2589
+ ttl?: string | number | undefined;
2593
2590
  payloadSchema?: unknown;
2591
+ filePath: string;
2592
+ exportName?: string | undefined;
2593
+ entryPoint: string;
2594
2594
  }>;
2595
2595
  export type TaskManifest = z.infer<typeof TaskManifest>;
2596
2596
  export declare const PromptMetadata: z.ZodObject<{
@@ -2627,20 +2627,20 @@ export declare const PromptManifest: z.ZodObject<{
2627
2627
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2628
2628
  variableSchema: z.ZodOptional<z.ZodUnknown>;
2629
2629
  }, "strip", z.ZodTypeAny, {
2630
- id: string;
2631
2630
  filePath: string;
2632
- entryPoint: string;
2633
2631
  exportName?: string | undefined;
2632
+ entryPoint: string;
2633
+ id: string;
2634
2634
  description?: string | undefined;
2635
2635
  content?: string | undefined;
2636
2636
  model?: string | undefined;
2637
2637
  config?: Record<string, unknown> | undefined;
2638
2638
  variableSchema?: unknown;
2639
2639
  }, {
2640
- id: string;
2641
2640
  filePath: string;
2642
- entryPoint: string;
2643
2641
  exportName?: string | undefined;
2642
+ entryPoint: string;
2643
+ id: string;
2644
2644
  description?: string | undefined;
2645
2645
  content?: string | undefined;
2646
2646
  model?: string | undefined;
@@ -2668,17 +2668,17 @@ export declare const SkillManifest: z.ZodObject<{
2668
2668
  /** Path to the skill's source folder, relative to the project root. */
2669
2669
  sourcePath: z.ZodString;
2670
2670
  }, "strip", z.ZodTypeAny, {
2671
- id: string;
2672
2671
  filePath: string;
2672
+ exportName?: string | undefined;
2673
2673
  entryPoint: string;
2674
+ id: string;
2674
2675
  sourcePath: string;
2675
- exportName?: string | undefined;
2676
2676
  }, {
2677
- id: string;
2678
2677
  filePath: string;
2678
+ exportName?: string | undefined;
2679
2679
  entryPoint: string;
2680
+ id: string;
2680
2681
  sourcePath: string;
2681
- exportName?: string | undefined;
2682
2682
  }>;
2683
2683
  export type SkillManifest = z.infer<typeof SkillManifest>;
2684
2684
  export declare const PostStartCauses: z.ZodEnum<["index", "create", "restore"]>;
@@ -2717,9 +2717,9 @@ export declare const Config: z.ZodObject<{
2717
2717
  outOfMemory: z.ZodOptional<z.ZodObject<{
2718
2718
  machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
2719
2719
  }, "strip", z.ZodTypeAny, {
2720
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2720
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2721
2721
  }, {
2722
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2722
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2723
2723
  }>>;
2724
2724
  }, "strip", z.ZodTypeAny, {
2725
2725
  maxAttempts?: number | undefined;
@@ -2728,7 +2728,7 @@ export declare const Config: z.ZodObject<{
2728
2728
  maxTimeoutInMs?: number | undefined;
2729
2729
  randomize?: boolean | undefined;
2730
2730
  outOfMemory?: {
2731
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2731
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2732
2732
  } | undefined;
2733
2733
  }, {
2734
2734
  maxAttempts?: number | undefined;
@@ -2737,7 +2737,7 @@ export declare const Config: z.ZodObject<{
2737
2737
  maxTimeoutInMs?: number | undefined;
2738
2738
  randomize?: boolean | undefined;
2739
2739
  outOfMemory?: {
2740
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2740
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2741
2741
  } | undefined;
2742
2742
  }>>;
2743
2743
  }, "strip", z.ZodTypeAny, {
@@ -2749,10 +2749,11 @@ export declare const Config: z.ZodObject<{
2749
2749
  maxTimeoutInMs?: number | undefined;
2750
2750
  randomize?: boolean | undefined;
2751
2751
  outOfMemory?: {
2752
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2752
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2753
2753
  } | undefined;
2754
2754
  } | undefined;
2755
2755
  }, {
2756
+ enabledInDev?: boolean | undefined;
2756
2757
  default?: {
2757
2758
  maxAttempts?: number | undefined;
2758
2759
  factor?: number | undefined;
@@ -2760,10 +2761,9 @@ export declare const Config: z.ZodObject<{
2760
2761
  maxTimeoutInMs?: number | undefined;
2761
2762
  randomize?: boolean | undefined;
2762
2763
  outOfMemory?: {
2763
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2764
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2764
2765
  } | undefined;
2765
2766
  } | undefined;
2766
- enabledInDev?: boolean | undefined;
2767
2767
  }>>;
2768
2768
  additionalPackages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2769
2769
  additionalFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2787,7 +2787,7 @@ export declare const Config: z.ZodObject<{
2787
2787
  maxTimeoutInMs?: number | undefined;
2788
2788
  randomize?: boolean | undefined;
2789
2789
  outOfMemory?: {
2790
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2790
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2791
2791
  } | undefined;
2792
2792
  } | undefined;
2793
2793
  } | undefined;
@@ -2805,6 +2805,7 @@ export declare const Config: z.ZodObject<{
2805
2805
  projectDir?: string | undefined;
2806
2806
  tsconfigPath?: string | undefined;
2807
2807
  retries?: {
2808
+ enabledInDev?: boolean | undefined;
2808
2809
  default?: {
2809
2810
  maxAttempts?: number | undefined;
2810
2811
  factor?: number | undefined;
@@ -2812,10 +2813,9 @@ export declare const Config: z.ZodObject<{
2812
2813
  maxTimeoutInMs?: number | undefined;
2813
2814
  randomize?: boolean | undefined;
2814
2815
  outOfMemory?: {
2815
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2816
+ machine?: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x" | undefined;
2816
2817
  } | undefined;
2817
2818
  } | undefined;
2818
- enabledInDev?: boolean | undefined;
2819
2819
  } | undefined;
2820
2820
  additionalPackages?: string[] | undefined;
2821
2821
  additionalFiles?: string[] | undefined;
@@ -2843,41 +2843,41 @@ export declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
2843
2843
  timestamp: z.ZodNumber;
2844
2844
  duration: z.ZodNumber;
2845
2845
  }, "strip", z.ZodTypeAny, {
2846
- event: string;
2847
2846
  name: string;
2847
+ event: string;
2848
2848
  timestamp: number;
2849
2849
  duration: number;
2850
2850
  }, {
2851
- event: string;
2852
2851
  name: string;
2852
+ event: string;
2853
2853
  timestamp: number;
2854
2854
  duration: number;
2855
2855
  }>, "many">>;
2856
2856
  }, "strip", z.ZodTypeAny, {
2857
+ runId: string;
2858
+ attemptCount?: number | undefined;
2859
+ messageId: string;
2857
2860
  isTest: boolean;
2858
2861
  isReplay: boolean;
2859
2862
  traceContext: Record<string, unknown>;
2860
- runId: string;
2861
- messageId: string;
2862
2863
  environment?: Record<string, string> | undefined;
2863
- attemptCount?: number | undefined;
2864
2864
  metrics?: {
2865
- event: string;
2866
2865
  name: string;
2866
+ event: string;
2867
2867
  timestamp: number;
2868
2868
  duration: number;
2869
2869
  }[] | undefined;
2870
2870
  }, {
2871
- isTest: boolean;
2872
- traceContext: Record<string, unknown>;
2873
2871
  runId: string;
2872
+ attemptCount?: number | undefined;
2874
2873
  messageId: string;
2874
+ isTest: boolean;
2875
2875
  isReplay?: boolean | undefined;
2876
+ traceContext: Record<string, unknown>;
2876
2877
  environment?: Record<string, string> | undefined;
2877
- attemptCount?: number | undefined;
2878
2878
  metrics?: {
2879
- event: string;
2880
2879
  name: string;
2880
+ event: string;
2881
2881
  timestamp: number;
2882
2882
  duration: number;
2883
2883
  }[] | undefined;
@@ -2905,26 +2905,26 @@ export declare const RunChainState: z.ZodObject<{
2905
2905
  name: z.ZodString;
2906
2906
  holding: z.ZodNumber;
2907
2907
  }, "strip", z.ZodTypeAny, {
2908
- name: string;
2909
2908
  id: string;
2909
+ name: string;
2910
2910
  holding: number;
2911
2911
  }, {
2912
- name: string;
2913
2912
  id: string;
2913
+ name: string;
2914
2914
  holding: number;
2915
2915
  }>, "many">;
2916
2916
  environment: z.ZodOptional<z.ZodNumber>;
2917
2917
  }, "strip", z.ZodTypeAny, {
2918
2918
  queues: {
2919
- name: string;
2920
2919
  id: string;
2920
+ name: string;
2921
2921
  holding: number;
2922
2922
  }[];
2923
2923
  environment?: number | undefined;
2924
2924
  }, {
2925
2925
  queues: {
2926
- name: string;
2927
2926
  id: string;
2927
+ name: string;
2928
2928
  holding: number;
2929
2929
  }[];
2930
2930
  environment?: number | undefined;
@@ -2932,8 +2932,8 @@ export declare const RunChainState: z.ZodObject<{
2932
2932
  }, "strip", z.ZodTypeAny, {
2933
2933
  concurrency?: {
2934
2934
  queues: {
2935
- name: string;
2936
2935
  id: string;
2936
+ name: string;
2937
2937
  holding: number;
2938
2938
  }[];
2939
2939
  environment?: number | undefined;
@@ -2941,8 +2941,8 @@ export declare const RunChainState: z.ZodObject<{
2941
2941
  }, {
2942
2942
  concurrency?: {
2943
2943
  queues: {
2944
- name: string;
2945
2944
  id: string;
2945
+ name: string;
2946
2946
  holding: number;
2947
2947
  }[];
2948
2948
  environment?: number | undefined;