@trigger.dev/core 4.5.9 → 4.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/debounce.js.map +1 -1
- package/dist/commonjs/eventFilterMatches.js.map +1 -1
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/package.json +6 -1
- package/dist/commonjs/retry.js.map +1 -1
- package/dist/commonjs/schemas/eventFilter.js.map +1 -1
- package/dist/commonjs/schemas/json.js.map +1 -1
- package/dist/commonjs/utils.js.map +1 -1
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/errors.js.map +1 -1
- package/dist/commonjs/v3/apiClient/getBranch.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +437 -425
- package/dist/commonjs/v3/apiClient/index.js +3 -4
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/pagination.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +14 -0
- package/dist/commonjs/v3/apiClient/runStream.js +71 -17
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.test.js +34 -0
- package/dist/commonjs/v3/apiClient/runStream.test.js.map +1 -1
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/index.js.map +1 -1
- package/dist/commonjs/v3/apiKeys.js.map +1 -1
- package/dist/commonjs/v3/apps/backoff.js.map +1 -1
- package/dist/commonjs/v3/apps/exec.js.map +1 -1
- package/dist/commonjs/v3/apps/http.js.map +1 -1
- package/dist/commonjs/v3/build/extensions.js.map +1 -1
- package/dist/commonjs/v3/build/flags.js.map +1 -1
- package/dist/commonjs/v3/build/runtime.js.map +1 -1
- package/dist/commonjs/v3/clock/clock.js.map +1 -1
- package/dist/commonjs/v3/clock/index.js.map +1 -1
- package/dist/commonjs/v3/clock/preciseWallClock.js.map +1 -1
- package/dist/commonjs/v3/clock/simpleClock.js.map +1 -1
- package/dist/commonjs/v3/consoleInterceptor.js.map +1 -1
- package/dist/commonjs/v3/errors.d.ts +4 -4
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/heartbeats/api.js.map +1 -1
- package/dist/commonjs/v3/heartbeats/manager.js.map +1 -1
- package/dist/commonjs/v3/icons.d.ts +1 -1
- package/dist/commonjs/v3/icons.js.map +1 -1
- package/dist/commonjs/v3/idempotency-key-catalog/inMemoryIdempotencyKeyCatalog.js.map +1 -1
- package/dist/commonjs/v3/idempotency-key-catalog/index.js.map +1 -1
- package/dist/commonjs/v3/idempotencyKeys.js.map +1 -1
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/inputStreams/index.js.map +1 -1
- package/dist/commonjs/v3/inputStreams/manager.js.map +1 -1
- package/dist/commonjs/v3/inputStreams/noopManager.js.map +1 -1
- package/dist/commonjs/v3/inputStreams/types.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/dates.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/duration.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/maxDuration.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/queueName.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/runOpsResidency.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/traceContext.js.map +1 -1
- package/dist/commonjs/v3/jwt.js.map +1 -1
- package/dist/commonjs/v3/lifecycleHooks/index.js.map +1 -1
- package/dist/commonjs/v3/lifecycleHooks/manager.js.map +1 -1
- package/dist/commonjs/v3/limits.js.map +1 -1
- package/dist/commonjs/v3/locals/index.js.map +1 -1
- package/dist/commonjs/v3/locals/manager.js.map +1 -1
- package/dist/commonjs/v3/locals-api.js.map +1 -1
- package/dist/commonjs/v3/logger/index.js.map +1 -1
- package/dist/commonjs/v3/logger/taskLogger.js.map +1 -1
- package/dist/commonjs/v3/machines/index.js.map +1 -1
- package/dist/commonjs/v3/otel/diskIoMetrics.js.map +1 -1
- package/dist/commonjs/v3/otel/filesystemMetrics.js.map +1 -1
- package/dist/commonjs/v3/otel/nodejsRuntimeMetrics.js.map +1 -1
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/otel/utils.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/index.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/manager.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/noopManager.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/sessionStreamInstance.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/sessionStreamOneshot.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/streamInstance.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/streamsWriterV1.js.map +1 -1
- package/dist/commonjs/v3/realtimeStreams/streamsWriterV2.js +10 -2
- package/dist/commonjs/v3/realtimeStreams/streamsWriterV2.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/index.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPool.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPoolMetrics.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +211 -211
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueMetricsProcessor.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/scalingStrategies.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +1126 -1126
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/util.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/util.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +162 -162
- package/dist/commonjs/v3/runEngineWorker/workload/http.js +8 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +974 -974
- package/dist/commonjs/v3/runEngineWorker/workload/util.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/index.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/noopManager.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/operations.js.map +1 -1
- package/dist/commonjs/v3/runTimelineMetrics/index.js.map +1 -1
- package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -1
- package/dist/commonjs/v3/runtime/index.js.map +1 -1
- package/dist/commonjs/v3/runtime/noopRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/runtime/preventMultipleWaits.js.map +1 -1
- package/dist/commonjs/v3/runtime/sharedRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +2974 -2925
- package/dist/commonjs/v3/schemas/api.js +12 -0
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +632 -614
- package/dist/commonjs/v3/schemas/build.js.map +1 -1
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +237 -237
- package/dist/commonjs/v3/schemas/common.d.ts +1409 -1409
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/errors.d.ts +38 -38
- package/dist/commonjs/v3/schemas/errors.js.map +1 -1
- package/dist/commonjs/v3/schemas/eventFilter.js.map +1 -1
- package/dist/commonjs/v3/schemas/fetch.d.ts +70 -70
- package/dist/commonjs/v3/schemas/fetch.js.map +1 -1
- package/dist/commonjs/v3/schemas/idempotencyKey.test.js +14 -0
- package/dist/commonjs/v3/schemas/idempotencyKey.test.js.map +1 -1
- package/dist/commonjs/v3/schemas/index.d.ts +1 -0
- package/dist/commonjs/v3/schemas/index.js +1 -0
- package/dist/commonjs/v3/schemas/index.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +1003 -994
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +90 -90
- package/dist/commonjs/v3/schemas/openTelemetry.js.map +1 -1
- package/dist/commonjs/v3/schemas/query.d.ts +41 -41
- package/dist/commonjs/v3/schemas/query.js.map +1 -1
- package/dist/commonjs/v3/schemas/queues.d.ts +10 -10
- package/dist/commonjs/v3/schemas/queues.js.map +1 -1
- package/dist/commonjs/v3/schemas/reports.d.ts +833 -0
- package/dist/commonjs/v3/schemas/reports.js +134 -0
- package/dist/commonjs/v3/schemas/reports.js.map +1 -0
- package/dist/commonjs/v3/schemas/resources.d.ts +140 -128
- package/dist/commonjs/v3/schemas/resources.js.map +1 -1
- package/dist/commonjs/v3/schemas/runEngine.d.ts +490 -490
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +664 -644
- package/dist/commonjs/v3/schemas/schemas.js +8 -1
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/schemas/style.d.ts +2 -2
- package/dist/commonjs/v3/schemas/style.js.map +1 -1
- package/dist/commonjs/v3/schemas/webhooks.d.ts +814 -814
- package/dist/commonjs/v3/schemas/webhooks.js.map +1 -1
- package/dist/commonjs/v3/sdkScope/index.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/checkpointClient.d.ts +16 -0
- package/dist/commonjs/v3/serverOnly/checkpointClient.js +33 -0
- package/dist/commonjs/v3/serverOnly/checkpointClient.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/httpServer.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/idempotencyKeys.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/jumpHash.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/k8s.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/placementTags.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/shutdownManager.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/singleton.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/chatSnapshot.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/index.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/manager.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/noopManager.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/types.js.map +1 -1
- package/dist/commonjs/v3/sessionStreams/wireProtocol.js.map +1 -1
- package/dist/commonjs/v3/streams/asyncIterableStream.js.map +1 -1
- package/dist/commonjs/v3/taskContext/index.js.map +1 -1
- package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/commonjs/v3/telnetLogServer.js.map +1 -1
- package/dist/commonjs/v3/test/index.d.ts +3 -0
- package/dist/commonjs/v3/test/index.js +7 -1
- package/dist/commonjs/v3/test/index.js.map +1 -1
- package/dist/commonjs/v3/test/mock-task-context.d.ts +16 -1
- package/dist/commonjs/v3/test/mock-task-context.js +13 -5
- package/dist/commonjs/v3/test/mock-task-context.js.map +1 -1
- package/dist/commonjs/v3/test/session-waitpoint-backend.d.ts +68 -0
- package/dist/commonjs/v3/test/session-waitpoint-backend.js +228 -0
- package/dist/commonjs/v3/test/session-waitpoint-backend.js.map +1 -0
- package/dist/commonjs/v3/test/test-input-stream-manager.js.map +1 -1
- package/dist/commonjs/v3/test/test-realtime-streams-manager.js.map +1 -1
- package/dist/commonjs/v3/test/test-run-metadata-manager.js.map +1 -1
- package/dist/commonjs/v3/test/test-session-stream-manager.js.map +1 -1
- package/dist/commonjs/v3/timeout/api.js.map +1 -1
- package/dist/commonjs/v3/timeout/types.js.map +1 -1
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/commonjs/v3/traceContext/api.js.map +1 -1
- package/dist/commonjs/v3/traceContext/manager.js.map +1 -1
- package/dist/commonjs/v3/tracer.js.map +1 -1
- package/dist/commonjs/v3/tryCatch.js.map +1 -1
- package/dist/commonjs/v3/types/schemas.js.map +1 -1
- package/dist/commonjs/v3/types/tasks.d.ts +21 -7
- package/dist/commonjs/v3/types/tasks.js.map +1 -1
- package/dist/commonjs/v3/types/tools.js.map +1 -1
- package/dist/commonjs/v3/usage/api.js.map +1 -1
- package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/noopUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/prodUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/usageClient.js.map +1 -1
- package/dist/commonjs/v3/utils/crypto.js.map +1 -1
- package/dist/commonjs/v3/utils/durations.js.map +1 -1
- package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/commonjs/v3/utils/getEnv.js.map +1 -1
- package/dist/commonjs/v3/utils/gitBranch.js.map +1 -1
- package/dist/commonjs/v3/utils/globals.js.map +1 -1
- package/dist/commonjs/v3/utils/imageRef.js.map +1 -1
- package/dist/commonjs/v3/utils/interval.js.map +1 -1
- package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
- package/dist/commonjs/v3/utils/omit.js.map +1 -1
- package/dist/commonjs/v3/utils/reconnectBackoff.js.map +1 -1
- package/dist/commonjs/v3/utils/retries.js.map +1 -1
- package/dist/commonjs/v3/utils/safeAsyncLocalStorage.js.map +1 -1
- package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -1
- package/dist/commonjs/v3/utils/styleAttributes.js.map +1 -1
- package/dist/commonjs/v3/utils/timers.js.map +1 -1
- package/dist/commonjs/v3/waitUntil/index.js.map +1 -1
- package/dist/commonjs/v3/waitUntil/manager.js.map +1 -1
- package/dist/commonjs/v3/waitpoints/index.js.map +1 -1
- package/dist/commonjs/v3/workers/populateEnv.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/v3/workers/warmStartClient.js.map +1 -1
- package/dist/commonjs/v3/workloadDeploymentToken.d.ts +2 -2
- package/dist/commonjs/v3/workloadDeploymentToken.js.map +1 -1
- package/dist/commonjs/v3/zodIpc.js.map +1 -1
- package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -2
- package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
- package/dist/commonjs/v3/zodSocket.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/package.json +6 -1
- package/dist/esm/retry.js.map +1 -1
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +437 -425
- package/dist/esm/v3/apiClient/index.js +4 -5
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/pagination.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +14 -0
- package/dist/esm/v3/apiClient/runStream.js +71 -17
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.test.js +34 -0
- package/dist/esm/v3/apiClient/runStream.test.js.map +1 -1
- package/dist/esm/v3/apiClient/stream.js.map +1 -1
- package/dist/esm/v3/apiClientManager/index.js.map +1 -1
- package/dist/esm/v3/apps/backoff.js.map +1 -1
- package/dist/esm/v3/apps/exec.js.map +1 -1
- package/dist/esm/v3/apps/http.js.map +1 -1
- package/dist/esm/v3/build/extensions.js.map +1 -1
- package/dist/esm/v3/build/runtime.js.map +1 -1
- package/dist/esm/v3/clock/preciseWallClock.js.map +1 -1
- package/dist/esm/v3/consoleInterceptor.js.map +1 -1
- package/dist/esm/v3/errors.d.ts +4 -4
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/heartbeats/manager.js.map +1 -1
- package/dist/esm/v3/icons.d.ts +1 -1
- package/dist/esm/v3/idempotencyKeys.js.map +1 -1
- package/dist/esm/v3/inputStreams/manager.js.map +1 -1
- package/dist/esm/v3/inputStreams/types.js.map +1 -1
- package/dist/esm/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/esm/v3/logger/taskLogger.js.map +1 -1
- package/dist/esm/v3/machines/index.js.map +1 -1
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/realtimeStreams/manager.js.map +1 -1
- package/dist/esm/v3/realtimeStreams/sessionStreamInstance.js.map +1 -1
- package/dist/esm/v3/realtimeStreams/streamInstance.js.map +1 -1
- package/dist/esm/v3/realtimeStreams/streamsWriterV1.js.map +1 -1
- package/dist/esm/v3/realtimeStreams/streamsWriterV2.js +10 -2
- package/dist/esm/v3/realtimeStreams/streamsWriterV2.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/consumerPoolMetrics.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +211 -211
- package/dist/esm/v3/runEngineWorker/supervisor/queueMetricsProcessor.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +1126 -1126
- package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +162 -162
- package/dist/esm/v3/runEngineWorker/workload/http.js +8 -0
- package/dist/esm/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +974 -974
- package/dist/esm/v3/runMetadata/manager.js.map +1 -1
- package/dist/esm/v3/runMetadata/operations.js.map +1 -1
- package/dist/esm/v3/runtime/sharedRuntimeManager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +2974 -2925
- package/dist/esm/v3/schemas/api.js +12 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +632 -614
- package/dist/esm/v3/schemas/checkpoints.d.ts +237 -237
- package/dist/esm/v3/schemas/common.d.ts +1409 -1409
- package/dist/esm/v3/schemas/errors.d.ts +38 -38
- package/dist/esm/v3/schemas/fetch.d.ts +70 -70
- package/dist/esm/v3/schemas/idempotencyKey.test.js +14 -0
- package/dist/esm/v3/schemas/idempotencyKey.test.js.map +1 -1
- package/dist/esm/v3/schemas/index.d.ts +1 -0
- package/dist/esm/v3/schemas/index.js +1 -0
- package/dist/esm/v3/schemas/index.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +1003 -994
- package/dist/esm/v3/schemas/openTelemetry.d.ts +90 -90
- package/dist/esm/v3/schemas/query.d.ts +41 -41
- package/dist/esm/v3/schemas/queues.d.ts +10 -10
- package/dist/esm/v3/schemas/reports.d.ts +833 -0
- package/dist/esm/v3/schemas/reports.js +131 -0
- package/dist/esm/v3/schemas/reports.js.map +1 -0
- package/dist/esm/v3/schemas/resources.d.ts +140 -128
- package/dist/esm/v3/schemas/runEngine.d.ts +490 -490
- package/dist/esm/v3/schemas/schemas.d.ts +664 -644
- package/dist/esm/v3/schemas/schemas.js +7 -0
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/schemas/style.d.ts +2 -2
- package/dist/esm/v3/schemas/webhooks.d.ts +814 -814
- package/dist/esm/v3/serverOnly/checkpointClient.d.ts +16 -0
- package/dist/esm/v3/serverOnly/checkpointClient.js +33 -0
- package/dist/esm/v3/serverOnly/checkpointClient.js.map +1 -1
- package/dist/esm/v3/serverOnly/placementTags.js.map +1 -1
- package/dist/esm/v3/serverOnly/shutdownManager.js.map +1 -1
- package/dist/esm/v3/sessionStreams/manager.js.map +1 -1
- package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/esm/v3/test/index.d.ts +3 -0
- package/dist/esm/v3/test/index.js +2 -0
- package/dist/esm/v3/test/index.js.map +1 -1
- package/dist/esm/v3/test/mock-task-context.d.ts +16 -1
- package/dist/esm/v3/test/mock-task-context.js +13 -5
- package/dist/esm/v3/test/mock-task-context.js.map +1 -1
- package/dist/esm/v3/test/session-waitpoint-backend.d.ts +68 -0
- package/dist/esm/v3/test/session-waitpoint-backend.js +222 -0
- package/dist/esm/v3/test/session-waitpoint-backend.js.map +1 -0
- package/dist/esm/v3/timeout/types.js.map +1 -1
- package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/esm/v3/tracer.js.map +1 -1
- package/dist/esm/v3/types/tasks.d.ts +21 -7
- package/dist/esm/v3/types/tasks.js.map +1 -1
- package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/prodUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/usageClient.js.map +1 -1
- package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
- package/dist/esm/v3/utils/retries.js.map +1 -1
- package/dist/esm/v3/utils/structuredLogger.js.map +1 -1
- package/dist/esm/v3/utils/timers.js.map +1 -1
- package/dist/esm/v3/waitUntil/manager.js.map +1 -1
- package/dist/esm/v3/workers/populateEnv.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/v3/workers/warmStartClient.js.map +1 -1
- package/dist/esm/v3/workloadDeploymentToken.d.ts +2 -2
- package/dist/esm/v3/zodIpc.js.map +1 -1
- package/dist/esm/v3/zodMessageHandler.d.ts +2 -2
- package/dist/esm/v3/zodMessageHandler.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +18 -3
|
@@ -14,17 +14,17 @@ export declare const RunAnnotations: z.ZodObject<{
|
|
|
14
14
|
rootScheduleId: z.ZodOptional<z.ZodString>;
|
|
15
15
|
taskKind: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["STANDARD", "SCHEDULED", "AGENT"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
triggerSource: "
|
|
18
|
-
triggerAction: "trigger" | (string & {})
|
|
19
|
-
rootTriggerSource: "
|
|
20
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
17
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
18
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
19
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
21
20
|
rootScheduleId?: string | undefined;
|
|
21
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
22
22
|
}, {
|
|
23
|
-
triggerSource: "
|
|
24
|
-
triggerAction: "trigger" | (string & {})
|
|
25
|
-
rootTriggerSource: "
|
|
26
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
23
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
24
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
25
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
27
26
|
rootScheduleId?: string | undefined;
|
|
27
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export type RunAnnotations = z.infer<typeof RunAnnotations>;
|
|
30
30
|
export declare const TaskRunExecutionStatus: {
|
|
@@ -132,15 +132,12 @@ export declare const CompletedWaitpoint: z.ZodObject<{
|
|
|
132
132
|
outputType: z.ZodOptional<z.ZodString>;
|
|
133
133
|
outputIsError: z.ZodBoolean;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
type: WaitpointType;
|
|
136
135
|
id: string;
|
|
136
|
+
index?: number | undefined;
|
|
137
137
|
friendlyId: string;
|
|
138
|
+
type: WaitpointType;
|
|
138
139
|
completedAt: Date;
|
|
139
|
-
outputIsError: boolean;
|
|
140
|
-
output?: string | undefined;
|
|
141
140
|
idempotencyKey?: string | undefined;
|
|
142
|
-
outputType?: string | undefined;
|
|
143
|
-
index?: number | undefined;
|
|
144
141
|
completedByTaskRun?: {
|
|
145
142
|
id: string;
|
|
146
143
|
friendlyId: string;
|
|
@@ -154,16 +151,16 @@ export declare const CompletedWaitpoint: z.ZodObject<{
|
|
|
154
151
|
id: string;
|
|
155
152
|
friendlyId: string;
|
|
156
153
|
} | undefined;
|
|
154
|
+
output?: string | undefined;
|
|
155
|
+
outputType?: string | undefined;
|
|
156
|
+
outputIsError: boolean;
|
|
157
157
|
}, {
|
|
158
|
-
type: WaitpointType;
|
|
159
158
|
id: string;
|
|
159
|
+
index?: number | undefined;
|
|
160
160
|
friendlyId: string;
|
|
161
|
+
type: WaitpointType;
|
|
161
162
|
completedAt: Date;
|
|
162
|
-
outputIsError: boolean;
|
|
163
|
-
output?: string | undefined;
|
|
164
163
|
idempotencyKey?: string | undefined;
|
|
165
|
-
outputType?: string | undefined;
|
|
166
|
-
index?: number | undefined;
|
|
167
164
|
completedByTaskRun?: {
|
|
168
165
|
id: string;
|
|
169
166
|
friendlyId: string;
|
|
@@ -177,6 +174,9 @@ export declare const CompletedWaitpoint: z.ZodObject<{
|
|
|
177
174
|
id: string;
|
|
178
175
|
friendlyId: string;
|
|
179
176
|
} | undefined;
|
|
177
|
+
output?: string | undefined;
|
|
178
|
+
outputType?: string | undefined;
|
|
179
|
+
outputIsError: boolean;
|
|
180
180
|
}>;
|
|
181
181
|
export type CompletedWaitpoint = z.infer<typeof CompletedWaitpoint>;
|
|
182
182
|
export declare const ExecutionResult: z.ZodObject<{
|
|
@@ -188,16 +188,16 @@ export declare const ExecutionResult: z.ZodObject<{
|
|
|
188
188
|
createdAt: z.ZodDate;
|
|
189
189
|
}, "strip", z.ZodTypeAny, {
|
|
190
190
|
id: string;
|
|
191
|
-
createdAt: Date;
|
|
192
|
-
description: string;
|
|
193
191
|
friendlyId: string;
|
|
194
192
|
executionStatus: TaskRunExecutionStatus;
|
|
193
|
+
description: string;
|
|
194
|
+
createdAt: Date;
|
|
195
195
|
}, {
|
|
196
196
|
id: string;
|
|
197
|
-
createdAt: Date;
|
|
198
|
-
description: string;
|
|
199
197
|
friendlyId: string;
|
|
200
198
|
executionStatus: TaskRunExecutionStatus;
|
|
199
|
+
description: string;
|
|
200
|
+
createdAt: Date;
|
|
201
201
|
}>;
|
|
202
202
|
run: z.ZodObject<{
|
|
203
203
|
id: z.ZodString;
|
|
@@ -206,48 +206,48 @@ export declare const ExecutionResult: z.ZodObject<{
|
|
|
206
206
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
207
207
|
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
-
status: TaskRunStatus;
|
|
210
209
|
id: string;
|
|
211
210
|
friendlyId: string;
|
|
211
|
+
status: TaskRunStatus;
|
|
212
212
|
attemptNumber?: number | null | undefined;
|
|
213
213
|
taskEventStore?: string | undefined;
|
|
214
214
|
}, {
|
|
215
|
-
status: TaskRunStatus;
|
|
216
215
|
id: string;
|
|
217
216
|
friendlyId: string;
|
|
217
|
+
status: TaskRunStatus;
|
|
218
218
|
attemptNumber?: number | null | undefined;
|
|
219
219
|
taskEventStore?: string | undefined;
|
|
220
220
|
}>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
snapshot: {
|
|
223
|
+
id: string;
|
|
224
|
+
friendlyId: string;
|
|
225
|
+
executionStatus: TaskRunExecutionStatus;
|
|
226
|
+
description: string;
|
|
227
|
+
createdAt: Date;
|
|
228
|
+
};
|
|
222
229
|
run: {
|
|
223
|
-
status: TaskRunStatus;
|
|
224
230
|
id: string;
|
|
225
231
|
friendlyId: string;
|
|
232
|
+
status: TaskRunStatus;
|
|
226
233
|
attemptNumber?: number | null | undefined;
|
|
227
234
|
taskEventStore?: string | undefined;
|
|
228
235
|
};
|
|
236
|
+
}, {
|
|
229
237
|
snapshot: {
|
|
230
238
|
id: string;
|
|
231
|
-
createdAt: Date;
|
|
232
|
-
description: string;
|
|
233
239
|
friendlyId: string;
|
|
234
240
|
executionStatus: TaskRunExecutionStatus;
|
|
241
|
+
description: string;
|
|
242
|
+
createdAt: Date;
|
|
235
243
|
};
|
|
236
|
-
}, {
|
|
237
244
|
run: {
|
|
238
|
-
status: TaskRunStatus;
|
|
239
245
|
id: string;
|
|
240
246
|
friendlyId: string;
|
|
247
|
+
status: TaskRunStatus;
|
|
241
248
|
attemptNumber?: number | null | undefined;
|
|
242
249
|
taskEventStore?: string | undefined;
|
|
243
250
|
};
|
|
244
|
-
snapshot: {
|
|
245
|
-
id: string;
|
|
246
|
-
createdAt: Date;
|
|
247
|
-
description: string;
|
|
248
|
-
friendlyId: string;
|
|
249
|
-
executionStatus: TaskRunExecutionStatus;
|
|
250
|
-
};
|
|
251
251
|
}>;
|
|
252
252
|
export type ExecutionResult = z.infer<typeof ExecutionResult>;
|
|
253
253
|
/** The response to the Worker when starting an attempt */
|
|
@@ -260,16 +260,16 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
260
260
|
createdAt: z.ZodDate;
|
|
261
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
262
|
id: string;
|
|
263
|
-
createdAt: Date;
|
|
264
|
-
description: string;
|
|
265
263
|
friendlyId: string;
|
|
266
264
|
executionStatus: TaskRunExecutionStatus;
|
|
265
|
+
description: string;
|
|
266
|
+
createdAt: Date;
|
|
267
267
|
}, {
|
|
268
268
|
id: string;
|
|
269
|
-
createdAt: Date;
|
|
270
|
-
description: string;
|
|
271
269
|
friendlyId: string;
|
|
272
270
|
executionStatus: TaskRunExecutionStatus;
|
|
271
|
+
description: string;
|
|
272
|
+
createdAt: Date;
|
|
273
273
|
}>;
|
|
274
274
|
run: z.ZodObject<{
|
|
275
275
|
id: z.ZodString;
|
|
@@ -278,48 +278,48 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
278
278
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
279
279
|
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
status: TaskRunStatus;
|
|
282
281
|
id: string;
|
|
283
282
|
friendlyId: string;
|
|
283
|
+
status: TaskRunStatus;
|
|
284
284
|
attemptNumber?: number | null | undefined;
|
|
285
285
|
taskEventStore?: string | undefined;
|
|
286
286
|
}, {
|
|
287
|
-
status: TaskRunStatus;
|
|
288
287
|
id: string;
|
|
289
288
|
friendlyId: string;
|
|
289
|
+
status: TaskRunStatus;
|
|
290
290
|
attemptNumber?: number | null | undefined;
|
|
291
291
|
taskEventStore?: string | undefined;
|
|
292
292
|
}>;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
|
+
snapshot: {
|
|
295
|
+
id: string;
|
|
296
|
+
friendlyId: string;
|
|
297
|
+
executionStatus: TaskRunExecutionStatus;
|
|
298
|
+
description: string;
|
|
299
|
+
createdAt: Date;
|
|
300
|
+
};
|
|
294
301
|
run: {
|
|
295
|
-
status: TaskRunStatus;
|
|
296
302
|
id: string;
|
|
297
303
|
friendlyId: string;
|
|
304
|
+
status: TaskRunStatus;
|
|
298
305
|
attemptNumber?: number | null | undefined;
|
|
299
306
|
taskEventStore?: string | undefined;
|
|
300
307
|
};
|
|
308
|
+
}, {
|
|
301
309
|
snapshot: {
|
|
302
310
|
id: string;
|
|
303
|
-
createdAt: Date;
|
|
304
|
-
description: string;
|
|
305
311
|
friendlyId: string;
|
|
306
312
|
executionStatus: TaskRunExecutionStatus;
|
|
313
|
+
description: string;
|
|
314
|
+
createdAt: Date;
|
|
307
315
|
};
|
|
308
|
-
}, {
|
|
309
316
|
run: {
|
|
310
|
-
status: TaskRunStatus;
|
|
311
317
|
id: string;
|
|
312
318
|
friendlyId: string;
|
|
319
|
+
status: TaskRunStatus;
|
|
313
320
|
attemptNumber?: number | null | undefined;
|
|
314
321
|
taskEventStore?: string | undefined;
|
|
315
322
|
};
|
|
316
|
-
snapshot: {
|
|
317
|
-
id: string;
|
|
318
|
-
createdAt: Date;
|
|
319
|
-
description: string;
|
|
320
|
-
friendlyId: string;
|
|
321
|
-
executionStatus: TaskRunExecutionStatus;
|
|
322
|
-
};
|
|
323
323
|
}>, z.ZodObject<{
|
|
324
324
|
execution: z.ZodObject<{
|
|
325
325
|
task: z.ZodObject<{
|
|
@@ -336,11 +336,11 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
336
336
|
id: z.ZodString;
|
|
337
337
|
name: z.ZodString;
|
|
338
338
|
}, "strip", z.ZodTypeAny, {
|
|
339
|
-
name: string;
|
|
340
339
|
id: string;
|
|
341
|
-
}, {
|
|
342
340
|
name: string;
|
|
341
|
+
}, {
|
|
343
342
|
id: string;
|
|
343
|
+
name: string;
|
|
344
344
|
}>;
|
|
345
345
|
environment: z.ZodObject<{
|
|
346
346
|
id: z.ZodString;
|
|
@@ -362,73 +362,73 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
362
362
|
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
363
363
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
|
-
dirty?: boolean | undefined;
|
|
366
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
367
365
|
provider?: string | undefined;
|
|
366
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
368
367
|
ghUsername?: string | undefined;
|
|
369
368
|
ghUserAvatarUrl?: string | undefined;
|
|
370
369
|
commitAuthorName?: string | undefined;
|
|
371
370
|
commitMessage?: string | undefined;
|
|
372
371
|
commitRef?: string | undefined;
|
|
373
372
|
commitSha?: string | undefined;
|
|
373
|
+
dirty?: boolean | undefined;
|
|
374
374
|
remoteUrl?: string | undefined;
|
|
375
375
|
pullRequestNumber?: number | undefined;
|
|
376
376
|
pullRequestTitle?: string | undefined;
|
|
377
|
-
pullRequestState?: "
|
|
377
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
378
378
|
}, {
|
|
379
|
-
dirty?: boolean | undefined;
|
|
380
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
381
379
|
provider?: string | undefined;
|
|
380
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
382
381
|
ghUsername?: string | undefined;
|
|
383
382
|
ghUserAvatarUrl?: string | undefined;
|
|
384
383
|
commitAuthorName?: string | undefined;
|
|
385
384
|
commitMessage?: string | undefined;
|
|
386
385
|
commitRef?: string | undefined;
|
|
387
386
|
commitSha?: string | undefined;
|
|
387
|
+
dirty?: boolean | undefined;
|
|
388
388
|
remoteUrl?: string | undefined;
|
|
389
389
|
pullRequestNumber?: number | undefined;
|
|
390
390
|
pullRequestTitle?: string | undefined;
|
|
391
|
-
pullRequestState?: "
|
|
391
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
392
392
|
}>>;
|
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
395
394
|
id: string;
|
|
396
395
|
slug: string;
|
|
396
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
397
397
|
branchName?: string | undefined;
|
|
398
398
|
git?: {
|
|
399
|
-
dirty?: boolean | undefined;
|
|
400
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
401
399
|
provider?: string | undefined;
|
|
400
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
402
401
|
ghUsername?: string | undefined;
|
|
403
402
|
ghUserAvatarUrl?: string | undefined;
|
|
404
403
|
commitAuthorName?: string | undefined;
|
|
405
404
|
commitMessage?: string | undefined;
|
|
406
405
|
commitRef?: string | undefined;
|
|
407
406
|
commitSha?: string | undefined;
|
|
407
|
+
dirty?: boolean | undefined;
|
|
408
408
|
remoteUrl?: string | undefined;
|
|
409
409
|
pullRequestNumber?: number | undefined;
|
|
410
410
|
pullRequestTitle?: string | undefined;
|
|
411
|
-
pullRequestState?: "
|
|
411
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
412
412
|
} | undefined;
|
|
413
413
|
}, {
|
|
414
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
415
414
|
id: string;
|
|
416
415
|
slug: string;
|
|
416
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
417
417
|
branchName?: string | undefined;
|
|
418
418
|
git?: {
|
|
419
|
-
dirty?: boolean | undefined;
|
|
420
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
421
419
|
provider?: string | undefined;
|
|
420
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
422
421
|
ghUsername?: string | undefined;
|
|
423
422
|
ghUserAvatarUrl?: string | undefined;
|
|
424
423
|
commitAuthorName?: string | undefined;
|
|
425
424
|
commitMessage?: string | undefined;
|
|
426
425
|
commitRef?: string | undefined;
|
|
427
426
|
commitSha?: string | undefined;
|
|
427
|
+
dirty?: boolean | undefined;
|
|
428
428
|
remoteUrl?: string | undefined;
|
|
429
429
|
pullRequestNumber?: number | undefined;
|
|
430
430
|
pullRequestTitle?: string | undefined;
|
|
431
|
-
pullRequestState?: "
|
|
431
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
432
432
|
} | undefined;
|
|
433
433
|
}>;
|
|
434
434
|
organization: z.ZodObject<{
|
|
@@ -436,13 +436,13 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
436
436
|
slug: z.ZodString;
|
|
437
437
|
name: z.ZodString;
|
|
438
438
|
}, "strip", z.ZodTypeAny, {
|
|
439
|
-
name: string;
|
|
440
439
|
id: string;
|
|
441
440
|
slug: string;
|
|
442
|
-
}, {
|
|
443
441
|
name: string;
|
|
442
|
+
}, {
|
|
444
443
|
id: string;
|
|
445
444
|
slug: string;
|
|
445
|
+
name: string;
|
|
446
446
|
}>;
|
|
447
447
|
project: z.ZodObject<{
|
|
448
448
|
id: z.ZodString;
|
|
@@ -450,15 +450,15 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
450
450
|
slug: z.ZodString;
|
|
451
451
|
name: z.ZodString;
|
|
452
452
|
}, "strip", z.ZodTypeAny, {
|
|
453
|
-
name: string;
|
|
454
453
|
id: string;
|
|
455
|
-
slug: string;
|
|
456
454
|
ref: string;
|
|
457
|
-
|
|
455
|
+
slug: string;
|
|
458
456
|
name: string;
|
|
457
|
+
}, {
|
|
459
458
|
id: string;
|
|
460
|
-
slug: string;
|
|
461
459
|
ref: string;
|
|
460
|
+
slug: string;
|
|
461
|
+
name: string;
|
|
462
462
|
}>;
|
|
463
463
|
machine: z.ZodObject<{
|
|
464
464
|
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
@@ -466,14 +466,14 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
466
466
|
memory: z.ZodNumber;
|
|
467
467
|
centsPerMs: z.ZodNumber;
|
|
468
468
|
}, "strip", z.ZodTypeAny, {
|
|
469
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
469
470
|
cpu: number;
|
|
470
471
|
memory: number;
|
|
471
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
472
472
|
centsPerMs: number;
|
|
473
473
|
}, {
|
|
474
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
474
475
|
cpu: number;
|
|
475
476
|
memory: number;
|
|
476
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
477
477
|
centsPerMs: number;
|
|
478
478
|
}>;
|
|
479
479
|
batch: z.ZodOptional<z.ZodObject<{
|
|
@@ -504,75 +504,75 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
504
504
|
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
505
505
|
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
506
506
|
}, "strip", z.ZodTypeAny, {
|
|
507
|
-
dirty?: boolean | undefined;
|
|
508
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
509
507
|
provider?: string | undefined;
|
|
508
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
510
509
|
ghUsername?: string | undefined;
|
|
511
510
|
ghUserAvatarUrl?: string | undefined;
|
|
512
511
|
commitAuthorName?: string | undefined;
|
|
513
512
|
commitMessage?: string | undefined;
|
|
514
513
|
commitRef?: string | undefined;
|
|
515
514
|
commitSha?: string | undefined;
|
|
515
|
+
dirty?: boolean | undefined;
|
|
516
516
|
remoteUrl?: string | undefined;
|
|
517
517
|
pullRequestNumber?: number | undefined;
|
|
518
518
|
pullRequestTitle?: string | undefined;
|
|
519
|
-
pullRequestState?: "
|
|
519
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
520
520
|
}, {
|
|
521
|
-
dirty?: boolean | undefined;
|
|
522
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
523
521
|
provider?: string | undefined;
|
|
522
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
524
523
|
ghUsername?: string | undefined;
|
|
525
524
|
ghUserAvatarUrl?: string | undefined;
|
|
526
525
|
commitAuthorName?: string | undefined;
|
|
527
526
|
commitMessage?: string | undefined;
|
|
528
527
|
commitRef?: string | undefined;
|
|
529
528
|
commitSha?: string | undefined;
|
|
529
|
+
dirty?: boolean | undefined;
|
|
530
530
|
remoteUrl?: string | undefined;
|
|
531
531
|
pullRequestNumber?: number | undefined;
|
|
532
532
|
pullRequestTitle?: string | undefined;
|
|
533
|
-
pullRequestState?: "
|
|
533
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
534
534
|
}>>;
|
|
535
535
|
}, "strip", z.ZodTypeAny, {
|
|
536
536
|
id: string;
|
|
537
|
-
version: string;
|
|
538
537
|
shortCode: string;
|
|
538
|
+
version: string;
|
|
539
539
|
runtime: string;
|
|
540
540
|
runtimeVersion: string;
|
|
541
541
|
git?: {
|
|
542
|
-
dirty?: boolean | undefined;
|
|
543
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
544
542
|
provider?: string | undefined;
|
|
543
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
545
544
|
ghUsername?: string | undefined;
|
|
546
545
|
ghUserAvatarUrl?: string | undefined;
|
|
547
546
|
commitAuthorName?: string | undefined;
|
|
548
547
|
commitMessage?: string | undefined;
|
|
549
548
|
commitRef?: string | undefined;
|
|
550
549
|
commitSha?: string | undefined;
|
|
550
|
+
dirty?: boolean | undefined;
|
|
551
551
|
remoteUrl?: string | undefined;
|
|
552
552
|
pullRequestNumber?: number | undefined;
|
|
553
553
|
pullRequestTitle?: string | undefined;
|
|
554
|
-
pullRequestState?: "
|
|
554
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
555
555
|
} | undefined;
|
|
556
556
|
}, {
|
|
557
557
|
id: string;
|
|
558
|
-
version: string;
|
|
559
558
|
shortCode: string;
|
|
559
|
+
version: string;
|
|
560
560
|
runtime: string;
|
|
561
561
|
runtimeVersion: string;
|
|
562
562
|
git?: {
|
|
563
|
-
dirty?: boolean | undefined;
|
|
564
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
565
563
|
provider?: string | undefined;
|
|
564
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
566
565
|
ghUsername?: string | undefined;
|
|
567
566
|
ghUserAvatarUrl?: string | undefined;
|
|
568
567
|
commitAuthorName?: string | undefined;
|
|
569
568
|
commitMessage?: string | undefined;
|
|
570
569
|
commitRef?: string | undefined;
|
|
571
570
|
commitSha?: string | undefined;
|
|
571
|
+
dirty?: boolean | undefined;
|
|
572
572
|
remoteUrl?: string | undefined;
|
|
573
573
|
pullRequestNumber?: number | undefined;
|
|
574
574
|
pullRequestTitle?: string | undefined;
|
|
575
|
-
pullRequestState?: "
|
|
575
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
576
576
|
} | undefined;
|
|
577
577
|
}>>;
|
|
578
578
|
attempt: z.ZodObject<{
|
|
@@ -608,19 +608,19 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
608
608
|
costInCents: z.ZodOptional<z.ZodNumber>;
|
|
609
609
|
region: z.ZodOptional<z.ZodString>;
|
|
610
610
|
}, "strip", z.ZodTypeAny, {
|
|
611
|
-
payload: string;
|
|
612
611
|
id: string;
|
|
612
|
+
payload: string;
|
|
613
613
|
payloadType: string;
|
|
614
614
|
tags: string[];
|
|
615
615
|
isTest: boolean;
|
|
616
616
|
isReplay: boolean;
|
|
617
617
|
createdAt: Date;
|
|
618
618
|
startedAt: Date;
|
|
619
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
620
619
|
idempotencyKey?: string | undefined;
|
|
621
|
-
idempotencyKeyScope?: "
|
|
620
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
622
621
|
maxAttempts?: number | undefined;
|
|
623
622
|
version?: string | undefined;
|
|
623
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
624
624
|
maxDuration?: number | undefined;
|
|
625
625
|
priority?: number | undefined;
|
|
626
626
|
baseCostInCents?: number | undefined;
|
|
@@ -630,19 +630,19 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
630
630
|
costInCents?: number | undefined;
|
|
631
631
|
region?: string | undefined;
|
|
632
632
|
}, {
|
|
633
|
-
payload: string;
|
|
634
633
|
id: string;
|
|
634
|
+
payload: string;
|
|
635
635
|
payloadType: string;
|
|
636
636
|
tags: string[];
|
|
637
|
-
createdAt: Date;
|
|
638
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
639
637
|
isTest?: boolean | undefined;
|
|
640
638
|
isReplay?: boolean | undefined;
|
|
639
|
+
createdAt: Date;
|
|
641
640
|
startedAt?: Date | undefined;
|
|
642
641
|
idempotencyKey?: string | undefined;
|
|
643
|
-
idempotencyKeyScope?: "
|
|
642
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
644
643
|
maxAttempts?: number | undefined;
|
|
645
644
|
version?: string | undefined;
|
|
645
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
646
646
|
maxDuration?: number | undefined;
|
|
647
647
|
priority?: number | undefined;
|
|
648
648
|
baseCostInCents?: number | undefined;
|
|
@@ -662,38 +662,6 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
662
662
|
realtimeStreamsVersion?: string | undefined;
|
|
663
663
|
}>>;
|
|
664
664
|
}, "strip", z.ZodTypeAny, {
|
|
665
|
-
run: {
|
|
666
|
-
payload: string;
|
|
667
|
-
id: string;
|
|
668
|
-
payloadType: string;
|
|
669
|
-
tags: string[];
|
|
670
|
-
isTest: boolean;
|
|
671
|
-
isReplay: boolean;
|
|
672
|
-
createdAt: Date;
|
|
673
|
-
startedAt: Date;
|
|
674
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
675
|
-
idempotencyKey?: string | undefined;
|
|
676
|
-
idempotencyKeyScope?: "run" | "attempt" | "global" | undefined;
|
|
677
|
-
maxAttempts?: number | undefined;
|
|
678
|
-
version?: string | undefined;
|
|
679
|
-
maxDuration?: number | undefined;
|
|
680
|
-
priority?: number | undefined;
|
|
681
|
-
baseCostInCents?: number | undefined;
|
|
682
|
-
parentTaskRunId?: string | undefined;
|
|
683
|
-
rootTaskRunId?: string | undefined;
|
|
684
|
-
durationMs?: number | undefined;
|
|
685
|
-
costInCents?: number | undefined;
|
|
686
|
-
region?: string | undefined;
|
|
687
|
-
} & {
|
|
688
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
689
|
-
realtimeStreamsVersion?: string | undefined;
|
|
690
|
-
};
|
|
691
|
-
attempt: {
|
|
692
|
-
number: number;
|
|
693
|
-
startedAt: Date;
|
|
694
|
-
} & {
|
|
695
|
-
[k: string]: unknown;
|
|
696
|
-
};
|
|
697
665
|
task: {
|
|
698
666
|
id: string;
|
|
699
667
|
filePath: string;
|
|
@@ -701,45 +669,45 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
701
669
|
[k: string]: unknown;
|
|
702
670
|
};
|
|
703
671
|
queue: {
|
|
704
|
-
name: string;
|
|
705
672
|
id: string;
|
|
673
|
+
name: string;
|
|
706
674
|
};
|
|
707
675
|
environment: {
|
|
708
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
709
676
|
id: string;
|
|
710
677
|
slug: string;
|
|
678
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
711
679
|
branchName?: string | undefined;
|
|
712
680
|
git?: {
|
|
713
|
-
dirty?: boolean | undefined;
|
|
714
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
715
681
|
provider?: string | undefined;
|
|
682
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
716
683
|
ghUsername?: string | undefined;
|
|
717
684
|
ghUserAvatarUrl?: string | undefined;
|
|
718
685
|
commitAuthorName?: string | undefined;
|
|
719
686
|
commitMessage?: string | undefined;
|
|
720
687
|
commitRef?: string | undefined;
|
|
721
688
|
commitSha?: string | undefined;
|
|
689
|
+
dirty?: boolean | undefined;
|
|
722
690
|
remoteUrl?: string | undefined;
|
|
723
691
|
pullRequestNumber?: number | undefined;
|
|
724
692
|
pullRequestTitle?: string | undefined;
|
|
725
|
-
pullRequestState?: "
|
|
693
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
726
694
|
} | undefined;
|
|
727
695
|
};
|
|
728
696
|
organization: {
|
|
729
|
-
name: string;
|
|
730
697
|
id: string;
|
|
731
698
|
slug: string;
|
|
699
|
+
name: string;
|
|
732
700
|
};
|
|
733
701
|
project: {
|
|
734
|
-
name: string;
|
|
735
702
|
id: string;
|
|
736
|
-
slug: string;
|
|
737
703
|
ref: string;
|
|
704
|
+
slug: string;
|
|
705
|
+
name: string;
|
|
738
706
|
};
|
|
739
707
|
machine: {
|
|
708
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
740
709
|
cpu: number;
|
|
741
710
|
memory: number;
|
|
742
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
743
711
|
centsPerMs: number;
|
|
744
712
|
};
|
|
745
713
|
batch?: {
|
|
@@ -747,41 +715,46 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
747
715
|
} | undefined;
|
|
748
716
|
deployment?: {
|
|
749
717
|
id: string;
|
|
750
|
-
version: string;
|
|
751
718
|
shortCode: string;
|
|
719
|
+
version: string;
|
|
752
720
|
runtime: string;
|
|
753
721
|
runtimeVersion: string;
|
|
754
722
|
git?: {
|
|
755
|
-
dirty?: boolean | undefined;
|
|
756
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
757
723
|
provider?: string | undefined;
|
|
724
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
758
725
|
ghUsername?: string | undefined;
|
|
759
726
|
ghUserAvatarUrl?: string | undefined;
|
|
760
727
|
commitAuthorName?: string | undefined;
|
|
761
728
|
commitMessage?: string | undefined;
|
|
762
729
|
commitRef?: string | undefined;
|
|
763
730
|
commitSha?: string | undefined;
|
|
731
|
+
dirty?: boolean | undefined;
|
|
764
732
|
remoteUrl?: string | undefined;
|
|
765
733
|
pullRequestNumber?: number | undefined;
|
|
766
734
|
pullRequestTitle?: string | undefined;
|
|
767
|
-
pullRequestState?: "
|
|
735
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
768
736
|
} | undefined;
|
|
769
737
|
} | undefined;
|
|
770
|
-
|
|
738
|
+
attempt: {
|
|
739
|
+
number: number;
|
|
740
|
+
startedAt: Date;
|
|
741
|
+
} & {
|
|
742
|
+
[k: string]: unknown;
|
|
743
|
+
};
|
|
771
744
|
run: {
|
|
772
|
-
payload: string;
|
|
773
745
|
id: string;
|
|
746
|
+
payload: string;
|
|
774
747
|
payloadType: string;
|
|
775
748
|
tags: string[];
|
|
749
|
+
isTest: boolean;
|
|
750
|
+
isReplay: boolean;
|
|
776
751
|
createdAt: Date;
|
|
777
|
-
|
|
778
|
-
isTest?: boolean | undefined;
|
|
779
|
-
isReplay?: boolean | undefined;
|
|
780
|
-
startedAt?: Date | undefined;
|
|
752
|
+
startedAt: Date;
|
|
781
753
|
idempotencyKey?: string | undefined;
|
|
782
|
-
idempotencyKeyScope?: "
|
|
754
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
783
755
|
maxAttempts?: number | undefined;
|
|
784
756
|
version?: string | undefined;
|
|
757
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
785
758
|
maxDuration?: number | undefined;
|
|
786
759
|
priority?: number | undefined;
|
|
787
760
|
baseCostInCents?: number | undefined;
|
|
@@ -794,12 +767,7 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
794
767
|
traceContext?: Record<string, unknown> | undefined;
|
|
795
768
|
realtimeStreamsVersion?: string | undefined;
|
|
796
769
|
};
|
|
797
|
-
|
|
798
|
-
number: number;
|
|
799
|
-
startedAt: Date;
|
|
800
|
-
} & {
|
|
801
|
-
[k: string]: unknown;
|
|
802
|
-
};
|
|
770
|
+
}, {
|
|
803
771
|
task: {
|
|
804
772
|
id: string;
|
|
805
773
|
filePath: string;
|
|
@@ -807,45 +775,45 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
807
775
|
[k: string]: unknown;
|
|
808
776
|
};
|
|
809
777
|
queue: {
|
|
810
|
-
name: string;
|
|
811
778
|
id: string;
|
|
779
|
+
name: string;
|
|
812
780
|
};
|
|
813
781
|
environment: {
|
|
814
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
815
782
|
id: string;
|
|
816
783
|
slug: string;
|
|
784
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
817
785
|
branchName?: string | undefined;
|
|
818
786
|
git?: {
|
|
819
|
-
dirty?: boolean | undefined;
|
|
820
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
821
787
|
provider?: string | undefined;
|
|
788
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
822
789
|
ghUsername?: string | undefined;
|
|
823
790
|
ghUserAvatarUrl?: string | undefined;
|
|
824
791
|
commitAuthorName?: string | undefined;
|
|
825
792
|
commitMessage?: string | undefined;
|
|
826
793
|
commitRef?: string | undefined;
|
|
827
794
|
commitSha?: string | undefined;
|
|
795
|
+
dirty?: boolean | undefined;
|
|
828
796
|
remoteUrl?: string | undefined;
|
|
829
797
|
pullRequestNumber?: number | undefined;
|
|
830
798
|
pullRequestTitle?: string | undefined;
|
|
831
|
-
pullRequestState?: "
|
|
799
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
832
800
|
} | undefined;
|
|
833
801
|
};
|
|
834
802
|
organization: {
|
|
835
|
-
name: string;
|
|
836
803
|
id: string;
|
|
837
804
|
slug: string;
|
|
805
|
+
name: string;
|
|
838
806
|
};
|
|
839
807
|
project: {
|
|
840
|
-
name: string;
|
|
841
808
|
id: string;
|
|
842
|
-
slug: string;
|
|
843
809
|
ref: string;
|
|
810
|
+
slug: string;
|
|
811
|
+
name: string;
|
|
844
812
|
};
|
|
845
813
|
machine: {
|
|
814
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
846
815
|
cpu: number;
|
|
847
816
|
memory: number;
|
|
848
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
849
817
|
centsPerMs: number;
|
|
850
818
|
};
|
|
851
819
|
batch?: {
|
|
@@ -853,43 +821,46 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
853
821
|
} | undefined;
|
|
854
822
|
deployment?: {
|
|
855
823
|
id: string;
|
|
856
|
-
version: string;
|
|
857
824
|
shortCode: string;
|
|
825
|
+
version: string;
|
|
858
826
|
runtime: string;
|
|
859
827
|
runtimeVersion: string;
|
|
860
828
|
git?: {
|
|
861
|
-
dirty?: boolean | undefined;
|
|
862
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
863
829
|
provider?: string | undefined;
|
|
830
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
864
831
|
ghUsername?: string | undefined;
|
|
865
832
|
ghUserAvatarUrl?: string | undefined;
|
|
866
833
|
commitAuthorName?: string | undefined;
|
|
867
834
|
commitMessage?: string | undefined;
|
|
868
835
|
commitRef?: string | undefined;
|
|
869
836
|
commitSha?: string | undefined;
|
|
837
|
+
dirty?: boolean | undefined;
|
|
870
838
|
remoteUrl?: string | undefined;
|
|
871
839
|
pullRequestNumber?: number | undefined;
|
|
872
840
|
pullRequestTitle?: string | undefined;
|
|
873
|
-
pullRequestState?: "
|
|
841
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
874
842
|
} | undefined;
|
|
875
843
|
} | undefined;
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
844
|
+
attempt: {
|
|
845
|
+
number: number;
|
|
846
|
+
startedAt: Date;
|
|
847
|
+
} & {
|
|
848
|
+
[k: string]: unknown;
|
|
849
|
+
};
|
|
879
850
|
run: {
|
|
880
|
-
payload: string;
|
|
881
851
|
id: string;
|
|
852
|
+
payload: string;
|
|
882
853
|
payloadType: string;
|
|
883
854
|
tags: string[];
|
|
884
|
-
isTest
|
|
885
|
-
isReplay
|
|
855
|
+
isTest?: boolean | undefined;
|
|
856
|
+
isReplay?: boolean | undefined;
|
|
886
857
|
createdAt: Date;
|
|
887
|
-
startedAt
|
|
888
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
858
|
+
startedAt?: Date | undefined;
|
|
889
859
|
idempotencyKey?: string | undefined;
|
|
890
|
-
idempotencyKeyScope?: "
|
|
860
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
891
861
|
maxAttempts?: number | undefined;
|
|
892
862
|
version?: string | undefined;
|
|
863
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
893
864
|
maxDuration?: number | undefined;
|
|
894
865
|
priority?: number | undefined;
|
|
895
866
|
baseCostInCents?: number | undefined;
|
|
@@ -902,12 +873,9 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
902
873
|
traceContext?: Record<string, unknown> | undefined;
|
|
903
874
|
realtimeStreamsVersion?: string | undefined;
|
|
904
875
|
};
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
} & {
|
|
909
|
-
[k: string]: unknown;
|
|
910
|
-
};
|
|
876
|
+
}>;
|
|
877
|
+
}, "strip", z.ZodTypeAny, {
|
|
878
|
+
execution: {
|
|
911
879
|
task: {
|
|
912
880
|
id: string;
|
|
913
881
|
filePath: string;
|
|
@@ -915,45 +883,45 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
915
883
|
[k: string]: unknown;
|
|
916
884
|
};
|
|
917
885
|
queue: {
|
|
918
|
-
name: string;
|
|
919
886
|
id: string;
|
|
887
|
+
name: string;
|
|
920
888
|
};
|
|
921
889
|
environment: {
|
|
922
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
923
890
|
id: string;
|
|
924
891
|
slug: string;
|
|
892
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
925
893
|
branchName?: string | undefined;
|
|
926
894
|
git?: {
|
|
927
|
-
dirty?: boolean | undefined;
|
|
928
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
929
895
|
provider?: string | undefined;
|
|
896
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
930
897
|
ghUsername?: string | undefined;
|
|
931
898
|
ghUserAvatarUrl?: string | undefined;
|
|
932
899
|
commitAuthorName?: string | undefined;
|
|
933
900
|
commitMessage?: string | undefined;
|
|
934
901
|
commitRef?: string | undefined;
|
|
935
902
|
commitSha?: string | undefined;
|
|
903
|
+
dirty?: boolean | undefined;
|
|
936
904
|
remoteUrl?: string | undefined;
|
|
937
905
|
pullRequestNumber?: number | undefined;
|
|
938
906
|
pullRequestTitle?: string | undefined;
|
|
939
|
-
pullRequestState?: "
|
|
907
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
940
908
|
} | undefined;
|
|
941
909
|
};
|
|
942
910
|
organization: {
|
|
943
|
-
name: string;
|
|
944
911
|
id: string;
|
|
945
912
|
slug: string;
|
|
913
|
+
name: string;
|
|
946
914
|
};
|
|
947
915
|
project: {
|
|
948
|
-
name: string;
|
|
949
916
|
id: string;
|
|
950
|
-
slug: string;
|
|
951
917
|
ref: string;
|
|
918
|
+
slug: string;
|
|
919
|
+
name: string;
|
|
952
920
|
};
|
|
953
921
|
machine: {
|
|
922
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
954
923
|
cpu: number;
|
|
955
924
|
memory: number;
|
|
956
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
957
925
|
centsPerMs: number;
|
|
958
926
|
};
|
|
959
927
|
batch?: {
|
|
@@ -961,43 +929,46 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
961
929
|
} | undefined;
|
|
962
930
|
deployment?: {
|
|
963
931
|
id: string;
|
|
964
|
-
version: string;
|
|
965
932
|
shortCode: string;
|
|
933
|
+
version: string;
|
|
966
934
|
runtime: string;
|
|
967
935
|
runtimeVersion: string;
|
|
968
936
|
git?: {
|
|
969
|
-
dirty?: boolean | undefined;
|
|
970
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
971
937
|
provider?: string | undefined;
|
|
938
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
972
939
|
ghUsername?: string | undefined;
|
|
973
940
|
ghUserAvatarUrl?: string | undefined;
|
|
974
941
|
commitAuthorName?: string | undefined;
|
|
975
942
|
commitMessage?: string | undefined;
|
|
976
943
|
commitRef?: string | undefined;
|
|
977
944
|
commitSha?: string | undefined;
|
|
945
|
+
dirty?: boolean | undefined;
|
|
978
946
|
remoteUrl?: string | undefined;
|
|
979
947
|
pullRequestNumber?: number | undefined;
|
|
980
948
|
pullRequestTitle?: string | undefined;
|
|
981
|
-
pullRequestState?: "
|
|
949
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
982
950
|
} | undefined;
|
|
983
951
|
} | undefined;
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
952
|
+
attempt: {
|
|
953
|
+
number: number;
|
|
954
|
+
startedAt: Date;
|
|
955
|
+
} & {
|
|
956
|
+
[k: string]: unknown;
|
|
957
|
+
};
|
|
987
958
|
run: {
|
|
988
|
-
payload: string;
|
|
989
959
|
id: string;
|
|
960
|
+
payload: string;
|
|
990
961
|
payloadType: string;
|
|
991
962
|
tags: string[];
|
|
963
|
+
isTest: boolean;
|
|
964
|
+
isReplay: boolean;
|
|
992
965
|
createdAt: Date;
|
|
993
|
-
|
|
994
|
-
isTest?: boolean | undefined;
|
|
995
|
-
isReplay?: boolean | undefined;
|
|
996
|
-
startedAt?: Date | undefined;
|
|
966
|
+
startedAt: Date;
|
|
997
967
|
idempotencyKey?: string | undefined;
|
|
998
|
-
idempotencyKeyScope?: "
|
|
968
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
999
969
|
maxAttempts?: number | undefined;
|
|
1000
970
|
version?: string | undefined;
|
|
971
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1001
972
|
maxDuration?: number | undefined;
|
|
1002
973
|
priority?: number | undefined;
|
|
1003
974
|
baseCostInCents?: number | undefined;
|
|
@@ -1010,12 +981,9 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
1010
981
|
traceContext?: Record<string, unknown> | undefined;
|
|
1011
982
|
realtimeStreamsVersion?: string | undefined;
|
|
1012
983
|
};
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
} & {
|
|
1017
|
-
[k: string]: unknown;
|
|
1018
|
-
};
|
|
984
|
+
};
|
|
985
|
+
}, {
|
|
986
|
+
execution: {
|
|
1019
987
|
task: {
|
|
1020
988
|
id: string;
|
|
1021
989
|
filePath: string;
|
|
@@ -1023,45 +991,45 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
1023
991
|
[k: string]: unknown;
|
|
1024
992
|
};
|
|
1025
993
|
queue: {
|
|
1026
|
-
name: string;
|
|
1027
994
|
id: string;
|
|
995
|
+
name: string;
|
|
1028
996
|
};
|
|
1029
997
|
environment: {
|
|
1030
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1031
998
|
id: string;
|
|
1032
999
|
slug: string;
|
|
1000
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
1033
1001
|
branchName?: string | undefined;
|
|
1034
1002
|
git?: {
|
|
1035
|
-
dirty?: boolean | undefined;
|
|
1036
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1037
1003
|
provider?: string | undefined;
|
|
1004
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
1038
1005
|
ghUsername?: string | undefined;
|
|
1039
1006
|
ghUserAvatarUrl?: string | undefined;
|
|
1040
1007
|
commitAuthorName?: string | undefined;
|
|
1041
1008
|
commitMessage?: string | undefined;
|
|
1042
1009
|
commitRef?: string | undefined;
|
|
1043
1010
|
commitSha?: string | undefined;
|
|
1011
|
+
dirty?: boolean | undefined;
|
|
1044
1012
|
remoteUrl?: string | undefined;
|
|
1045
1013
|
pullRequestNumber?: number | undefined;
|
|
1046
1014
|
pullRequestTitle?: string | undefined;
|
|
1047
|
-
pullRequestState?: "
|
|
1015
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
1048
1016
|
} | undefined;
|
|
1049
1017
|
};
|
|
1050
1018
|
organization: {
|
|
1051
|
-
name: string;
|
|
1052
1019
|
id: string;
|
|
1053
1020
|
slug: string;
|
|
1021
|
+
name: string;
|
|
1054
1022
|
};
|
|
1055
1023
|
project: {
|
|
1056
|
-
name: string;
|
|
1057
1024
|
id: string;
|
|
1058
|
-
slug: string;
|
|
1059
1025
|
ref: string;
|
|
1026
|
+
slug: string;
|
|
1027
|
+
name: string;
|
|
1060
1028
|
};
|
|
1061
1029
|
machine: {
|
|
1030
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
1062
1031
|
cpu: number;
|
|
1063
1032
|
memory: number;
|
|
1064
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1065
1033
|
centsPerMs: number;
|
|
1066
1034
|
};
|
|
1067
1035
|
batch?: {
|
|
@@ -1069,26 +1037,58 @@ export declare const StartRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
1069
1037
|
} | undefined;
|
|
1070
1038
|
deployment?: {
|
|
1071
1039
|
id: string;
|
|
1072
|
-
version: string;
|
|
1073
1040
|
shortCode: string;
|
|
1041
|
+
version: string;
|
|
1074
1042
|
runtime: string;
|
|
1075
1043
|
runtimeVersion: string;
|
|
1076
1044
|
git?: {
|
|
1077
|
-
dirty?: boolean | undefined;
|
|
1078
|
-
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
1079
1045
|
provider?: string | undefined;
|
|
1046
|
+
source?: "github_actions" | "local" | "trigger_github_app" | undefined;
|
|
1080
1047
|
ghUsername?: string | undefined;
|
|
1081
1048
|
ghUserAvatarUrl?: string | undefined;
|
|
1082
1049
|
commitAuthorName?: string | undefined;
|
|
1083
1050
|
commitMessage?: string | undefined;
|
|
1084
1051
|
commitRef?: string | undefined;
|
|
1085
1052
|
commitSha?: string | undefined;
|
|
1053
|
+
dirty?: boolean | undefined;
|
|
1086
1054
|
remoteUrl?: string | undefined;
|
|
1087
1055
|
pullRequestNumber?: number | undefined;
|
|
1088
1056
|
pullRequestTitle?: string | undefined;
|
|
1089
|
-
pullRequestState?: "
|
|
1057
|
+
pullRequestState?: "closed" | "merged" | "open" | undefined;
|
|
1090
1058
|
} | undefined;
|
|
1091
1059
|
} | undefined;
|
|
1060
|
+
attempt: {
|
|
1061
|
+
number: number;
|
|
1062
|
+
startedAt: Date;
|
|
1063
|
+
} & {
|
|
1064
|
+
[k: string]: unknown;
|
|
1065
|
+
};
|
|
1066
|
+
run: {
|
|
1067
|
+
id: string;
|
|
1068
|
+
payload: string;
|
|
1069
|
+
payloadType: string;
|
|
1070
|
+
tags: string[];
|
|
1071
|
+
isTest?: boolean | undefined;
|
|
1072
|
+
isReplay?: boolean | undefined;
|
|
1073
|
+
createdAt: Date;
|
|
1074
|
+
startedAt?: Date | undefined;
|
|
1075
|
+
idempotencyKey?: string | undefined;
|
|
1076
|
+
idempotencyKeyScope?: "attempt" | "global" | "run" | undefined;
|
|
1077
|
+
maxAttempts?: number | undefined;
|
|
1078
|
+
version?: string | undefined;
|
|
1079
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
1080
|
+
maxDuration?: number | undefined;
|
|
1081
|
+
priority?: number | undefined;
|
|
1082
|
+
baseCostInCents?: number | undefined;
|
|
1083
|
+
parentTaskRunId?: string | undefined;
|
|
1084
|
+
rootTaskRunId?: string | undefined;
|
|
1085
|
+
durationMs?: number | undefined;
|
|
1086
|
+
costInCents?: number | undefined;
|
|
1087
|
+
region?: string | undefined;
|
|
1088
|
+
} & {
|
|
1089
|
+
traceContext?: Record<string, unknown> | undefined;
|
|
1090
|
+
realtimeStreamsVersion?: string | undefined;
|
|
1091
|
+
};
|
|
1092
1092
|
};
|
|
1093
1093
|
}>>;
|
|
1094
1094
|
export type StartRunAttemptResult = z.infer<typeof StartRunAttemptResult>;
|
|
@@ -1098,9 +1098,9 @@ export type CompleteAttemptStatus = z.infer<typeof CompleteAttemptStatus>;
|
|
|
1098
1098
|
export declare const CompleteRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
1099
1099
|
attemptStatus: z.ZodEnum<["RUN_FINISHED", "RUN_PENDING_CANCEL", "RETRY_QUEUED", "RETRY_IMMEDIATELY"]>;
|
|
1100
1100
|
}, "strip", z.ZodTypeAny, {
|
|
1101
|
-
attemptStatus: "
|
|
1101
|
+
attemptStatus: "RETRY_IMMEDIATELY" | "RETRY_QUEUED" | "RUN_FINISHED" | "RUN_PENDING_CANCEL";
|
|
1102
1102
|
}, {
|
|
1103
|
-
attemptStatus: "
|
|
1103
|
+
attemptStatus: "RETRY_IMMEDIATELY" | "RETRY_QUEUED" | "RUN_FINISHED" | "RUN_PENDING_CANCEL";
|
|
1104
1104
|
}>, z.ZodObject<{
|
|
1105
1105
|
snapshot: z.ZodObject<{
|
|
1106
1106
|
id: z.ZodString;
|
|
@@ -1110,16 +1110,16 @@ export declare const CompleteRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
1110
1110
|
createdAt: z.ZodDate;
|
|
1111
1111
|
}, "strip", z.ZodTypeAny, {
|
|
1112
1112
|
id: string;
|
|
1113
|
-
createdAt: Date;
|
|
1114
|
-
description: string;
|
|
1115
1113
|
friendlyId: string;
|
|
1116
1114
|
executionStatus: TaskRunExecutionStatus;
|
|
1115
|
+
description: string;
|
|
1116
|
+
createdAt: Date;
|
|
1117
1117
|
}, {
|
|
1118
1118
|
id: string;
|
|
1119
|
-
createdAt: Date;
|
|
1120
|
-
description: string;
|
|
1121
1119
|
friendlyId: string;
|
|
1122
1120
|
executionStatus: TaskRunExecutionStatus;
|
|
1121
|
+
description: string;
|
|
1122
|
+
createdAt: Date;
|
|
1123
1123
|
}>;
|
|
1124
1124
|
run: z.ZodObject<{
|
|
1125
1125
|
id: z.ZodString;
|
|
@@ -1128,48 +1128,48 @@ export declare const CompleteRunAttemptResult: z.ZodIntersection<z.ZodObject<{
|
|
|
1128
1128
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1129
1129
|
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
1130
1130
|
}, "strip", z.ZodTypeAny, {
|
|
1131
|
-
status: TaskRunStatus;
|
|
1132
1131
|
id: string;
|
|
1133
1132
|
friendlyId: string;
|
|
1133
|
+
status: TaskRunStatus;
|
|
1134
1134
|
attemptNumber?: number | null | undefined;
|
|
1135
1135
|
taskEventStore?: string | undefined;
|
|
1136
1136
|
}, {
|
|
1137
|
-
status: TaskRunStatus;
|
|
1138
1137
|
id: string;
|
|
1139
1138
|
friendlyId: string;
|
|
1139
|
+
status: TaskRunStatus;
|
|
1140
1140
|
attemptNumber?: number | null | undefined;
|
|
1141
1141
|
taskEventStore?: string | undefined;
|
|
1142
1142
|
}>;
|
|
1143
1143
|
}, "strip", z.ZodTypeAny, {
|
|
1144
|
+
snapshot: {
|
|
1145
|
+
id: string;
|
|
1146
|
+
friendlyId: string;
|
|
1147
|
+
executionStatus: TaskRunExecutionStatus;
|
|
1148
|
+
description: string;
|
|
1149
|
+
createdAt: Date;
|
|
1150
|
+
};
|
|
1144
1151
|
run: {
|
|
1145
|
-
status: TaskRunStatus;
|
|
1146
1152
|
id: string;
|
|
1147
1153
|
friendlyId: string;
|
|
1154
|
+
status: TaskRunStatus;
|
|
1148
1155
|
attemptNumber?: number | null | undefined;
|
|
1149
1156
|
taskEventStore?: string | undefined;
|
|
1150
1157
|
};
|
|
1158
|
+
}, {
|
|
1151
1159
|
snapshot: {
|
|
1152
1160
|
id: string;
|
|
1153
|
-
createdAt: Date;
|
|
1154
|
-
description: string;
|
|
1155
1161
|
friendlyId: string;
|
|
1156
1162
|
executionStatus: TaskRunExecutionStatus;
|
|
1163
|
+
description: string;
|
|
1164
|
+
createdAt: Date;
|
|
1157
1165
|
};
|
|
1158
|
-
}, {
|
|
1159
1166
|
run: {
|
|
1160
|
-
status: TaskRunStatus;
|
|
1161
1167
|
id: string;
|
|
1162
1168
|
friendlyId: string;
|
|
1169
|
+
status: TaskRunStatus;
|
|
1163
1170
|
attemptNumber?: number | null | undefined;
|
|
1164
1171
|
taskEventStore?: string | undefined;
|
|
1165
1172
|
};
|
|
1166
|
-
snapshot: {
|
|
1167
|
-
id: string;
|
|
1168
|
-
createdAt: Date;
|
|
1169
|
-
description: string;
|
|
1170
|
-
friendlyId: string;
|
|
1171
|
-
executionStatus: TaskRunExecutionStatus;
|
|
1172
|
-
};
|
|
1173
1173
|
}>>;
|
|
1174
1174
|
export type CompleteRunAttemptResult = z.infer<typeof CompleteRunAttemptResult>;
|
|
1175
1175
|
export declare const CheckpointTypeEnum: {
|
|
@@ -1207,18 +1207,18 @@ export declare const TaskRunCheckpoint: z.ZodObject<{
|
|
|
1207
1207
|
friendlyId: z.ZodString;
|
|
1208
1208
|
}, "strip", z.ZodTypeAny, {
|
|
1209
1209
|
type: CheckpointTypeEnum;
|
|
1210
|
-
id: string;
|
|
1211
|
-
friendlyId: string;
|
|
1212
1210
|
location: string;
|
|
1213
1211
|
imageRef?: string | null | undefined;
|
|
1214
1212
|
reason?: string | null | undefined;
|
|
1215
|
-
}, {
|
|
1216
|
-
type: CheckpointTypeEnum;
|
|
1217
1213
|
id: string;
|
|
1218
1214
|
friendlyId: string;
|
|
1215
|
+
}, {
|
|
1216
|
+
type: CheckpointTypeEnum;
|
|
1219
1217
|
location: string;
|
|
1220
1218
|
imageRef?: string | null | undefined;
|
|
1221
1219
|
reason?: string | null | undefined;
|
|
1220
|
+
id: string;
|
|
1221
|
+
friendlyId: string;
|
|
1222
1222
|
}>;
|
|
1223
1223
|
export type TaskRunCheckpoint = z.infer<typeof TaskRunCheckpoint>;
|
|
1224
1224
|
/** The response when a Worker asks for the latest execution state */
|
|
@@ -1232,16 +1232,16 @@ export declare const RunExecutionData: z.ZodObject<{
|
|
|
1232
1232
|
createdAt: z.ZodDate;
|
|
1233
1233
|
}, "strip", z.ZodTypeAny, {
|
|
1234
1234
|
id: string;
|
|
1235
|
-
createdAt: Date;
|
|
1236
|
-
description: string;
|
|
1237
1235
|
friendlyId: string;
|
|
1238
1236
|
executionStatus: TaskRunExecutionStatus;
|
|
1237
|
+
description: string;
|
|
1238
|
+
createdAt: Date;
|
|
1239
1239
|
}, {
|
|
1240
1240
|
id: string;
|
|
1241
|
-
createdAt: Date;
|
|
1242
|
-
description: string;
|
|
1243
1241
|
friendlyId: string;
|
|
1244
1242
|
executionStatus: TaskRunExecutionStatus;
|
|
1243
|
+
description: string;
|
|
1244
|
+
createdAt: Date;
|
|
1245
1245
|
}>;
|
|
1246
1246
|
run: z.ZodObject<{
|
|
1247
1247
|
id: z.ZodString;
|
|
@@ -1250,15 +1250,15 @@ export declare const RunExecutionData: z.ZodObject<{
|
|
|
1250
1250
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1251
1251
|
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
1252
1252
|
}, "strip", z.ZodTypeAny, {
|
|
1253
|
-
status: TaskRunStatus;
|
|
1254
1253
|
id: string;
|
|
1255
1254
|
friendlyId: string;
|
|
1255
|
+
status: TaskRunStatus;
|
|
1256
1256
|
attemptNumber?: number | null | undefined;
|
|
1257
1257
|
taskEventStore?: string | undefined;
|
|
1258
1258
|
}, {
|
|
1259
|
-
status: TaskRunStatus;
|
|
1260
1259
|
id: string;
|
|
1261
1260
|
friendlyId: string;
|
|
1261
|
+
status: TaskRunStatus;
|
|
1262
1262
|
attemptNumber?: number | null | undefined;
|
|
1263
1263
|
taskEventStore?: string | undefined;
|
|
1264
1264
|
}>;
|
|
@@ -1282,18 +1282,18 @@ export declare const RunExecutionData: z.ZodObject<{
|
|
|
1282
1282
|
friendlyId: z.ZodString;
|
|
1283
1283
|
}, "strip", z.ZodTypeAny, {
|
|
1284
1284
|
type: CheckpointTypeEnum;
|
|
1285
|
-
id: string;
|
|
1286
|
-
friendlyId: string;
|
|
1287
1285
|
location: string;
|
|
1288
1286
|
imageRef?: string | null | undefined;
|
|
1289
1287
|
reason?: string | null | undefined;
|
|
1290
|
-
}, {
|
|
1291
|
-
type: CheckpointTypeEnum;
|
|
1292
1288
|
id: string;
|
|
1293
1289
|
friendlyId: string;
|
|
1290
|
+
}, {
|
|
1291
|
+
type: CheckpointTypeEnum;
|
|
1294
1292
|
location: string;
|
|
1295
1293
|
imageRef?: string | null | undefined;
|
|
1296
1294
|
reason?: string | null | undefined;
|
|
1295
|
+
id: string;
|
|
1296
|
+
friendlyId: string;
|
|
1297
1297
|
}>>;
|
|
1298
1298
|
completedWaitpoints: z.ZodArray<z.ZodObject<{
|
|
1299
1299
|
id: z.ZodString;
|
|
@@ -1349,15 +1349,12 @@ export declare const RunExecutionData: z.ZodObject<{
|
|
|
1349
1349
|
outputType: z.ZodOptional<z.ZodString>;
|
|
1350
1350
|
outputIsError: z.ZodBoolean;
|
|
1351
1351
|
}, "strip", z.ZodTypeAny, {
|
|
1352
|
-
type: WaitpointType;
|
|
1353
1352
|
id: string;
|
|
1353
|
+
index?: number | undefined;
|
|
1354
1354
|
friendlyId: string;
|
|
1355
|
+
type: WaitpointType;
|
|
1355
1356
|
completedAt: Date;
|
|
1356
|
-
outputIsError: boolean;
|
|
1357
|
-
output?: string | undefined;
|
|
1358
1357
|
idempotencyKey?: string | undefined;
|
|
1359
|
-
outputType?: string | undefined;
|
|
1360
|
-
index?: number | undefined;
|
|
1361
1358
|
completedByTaskRun?: {
|
|
1362
1359
|
id: string;
|
|
1363
1360
|
friendlyId: string;
|
|
@@ -1371,16 +1368,16 @@ export declare const RunExecutionData: z.ZodObject<{
|
|
|
1371
1368
|
id: string;
|
|
1372
1369
|
friendlyId: string;
|
|
1373
1370
|
} | undefined;
|
|
1371
|
+
output?: string | undefined;
|
|
1372
|
+
outputType?: string | undefined;
|
|
1373
|
+
outputIsError: boolean;
|
|
1374
1374
|
}, {
|
|
1375
|
-
type: WaitpointType;
|
|
1376
1375
|
id: string;
|
|
1376
|
+
index?: number | undefined;
|
|
1377
1377
|
friendlyId: string;
|
|
1378
|
+
type: WaitpointType;
|
|
1378
1379
|
completedAt: Date;
|
|
1379
|
-
outputIsError: boolean;
|
|
1380
|
-
output?: string | undefined;
|
|
1381
1380
|
idempotencyKey?: string | undefined;
|
|
1382
|
-
outputType?: string | undefined;
|
|
1383
|
-
index?: number | undefined;
|
|
1384
1381
|
completedByTaskRun?: {
|
|
1385
1382
|
id: string;
|
|
1386
1383
|
friendlyId: string;
|
|
@@ -1394,33 +1391,45 @@ export declare const RunExecutionData: z.ZodObject<{
|
|
|
1394
1391
|
id: string;
|
|
1395
1392
|
friendlyId: string;
|
|
1396
1393
|
} | undefined;
|
|
1394
|
+
output?: string | undefined;
|
|
1395
|
+
outputType?: string | undefined;
|
|
1396
|
+
outputIsError: boolean;
|
|
1397
1397
|
}>, "many">;
|
|
1398
1398
|
}, "strip", z.ZodTypeAny, {
|
|
1399
|
+
version: "1";
|
|
1400
|
+
snapshot: {
|
|
1401
|
+
id: string;
|
|
1402
|
+
friendlyId: string;
|
|
1403
|
+
executionStatus: TaskRunExecutionStatus;
|
|
1404
|
+
description: string;
|
|
1405
|
+
createdAt: Date;
|
|
1406
|
+
};
|
|
1399
1407
|
run: {
|
|
1400
|
-
status: TaskRunStatus;
|
|
1401
1408
|
id: string;
|
|
1402
1409
|
friendlyId: string;
|
|
1410
|
+
status: TaskRunStatus;
|
|
1403
1411
|
attemptNumber?: number | null | undefined;
|
|
1404
1412
|
taskEventStore?: string | undefined;
|
|
1405
1413
|
};
|
|
1406
|
-
|
|
1407
|
-
snapshot: {
|
|
1414
|
+
batch?: {
|
|
1408
1415
|
id: string;
|
|
1409
|
-
createdAt: Date;
|
|
1410
|
-
description: string;
|
|
1411
1416
|
friendlyId: string;
|
|
1412
|
-
|
|
1413
|
-
|
|
1417
|
+
} | undefined;
|
|
1418
|
+
checkpoint?: {
|
|
1419
|
+
type: CheckpointTypeEnum;
|
|
1420
|
+
location: string;
|
|
1421
|
+
imageRef?: string | null | undefined;
|
|
1422
|
+
reason?: string | null | undefined;
|
|
1423
|
+
id: string;
|
|
1424
|
+
friendlyId: string;
|
|
1425
|
+
} | undefined;
|
|
1414
1426
|
completedWaitpoints: {
|
|
1415
|
-
type: WaitpointType;
|
|
1416
1427
|
id: string;
|
|
1428
|
+
index?: number | undefined;
|
|
1417
1429
|
friendlyId: string;
|
|
1430
|
+
type: WaitpointType;
|
|
1418
1431
|
completedAt: Date;
|
|
1419
|
-
outputIsError: boolean;
|
|
1420
|
-
output?: string | undefined;
|
|
1421
1432
|
idempotencyKey?: string | undefined;
|
|
1422
|
-
outputType?: string | undefined;
|
|
1423
|
-
index?: number | undefined;
|
|
1424
1433
|
completedByTaskRun?: {
|
|
1425
1434
|
id: string;
|
|
1426
1435
|
friendlyId: string;
|
|
@@ -1434,45 +1443,45 @@ export declare const RunExecutionData: z.ZodObject<{
|
|
|
1434
1443
|
id: string;
|
|
1435
1444
|
friendlyId: string;
|
|
1436
1445
|
} | undefined;
|
|
1446
|
+
output?: string | undefined;
|
|
1447
|
+
outputType?: string | undefined;
|
|
1448
|
+
outputIsError: boolean;
|
|
1437
1449
|
}[];
|
|
1450
|
+
}, {
|
|
1451
|
+
version: "1";
|
|
1452
|
+
snapshot: {
|
|
1453
|
+
id: string;
|
|
1454
|
+
friendlyId: string;
|
|
1455
|
+
executionStatus: TaskRunExecutionStatus;
|
|
1456
|
+
description: string;
|
|
1457
|
+
createdAt: Date;
|
|
1458
|
+
};
|
|
1459
|
+
run: {
|
|
1460
|
+
id: string;
|
|
1461
|
+
friendlyId: string;
|
|
1462
|
+
status: TaskRunStatus;
|
|
1463
|
+
attemptNumber?: number | null | undefined;
|
|
1464
|
+
taskEventStore?: string | undefined;
|
|
1465
|
+
};
|
|
1438
1466
|
batch?: {
|
|
1439
1467
|
id: string;
|
|
1440
1468
|
friendlyId: string;
|
|
1441
1469
|
} | undefined;
|
|
1442
1470
|
checkpoint?: {
|
|
1443
1471
|
type: CheckpointTypeEnum;
|
|
1444
|
-
id: string;
|
|
1445
|
-
friendlyId: string;
|
|
1446
1472
|
location: string;
|
|
1447
1473
|
imageRef?: string | null | undefined;
|
|
1448
1474
|
reason?: string | null | undefined;
|
|
1449
|
-
} | undefined;
|
|
1450
|
-
}, {
|
|
1451
|
-
run: {
|
|
1452
|
-
status: TaskRunStatus;
|
|
1453
|
-
id: string;
|
|
1454
|
-
friendlyId: string;
|
|
1455
|
-
attemptNumber?: number | null | undefined;
|
|
1456
|
-
taskEventStore?: string | undefined;
|
|
1457
|
-
};
|
|
1458
|
-
version: "1";
|
|
1459
|
-
snapshot: {
|
|
1460
1475
|
id: string;
|
|
1461
|
-
createdAt: Date;
|
|
1462
|
-
description: string;
|
|
1463
1476
|
friendlyId: string;
|
|
1464
|
-
|
|
1465
|
-
};
|
|
1477
|
+
} | undefined;
|
|
1466
1478
|
completedWaitpoints: {
|
|
1467
|
-
type: WaitpointType;
|
|
1468
1479
|
id: string;
|
|
1480
|
+
index?: number | undefined;
|
|
1469
1481
|
friendlyId: string;
|
|
1482
|
+
type: WaitpointType;
|
|
1470
1483
|
completedAt: Date;
|
|
1471
|
-
outputIsError: boolean;
|
|
1472
|
-
output?: string | undefined;
|
|
1473
1484
|
idempotencyKey?: string | undefined;
|
|
1474
|
-
outputType?: string | undefined;
|
|
1475
|
-
index?: number | undefined;
|
|
1476
1485
|
completedByTaskRun?: {
|
|
1477
1486
|
id: string;
|
|
1478
1487
|
friendlyId: string;
|
|
@@ -1486,19 +1495,10 @@ export declare const RunExecutionData: z.ZodObject<{
|
|
|
1486
1495
|
id: string;
|
|
1487
1496
|
friendlyId: string;
|
|
1488
1497
|
} | undefined;
|
|
1498
|
+
output?: string | undefined;
|
|
1499
|
+
outputType?: string | undefined;
|
|
1500
|
+
outputIsError: boolean;
|
|
1489
1501
|
}[];
|
|
1490
|
-
batch?: {
|
|
1491
|
-
id: string;
|
|
1492
|
-
friendlyId: string;
|
|
1493
|
-
} | undefined;
|
|
1494
|
-
checkpoint?: {
|
|
1495
|
-
type: CheckpointTypeEnum;
|
|
1496
|
-
id: string;
|
|
1497
|
-
friendlyId: string;
|
|
1498
|
-
location: string;
|
|
1499
|
-
imageRef?: string | null | undefined;
|
|
1500
|
-
reason?: string | null | undefined;
|
|
1501
|
-
} | undefined;
|
|
1502
1502
|
}>;
|
|
1503
1503
|
export type RunExecutionData = z.infer<typeof RunExecutionData>;
|
|
1504
1504
|
export declare const CreateCheckpointResult: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
@@ -1513,18 +1513,18 @@ export declare const CreateCheckpointResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
|
|
|
1513
1513
|
friendlyId: z.ZodString;
|
|
1514
1514
|
}, "strip", z.ZodTypeAny, {
|
|
1515
1515
|
type: CheckpointTypeEnum;
|
|
1516
|
-
id: string;
|
|
1517
|
-
friendlyId: string;
|
|
1518
1516
|
location: string;
|
|
1519
1517
|
imageRef?: string | null | undefined;
|
|
1520
1518
|
reason?: string | null | undefined;
|
|
1521
|
-
}, {
|
|
1522
|
-
type: CheckpointTypeEnum;
|
|
1523
1519
|
id: string;
|
|
1524
1520
|
friendlyId: string;
|
|
1521
|
+
}, {
|
|
1522
|
+
type: CheckpointTypeEnum;
|
|
1525
1523
|
location: string;
|
|
1526
1524
|
imageRef?: string | null | undefined;
|
|
1527
1525
|
reason?: string | null | undefined;
|
|
1526
|
+
id: string;
|
|
1527
|
+
friendlyId: string;
|
|
1528
1528
|
}>;
|
|
1529
1529
|
} & {
|
|
1530
1530
|
snapshot: z.ZodObject<{
|
|
@@ -1535,16 +1535,16 @@ export declare const CreateCheckpointResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
|
|
|
1535
1535
|
createdAt: z.ZodDate;
|
|
1536
1536
|
}, "strip", z.ZodTypeAny, {
|
|
1537
1537
|
id: string;
|
|
1538
|
-
createdAt: Date;
|
|
1539
|
-
description: string;
|
|
1540
1538
|
friendlyId: string;
|
|
1541
1539
|
executionStatus: TaskRunExecutionStatus;
|
|
1540
|
+
description: string;
|
|
1541
|
+
createdAt: Date;
|
|
1542
1542
|
}, {
|
|
1543
1543
|
id: string;
|
|
1544
|
-
createdAt: Date;
|
|
1545
|
-
description: string;
|
|
1546
1544
|
friendlyId: string;
|
|
1547
1545
|
executionStatus: TaskRunExecutionStatus;
|
|
1546
|
+
description: string;
|
|
1547
|
+
createdAt: Date;
|
|
1548
1548
|
}>;
|
|
1549
1549
|
run: z.ZodObject<{
|
|
1550
1550
|
id: z.ZodString;
|
|
@@ -1553,75 +1553,75 @@ export declare const CreateCheckpointResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
|
|
|
1553
1553
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1554
1554
|
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
1555
1555
|
}, "strip", z.ZodTypeAny, {
|
|
1556
|
-
status: TaskRunStatus;
|
|
1557
1556
|
id: string;
|
|
1558
1557
|
friendlyId: string;
|
|
1558
|
+
status: TaskRunStatus;
|
|
1559
1559
|
attemptNumber?: number | null | undefined;
|
|
1560
1560
|
taskEventStore?: string | undefined;
|
|
1561
1561
|
}, {
|
|
1562
|
-
status: TaskRunStatus;
|
|
1563
1562
|
id: string;
|
|
1564
1563
|
friendlyId: string;
|
|
1564
|
+
status: TaskRunStatus;
|
|
1565
1565
|
attemptNumber?: number | null | undefined;
|
|
1566
1566
|
taskEventStore?: string | undefined;
|
|
1567
1567
|
}>;
|
|
1568
1568
|
}, "strip", z.ZodTypeAny, {
|
|
1569
|
-
|
|
1570
|
-
run: {
|
|
1571
|
-
status: TaskRunStatus;
|
|
1569
|
+
snapshot: {
|
|
1572
1570
|
id: string;
|
|
1573
1571
|
friendlyId: string;
|
|
1574
|
-
|
|
1575
|
-
|
|
1572
|
+
executionStatus: TaskRunExecutionStatus;
|
|
1573
|
+
description: string;
|
|
1574
|
+
createdAt: Date;
|
|
1576
1575
|
};
|
|
1577
|
-
|
|
1576
|
+
run: {
|
|
1578
1577
|
id: string;
|
|
1579
|
-
createdAt: Date;
|
|
1580
|
-
description: string;
|
|
1581
1578
|
friendlyId: string;
|
|
1582
|
-
|
|
1579
|
+
status: TaskRunStatus;
|
|
1580
|
+
attemptNumber?: number | null | undefined;
|
|
1581
|
+
taskEventStore?: string | undefined;
|
|
1583
1582
|
};
|
|
1583
|
+
ok: true;
|
|
1584
1584
|
checkpoint: {
|
|
1585
1585
|
type: CheckpointTypeEnum;
|
|
1586
|
-
id: string;
|
|
1587
|
-
friendlyId: string;
|
|
1588
1586
|
location: string;
|
|
1589
1587
|
imageRef?: string | null | undefined;
|
|
1590
1588
|
reason?: string | null | undefined;
|
|
1591
|
-
};
|
|
1592
|
-
}, {
|
|
1593
|
-
ok: true;
|
|
1594
|
-
run: {
|
|
1595
|
-
status: TaskRunStatus;
|
|
1596
1589
|
id: string;
|
|
1597
1590
|
friendlyId: string;
|
|
1598
|
-
attemptNumber?: number | null | undefined;
|
|
1599
|
-
taskEventStore?: string | undefined;
|
|
1600
1591
|
};
|
|
1592
|
+
}, {
|
|
1601
1593
|
snapshot: {
|
|
1602
1594
|
id: string;
|
|
1603
|
-
createdAt: Date;
|
|
1604
|
-
description: string;
|
|
1605
1595
|
friendlyId: string;
|
|
1606
1596
|
executionStatus: TaskRunExecutionStatus;
|
|
1597
|
+
description: string;
|
|
1598
|
+
createdAt: Date;
|
|
1607
1599
|
};
|
|
1608
|
-
|
|
1609
|
-
type: CheckpointTypeEnum;
|
|
1600
|
+
run: {
|
|
1610
1601
|
id: string;
|
|
1611
1602
|
friendlyId: string;
|
|
1603
|
+
status: TaskRunStatus;
|
|
1604
|
+
attemptNumber?: number | null | undefined;
|
|
1605
|
+
taskEventStore?: string | undefined;
|
|
1606
|
+
};
|
|
1607
|
+
ok: true;
|
|
1608
|
+
checkpoint: {
|
|
1609
|
+
type: CheckpointTypeEnum;
|
|
1612
1610
|
location: string;
|
|
1613
1611
|
imageRef?: string | null | undefined;
|
|
1614
1612
|
reason?: string | null | undefined;
|
|
1613
|
+
id: string;
|
|
1614
|
+
friendlyId: string;
|
|
1615
1615
|
};
|
|
1616
1616
|
}>, z.ZodObject<{
|
|
1617
1617
|
ok: z.ZodLiteral<false>;
|
|
1618
1618
|
error: z.ZodString;
|
|
1619
1619
|
}, "strip", z.ZodTypeAny, {
|
|
1620
|
-
error: string;
|
|
1621
1620
|
ok: false;
|
|
1622
|
-
}, {
|
|
1623
1621
|
error: string;
|
|
1622
|
+
}, {
|
|
1624
1623
|
ok: false;
|
|
1624
|
+
error: string;
|
|
1625
1625
|
}>]>;
|
|
1626
1626
|
export type CreateCheckpointResult = z.infer<typeof CreateCheckpointResult>;
|
|
1627
1627
|
export declare const MachineResources: z.ZodObject<{
|
|
@@ -1642,14 +1642,14 @@ export declare const DequeueMessageCheckpoint: z.ZodObject<{
|
|
|
1642
1642
|
imageRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1643
1643
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1644
1644
|
}, "strip", z.ZodTypeAny, {
|
|
1645
|
-
type: CheckpointTypeEnum;
|
|
1646
1645
|
id: string;
|
|
1646
|
+
type: CheckpointTypeEnum;
|
|
1647
1647
|
location: string;
|
|
1648
1648
|
imageRef?: string | null | undefined;
|
|
1649
1649
|
reason?: string | null | undefined;
|
|
1650
1650
|
}, {
|
|
1651
|
-
type: CheckpointTypeEnum;
|
|
1652
1651
|
id: string;
|
|
1652
|
+
type: CheckpointTypeEnum;
|
|
1653
1653
|
location: string;
|
|
1654
1654
|
imageRef?: string | null | undefined;
|
|
1655
1655
|
reason?: string | null | undefined;
|
|
@@ -1677,16 +1677,16 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
1677
1677
|
createdAt: z.ZodDate;
|
|
1678
1678
|
}, "strip", z.ZodTypeAny, {
|
|
1679
1679
|
id: string;
|
|
1680
|
-
createdAt: Date;
|
|
1681
|
-
description: string;
|
|
1682
1680
|
friendlyId: string;
|
|
1683
1681
|
executionStatus: TaskRunExecutionStatus;
|
|
1682
|
+
description: string;
|
|
1683
|
+
createdAt: Date;
|
|
1684
1684
|
}, {
|
|
1685
1685
|
id: string;
|
|
1686
|
-
createdAt: Date;
|
|
1687
|
-
description: string;
|
|
1688
1686
|
friendlyId: string;
|
|
1689
1687
|
executionStatus: TaskRunExecutionStatus;
|
|
1688
|
+
description: string;
|
|
1689
|
+
createdAt: Date;
|
|
1690
1690
|
}>;
|
|
1691
1691
|
dequeuedAt: z.ZodDate;
|
|
1692
1692
|
workerQueueLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1698,14 +1698,14 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
1698
1698
|
imageRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1699
1699
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1700
1700
|
}, "strip", z.ZodTypeAny, {
|
|
1701
|
-
type: CheckpointTypeEnum;
|
|
1702
1701
|
id: string;
|
|
1702
|
+
type: CheckpointTypeEnum;
|
|
1703
1703
|
location: string;
|
|
1704
1704
|
imageRef?: string | null | undefined;
|
|
1705
1705
|
reason?: string | null | undefined;
|
|
1706
1706
|
}, {
|
|
1707
|
-
type: CheckpointTypeEnum;
|
|
1708
1707
|
id: string;
|
|
1708
|
+
type: CheckpointTypeEnum;
|
|
1709
1709
|
location: string;
|
|
1710
1710
|
imageRef?: string | null | undefined;
|
|
1711
1711
|
reason?: string | null | undefined;
|
|
@@ -1764,15 +1764,12 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
1764
1764
|
outputType: z.ZodOptional<z.ZodString>;
|
|
1765
1765
|
outputIsError: z.ZodBoolean;
|
|
1766
1766
|
}, "strip", z.ZodTypeAny, {
|
|
1767
|
-
type: WaitpointType;
|
|
1768
1767
|
id: string;
|
|
1768
|
+
index?: number | undefined;
|
|
1769
1769
|
friendlyId: string;
|
|
1770
|
+
type: WaitpointType;
|
|
1770
1771
|
completedAt: Date;
|
|
1771
|
-
outputIsError: boolean;
|
|
1772
|
-
output?: string | undefined;
|
|
1773
1772
|
idempotencyKey?: string | undefined;
|
|
1774
|
-
outputType?: string | undefined;
|
|
1775
|
-
index?: number | undefined;
|
|
1776
1773
|
completedByTaskRun?: {
|
|
1777
1774
|
id: string;
|
|
1778
1775
|
friendlyId: string;
|
|
@@ -1786,16 +1783,16 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
1786
1783
|
id: string;
|
|
1787
1784
|
friendlyId: string;
|
|
1788
1785
|
} | undefined;
|
|
1786
|
+
output?: string | undefined;
|
|
1787
|
+
outputType?: string | undefined;
|
|
1788
|
+
outputIsError: boolean;
|
|
1789
1789
|
}, {
|
|
1790
|
-
type: WaitpointType;
|
|
1791
1790
|
id: string;
|
|
1791
|
+
index?: number | undefined;
|
|
1792
1792
|
friendlyId: string;
|
|
1793
|
+
type: WaitpointType;
|
|
1793
1794
|
completedAt: Date;
|
|
1794
|
-
outputIsError: boolean;
|
|
1795
|
-
output?: string | undefined;
|
|
1796
1795
|
idempotencyKey?: string | undefined;
|
|
1797
|
-
outputType?: string | undefined;
|
|
1798
|
-
index?: number | undefined;
|
|
1799
1796
|
completedByTaskRun?: {
|
|
1800
1797
|
id: string;
|
|
1801
1798
|
friendlyId: string;
|
|
@@ -1809,6 +1806,9 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
1809
1806
|
id: string;
|
|
1810
1807
|
friendlyId: string;
|
|
1811
1808
|
} | undefined;
|
|
1809
|
+
output?: string | undefined;
|
|
1810
|
+
outputType?: string | undefined;
|
|
1811
|
+
outputIsError: boolean;
|
|
1812
1812
|
}>, "many">;
|
|
1813
1813
|
backgroundWorker: z.ZodObject<{
|
|
1814
1814
|
id: z.ZodString;
|
|
@@ -1817,13 +1817,13 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
1817
1817
|
runtime: z.ZodOptional<z.ZodString>;
|
|
1818
1818
|
}, "strip", z.ZodTypeAny, {
|
|
1819
1819
|
id: string;
|
|
1820
|
-
version: string;
|
|
1821
1820
|
friendlyId: string;
|
|
1821
|
+
version: string;
|
|
1822
1822
|
runtime?: string | undefined;
|
|
1823
1823
|
}, {
|
|
1824
1824
|
id: string;
|
|
1825
|
-
version: string;
|
|
1826
1825
|
friendlyId: string;
|
|
1826
|
+
version: string;
|
|
1827
1827
|
runtime?: string | undefined;
|
|
1828
1828
|
}>;
|
|
1829
1829
|
deployment: z.ZodObject<{
|
|
@@ -1850,14 +1850,14 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
1850
1850
|
memory: z.ZodNumber;
|
|
1851
1851
|
centsPerMs: z.ZodNumber;
|
|
1852
1852
|
}, "strip", z.ZodTypeAny, {
|
|
1853
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
1853
1854
|
cpu: number;
|
|
1854
1855
|
memory: number;
|
|
1855
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1856
1856
|
centsPerMs: number;
|
|
1857
1857
|
}, {
|
|
1858
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
1858
1859
|
cpu: number;
|
|
1859
1860
|
memory: number;
|
|
1860
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1861
1861
|
centsPerMs: number;
|
|
1862
1862
|
}>;
|
|
1863
1863
|
attemptNumber: z.ZodNumber;
|
|
@@ -1870,70 +1870,70 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
1870
1870
|
rootScheduleId: z.ZodOptional<z.ZodString>;
|
|
1871
1871
|
taskKind: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["STANDARD", "SCHEDULED", "AGENT"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>>;
|
|
1872
1872
|
}, "strip", z.ZodTypeAny, {
|
|
1873
|
-
triggerSource: "
|
|
1874
|
-
triggerAction: "trigger" | (string & {})
|
|
1875
|
-
rootTriggerSource: "
|
|
1876
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
1873
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
1874
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
1875
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
1877
1876
|
rootScheduleId?: string | undefined;
|
|
1877
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
1878
1878
|
}, {
|
|
1879
|
-
triggerSource: "
|
|
1880
|
-
triggerAction: "trigger" | (string & {})
|
|
1881
|
-
rootTriggerSource: "
|
|
1882
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
1879
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
1880
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
1881
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
1883
1882
|
rootScheduleId?: string | undefined;
|
|
1883
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
1884
1884
|
}>>;
|
|
1885
1885
|
}, "strip", z.ZodTypeAny, {
|
|
1886
1886
|
id: string;
|
|
1887
|
+
friendlyId: string;
|
|
1887
1888
|
isTest: boolean;
|
|
1888
1889
|
isReplay: boolean;
|
|
1889
1890
|
machine: {
|
|
1891
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
1890
1892
|
cpu: number;
|
|
1891
1893
|
memory: number;
|
|
1892
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1893
1894
|
centsPerMs: number;
|
|
1894
1895
|
};
|
|
1895
|
-
traceContext: Record<string, unknown>;
|
|
1896
|
-
friendlyId: string;
|
|
1897
1896
|
attemptNumber: number;
|
|
1898
1897
|
masterQueue: string;
|
|
1898
|
+
traceContext: Record<string, unknown>;
|
|
1899
1899
|
annotations?: {
|
|
1900
|
-
triggerSource: "
|
|
1901
|
-
triggerAction: "trigger" | (string & {})
|
|
1902
|
-
rootTriggerSource: "
|
|
1903
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
1900
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
1901
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
1902
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
1904
1903
|
rootScheduleId?: string | undefined;
|
|
1904
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
1905
1905
|
} | undefined;
|
|
1906
1906
|
}, {
|
|
1907
1907
|
id: string;
|
|
1908
|
+
friendlyId: string;
|
|
1908
1909
|
isTest: boolean;
|
|
1910
|
+
isReplay?: boolean | undefined;
|
|
1909
1911
|
machine: {
|
|
1912
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
1910
1913
|
cpu: number;
|
|
1911
1914
|
memory: number;
|
|
1912
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1913
1915
|
centsPerMs: number;
|
|
1914
1916
|
};
|
|
1915
|
-
traceContext: Record<string, unknown>;
|
|
1916
|
-
friendlyId: string;
|
|
1917
1917
|
attemptNumber: number;
|
|
1918
1918
|
masterQueue: string;
|
|
1919
|
-
|
|
1919
|
+
traceContext: Record<string, unknown>;
|
|
1920
1920
|
annotations?: {
|
|
1921
|
-
triggerSource: "
|
|
1922
|
-
triggerAction: "trigger" | (string & {})
|
|
1923
|
-
rootTriggerSource: "
|
|
1924
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
1921
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
1922
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
1923
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
1925
1924
|
rootScheduleId?: string | undefined;
|
|
1925
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
1926
1926
|
} | undefined;
|
|
1927
1927
|
}>;
|
|
1928
1928
|
environment: z.ZodObject<{
|
|
1929
1929
|
id: z.ZodString;
|
|
1930
1930
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
1931
1931
|
}, "strip", z.ZodTypeAny, {
|
|
1932
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1933
1932
|
id: string;
|
|
1933
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
1934
1934
|
}, {
|
|
1935
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1936
1935
|
id: string;
|
|
1936
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
1937
1937
|
}>;
|
|
1938
1938
|
organization: z.ZodObject<{
|
|
1939
1939
|
id: z.ZodString;
|
|
@@ -1963,62 +1963,31 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
1963
1963
|
values?: string[] | undefined;
|
|
1964
1964
|
}>, "many">>;
|
|
1965
1965
|
}, "strip", z.ZodTypeAny, {
|
|
1966
|
-
run: {
|
|
1967
|
-
id: string;
|
|
1968
|
-
isTest: boolean;
|
|
1969
|
-
isReplay: boolean;
|
|
1970
|
-
machine: {
|
|
1971
|
-
cpu: number;
|
|
1972
|
-
memory: number;
|
|
1973
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1974
|
-
centsPerMs: number;
|
|
1975
|
-
};
|
|
1976
|
-
traceContext: Record<string, unknown>;
|
|
1977
|
-
friendlyId: string;
|
|
1978
|
-
attemptNumber: number;
|
|
1979
|
-
masterQueue: string;
|
|
1980
|
-
annotations?: {
|
|
1981
|
-
triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
1982
|
-
triggerAction: "trigger" | (string & {}) | "replay" | "test";
|
|
1983
|
-
rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
1984
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
1985
|
-
rootScheduleId?: string | undefined;
|
|
1986
|
-
} | undefined;
|
|
1987
|
-
};
|
|
1988
1966
|
version: "1";
|
|
1989
|
-
environment: {
|
|
1990
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1991
|
-
id: string;
|
|
1992
|
-
};
|
|
1993
|
-
organization: {
|
|
1994
|
-
id: string;
|
|
1995
|
-
hasPrivateLink?: boolean | undefined;
|
|
1996
|
-
};
|
|
1997
|
-
project: {
|
|
1998
|
-
id: string;
|
|
1999
|
-
};
|
|
2000
|
-
deployment: {
|
|
2001
|
-
id?: string | undefined;
|
|
2002
|
-
friendlyId?: string | undefined;
|
|
2003
|
-
imagePlatform?: string | undefined;
|
|
2004
|
-
};
|
|
2005
1967
|
snapshot: {
|
|
2006
1968
|
id: string;
|
|
2007
|
-
createdAt: Date;
|
|
2008
|
-
description: string;
|
|
2009
1969
|
friendlyId: string;
|
|
2010
1970
|
executionStatus: TaskRunExecutionStatus;
|
|
1971
|
+
description: string;
|
|
1972
|
+
createdAt: Date;
|
|
2011
1973
|
};
|
|
1974
|
+
dequeuedAt: Date;
|
|
1975
|
+
workerQueueLength?: number | undefined;
|
|
1976
|
+
image?: string | undefined;
|
|
1977
|
+
checkpoint?: {
|
|
1978
|
+
id: string;
|
|
1979
|
+
type: CheckpointTypeEnum;
|
|
1980
|
+
location: string;
|
|
1981
|
+
imageRef?: string | null | undefined;
|
|
1982
|
+
reason?: string | null | undefined;
|
|
1983
|
+
} | undefined;
|
|
2012
1984
|
completedWaitpoints: {
|
|
2013
|
-
type: WaitpointType;
|
|
2014
1985
|
id: string;
|
|
1986
|
+
index?: number | undefined;
|
|
2015
1987
|
friendlyId: string;
|
|
1988
|
+
type: WaitpointType;
|
|
2016
1989
|
completedAt: Date;
|
|
2017
|
-
outputIsError: boolean;
|
|
2018
|
-
output?: string | undefined;
|
|
2019
1990
|
idempotencyKey?: string | undefined;
|
|
2020
|
-
outputType?: string | undefined;
|
|
2021
|
-
index?: number | undefined;
|
|
2022
1991
|
completedByTaskRun?: {
|
|
2023
1992
|
id: string;
|
|
2024
1993
|
friendlyId: string;
|
|
@@ -2032,54 +2001,46 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
2032
2001
|
id: string;
|
|
2033
2002
|
friendlyId: string;
|
|
2034
2003
|
} | undefined;
|
|
2004
|
+
output?: string | undefined;
|
|
2005
|
+
outputType?: string | undefined;
|
|
2006
|
+
outputIsError: boolean;
|
|
2035
2007
|
}[];
|
|
2036
|
-
dequeuedAt: Date;
|
|
2037
2008
|
backgroundWorker: {
|
|
2038
2009
|
id: string;
|
|
2039
|
-
version: string;
|
|
2040
2010
|
friendlyId: string;
|
|
2011
|
+
version: string;
|
|
2041
2012
|
runtime?: string | undefined;
|
|
2042
2013
|
};
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
reason?: string | null | undefined;
|
|
2049
|
-
} | undefined;
|
|
2050
|
-
workerQueueLength?: number | undefined;
|
|
2051
|
-
image?: string | undefined;
|
|
2052
|
-
placementTags?: {
|
|
2053
|
-
key: string;
|
|
2054
|
-
values?: string[] | undefined;
|
|
2055
|
-
}[] | undefined;
|
|
2056
|
-
}, {
|
|
2014
|
+
deployment: {
|
|
2015
|
+
id?: string | undefined;
|
|
2016
|
+
friendlyId?: string | undefined;
|
|
2017
|
+
imagePlatform?: string | undefined;
|
|
2018
|
+
};
|
|
2057
2019
|
run: {
|
|
2058
2020
|
id: string;
|
|
2021
|
+
friendlyId: string;
|
|
2059
2022
|
isTest: boolean;
|
|
2023
|
+
isReplay: boolean;
|
|
2060
2024
|
machine: {
|
|
2025
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
2061
2026
|
cpu: number;
|
|
2062
2027
|
memory: number;
|
|
2063
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2064
2028
|
centsPerMs: number;
|
|
2065
2029
|
};
|
|
2066
|
-
traceContext: Record<string, unknown>;
|
|
2067
|
-
friendlyId: string;
|
|
2068
2030
|
attemptNumber: number;
|
|
2069
2031
|
masterQueue: string;
|
|
2070
|
-
|
|
2032
|
+
traceContext: Record<string, unknown>;
|
|
2071
2033
|
annotations?: {
|
|
2072
|
-
triggerSource: "
|
|
2073
|
-
triggerAction: "trigger" | (string & {})
|
|
2074
|
-
rootTriggerSource: "
|
|
2075
|
-
taskKind?: (string & {}) | "STANDARD" | "SCHEDULED" | "AGENT" | undefined;
|
|
2034
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
2035
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
2036
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
2076
2037
|
rootScheduleId?: string | undefined;
|
|
2038
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
2077
2039
|
} | undefined;
|
|
2078
2040
|
};
|
|
2079
|
-
version: "1";
|
|
2080
2041
|
environment: {
|
|
2081
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2082
2042
|
id: string;
|
|
2043
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
2083
2044
|
};
|
|
2084
2045
|
organization: {
|
|
2085
2046
|
id: string;
|
|
@@ -2088,28 +2049,36 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
2088
2049
|
project: {
|
|
2089
2050
|
id: string;
|
|
2090
2051
|
};
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2052
|
+
placementTags?: {
|
|
2053
|
+
key: string;
|
|
2054
|
+
values?: string[] | undefined;
|
|
2055
|
+
}[] | undefined;
|
|
2056
|
+
}, {
|
|
2057
|
+
version: "1";
|
|
2096
2058
|
snapshot: {
|
|
2097
2059
|
id: string;
|
|
2098
|
-
createdAt: Date;
|
|
2099
|
-
description: string;
|
|
2100
2060
|
friendlyId: string;
|
|
2101
2061
|
executionStatus: TaskRunExecutionStatus;
|
|
2062
|
+
description: string;
|
|
2063
|
+
createdAt: Date;
|
|
2102
2064
|
};
|
|
2065
|
+
dequeuedAt: Date;
|
|
2066
|
+
workerQueueLength?: number | undefined;
|
|
2067
|
+
image?: string | undefined;
|
|
2068
|
+
checkpoint?: {
|
|
2069
|
+
id: string;
|
|
2070
|
+
type: CheckpointTypeEnum;
|
|
2071
|
+
location: string;
|
|
2072
|
+
imageRef?: string | null | undefined;
|
|
2073
|
+
reason?: string | null | undefined;
|
|
2074
|
+
} | undefined;
|
|
2103
2075
|
completedWaitpoints: {
|
|
2104
|
-
type: WaitpointType;
|
|
2105
2076
|
id: string;
|
|
2077
|
+
index?: number | undefined;
|
|
2106
2078
|
friendlyId: string;
|
|
2079
|
+
type: WaitpointType;
|
|
2107
2080
|
completedAt: Date;
|
|
2108
|
-
outputIsError: boolean;
|
|
2109
|
-
output?: string | undefined;
|
|
2110
2081
|
idempotencyKey?: string | undefined;
|
|
2111
|
-
outputType?: string | undefined;
|
|
2112
|
-
index?: number | undefined;
|
|
2113
2082
|
completedByTaskRun?: {
|
|
2114
2083
|
id: string;
|
|
2115
2084
|
friendlyId: string;
|
|
@@ -2123,23 +2092,54 @@ export declare const DequeuedMessage: z.ZodObject<{
|
|
|
2123
2092
|
id: string;
|
|
2124
2093
|
friendlyId: string;
|
|
2125
2094
|
} | undefined;
|
|
2095
|
+
output?: string | undefined;
|
|
2096
|
+
outputType?: string | undefined;
|
|
2097
|
+
outputIsError: boolean;
|
|
2126
2098
|
}[];
|
|
2127
|
-
dequeuedAt: Date;
|
|
2128
2099
|
backgroundWorker: {
|
|
2129
2100
|
id: string;
|
|
2130
|
-
version: string;
|
|
2131
2101
|
friendlyId: string;
|
|
2102
|
+
version: string;
|
|
2132
2103
|
runtime?: string | undefined;
|
|
2133
2104
|
};
|
|
2134
|
-
|
|
2135
|
-
|
|
2105
|
+
deployment: {
|
|
2106
|
+
id?: string | undefined;
|
|
2107
|
+
friendlyId?: string | undefined;
|
|
2108
|
+
imagePlatform?: string | undefined;
|
|
2109
|
+
};
|
|
2110
|
+
run: {
|
|
2136
2111
|
id: string;
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2112
|
+
friendlyId: string;
|
|
2113
|
+
isTest: boolean;
|
|
2114
|
+
isReplay?: boolean | undefined;
|
|
2115
|
+
machine: {
|
|
2116
|
+
name: "large-1x" | "large-2x" | "medium-1x" | "medium-2x" | "micro" | "small-1x" | "small-2x";
|
|
2117
|
+
cpu: number;
|
|
2118
|
+
memory: number;
|
|
2119
|
+
centsPerMs: number;
|
|
2120
|
+
};
|
|
2121
|
+
attemptNumber: number;
|
|
2122
|
+
masterQueue: string;
|
|
2123
|
+
traceContext: Record<string, unknown>;
|
|
2124
|
+
annotations?: {
|
|
2125
|
+
triggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
2126
|
+
triggerAction: "replay" | "test" | "trigger" | (string & {});
|
|
2127
|
+
rootTriggerSource: "api" | "cli" | "dashboard" | "mcp" | "schedule" | "sdk" | (string & {});
|
|
2128
|
+
rootScheduleId?: string | undefined;
|
|
2129
|
+
taskKind?: "AGENT" | "SCHEDULED" | "STANDARD" | (string & {}) | undefined;
|
|
2130
|
+
} | undefined;
|
|
2131
|
+
};
|
|
2132
|
+
environment: {
|
|
2133
|
+
id: string;
|
|
2134
|
+
type: "DEVELOPMENT" | "PREVIEW" | "PRODUCTION" | "STAGING";
|
|
2135
|
+
};
|
|
2136
|
+
organization: {
|
|
2137
|
+
id: string;
|
|
2138
|
+
hasPrivateLink?: boolean | undefined;
|
|
2139
|
+
};
|
|
2140
|
+
project: {
|
|
2141
|
+
id: string;
|
|
2142
|
+
};
|
|
2143
2143
|
placementTags?: {
|
|
2144
2144
|
key: string;
|
|
2145
2145
|
values?: string[] | undefined;
|