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