@shipfox/api-workflows-dto 12.5.0 → 12.7.0

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.
@@ -1,2 +1,2 @@
1
1
  $ shipfox-swc
2
- Successfully compiled: 16 files with swc (548.29ms)
2
+ Successfully compiled: 16 files with swc (305.62ms)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @shipfox/api-workflows-dto
2
2
 
3
+ ## 12.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4df5e37: Workflow run list items and run detail now carry `has_started_job_execution`, reporting whether any
8
+ job execution of the attempt reached a runner. Run surfaces no longer show a client-derived `Queued`
9
+ state: the run list and run detail present the API attempt status and duration, and read the new
10
+ field to label a finished run's duration as run or elapsed time.
11
+
12
+ ## 12.6.0
13
+
14
+ ### Minor Changes
15
+
16
+ - 53b87f0: Distinguish queued and executing jobs in workflow run list status strips.
17
+
3
18
  ## 12.5.0
4
19
 
5
20
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { type AgentConfigIssueDto, type AgentRuntimeConfigQueryDto, agentConfigIssueSchema, agentRuntimeConfigQuerySchema, type CheckoutIntentDto, type CheckoutResultDto, type CheckoutTokenAuthDto, type CheckoutTokenParamsDto, type CheckoutTokenQueryDto, type CheckoutTokenResponseDto, checkoutIntentSchema, checkoutResultSchema, checkoutTokenAuthSchema, checkoutTokenParamsSchema, checkoutTokenQuerySchema, checkoutTokenResponseSchema, type EvaluationTraceDto, type EvaluationTraceEntryDto, evaluationTraceEntrySchema, evaluationTraceSchema, type JobDto, type JobExecutionDto, type JobListeningDto, type JobModeDto, type JobStatusDto, type JobStatusReasonDto, jobDtoSchema, jobListeningBatchSchema, jobListeningSchema, jobModeSchema, jobStatusReasonSchema, jobStatusSchema, type ListenerStatusDto, type ListeningTriggerDto, type LogOutcomeDto, listenerStatusSchema, listeningTriggerSchema, logOutcomeSchema, type NextStepResponseDto, nextStepResponseSchema, type ReportStepBodyDto, type ReportStepResponseDto, type RerunWorkflowRunBodyDto, type ResolutionReasonDto, reportStepBodySchema, reportStepResponseSchema, rerunWorkflowRunBodySchema, resolutionReasonSchema, STEP_ERROR_MESSAGE_MAX_LENGTH, STEP_RESPONSE_MAX_LENGTH, STEP_STATUS_REASONS, type StepAttemptDetailDto, type StepAttemptDetailResponseDto, type StepAttemptDto, type StepDto, type StepErrorCategoryDto, type StepErrorDto, type StepErrorReasonDto, type StepGateResultDto, type StepStatusReasonDto, stepAttemptDetailDtoSchema, stepAttemptDetailResponseSchema, stepAttemptDtoSchema, stepDtoSchema, stepErrorCategorySchema, stepErrorDtoSchema, stepErrorReasonSchema, stepGateResultDtoSchema, stepStatusReasonSchema, type TriggerEventsBatchDto, triggerEventsBatchSchema, type WorkflowExecutionContextDto, type WorkflowExecutionEventDto, type WorkflowRunAggregatesQueryDto, type WorkflowRunAggregatesResponseDto, type WorkflowRunAttemptDto, type WorkflowRunAttemptsResponseDto, type WorkflowRunDetailResponseDto, type WorkflowRunDto, type WorkflowRunJobDetailDto, type WorkflowRunJobExecutionDetailDto, type WorkflowRunListQueryDto, type WorkflowRunListResponseDto, type WorkflowRunRerunModeDto, type WorkflowRunResponseDto, type WorkflowRunStatusDto, type WorkflowRunStepDetailDto, workflowExecutionContextSchema, workflowExecutionEventSchema, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDetailResponseSchema, workflowRunDtoSchema, workflowRunJobDetailDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunStepDetailDtoSchema, } from '#schemas/index.js';
1
+ export { type AgentConfigIssueDto, type AgentRuntimeConfigQueryDto, agentConfigIssueSchema, agentRuntimeConfigQuerySchema, type CheckoutIntentDto, type CheckoutResultDto, type CheckoutTokenAuthDto, type CheckoutTokenParamsDto, type CheckoutTokenQueryDto, type CheckoutTokenResponseDto, checkoutIntentSchema, checkoutResultSchema, checkoutTokenAuthSchema, checkoutTokenParamsSchema, checkoutTokenQuerySchema, checkoutTokenResponseSchema, type EvaluationTraceDto, type EvaluationTraceEntryDto, evaluationTraceEntrySchema, evaluationTraceSchema, type JobDto, type JobExecutionDto, type JobListeningDto, type JobModeDto, type JobStatusDto, type JobStatusReasonDto, jobDtoSchema, jobExecutionStatusSchema, jobListeningBatchSchema, jobListeningSchema, jobModeSchema, jobStatusReasonSchema, jobStatusSchema, type ListenerStatusDto, type ListeningTriggerDto, type LogOutcomeDto, listenerStatusSchema, listeningTriggerSchema, logOutcomeSchema, type NextStepResponseDto, nextStepResponseSchema, type ReportStepBodyDto, type ReportStepResponseDto, type RerunWorkflowRunBodyDto, type ResolutionReasonDto, reportStepBodySchema, reportStepResponseSchema, rerunWorkflowRunBodySchema, resolutionReasonSchema, STEP_ERROR_MESSAGE_MAX_LENGTH, STEP_RESPONSE_MAX_LENGTH, STEP_STATUS_REASONS, type StepAttemptDetailDto, type StepAttemptDetailResponseDto, type StepAttemptDto, type StepDto, type StepErrorCategoryDto, type StepErrorDto, type StepErrorReasonDto, type StepGateResultDto, type StepStatusReasonDto, stepAttemptDetailDtoSchema, stepAttemptDetailResponseSchema, stepAttemptDtoSchema, stepDtoSchema, stepErrorCategorySchema, stepErrorDtoSchema, stepErrorReasonSchema, stepGateResultDtoSchema, stepStatusReasonSchema, type TriggerEventsBatchDto, triggerEventsBatchSchema, type WorkflowExecutionContextDto, type WorkflowExecutionEventDto, type WorkflowRunAggregatesQueryDto, type WorkflowRunAggregatesResponseDto, type WorkflowRunAttemptDto, type WorkflowRunAttemptsResponseDto, type WorkflowRunDetailResponseDto, type WorkflowRunDto, type WorkflowRunJobDetailDto, type WorkflowRunJobExecutionDetailDto, type WorkflowRunListQueryDto, type WorkflowRunListResponseDto, type WorkflowRunRerunModeDto, type WorkflowRunResponseDto, type WorkflowRunStatusDto, type WorkflowRunStepDetailDto, workflowExecutionContextSchema, workflowExecutionEventSchema, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDetailResponseSchema, workflowRunDtoSchema, workflowRunJobDetailDtoSchema, workflowRunJobDisplayStatusCountDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunStepDetailDtoSchema, } from '#schemas/index.js';
2
2
  export { type StepSourceLocationDto, stepSourceLocationSchema } from '#schemas/step.js';
3
- export { WORKFLOW_RUN_JOB_PREVIEW_LIMIT, type WorkflowRunJobStatusCountDto, type WorkflowRunJobSummaryDto, type WorkflowRunListItemDto, type WorkflowRunTriggerReferenceDto, type WorkflowSourceSnapshotDto, workflowRunTriggerReferenceSchema, workflowSourceSnapshotSchema, } from '#schemas/workflow-run.js';
3
+ export { WORKFLOW_RUN_JOB_PREVIEW_LIMIT, type WorkflowRunJobDisplayStatusCountDto, type WorkflowRunJobStatusCountDto, type WorkflowRunJobSummaryDto, type WorkflowRunListItemDto, type WorkflowRunTriggerReferenceDto, type WorkflowSourceSnapshotDto, workflowRunTriggerReferenceSchema, workflowSourceSnapshotSchema, } from '#schemas/workflow-run.js';
4
4
  export { jobTerminalStatusSchema, type ListenerFilterExpressionType, type ListenerFilterOutputTypes, listenerFilterOutputTypesSchema, terminalStatusSchema, WORKFLOWS_JOB_ACTIVATED, WORKFLOWS_JOB_EVENT_DELIVERED, WORKFLOWS_JOB_EXECUTION_TIMED_OUT, WORKFLOWS_JOB_STEPS_SETTLED, WORKFLOWS_JOB_TERMINATED, WORKFLOWS_STEP_ATTEMPT_TERMINATED, WORKFLOWS_STEP_RESTART_ENQUEUED, WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED, WORKFLOWS_WORKFLOW_RUN_CANCELLED, WORKFLOWS_WORKFLOW_RUN_TERMINATED, type WorkflowsEventMapDto, type WorkflowsJobActivatedEventDto, type WorkflowsJobEventDeliveredEventDto, type WorkflowsJobExecutionTimedOutEventDto, type WorkflowsJobStepsSettledEventDto, type WorkflowsJobTerminatedEventDto, type WorkflowsStepAttemptTerminatedEventDto, type WorkflowsStepRestartEnqueuedEventDto, type WorkflowsWorkflowRunAttemptCreatedEventDto, type WorkflowsWorkflowRunCancelledEventDto, type WorkflowsWorkflowRunTerminatedEventDto, workflowRunTerminalStatusSchema, workflowsEventSchemas, workflowsJobActivatedSchema, workflowsJobEventDeliveredSchema, workflowsJobExecutionTimedOutSchema, workflowsJobStepsSettledSchema, workflowsJobTerminatedSchema, workflowsStepAttemptTerminatedSchema, workflowsStepRestartEnqueuedSchema, workflowsWorkflowRunAttemptCreatedSchema, workflowsWorkflowRunCancelledSchema, workflowsWorkflowRunTerminatedSchema, } from './events.js';
5
5
  export { assertWorkingDirectory, InvalidWorkingDirectoryError } from './working-directory.js';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,sBAAsB,EACtB,6BAA6B,EAC7B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,EAC3B,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,0BAA0B,EAC1B,qBAAqB,EACrB,KAAK,MAAM,EAC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,+BAA+B,EAC/B,sCAAsC,EACtC,gCAAgC,EAChC,iCAAiC,EACjC,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EAClC,KAAK,kCAAkC,EACvC,KAAK,qCAAqC,EAC1C,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,sCAAsC,EAC3C,KAAK,oCAAoC,EACzC,KAAK,0CAA0C,EAC/C,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAC3C,+BAA+B,EAC/B,qBAAqB,EACrB,2BAA2B,EAC3B,gCAAgC,EAChC,mCAAmC,EACnC,8BAA8B,EAC9B,4BAA4B,EAC5B,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,mCAAmC,EACnC,oCAAoC,GACrC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAC,sBAAsB,EAAE,4BAA4B,EAAC,MAAM,wBAAwB,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { agentConfigIssueSchema, agentRuntimeConfigQuerySchema, checkoutIntentSchema, checkoutResultSchema, checkoutTokenAuthSchema, checkoutTokenParamsSchema, checkoutTokenQuerySchema, checkoutTokenResponseSchema, evaluationTraceEntrySchema, evaluationTraceSchema, jobDtoSchema, jobListeningBatchSchema, jobListeningSchema, jobModeSchema, jobStatusReasonSchema, jobStatusSchema, listenerStatusSchema, listeningTriggerSchema, logOutcomeSchema, nextStepResponseSchema, reportStepBodySchema, reportStepResponseSchema, rerunWorkflowRunBodySchema, resolutionReasonSchema, STEP_ERROR_MESSAGE_MAX_LENGTH, STEP_RESPONSE_MAX_LENGTH, STEP_STATUS_REASONS, stepAttemptDetailDtoSchema, stepAttemptDetailResponseSchema, stepAttemptDtoSchema, stepDtoSchema, stepErrorCategorySchema, stepErrorDtoSchema, stepErrorReasonSchema, stepGateResultDtoSchema, stepStatusReasonSchema, triggerEventsBatchSchema, workflowExecutionContextSchema, workflowExecutionEventSchema, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDetailResponseSchema, workflowRunDtoSchema, workflowRunJobDetailDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunStepDetailDtoSchema } from '#schemas/index.js';
1
+ export { agentConfigIssueSchema, agentRuntimeConfigQuerySchema, checkoutIntentSchema, checkoutResultSchema, checkoutTokenAuthSchema, checkoutTokenParamsSchema, checkoutTokenQuerySchema, checkoutTokenResponseSchema, evaluationTraceEntrySchema, evaluationTraceSchema, jobDtoSchema, jobExecutionStatusSchema, jobListeningBatchSchema, jobListeningSchema, jobModeSchema, jobStatusReasonSchema, jobStatusSchema, listenerStatusSchema, listeningTriggerSchema, logOutcomeSchema, nextStepResponseSchema, reportStepBodySchema, reportStepResponseSchema, rerunWorkflowRunBodySchema, resolutionReasonSchema, STEP_ERROR_MESSAGE_MAX_LENGTH, STEP_RESPONSE_MAX_LENGTH, STEP_STATUS_REASONS, stepAttemptDetailDtoSchema, stepAttemptDetailResponseSchema, stepAttemptDtoSchema, stepDtoSchema, stepErrorCategorySchema, stepErrorDtoSchema, stepErrorReasonSchema, stepGateResultDtoSchema, stepStatusReasonSchema, triggerEventsBatchSchema, workflowExecutionContextSchema, workflowExecutionEventSchema, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDetailResponseSchema, workflowRunDtoSchema, workflowRunJobDetailDtoSchema, workflowRunJobDisplayStatusCountDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunStepDetailDtoSchema } from '#schemas/index.js';
2
2
  export { stepSourceLocationSchema } from '#schemas/step.js';
3
3
  export { WORKFLOW_RUN_JOB_PREVIEW_LIMIT, workflowRunTriggerReferenceSchema, workflowSourceSnapshotSchema } from '#schemas/workflow-run.js';
4
4
  export { jobTerminalStatusSchema, listenerFilterOutputTypesSchema, terminalStatusSchema, WORKFLOWS_JOB_ACTIVATED, WORKFLOWS_JOB_EVENT_DELIVERED, WORKFLOWS_JOB_EXECUTION_TIMED_OUT, WORKFLOWS_JOB_STEPS_SETTLED, WORKFLOWS_JOB_TERMINATED, WORKFLOWS_STEP_ATTEMPT_TERMINATED, WORKFLOWS_STEP_RESTART_ENQUEUED, WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED, WORKFLOWS_WORKFLOW_RUN_CANCELLED, WORKFLOWS_WORKFLOW_RUN_TERMINATED, workflowRunTerminalStatusSchema, workflowsEventSchemas, workflowsJobActivatedSchema, workflowsJobEventDeliveredSchema, workflowsJobExecutionTimedOutSchema, workflowsJobStepsSettledSchema, workflowsJobTerminatedSchema, workflowsStepAttemptTerminatedSchema, workflowsStepRestartEnqueuedSchema, workflowsWorkflowRunAttemptCreatedSchema, workflowsWorkflowRunCancelledSchema, workflowsWorkflowRunTerminatedSchema } from './events.js';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n type AgentConfigIssueDto,\n type AgentRuntimeConfigQueryDto,\n agentConfigIssueSchema,\n agentRuntimeConfigQuerySchema,\n type CheckoutIntentDto,\n type CheckoutResultDto,\n type CheckoutTokenAuthDto,\n type CheckoutTokenParamsDto,\n type CheckoutTokenQueryDto,\n type CheckoutTokenResponseDto,\n checkoutIntentSchema,\n checkoutResultSchema,\n checkoutTokenAuthSchema,\n checkoutTokenParamsSchema,\n checkoutTokenQuerySchema,\n checkoutTokenResponseSchema,\n type EvaluationTraceDto,\n type EvaluationTraceEntryDto,\n evaluationTraceEntrySchema,\n evaluationTraceSchema,\n type JobDto,\n type JobExecutionDto,\n type JobListeningDto,\n type JobModeDto,\n type JobStatusDto,\n type JobStatusReasonDto,\n jobDtoSchema,\n jobListeningBatchSchema,\n jobListeningSchema,\n jobModeSchema,\n jobStatusReasonSchema,\n jobStatusSchema,\n type ListenerStatusDto,\n type ListeningTriggerDto,\n type LogOutcomeDto,\n listenerStatusSchema,\n listeningTriggerSchema,\n logOutcomeSchema,\n type NextStepResponseDto,\n nextStepResponseSchema,\n type ReportStepBodyDto,\n type ReportStepResponseDto,\n type RerunWorkflowRunBodyDto,\n type ResolutionReasonDto,\n reportStepBodySchema,\n reportStepResponseSchema,\n rerunWorkflowRunBodySchema,\n resolutionReasonSchema,\n STEP_ERROR_MESSAGE_MAX_LENGTH,\n STEP_RESPONSE_MAX_LENGTH,\n STEP_STATUS_REASONS,\n type StepAttemptDetailDto,\n type StepAttemptDetailResponseDto,\n type StepAttemptDto,\n type StepDto,\n type StepErrorCategoryDto,\n type StepErrorDto,\n type StepErrorReasonDto,\n type StepGateResultDto,\n type StepStatusReasonDto,\n stepAttemptDetailDtoSchema,\n stepAttemptDetailResponseSchema,\n stepAttemptDtoSchema,\n stepDtoSchema,\n stepErrorCategorySchema,\n stepErrorDtoSchema,\n stepErrorReasonSchema,\n stepGateResultDtoSchema,\n stepStatusReasonSchema,\n type TriggerEventsBatchDto,\n triggerEventsBatchSchema,\n type WorkflowExecutionContextDto,\n type WorkflowExecutionEventDto,\n type WorkflowRunAggregatesQueryDto,\n type WorkflowRunAggregatesResponseDto,\n type WorkflowRunAttemptDto,\n type WorkflowRunAttemptsResponseDto,\n type WorkflowRunDetailResponseDto,\n type WorkflowRunDto,\n type WorkflowRunJobDetailDto,\n type WorkflowRunJobExecutionDetailDto,\n type WorkflowRunListQueryDto,\n type WorkflowRunListResponseDto,\n type WorkflowRunRerunModeDto,\n type WorkflowRunResponseDto,\n type WorkflowRunStatusDto,\n type WorkflowRunStepDetailDto,\n workflowExecutionContextSchema,\n workflowExecutionEventSchema,\n workflowRunAggregatesQuerySchema,\n workflowRunAggregatesResponseSchema,\n workflowRunAttemptDtoSchema,\n workflowRunAttemptsResponseSchema,\n workflowRunDetailResponseSchema,\n workflowRunDtoSchema,\n workflowRunJobDetailDtoSchema,\n workflowRunJobExecutionDetailDtoSchema,\n workflowRunJobStatusCountDtoSchema,\n workflowRunJobSummaryDtoSchema,\n workflowRunListItemSchema,\n workflowRunListQuerySchema,\n workflowRunListResponseSchema,\n workflowRunRerunModeSchema,\n workflowRunResponseSchema,\n workflowRunStatusSchema,\n workflowRunStepDetailDtoSchema,\n} from '#schemas/index.js';\nexport {type StepSourceLocationDto, stepSourceLocationSchema} from '#schemas/step.js';\nexport {\n WORKFLOW_RUN_JOB_PREVIEW_LIMIT,\n type WorkflowRunJobStatusCountDto,\n type WorkflowRunJobSummaryDto,\n type WorkflowRunListItemDto,\n type WorkflowRunTriggerReferenceDto,\n type WorkflowSourceSnapshotDto,\n workflowRunTriggerReferenceSchema,\n workflowSourceSnapshotSchema,\n} from '#schemas/workflow-run.js';\nexport {\n jobTerminalStatusSchema,\n type ListenerFilterExpressionType,\n type ListenerFilterOutputTypes,\n listenerFilterOutputTypesSchema,\n terminalStatusSchema,\n WORKFLOWS_JOB_ACTIVATED,\n WORKFLOWS_JOB_EVENT_DELIVERED,\n WORKFLOWS_JOB_EXECUTION_TIMED_OUT,\n WORKFLOWS_JOB_STEPS_SETTLED,\n WORKFLOWS_JOB_TERMINATED,\n WORKFLOWS_STEP_ATTEMPT_TERMINATED,\n WORKFLOWS_STEP_RESTART_ENQUEUED,\n WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED,\n WORKFLOWS_WORKFLOW_RUN_CANCELLED,\n WORKFLOWS_WORKFLOW_RUN_TERMINATED,\n type WorkflowsEventMapDto,\n type WorkflowsJobActivatedEventDto,\n type WorkflowsJobEventDeliveredEventDto,\n type WorkflowsJobExecutionTimedOutEventDto,\n type WorkflowsJobStepsSettledEventDto,\n type WorkflowsJobTerminatedEventDto,\n type WorkflowsStepAttemptTerminatedEventDto,\n type WorkflowsStepRestartEnqueuedEventDto,\n type WorkflowsWorkflowRunAttemptCreatedEventDto,\n type WorkflowsWorkflowRunCancelledEventDto,\n type WorkflowsWorkflowRunTerminatedEventDto,\n workflowRunTerminalStatusSchema,\n workflowsEventSchemas,\n workflowsJobActivatedSchema,\n workflowsJobEventDeliveredSchema,\n workflowsJobExecutionTimedOutSchema,\n workflowsJobStepsSettledSchema,\n workflowsJobTerminatedSchema,\n workflowsStepAttemptTerminatedSchema,\n workflowsStepRestartEnqueuedSchema,\n workflowsWorkflowRunAttemptCreatedSchema,\n workflowsWorkflowRunCancelledSchema,\n workflowsWorkflowRunTerminatedSchema,\n} from './events.js';\nexport {assertWorkingDirectory, InvalidWorkingDirectoryError} from './working-directory.js';\n"],"names":["agentConfigIssueSchema","agentRuntimeConfigQuerySchema","checkoutIntentSchema","checkoutResultSchema","checkoutTokenAuthSchema","checkoutTokenParamsSchema","checkoutTokenQuerySchema","checkoutTokenResponseSchema","evaluationTraceEntrySchema","evaluationTraceSchema","jobDtoSchema","jobListeningBatchSchema","jobListeningSchema","jobModeSchema","jobStatusReasonSchema","jobStatusSchema","listenerStatusSchema","listeningTriggerSchema","logOutcomeSchema","nextStepResponseSchema","reportStepBodySchema","reportStepResponseSchema","rerunWorkflowRunBodySchema","resolutionReasonSchema","STEP_ERROR_MESSAGE_MAX_LENGTH","STEP_RESPONSE_MAX_LENGTH","STEP_STATUS_REASONS","stepAttemptDetailDtoSchema","stepAttemptDetailResponseSchema","stepAttemptDtoSchema","stepDtoSchema","stepErrorCategorySchema","stepErrorDtoSchema","stepErrorReasonSchema","stepGateResultDtoSchema","stepStatusReasonSchema","triggerEventsBatchSchema","workflowExecutionContextSchema","workflowExecutionEventSchema","workflowRunAggregatesQuerySchema","workflowRunAggregatesResponseSchema","workflowRunAttemptDtoSchema","workflowRunAttemptsResponseSchema","workflowRunDetailResponseSchema","workflowRunDtoSchema","workflowRunJobDetailDtoSchema","workflowRunJobExecutionDetailDtoSchema","workflowRunJobStatusCountDtoSchema","workflowRunJobSummaryDtoSchema","workflowRunListItemSchema","workflowRunListQuerySchema","workflowRunListResponseSchema","workflowRunRerunModeSchema","workflowRunResponseSchema","workflowRunStatusSchema","workflowRunStepDetailDtoSchema","stepSourceLocationSchema","WORKFLOW_RUN_JOB_PREVIEW_LIMIT","workflowRunTriggerReferenceSchema","workflowSourceSnapshotSchema","jobTerminalStatusSchema","listenerFilterOutputTypesSchema","terminalStatusSchema","WORKFLOWS_JOB_ACTIVATED","WORKFLOWS_JOB_EVENT_DELIVERED","WORKFLOWS_JOB_EXECUTION_TIMED_OUT","WORKFLOWS_JOB_STEPS_SETTLED","WORKFLOWS_JOB_TERMINATED","WORKFLOWS_STEP_ATTEMPT_TERMINATED","WORKFLOWS_STEP_RESTART_ENQUEUED","WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED","WORKFLOWS_WORKFLOW_RUN_CANCELLED","WORKFLOWS_WORKFLOW_RUN_TERMINATED","workflowRunTerminalStatusSchema","workflowsEventSchemas","workflowsJobActivatedSchema","workflowsJobEventDeliveredSchema","workflowsJobExecutionTimedOutSchema","workflowsJobStepsSettledSchema","workflowsJobTerminatedSchema","workflowsStepAttemptTerminatedSchema","workflowsStepRestartEnqueuedSchema","workflowsWorkflowRunAttemptCreatedSchema","workflowsWorkflowRunCancelledSchema","workflowsWorkflowRunTerminatedSchema","assertWorkingDirectory","InvalidWorkingDirectoryError"],"mappings":"AAAA,SAGEA,sBAAsB,EACtBC,6BAA6B,EAO7BC,oBAAoB,EACpBC,oBAAoB,EACpBC,uBAAuB,EACvBC,yBAAyB,EACzBC,wBAAwB,EACxBC,2BAA2B,EAG3BC,0BAA0B,EAC1BC,qBAAqB,EAOrBC,YAAY,EACZC,uBAAuB,EACvBC,kBAAkB,EAClBC,aAAa,EACbC,qBAAqB,EACrBC,eAAe,EAIfC,oBAAoB,EACpBC,sBAA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src/index.ts"],"sourcesContent":["export {\n type AgentConfigIssueDto,\n type AgentRuntimeConfigQueryDto,\n agentConfigIssueSchema,\n agentRuntimeConfigQuerySchema,\n type CheckoutIntentDto,\n type CheckoutResultDto,\n type CheckoutTokenAuthDto,\n type CheckoutTokenParamsDto,\n type CheckoutTokenQueryDto,\n type CheckoutTokenResponseDto,\n checkoutIntentSchema,\n checkoutResultSchema,\n checkoutTokenAuthSchema,\n checkoutTokenParamsSchema,\n checkoutTokenQuerySchema,\n checkoutTokenResponseSchema,\n type EvaluationTraceDto,\n type EvaluationTraceEntryDto,\n evaluationTraceEntrySchema,\n evaluationTraceSchema,\n type JobDto,\n type JobExecutionDto,\n type JobListeningDto,\n type JobModeDto,\n type JobStatusDto,\n type JobStatusReasonDto,\n jobDtoSchema,\n jobExecutionStatusSchema,\n jobListeningBatchSchema,\n jobListeningSchema,\n jobModeSchema,\n jobStatusReasonSchema,\n jobStatusSchema,\n type ListenerStatusDto,\n type ListeningTriggerDto,\n type LogOutcomeDto,\n listenerStatusSchema,\n listeningTriggerSchema,\n logOutcomeSchema,\n type NextStepResponseDto,\n nextStepResponseSchema,\n type ReportStepBodyDto,\n type ReportStepResponseDto,\n type RerunWorkflowRunBodyDto,\n type ResolutionReasonDto,\n reportStepBodySchema,\n reportStepResponseSchema,\n rerunWorkflowRunBodySchema,\n resolutionReasonSchema,\n STEP_ERROR_MESSAGE_MAX_LENGTH,\n STEP_RESPONSE_MAX_LENGTH,\n STEP_STATUS_REASONS,\n type StepAttemptDetailDto,\n type StepAttemptDetailResponseDto,\n type StepAttemptDto,\n type StepDto,\n type StepErrorCategoryDto,\n type StepErrorDto,\n type StepErrorReasonDto,\n type StepGateResultDto,\n type StepStatusReasonDto,\n stepAttemptDetailDtoSchema,\n stepAttemptDetailResponseSchema,\n stepAttemptDtoSchema,\n stepDtoSchema,\n stepErrorCategorySchema,\n stepErrorDtoSchema,\n stepErrorReasonSchema,\n stepGateResultDtoSchema,\n stepStatusReasonSchema,\n type TriggerEventsBatchDto,\n triggerEventsBatchSchema,\n type WorkflowExecutionContextDto,\n type WorkflowExecutionEventDto,\n type WorkflowRunAggregatesQueryDto,\n type WorkflowRunAggregatesResponseDto,\n type WorkflowRunAttemptDto,\n type WorkflowRunAttemptsResponseDto,\n type WorkflowRunDetailResponseDto,\n type WorkflowRunDto,\n type WorkflowRunJobDetailDto,\n type WorkflowRunJobExecutionDetailDto,\n type WorkflowRunListQueryDto,\n type WorkflowRunListResponseDto,\n type WorkflowRunRerunModeDto,\n type WorkflowRunResponseDto,\n type WorkflowRunStatusDto,\n type WorkflowRunStepDetailDto,\n workflowExecutionContextSchema,\n workflowExecutionEventSchema,\n workflowRunAggregatesQuerySchema,\n workflowRunAggregatesResponseSchema,\n workflowRunAttemptDtoSchema,\n workflowRunAttemptsResponseSchema,\n workflowRunDetailResponseSchema,\n workflowRunDtoSchema,\n workflowRunJobDetailDtoSchema,\n workflowRunJobDisplayStatusCountDtoSchema,\n workflowRunJobExecutionDetailDtoSchema,\n workflowRunJobStatusCountDtoSchema,\n workflowRunJobSummaryDtoSchema,\n workflowRunListItemSchema,\n workflowRunListQuerySchema,\n workflowRunListResponseSchema,\n workflowRunRerunModeSchema,\n workflowRunResponseSchema,\n workflowRunStatusSchema,\n workflowRunStepDetailDtoSchema,\n} from '#schemas/index.js';\nexport {type StepSourceLocationDto, stepSourceLocationSchema} from '#schemas/step.js';\nexport {\n WORKFLOW_RUN_JOB_PREVIEW_LIMIT,\n type WorkflowRunJobDisplayStatusCountDto,\n type WorkflowRunJobStatusCountDto,\n type WorkflowRunJobSummaryDto,\n type WorkflowRunListItemDto,\n type WorkflowRunTriggerReferenceDto,\n type WorkflowSourceSnapshotDto,\n workflowRunTriggerReferenceSchema,\n workflowSourceSnapshotSchema,\n} from '#schemas/workflow-run.js';\nexport {\n jobTerminalStatusSchema,\n type ListenerFilterExpressionType,\n type ListenerFilterOutputTypes,\n listenerFilterOutputTypesSchema,\n terminalStatusSchema,\n WORKFLOWS_JOB_ACTIVATED,\n WORKFLOWS_JOB_EVENT_DELIVERED,\n WORKFLOWS_JOB_EXECUTION_TIMED_OUT,\n WORKFLOWS_JOB_STEPS_SETTLED,\n WORKFLOWS_JOB_TERMINATED,\n WORKFLOWS_STEP_ATTEMPT_TERMINATED,\n WORKFLOWS_STEP_RESTART_ENQUEUED,\n WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED,\n WORKFLOWS_WORKFLOW_RUN_CANCELLED,\n WORKFLOWS_WORKFLOW_RUN_TERMINATED,\n type WorkflowsEventMapDto,\n type WorkflowsJobActivatedEventDto,\n type WorkflowsJobEventDeliveredEventDto,\n type WorkflowsJobExecutionTimedOutEventDto,\n type WorkflowsJobStepsSettledEventDto,\n type WorkflowsJobTerminatedEventDto,\n type WorkflowsStepAttemptTerminatedEventDto,\n type WorkflowsStepRestartEnqueuedEventDto,\n type WorkflowsWorkflowRunAttemptCreatedEventDto,\n type WorkflowsWorkflowRunCancelledEventDto,\n type WorkflowsWorkflowRunTerminatedEventDto,\n workflowRunTerminalStatusSchema,\n workflowsEventSchemas,\n workflowsJobActivatedSchema,\n workflowsJobEventDeliveredSchema,\n workflowsJobExecutionTimedOutSchema,\n workflowsJobStepsSettledSchema,\n workflowsJobTerminatedSchema,\n workflowsStepAttemptTerminatedSchema,\n workflowsStepRestartEnqueuedSchema,\n workflowsWorkflowRunAttemptCreatedSchema,\n workflowsWorkflowRunCancelledSchema,\n workflowsWorkflowRunTerminatedSchema,\n} from './events.js';\nexport {assertWorkingDirectory, InvalidWorkingDirectoryError} from './working-directory.js';\n"],"names":["agentConfigIssueSchema","agentRuntimeConfigQuerySchema","checkoutIntentSchema","checkoutResultSchema","checkoutTokenAuthSchema","checkoutTokenParamsSchema","checkoutTokenQuerySchema","checkoutTokenResponseSchema","evaluationTraceEntrySchema","evaluationTraceSchema","jobDtoSchema","jobExecutionStatusSchema","jobListeningBatchSchema","jobListeningSchema","jobModeSchema","jobStatusReasonSchema","jobStatusSchema","listenerStatusSchema","listeningTriggerSchema","logOutcomeSchema","nextStepResponseSchema","reportStepBodySchema","reportStepResponseSchema","rerunWorkflowRunBodySchema","resolutionReasonSchema","STEP_ERROR_MESSAGE_MAX_LENGTH","STEP_RESPONSE_MAX_LENGTH","STEP_STATUS_REASONS","stepAttemptDetailDtoSchema","stepAttemptDetailResponseSchema","stepAttemptDtoSchema","stepDtoSchema","stepErrorCategorySchema","stepErrorDtoSchema","stepErrorReasonSchema","stepGateResultDtoSchema","stepStatusReasonSchema","triggerEventsBatchSchema","workflowExecutionContextSchema","workflowExecutionEventSchema","workflowRunAggregatesQuerySchema","workflowRunAggregatesResponseSchema","workflowRunAttemptDtoSchema","workflowRunAttemptsResponseSchema","workflowRunDetailResponseSchema","workflowRunDtoSchema","workflowRunJobDetailDtoSchema","workflowRunJobDisplayStatusCountDtoSchema","workflowRunJobExecutionDetailDtoSchema","workflowRunJobStatusCountDtoSchema","workflowRunJobSummaryDtoSchema","workflowRunListItemSchema","workflowRunListQuerySchema","workflowRunListResponseSchema","workflowRunRerunModeSchema","workflowRunResponseSchema","workflowRunStatusSchema","workflowRunStepDetailDtoSchema","stepSourceLocationSchema","WORKFLOW_RUN_JOB_PREVIEW_LIMIT","workflowRunTriggerReferenceSchema","workflowSourceSnapshotSchema","jobTerminalStatusSchema","listenerFilterOutputTypesSchema","terminalStatusSchema","WORKFLOWS_JOB_ACTIVATED","WORKFLOWS_JOB_EVENT_DELIVERED","WORKFLOWS_JOB_EXECUTION_TIMED_OUT","WORKFLOWS_JOB_STEPS_SETTLED","WORKFLOWS_JOB_TERMINATED","WORKFLOWS_STEP_ATTEMPT_TERMINATED","WORKFLOWS_STEP_RESTART_ENQUEUED","WORKFLOWS_WORKFLOW_RUN_ATTEMPT_CREATED","WORKFLOWS_WORKFLOW_RUN_CANCELLED","WORKFLOWS_WORKFLOW_RUN_TERMINATED","workflowRunTerminalStatusSchema","workflowsEventSchemas","workflowsJobActivatedSchema","workflowsJobEventDeliveredSchema","workflowsJobExecutionTimedOutSchema","workflowsJobStepsSettledSchema","workflowsJobTerminatedSchema","workflowsStepAttemptTerminatedSchema","workflowsStepRestartEnqueuedSchema","workflowsWorkflowRunAttemptCreatedSchema","workflowsWorkflowRunCancelledSchema","workflowsWorkflowRunTerminatedSchema","assertWorkingDirectory","InvalidWorkingDirectoryError"],"mappings":"AAAA,SAGEA,sBAAsB,EACtBC,6BAA6B,EAO7BC,oBAAoB,EACpBC,oBAAoB,EACpBC,uBAAuB,EACvBC,yBAAyB,EACzBC,wBAAwB,EACxBC,2BAA2B,EAG3BC,0BAA0B,EAC1BC,qBAAqB,EAOrBC,YAAY,EACZC,wBAAwB,EACxBC,uBAAuB,EACvBC,kBAAkB,EAClBC,aAAa,EACbC,qBAAqB,EACrBC,eAAe,EAIfC,oBAAoB,EACpBC,sBAAsB,EACtBC,gBAAgB,EAEhBC,sBAAsB,EAKtBC,oBAAoB,EACpBC,wBAAwB,EACxBC,0BAA0B,EAC1BC,sBAAsB,EACtBC,6BAA6B,EAC7BC,wBAAwB,EACxBC,mBAAmB,EAUnBC,0BAA0B,EAC1BC,+BAA+B,EAC/BC,oBAAoB,EACpBC,aAAa,EACbC,uBAAuB,EACvBC,kBAAkB,EAClBC,qBAAqB,EACrBC,uBAAuB,EACvBC,sBAAsB,EAEtBC,wBAAwB,EAiBxBC,8BAA8B,EAC9BC,4BAA4B,EAC5BC,gCAAgC,EAChCC,mCAAmC,EACnCC,2BAA2B,EAC3BC,iCAAiC,EACjCC,+BAA+B,EAC/BC,oBAAoB,EACpBC,6BAA6B,EAC7BC,yCAAyC,EACzCC,sCAAsC,EACtCC,kCAAkC,EAClCC,8BAA8B,EAC9BC,yBAAyB,EACzBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,0BAA0B,EAC1BC,yBAAyB,EACzBC,uBAAuB,EACvBC,8BAA8B,QACzB,oBAAoB;AAC3B,SAAoCC,wBAAwB,QAAO,mBAAmB;AACtF,SACEC,8BAA8B,EAO9BC,iCAAiC,EACjCC,4BAA4B,QACvB,2BAA2B;AAClC,SACEC,uBAAuB,EAGvBC,+BAA+B,EAC/BC,oBAAoB,EACpBC,uBAAuB,EACvBC,6BAA6B,EAC7BC,iCAAiC,EACjCC,2BAA2B,EAC3BC,wBAAwB,EACxBC,iCAAiC,EACjCC,+BAA+B,EAC/BC,sCAAsC,EACtCC,gCAAgC,EAChCC,iCAAiC,EAYjCC,+BAA+B,EAC/BC,qBAAqB,EACrBC,2BAA2B,EAC3BC,gCAAgC,EAChCC,mCAAmC,EACnCC,8BAA8B,EAC9BC,4BAA4B,EAC5BC,oCAAoC,EACpCC,kCAAkC,EAClCC,wCAAwC,EACxCC,mCAAmC,EACnCC,oCAAoC,QAC/B,cAAc;AACrB,SAAQC,sBAAsB,EAAEC,4BAA4B,QAAO,yBAAyB"}
@@ -7,6 +7,6 @@ export { type CheckoutResultDto, checkoutResultSchema, type NextStepResponseDto,
7
7
  export { type JobListeningDto, type JobModeDto, jobListeningBatchSchema, jobListeningSchema, jobModeSchema, type ListenerStatusDto, type ListeningTriggerDto, listenerStatusSchema, listeningTriggerSchema, type ResolutionReasonDto, resolutionReasonSchema, type TriggerEventsBatchDto, triggerEventsBatchSchema, type WorkflowExecutionContextDto, type WorkflowExecutionEventDto, workflowExecutionContextSchema, workflowExecutionEventSchema, } from './job-listening.js';
8
8
  export { type LogOutcomeDto, logOutcomeSchema } from './log-outcome.js';
9
9
  export { type AgentConfigIssueDto, agentConfigIssueSchema, STEP_ERROR_MESSAGE_MAX_LENGTH, STEP_STATUS_REASONS, type StepAttemptDetailDto, type StepAttemptDto, type StepDto, type StepErrorCategoryDto, type StepErrorDto, type StepErrorReasonDto, type StepGateResultDto, type StepStatusReasonDto, stepAttemptDetailDtoSchema, stepAttemptDtoSchema, stepDtoSchema, stepErrorCategorySchema, stepErrorDtoSchema, stepErrorReasonSchema, stepGateResultDtoSchema, stepStatusReasonSchema, } from './step.js';
10
- export { type RerunWorkflowRunBodyDto, rerunWorkflowRunBodySchema, WORKFLOW_RUN_JOB_PREVIEW_LIMIT, type WorkflowRunAggregatesQueryDto, type WorkflowRunAggregatesResponseDto, type WorkflowRunAttemptDto, type WorkflowRunAttemptsResponseDto, type WorkflowRunDto, type WorkflowRunJobStatusCountDto, type WorkflowRunJobSummaryDto, type WorkflowRunListItemDto, type WorkflowRunListQueryDto, type WorkflowRunListResponseDto, type WorkflowRunRerunModeDto, type WorkflowRunResponseDto, type WorkflowRunStatusDto, type WorkflowRunTriggerReferenceDto, type WorkflowSourceSnapshotDto, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunTriggerReferenceSchema, workflowSourceSnapshotSchema, } from './workflow-run.js';
11
- export { type JobExecutionDto, jobExecutionDtoSchema, jobExecutionStatusSchema, type StepAttemptDetailResponseDto, stepAttemptDetailResponseSchema, type WorkflowRunDetailResponseDto, type WorkflowRunJobDetailDto, type WorkflowRunJobExecutionDetailDto, type WorkflowRunStepDetailDto, workflowRunDetailResponseSchema, workflowRunJobDetailDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunStepDetailDtoSchema, } from './workflow-run-detail.js';
10
+ export { jobExecutionStatusSchema, type RerunWorkflowRunBodyDto, rerunWorkflowRunBodySchema, WORKFLOW_RUN_JOB_PREVIEW_LIMIT, type WorkflowRunAggregatesQueryDto, type WorkflowRunAggregatesResponseDto, type WorkflowRunAttemptDto, type WorkflowRunAttemptsResponseDto, type WorkflowRunDto, type WorkflowRunJobDisplayStatusCountDto, type WorkflowRunJobStatusCountDto, type WorkflowRunJobSummaryDto, type WorkflowRunListItemDto, type WorkflowRunListQueryDto, type WorkflowRunListResponseDto, type WorkflowRunRerunModeDto, type WorkflowRunResponseDto, type WorkflowRunStatusDto, type WorkflowRunTriggerReferenceDto, type WorkflowSourceSnapshotDto, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDtoSchema, workflowRunJobDisplayStatusCountDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunTriggerReferenceSchema, workflowSourceSnapshotSchema, } from './workflow-run.js';
11
+ export { type JobExecutionDto, jobExecutionDtoSchema, type StepAttemptDetailResponseDto, stepAttemptDetailResponseSchema, type WorkflowRunDetailResponseDto, type WorkflowRunJobDetailDto, type WorkflowRunJobExecutionDetailDto, type WorkflowRunStepDetailDto, workflowRunDetailResponseSchema, workflowRunJobDetailDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunStepDetailDtoSchema, } from './workflow-run-detail.js';
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,0BAA0B,EAC/B,6BAA6B,GAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,KAAK,iBAAiB,EAAE,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAC3E,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,0BAA0B,EAC1B,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,KAAK,MAAM,EACX,KA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1B,KAAK,8BAA8B,EACnC,KAAK,cAAc,EACnB,KAAK,mCAAmC,EACxC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,yBAAyB,EAC9B,gCAAgC,EAChC,mCAAmC,EACnC,2BAA2B,EAC3B,iCAAiC,EACjC,oBAAoB,EACpB,yCAAyC,EACzC,kCAAkC,EAClC,8BAA8B,EAC9B,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACvB,iCAAiC,EACjC,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,eAAe,EACpB,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,+BAA+B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,gCAAgC,EACrC,KAAK,wBAAwB,EAC7B,+BAA+B,EAC/B,6BAA6B,EAC7B,sCAAsC,EACtC,8BAA8B,GAC/B,MAAM,0BAA0B,CAAC"}
@@ -7,7 +7,7 @@ export { checkoutResultSchema, nextStepResponseSchema, reportStepBodySchema, rep
7
7
  export { jobListeningBatchSchema, jobListeningSchema, jobModeSchema, listenerStatusSchema, listeningTriggerSchema, resolutionReasonSchema, triggerEventsBatchSchema, workflowExecutionContextSchema, workflowExecutionEventSchema } from './job-listening.js';
8
8
  export { logOutcomeSchema } from './log-outcome.js';
9
9
  export { agentConfigIssueSchema, STEP_ERROR_MESSAGE_MAX_LENGTH, STEP_STATUS_REASONS, stepAttemptDetailDtoSchema, stepAttemptDtoSchema, stepDtoSchema, stepErrorCategorySchema, stepErrorDtoSchema, stepErrorReasonSchema, stepGateResultDtoSchema, stepStatusReasonSchema } from './step.js';
10
- export { rerunWorkflowRunBodySchema, WORKFLOW_RUN_JOB_PREVIEW_LIMIT, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunTriggerReferenceSchema, workflowSourceSnapshotSchema } from './workflow-run.js';
11
- export { jobExecutionDtoSchema, jobExecutionStatusSchema, stepAttemptDetailResponseSchema, workflowRunDetailResponseSchema, workflowRunJobDetailDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunStepDetailDtoSchema } from './workflow-run-detail.js';
10
+ export { jobExecutionStatusSchema, rerunWorkflowRunBodySchema, WORKFLOW_RUN_JOB_PREVIEW_LIMIT, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDtoSchema, workflowRunJobDisplayStatusCountDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunTriggerReferenceSchema, workflowSourceSnapshotSchema } from './workflow-run.js';
11
+ export { jobExecutionDtoSchema, stepAttemptDetailResponseSchema, workflowRunDetailResponseSchema, workflowRunJobDetailDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunStepDetailDtoSchema } from './workflow-run-detail.js';
12
12
 
13
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type AgentRuntimeConfigQueryDto,\n agentRuntimeConfigQuerySchema,\n} from './agent-runtime-config.js';\nexport {type CheckoutIntentDto, checkoutIntentSchema} from './checkout.js';\nexport {\n type CheckoutTokenAuthDto,\n type CheckoutTokenParamsDto,\n type CheckoutTokenQueryDto,\n type CheckoutTokenResponseDto,\n checkoutTokenAuthSchema,\n checkoutTokenParamsSchema,\n checkoutTokenQuerySchema,\n checkoutTokenResponseSchema,\n} from './checkout-token.js';\nexport {\n type EvaluationTraceDto,\n type EvaluationTraceEntryDto,\n evaluationTraceEntrySchema,\n evaluationTraceSchema,\n} from './evaluation-trace.js';\nexport {\n type JobDto,\n type JobStatusDto,\n type JobStatusReasonDto,\n jobDtoSchema,\n jobStatusReasonSchema,\n jobStatusSchema,\n} from './job.js';\nexport {\n type CheckoutResultDto,\n checkoutResultSchema,\n type NextStepResponseDto,\n nextStepResponseSchema,\n type ReportStepBodyDto,\n type ReportStepResponseDto,\n reportStepBodySchema,\n reportStepResponseSchema,\n STEP_RESPONSE_MAX_LENGTH,\n} from './job-execution.js';\nexport {\n type JobListeningDto,\n type JobModeDto,\n jobListeningBatchSchema,\n jobListeningSchema,\n jobModeSchema,\n type ListenerStatusDto,\n type ListeningTriggerDto,\n listenerStatusSchema,\n listeningTriggerSchema,\n type ResolutionReasonDto,\n resolutionReasonSchema,\n type TriggerEventsBatchDto,\n triggerEventsBatchSchema,\n type WorkflowExecutionContextDto,\n type WorkflowExecutionEventDto,\n workflowExecutionContextSchema,\n workflowExecutionEventSchema,\n} from './job-listening.js';\nexport {type LogOutcomeDto, logOutcomeSchema} from './log-outcome.js';\nexport {\n type AgentConfigIssueDto,\n agentConfigIssueSchema,\n STEP_ERROR_MESSAGE_MAX_LENGTH,\n STEP_STATUS_REASONS,\n type StepAttemptDetailDto,\n type StepAttemptDto,\n type StepDto,\n type StepErrorCategoryDto,\n type StepErrorDto,\n type StepErrorReasonDto,\n type StepGateResultDto,\n type StepStatusReasonDto,\n stepAttemptDetailDtoSchema,\n stepAttemptDtoSchema,\n stepDtoSchema,\n stepErrorCategorySchema,\n stepErrorDtoSchema,\n stepErrorReasonSchema,\n stepGateResultDtoSchema,\n stepStatusReasonSchema,\n} from './step.js';\nexport {\n type RerunWorkflowRunBodyDto,\n rerunWorkflowRunBodySchema,\n WORKFLOW_RUN_JOB_PREVIEW_LIMIT,\n type WorkflowRunAggregatesQueryDto,\n type WorkflowRunAggregatesResponseDto,\n type WorkflowRunAttemptDto,\n type WorkflowRunAttemptsResponseDto,\n type WorkflowRunDto,\n type WorkflowRunJobStatusCountDto,\n type WorkflowRunJobSummaryDto,\n type WorkflowRunListItemDto,\n type WorkflowRunListQueryDto,\n type WorkflowRunListResponseDto,\n type WorkflowRunRerunModeDto,\n type WorkflowRunResponseDto,\n type WorkflowRunStatusDto,\n type WorkflowRunTriggerReferenceDto,\n type WorkflowSourceSnapshotDto,\n workflowRunAggregatesQuerySchema,\n workflowRunAggregatesResponseSchema,\n workflowRunAttemptDtoSchema,\n workflowRunAttemptsResponseSchema,\n workflowRunDtoSchema,\n workflowRunJobStatusCountDtoSchema,\n workflowRunJobSummaryDtoSchema,\n workflowRunListItemSchema,\n workflowRunListQuerySchema,\n workflowRunListResponseSchema,\n workflowRunRerunModeSchema,\n workflowRunResponseSchema,\n workflowRunStatusSchema,\n workflowRunTriggerReferenceSchema,\n workflowSourceSnapshotSchema,\n} from './workflow-run.js';\nexport {\n type JobExecutionDto,\n jobExecutionDtoSchema,\n jobExecutionStatusSchema,\n type StepAttemptDetailResponseDto,\n stepAttemptDetailResponseSchema,\n type WorkflowRunDetailResponseDto,\n type WorkflowRunJobDetailDto,\n type WorkflowRunJobExecutionDetailDto,\n type WorkflowRunStepDetailDto,\n workflowRunDetailResponseSchema,\n workflowRunJobDetailDtoSchema,\n workflowRunJobExecutionDetailDtoSchema,\n workflowRunStepDetailDtoSchema,\n} from './workflow-run-detail.js';\n"],"names":["agentRuntimeConfigQuerySchema","checkoutIntentSchema","checkoutTokenAuthSchema","checkoutTokenParamsSchema","checkoutTokenQuerySchema","checkoutTokenResponseSchema","evaluationTraceEntrySchema","evaluationTraceSchema","jobDtoSchema","jobStatusReasonSchema","jobStatusSchema","checkoutResultSchema","nextStepResponseSchema","reportStepBodySchema","reportStepResponseSchema","STEP_RESPONSE_MAX_LENGTH","jobListeningBatchSchema","jobListeningSchema","jobModeSchema","listenerStatusSchema","listeningTriggerSchema","resolutionReasonSchema","triggerEventsBatchSchema","workflowExecutionContextSchema","workflowExecutionEventSchema","logOutcomeSchema","agentConfigIssueSchema","STEP_ERROR_MESSAGE_MAX_LENGTH","STEP_STATUS_REASONS","stepAttemptDetailDtoSchema","stepAttemptDtoSchema","stepDtoSchema","stepErrorCategorySchema","stepErrorDtoSchema","stepErrorReasonSchema","stepGateResultDtoSchema","stepStatusReasonSchema","rerunWorkflowRunBodySchema","WORKFLOW_RUN_JOB_PREVIEW_LIMIT","workflowRunAggregatesQuerySchema","workflowRunAggregatesResponseSchema","workflowRunAttemptDtoSchema","workflowRunAttemptsResponseSchema","workflowRunDtoSchema","workflowRunJobStatusCountDtoSchema","workflowRunJobSummaryDtoSchema","workflowRunListItemSchema","workflowRunListQuerySchema","workflowRunListResponseSchema","workflowRunRerunModeSchema","workflowRunResponseSchema","workflowRunStatusSchema","workflowRunTriggerReferenceSchema","workflowSourceSnapshotSchema","jobExecutionDtoSchema","jobExecutionStatusSchema","stepAttemptDetailResponseSchema","workflowRunDetailResponseSchema","workflowRunJobDetailDtoSchema","workflowRunJobExecutionDetailDtoSchema","workflowRunStepDetailDtoSchema"],"mappings":"AAAA,SAEEA,6BAA6B,QACxB,4BAA4B;AACnC,SAAgCC,oBAAoB,QAAO,gBAAgB;AAC3E,SAKEC,uBAAuB,EACvBC,yBAAyB,EACzBC,wBAAwB,EACxBC,2BAA2B,QACtB,sBAAsB;AAC7B,SAGEC,0BAA0B,EAC1BC,qBAAqB,QAChB,wBAAwB;AAC/B,SAIEC,YAAY,EACZC,qBAAqB,EACrBC,eAAe,QACV,WAAW;AAClB,SAEEC,oBAAoB,EAEpBC,sBAAsB,EAGtBC,oBAAoB,EACpBC,wBAAwB,EACxBC,wBAAwB,QACnB,qBAAqB;AAC5B,SAGEC,uBAAuB,EACvBC,kBAAkB,EAClBC,aAAa,EAGbC,oBAAoB,EACpBC,sBAAsB,EAEtBC,sBAAsB,EAEtBC,wBAAwB,EAGxBC,8BAA8B,EAC9BC,4BAA4B,QACvB,qBAAqB;AAC5B,SAA4BC,gBAAgB,QAAO,mBAAmB;AACtE,SAEEC,sBAAsB,EACtBC,6BAA6B,EAC7BC,mBAAmB,EASnBC,0BAA0B,EAC1BC,oBAAoB,EACpBC,aAAa,EACbC,uBAAuB,EACvBC,kBAAkB,EAClBC,qBAAqB,EACrBC,uBAAuB,EACvBC,sBAAsB,QACjB,YAAY;AACnB,SAEEC,0BAA0B,EAC1BC,8BAA8B,EAgB9BC,gCAAgC,EAChCC,mCAAmC,EACnCC,2BAA2B,EAC3BC,iCAAiC,EACjCC,oBAAoB,EACpBC,kCAAkC,EAClCC,8BAA8B,EAC9BC,yBAAyB,EACzBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,0BAA0B,EAC1BC,yBAAyB,EACzBC,uBAAuB,EACvBC,iCAAiC,EACjCC,4BAA4B,QACvB,oBAAoB;AAC3B,SAEEC,qBAAqB,EACrBC,wBAAwB,EAExBC,+BAA+B,EAK/BC,+BAA+B,EAC/BC,6BAA6B,EAC7BC,sCAAsC,EACtCC,8BAA8B,QACzB,2BAA2B"}
1
+ {"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type AgentRuntimeConfigQueryDto,\n agentRuntimeConfigQuerySchema,\n} from './agent-runtime-config.js';\nexport {type CheckoutIntentDto, checkoutIntentSchema} from './checkout.js';\nexport {\n type CheckoutTokenAuthDto,\n type CheckoutTokenParamsDto,\n type CheckoutTokenQueryDto,\n type CheckoutTokenResponseDto,\n checkoutTokenAuthSchema,\n checkoutTokenParamsSchema,\n checkoutTokenQuerySchema,\n checkoutTokenResponseSchema,\n} from './checkout-token.js';\nexport {\n type EvaluationTraceDto,\n type EvaluationTraceEntryDto,\n evaluationTraceEntrySchema,\n evaluationTraceSchema,\n} from './evaluation-trace.js';\nexport {\n type JobDto,\n type JobStatusDto,\n type JobStatusReasonDto,\n jobDtoSchema,\n jobStatusReasonSchema,\n jobStatusSchema,\n} from './job.js';\nexport {\n type CheckoutResultDto,\n checkoutResultSchema,\n type NextStepResponseDto,\n nextStepResponseSchema,\n type ReportStepBodyDto,\n type ReportStepResponseDto,\n reportStepBodySchema,\n reportStepResponseSchema,\n STEP_RESPONSE_MAX_LENGTH,\n} from './job-execution.js';\nexport {\n type JobListeningDto,\n type JobModeDto,\n jobListeningBatchSchema,\n jobListeningSchema,\n jobModeSchema,\n type ListenerStatusDto,\n type ListeningTriggerDto,\n listenerStatusSchema,\n listeningTriggerSchema,\n type ResolutionReasonDto,\n resolutionReasonSchema,\n type TriggerEventsBatchDto,\n triggerEventsBatchSchema,\n type WorkflowExecutionContextDto,\n type WorkflowExecutionEventDto,\n workflowExecutionContextSchema,\n workflowExecutionEventSchema,\n} from './job-listening.js';\nexport {type LogOutcomeDto, logOutcomeSchema} from './log-outcome.js';\nexport {\n type AgentConfigIssueDto,\n agentConfigIssueSchema,\n STEP_ERROR_MESSAGE_MAX_LENGTH,\n STEP_STATUS_REASONS,\n type StepAttemptDetailDto,\n type StepAttemptDto,\n type StepDto,\n type StepErrorCategoryDto,\n type StepErrorDto,\n type StepErrorReasonDto,\n type StepGateResultDto,\n type StepStatusReasonDto,\n stepAttemptDetailDtoSchema,\n stepAttemptDtoSchema,\n stepDtoSchema,\n stepErrorCategorySchema,\n stepErrorDtoSchema,\n stepErrorReasonSchema,\n stepGateResultDtoSchema,\n stepStatusReasonSchema,\n} from './step.js';\nexport {\n jobExecutionStatusSchema,\n type RerunWorkflowRunBodyDto,\n rerunWorkflowRunBodySchema,\n WORKFLOW_RUN_JOB_PREVIEW_LIMIT,\n type WorkflowRunAggregatesQueryDto,\n type WorkflowRunAggregatesResponseDto,\n type WorkflowRunAttemptDto,\n type WorkflowRunAttemptsResponseDto,\n type WorkflowRunDto,\n type WorkflowRunJobDisplayStatusCountDto,\n type WorkflowRunJobStatusCountDto,\n type WorkflowRunJobSummaryDto,\n type WorkflowRunListItemDto,\n type WorkflowRunListQueryDto,\n type WorkflowRunListResponseDto,\n type WorkflowRunRerunModeDto,\n type WorkflowRunResponseDto,\n type WorkflowRunStatusDto,\n type WorkflowRunTriggerReferenceDto,\n type WorkflowSourceSnapshotDto,\n workflowRunAggregatesQuerySchema,\n workflowRunAggregatesResponseSchema,\n workflowRunAttemptDtoSchema,\n workflowRunAttemptsResponseSchema,\n workflowRunDtoSchema,\n workflowRunJobDisplayStatusCountDtoSchema,\n workflowRunJobStatusCountDtoSchema,\n workflowRunJobSummaryDtoSchema,\n workflowRunListItemSchema,\n workflowRunListQuerySchema,\n workflowRunListResponseSchema,\n workflowRunRerunModeSchema,\n workflowRunResponseSchema,\n workflowRunStatusSchema,\n workflowRunTriggerReferenceSchema,\n workflowSourceSnapshotSchema,\n} from './workflow-run.js';\nexport {\n type JobExecutionDto,\n jobExecutionDtoSchema,\n type StepAttemptDetailResponseDto,\n stepAttemptDetailResponseSchema,\n type WorkflowRunDetailResponseDto,\n type WorkflowRunJobDetailDto,\n type WorkflowRunJobExecutionDetailDto,\n type WorkflowRunStepDetailDto,\n workflowRunDetailResponseSchema,\n workflowRunJobDetailDtoSchema,\n workflowRunJobExecutionDetailDtoSchema,\n workflowRunStepDetailDtoSchema,\n} from './workflow-run-detail.js';\n"],"names":["agentRuntimeConfigQuerySchema","checkoutIntentSchema","checkoutTokenAuthSchema","checkoutTokenParamsSchema","checkoutTokenQuerySchema","checkoutTokenResponseSchema","evaluationTraceEntrySchema","evaluationTraceSchema","jobDtoSchema","jobStatusReasonSchema","jobStatusSchema","checkoutResultSchema","nextStepResponseSchema","reportStepBodySchema","reportStepResponseSchema","STEP_RESPONSE_MAX_LENGTH","jobListeningBatchSchema","jobListeningSchema","jobModeSchema","listenerStatusSchema","listeningTriggerSchema","resolutionReasonSchema","triggerEventsBatchSchema","workflowExecutionContextSchema","workflowExecutionEventSchema","logOutcomeSchema","agentConfigIssueSchema","STEP_ERROR_MESSAGE_MAX_LENGTH","STEP_STATUS_REASONS","stepAttemptDetailDtoSchema","stepAttemptDtoSchema","stepDtoSchema","stepErrorCategorySchema","stepErrorDtoSchema","stepErrorReasonSchema","stepGateResultDtoSchema","stepStatusReasonSchema","jobExecutionStatusSchema","rerunWorkflowRunBodySchema","WORKFLOW_RUN_JOB_PREVIEW_LIMIT","workflowRunAggregatesQuerySchema","workflowRunAggregatesResponseSchema","workflowRunAttemptDtoSchema","workflowRunAttemptsResponseSchema","workflowRunDtoSchema","workflowRunJobDisplayStatusCountDtoSchema","workflowRunJobStatusCountDtoSchema","workflowRunJobSummaryDtoSchema","workflowRunListItemSchema","workflowRunListQuerySchema","workflowRunListResponseSchema","workflowRunRerunModeSchema","workflowRunResponseSchema","workflowRunStatusSchema","workflowRunTriggerReferenceSchema","workflowSourceSnapshotSchema","jobExecutionDtoSchema","stepAttemptDetailResponseSchema","workflowRunDetailResponseSchema","workflowRunJobDetailDtoSchema","workflowRunJobExecutionDetailDtoSchema","workflowRunStepDetailDtoSchema"],"mappings":"AAAA,SAEEA,6BAA6B,QACxB,4BAA4B;AACnC,SAAgCC,oBAAoB,QAAO,gBAAgB;AAC3E,SAKEC,uBAAuB,EACvBC,yBAAyB,EACzBC,wBAAwB,EACxBC,2BAA2B,QACtB,sBAAsB;AAC7B,SAGEC,0BAA0B,EAC1BC,qBAAqB,QAChB,wBAAwB;AAC/B,SAIEC,YAAY,EACZC,qBAAqB,EACrBC,eAAe,QACV,WAAW;AAClB,SAEEC,oBAAoB,EAEpBC,sBAAsB,EAGtBC,oBAAoB,EACpBC,wBAAwB,EACxBC,wBAAwB,QACnB,qBAAqB;AAC5B,SAGEC,uBAAuB,EACvBC,kBAAkB,EAClBC,aAAa,EAGbC,oBAAoB,EACpBC,sBAAsB,EAEtBC,sBAAsB,EAEtBC,wBAAwB,EAGxBC,8BAA8B,EAC9BC,4BAA4B,QACvB,qBAAqB;AAC5B,SAA4BC,gBAAgB,QAAO,mBAAmB;AACtE,SAEEC,sBAAsB,EACtBC,6BAA6B,EAC7BC,mBAAmB,EASnBC,0BAA0B,EAC1BC,oBAAoB,EACpBC,aAAa,EACbC,uBAAuB,EACvBC,kBAAkB,EAClBC,qBAAqB,EACrBC,uBAAuB,EACvBC,sBAAsB,QACjB,YAAY;AACnB,SACEC,wBAAwB,EAExBC,0BAA0B,EAC1BC,8BAA8B,EAiB9BC,gCAAgC,EAChCC,mCAAmC,EACnCC,2BAA2B,EAC3BC,iCAAiC,EACjCC,oBAAoB,EACpBC,yCAAyC,EACzCC,kCAAkC,EAClCC,8BAA8B,EAC9BC,yBAAyB,EACzBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,0BAA0B,EAC1BC,yBAAyB,EACzBC,uBAAuB,EACvBC,iCAAiC,EACjCC,4BAA4B,QACvB,oBAAoB;AAC3B,SAEEC,qBAAqB,EAErBC,+BAA+B,EAK/BC,+BAA+B,EAC/BC,6BAA6B,EAC7BC,sCAAsC,EACtCC,8BAA8B,QACzB,2BAA2B"}
@@ -1,11 +1,4 @@
1
1
  import { z } from 'zod';
2
- export declare const jobExecutionStatusSchema: z.ZodEnum<{
3
- cancelled: "cancelled";
4
- failed: "failed";
5
- pending: "pending";
6
- running: "running";
7
- succeeded: "succeeded";
8
- }>;
9
2
  export declare const jobExecutionDtoSchema: z.ZodObject<{
10
3
  id: z.ZodString;
11
4
  job_id: z.ZodString;
@@ -1065,6 +1058,7 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
1065
1058
  }, z.core.$strip>>;
1066
1059
  }, z.core.$strip>>;
1067
1060
  }, z.core.$strip>>;
1061
+ has_started_job_execution: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1068
1062
  }, z.core.$strip>;
1069
1063
  export type WorkflowRunDetailResponseDto = z.infer<typeof workflowRunDetailResponseSchema>;
1070
1064
  //# sourceMappingURL=workflow-run-detail.d.ts.map
@@ -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;;iBAExC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAIpF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW1C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
@@ -3,14 +3,7 @@ import { evaluationTraceSchema } from './evaluation-trace.js';
3
3
  import { jobDtoSchema } from './job.js';
4
4
  import { workflowExecutionEventSchema } from './job-listening.js';
5
5
  import { stepAttemptDetailDtoSchema, stepAttemptDtoSchema, stepDtoSchema } from './step.js';
6
- import { workflowRunAttemptDtoSchema, workflowRunResponseSchema } from './workflow-run.js';
7
- export const jobExecutionStatusSchema = z.enum([
8
- 'pending',
9
- 'running',
10
- 'succeeded',
11
- 'failed',
12
- 'cancelled'
13
- ]);
6
+ import { jobExecutionStatusSchema, workflowRunAttemptDtoSchema, workflowRunResponseSchema } from './workflow-run.js';
14
7
  export const jobExecutionDtoSchema = z.object({
15
8
  id: z.string().uuid(),
16
9
  job_id: z.string().uuid(),
@@ -56,7 +49,14 @@ export const workflowRunJobDetailDtoSchema = jobDtoSchema.extend({
56
49
  // jobs, each job's steps, and each step's attempt history.
57
50
  export const workflowRunDetailResponseSchema = workflowRunResponseSchema.extend({
58
51
  run_attempt: workflowRunAttemptDtoSchema,
59
- jobs: z.array(workflowRunJobDetailDtoSchema)
52
+ jobs: z.array(workflowRunJobDetailDtoSchema),
53
+ /**
54
+ * Whether any job execution of this attempt reached its runner. Redundant with the executions
55
+ * below, and deliberately so: the server decides it once for both this response and the run
56
+ * list, which is what keeps the two surfaces from reaching different answers.
57
+ *
58
+ * Defaults to started for the same rollout reason as the list item's copy.
59
+ */ has_started_job_execution: z.boolean().optional().default(true)
60
60
  });
61
61
 
62
62
  //# sourceMappingURL=workflow-run-detail.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/schemas/workflow-run-detail.ts"],"sourcesContent":["import {z} from 'zod';\nimport {evaluationTraceSchema} from './evaluation-trace.js';\nimport {jobDtoSchema} from './job.js';\nimport {workflowExecutionEventSchema} from './job-listening.js';\nimport {stepAttemptDetailDtoSchema, stepAttemptDtoSchema, stepDtoSchema} from './step.js';\nimport {workflowRunAttemptDtoSchema, workflowRunResponseSchema} from './workflow-run.js';\n\nexport const jobExecutionStatusSchema = z.enum([\n 'pending',\n 'running',\n 'succeeded',\n 'failed',\n 'cancelled',\n]);\n\nexport const jobExecutionDtoSchema = z.object({\n id: z.string().uuid(),\n job_id: z.string().uuid(),\n sequence: z.number().int().positive(),\n name: z.string(),\n status: jobExecutionStatusSchema,\n status_reason: z.string().nullable(),\n status_reason_message: z.string().nullable().optional(),\n runner: z.array(z.string()).nullable(),\n trigger_events: z.array(workflowExecutionEventSchema).default([]),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n evaluation_trace: evaluationTraceSchema.nullable(),\n queued_at: z.string().nullable(),\n started_at: z.string().nullable(),\n finished_at: z.string().nullable(),\n timed_out_at: z.string().nullable(),\n created_at: z.string(),\n updated_at: z.string(),\n});\n\nexport type JobExecutionDto = z.infer<typeof jobExecutionDtoSchema>;\n\n// A step with its attempt history: one entry per dispatched attempt (a restarted\n// step has more than one). `current_attempt` on the step points at the latest.\nexport const workflowRunStepDetailDtoSchema = stepDtoSchema.extend({\n exit_code: z.number().int().nullable(),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n response: z.string().nullable(),\n gate_result: stepAttemptDtoSchema.shape.gate_result,\n attempts: z.array(stepAttemptDtoSchema),\n});\n\nexport type WorkflowRunStepDetailDto = z.infer<typeof workflowRunStepDetailDtoSchema>;\n\nexport const stepAttemptDetailResponseSchema = z.object({\n step_id: z.string().uuid(),\n attempt: stepAttemptDetailDtoSchema.shape.attempt,\n authored_config: z.record(z.string(), z.unknown()).nullable(),\n config: stepAttemptDetailDtoSchema.shape.config,\n evaluation_trace: stepAttemptDetailDtoSchema.shape.evaluation_trace,\n});\n\nexport type StepAttemptDetailResponseDto = z.infer<typeof stepAttemptDetailResponseSchema>;\n\nexport const workflowRunJobExecutionDetailDtoSchema = jobExecutionDtoSchema.extend({\n steps: z.array(workflowRunStepDetailDtoSchema),\n});\n\nexport type WorkflowRunJobExecutionDetailDto = z.infer<\n typeof workflowRunJobExecutionDetailDtoSchema\n>;\n\nexport const workflowRunJobDetailDtoSchema = jobDtoSchema.extend({\n job_executions: z.array(workflowRunJobExecutionDetailDtoSchema),\n});\n\nexport type WorkflowRunJobDetailDto = z.infer<typeof workflowRunJobDetailDtoSchema>;\n\n// The run detail read model returned by `GET /workflows/runs/:id`: a run plus its\n// jobs, each job's steps, and each step's attempt history.\nexport const workflowRunDetailResponseSchema = workflowRunResponseSchema.extend({\n run_attempt: workflowRunAttemptDtoSchema,\n jobs: z.array(workflowRunJobDetailDtoSchema),\n});\n\nexport type WorkflowRunDetailResponseDto = z.infer<typeof workflowRunDetailResponseSchema>;\n"],"names":["z","evaluationTraceSchema","jobDtoSchema","workflowExecutionEventSchema","stepAttemptDetailDtoSchema","stepAttemptDtoSchema","stepDtoSchema","workflowRunAttemptDtoSchema","workflowRunResponseSchema","jobExecutionStatusSchema","enum","jobExecutionDtoSchema","object","id","string","uuid","job_id","sequence","number","int","positive","name","status","status_reason","nullable","status_reason_message","optional","runner","array","trigger_events","default","outputs","record","unknown","evaluation_trace","queued_at","started_at","finished_at","timed_out_at","created_at","updated_at","workflowRunStepDetailDtoSchema","extend","exit_code","response","gate_result","shape","attempts","stepAttemptDetailResponseSchema","step_id","attempt","authored_config","config","workflowRunJobExecutionDetailDtoSchema","steps","workflowRunJobDetailDtoSchema","job_executions","workflowRunDetailResponseSchema","run_attempt","jobs"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AACtB,SAAQC,qBAAqB,QAAO,wBAAwB;AAC5D,SAAQC,YAAY,QAAO,WAAW;AACtC,SAAQC,4BAA4B,QAAO,qBAAqB;AAChE,SAAQC,0BAA0B,EAAEC,oBAAoB,EAAEC,aAAa,QAAO,YAAY;AAC1F,SAAQC,2BAA2B,EAAEC,yBAAyB,QAAO,oBAAoB;AAEzF,OAAO,MAAMC,2BAA2BT,EAAEU,IAAI,CAAC;IAC7C;IACA;IACA;IACA;IACA;CACD,EAAE;AAEH,OAAO,MAAMC,wBAAwBX,EAAEY,MAAM,CAAC;IAC5CC,IAAIb,EAAEc,MAAM,GAAGC,IAAI;IACnBC,QAAQhB,EAAEc,MAAM,GAAGC,IAAI;IACvBE,UAAUjB,EAAEkB,MAAM,GAAGC,GAAG,GAAGC,QAAQ;IACnCC,MAAMrB,EAAEc,MAAM;IACdQ,QAAQb;IACRc,eAAevB,EAAEc,MAAM,GAAGU,QAAQ;IAClCC,uBAAuBzB,EAAEc,MAAM,GAAGU,QAAQ,GAAGE,QAAQ;IACrDC,QAAQ3B,EAAE4B,KAAK,CAAC5B,EAAEc,MAAM,IAAIU,QAAQ;IACpCK,gBAAgB7B,EAAE4B,KAAK,CAACzB,8BAA8B2B,OAAO,CAAC,EAAE;IAChEC,SAAS/B,EAAEgC,MAAM,CAAChC,EAAEc,MAAM,IAAId,EAAEiC,OAAO,IAAIT,QAAQ;IACnDU,kBAAkBjC,sBAAsBuB,QAAQ;IAChDW,WAAWnC,EAAEc,MAAM,GAAGU,QAAQ;IAC9B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CAAC2B;AAChB,GAAG"}
1
+ {"version":3,"sources":["../../src/schemas/workflow-run-detail.ts"],"sourcesContent":["import {z} from 'zod';\nimport {evaluationTraceSchema} from './evaluation-trace.js';\nimport {jobDtoSchema} from './job.js';\nimport {workflowExecutionEventSchema} from './job-listening.js';\nimport {stepAttemptDetailDtoSchema, stepAttemptDtoSchema, stepDtoSchema} from './step.js';\nimport {\n jobExecutionStatusSchema,\n workflowRunAttemptDtoSchema,\n workflowRunResponseSchema,\n} from './workflow-run.js';\n\nexport const jobExecutionDtoSchema = z.object({\n id: z.string().uuid(),\n job_id: z.string().uuid(),\n sequence: z.number().int().positive(),\n name: z.string(),\n status: jobExecutionStatusSchema,\n status_reason: z.string().nullable(),\n status_reason_message: z.string().nullable().optional(),\n runner: z.array(z.string()).nullable(),\n trigger_events: z.array(workflowExecutionEventSchema).default([]),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n evaluation_trace: evaluationTraceSchema.nullable(),\n queued_at: z.string().nullable(),\n started_at: z.string().nullable(),\n finished_at: z.string().nullable(),\n timed_out_at: z.string().nullable(),\n created_at: z.string(),\n updated_at: z.string(),\n});\n\nexport type JobExecutionDto = z.infer<typeof jobExecutionDtoSchema>;\n\n// A step with its attempt history: one entry per dispatched attempt (a restarted\n// step has more than one). `current_attempt` on the step points at the latest.\nexport const workflowRunStepDetailDtoSchema = stepDtoSchema.extend({\n exit_code: z.number().int().nullable(),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n response: z.string().nullable(),\n gate_result: stepAttemptDtoSchema.shape.gate_result,\n attempts: z.array(stepAttemptDtoSchema),\n});\n\nexport type WorkflowRunStepDetailDto = z.infer<typeof workflowRunStepDetailDtoSchema>;\n\nexport const stepAttemptDetailResponseSchema = z.object({\n step_id: z.string().uuid(),\n attempt: stepAttemptDetailDtoSchema.shape.attempt,\n authored_config: z.record(z.string(), z.unknown()).nullable(),\n config: stepAttemptDetailDtoSchema.shape.config,\n evaluation_trace: stepAttemptDetailDtoSchema.shape.evaluation_trace,\n});\n\nexport type StepAttemptDetailResponseDto = z.infer<typeof stepAttemptDetailResponseSchema>;\n\nexport const workflowRunJobExecutionDetailDtoSchema = jobExecutionDtoSchema.extend({\n steps: z.array(workflowRunStepDetailDtoSchema),\n});\n\nexport type WorkflowRunJobExecutionDetailDto = z.infer<\n typeof workflowRunJobExecutionDetailDtoSchema\n>;\n\nexport const workflowRunJobDetailDtoSchema = jobDtoSchema.extend({\n job_executions: z.array(workflowRunJobExecutionDetailDtoSchema),\n});\n\nexport type WorkflowRunJobDetailDto = z.infer<typeof workflowRunJobDetailDtoSchema>;\n\n// The run detail read model returned by `GET /workflows/runs/:id`: a run plus its\n// jobs, each job's steps, and each step's attempt history.\nexport const workflowRunDetailResponseSchema = workflowRunResponseSchema.extend({\n run_attempt: workflowRunAttemptDtoSchema,\n jobs: z.array(workflowRunJobDetailDtoSchema),\n /**\n * Whether any job execution of this attempt reached its runner. Redundant with the executions\n * below, and deliberately so: the server decides it once for both this response and the run\n * list, which is what keeps the two surfaces from reaching different answers.\n *\n * Defaults to started for the same rollout reason as the list item's copy.\n */\n has_started_job_execution: z.boolean().optional().default(true),\n});\n\nexport type WorkflowRunDetailResponseDto = z.infer<typeof workflowRunDetailResponseSchema>;\n"],"names":["z","evaluationTraceSchema","jobDtoSchema","workflowExecutionEventSchema","stepAttemptDetailDtoSchema","stepAttemptDtoSchema","stepDtoSchema","jobExecutionStatusSchema","workflowRunAttemptDtoSchema","workflowRunResponseSchema","jobExecutionDtoSchema","object","id","string","uuid","job_id","sequence","number","int","positive","name","status","status_reason","nullable","status_reason_message","optional","runner","array","trigger_events","default","outputs","record","unknown","evaluation_trace","queued_at","started_at","finished_at","timed_out_at","created_at","updated_at","workflowRunStepDetailDtoSchema","extend","exit_code","response","gate_result","shape","attempts","stepAttemptDetailResponseSchema","step_id","attempt","authored_config","config","workflowRunJobExecutionDetailDtoSchema","steps","workflowRunJobDetailDtoSchema","job_executions","workflowRunDetailResponseSchema","run_attempt","j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,EAAEiB,MAAM,GAAGC,GAAG,GAAGK,QAAQ;IACpCO,SAAS9B,EAAE+B,MAAM,CAAC/B,EAAEa,MAAM,IAAIb,EAAEgC,OAAO,IAAIT,QAAQ;IACnDoB,UAAU3C,EAAEa,MAAM,GAAGU,QAAQ;IAC7BqB,aAAavC,qBAAqBwC,KAAK,CAACD,WAAW;IACnDE,UAAU9C,EAAE2B,KAAK,CAACtB;AACpB,GAAG;AAIH,OAAO,MAAM0C,kCAAkC/C,EAAEW,MAAM,CAAC;IACtDqC,SAAShD,EAAEa,MAAM,GAAGC,IAAI;IACxBmC,SAAS7C,2BAA2ByC,KAAK,CAACI,OAAO;IACjDC,iBAAiBlD,EAAE+B,MAAM,CAAC/B,EAAEa,MAAM,IAAIb,EAAEgC,OAAO,IAAIT,QAAQ;IAC3D4B,QAAQ/C,2BAA2ByC,KAAK,CAACM,MAAM;IAC/ClB,kBAAkB7B,2BAA2ByC,KAAK,CAACZ,gBAAgB;AACrE,GAAG;AAIH,OAAO,MAAMmB,yCAAyC1C,sBAAsB+B,MAAM,CAAC;IACjFY,OAAOrD,EAAE2B,KAAK,CAACa;AACjB,GAAG;AAMH,OAAO,MAAMc,gCAAgCpD,aAAauC,MAAM,CAAC;IAC/Dc,gBAAgBvD,EAAE2B,KAAK,CAACyB;AAC1B,GAAG;AAIH,kFAAkF;AAClF,2DAA2D;AAC3D,OAAO,MAAMI,kCAAkC/C,0BAA0BgC,MAAM,CAAC;IAC9EgB,aAAajD;IACbkD,MAAM1D,EAAE2B,KAAK,CAAC2B;IACd;;;;;;GAMC,GACDK,2BAA2B3D,EAAE4D,OAAO,GAAGnC,QAAQ,GAAGI,OAAO,CAAC;AAC5D,GAAG"}
@@ -7,6 +7,13 @@ export declare const workflowRunStatusSchema: z.ZodEnum<{
7
7
  succeeded: "succeeded";
8
8
  }>;
9
9
  export type WorkflowRunStatusDto = z.infer<typeof workflowRunStatusSchema>;
10
+ export declare const jobExecutionStatusSchema: z.ZodEnum<{
11
+ cancelled: "cancelled";
12
+ failed: "failed";
13
+ pending: "pending";
14
+ running: "running";
15
+ succeeded: "succeeded";
16
+ }>;
10
17
  export declare const workflowRunRerunModeSchema: z.ZodEnum<{
11
18
  all: "all";
12
19
  failed: "failed";
@@ -191,9 +198,25 @@ export declare const workflowRunJobSummaryDtoSchema: z.ZodObject<{
191
198
  skipped: "skipped";
192
199
  succeeded: "succeeded";
193
200
  }>;
201
+ mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
202
+ listening: "listening";
203
+ one_shot: "one_shot";
204
+ }>>>;
205
+ listener_status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
206
+ inactive: "inactive";
207
+ listening: "listening";
208
+ resolved: "resolved";
209
+ }>>>;
210
+ execution_status: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
211
+ cancelled: "cancelled";
212
+ failed: "failed";
213
+ pending: "pending";
214
+ running: "running";
215
+ succeeded: "succeeded";
216
+ }>>>>;
194
217
  position: z.ZodNumber;
195
218
  }, z.core.$strip>;
196
- export type WorkflowRunJobSummaryDto = z.infer<typeof workflowRunJobSummaryDtoSchema>;
219
+ export type WorkflowRunJobSummaryDto = z.input<typeof workflowRunJobSummaryDtoSchema>;
197
220
  /**
198
221
  * How many jobs a run list row carries in graph order.
199
222
  *
@@ -203,7 +226,7 @@ export type WorkflowRunJobSummaryDto = z.infer<typeof workflowRunJobSummaryDtoSc
203
226
  * change, and `job_status_counts` still describes the jobs beyond it.
204
227
  */
205
228
  export declare const WORKFLOW_RUN_JOB_PREVIEW_LIMIT = 16;
206
- /** One status and how many of the run's jobs hold it, counted over all of them. */
229
+ /** The persisted job verdict and how many of the run's jobs carry it, counted over all of them. */
207
230
  export declare const workflowRunJobStatusCountDtoSchema: z.ZodObject<{
208
231
  status: z.ZodEnum<{
209
232
  cancelled: "cancelled";
@@ -216,6 +239,19 @@ export declare const workflowRunJobStatusCountDtoSchema: z.ZodObject<{
216
239
  count: z.ZodNumber;
217
240
  }, z.core.$strip>;
218
241
  export type WorkflowRunJobStatusCountDto = z.infer<typeof workflowRunJobStatusCountDtoSchema>;
242
+ /** One display status and how many of the run's jobs render it, counted over all of them. */
243
+ export declare const workflowRunJobDisplayStatusCountDtoSchema: z.ZodObject<{
244
+ status: z.ZodUnion<[z.ZodEnum<{
245
+ cancelled: "cancelled";
246
+ failed: "failed";
247
+ pending: "pending";
248
+ running: "running";
249
+ skipped: "skipped";
250
+ succeeded: "succeeded";
251
+ }>, z.ZodLiteral<"listening">]>;
252
+ count: z.ZodNumber;
253
+ }, z.core.$strip>;
254
+ export type WorkflowRunJobDisplayStatusCountDto = z.infer<typeof workflowRunJobDisplayStatusCountDtoSchema>;
219
255
  export declare const workflowRunListItemSchema: z.ZodObject<{
220
256
  id: z.ZodString;
221
257
  project_id: z.ZodString;
@@ -263,6 +299,22 @@ export declare const workflowRunListItemSchema: z.ZodObject<{
263
299
  skipped: "skipped";
264
300
  succeeded: "succeeded";
265
301
  }>;
302
+ mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
303
+ listening: "listening";
304
+ one_shot: "one_shot";
305
+ }>>>;
306
+ listener_status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
307
+ inactive: "inactive";
308
+ listening: "listening";
309
+ resolved: "resolved";
310
+ }>>>;
311
+ execution_status: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
312
+ cancelled: "cancelled";
313
+ failed: "failed";
314
+ pending: "pending";
315
+ running: "running";
316
+ succeeded: "succeeded";
317
+ }>>>>;
266
318
  position: z.ZodNumber;
267
319
  }, z.core.$strip>>;
268
320
  job_status_counts: z.ZodArray<z.ZodObject<{
@@ -276,8 +328,20 @@ export declare const workflowRunListItemSchema: z.ZodObject<{
276
328
  }>;
277
329
  count: z.ZodNumber;
278
330
  }, z.core.$strip>>;
331
+ job_display_status_counts: z.ZodOptional<z.ZodArray<z.ZodObject<{
332
+ status: z.ZodUnion<[z.ZodEnum<{
333
+ cancelled: "cancelled";
334
+ failed: "failed";
335
+ pending: "pending";
336
+ running: "running";
337
+ skipped: "skipped";
338
+ succeeded: "succeeded";
339
+ }>, z.ZodLiteral<"listening">]>;
340
+ count: z.ZodNumber;
341
+ }, z.core.$strip>>>;
342
+ has_started_job_execution: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
279
343
  }, z.core.$strip>;
280
- export type WorkflowRunListItemDto = z.infer<typeof workflowRunListItemSchema>;
344
+ export type WorkflowRunListItemDto = z.input<typeof workflowRunListItemSchema>;
281
345
  export declare const workflowRunListResponseSchema: z.ZodObject<{
282
346
  runs: z.ZodArray<z.ZodObject<{
283
347
  id: z.ZodString;
@@ -326,6 +390,22 @@ export declare const workflowRunListResponseSchema: z.ZodObject<{
326
390
  skipped: "skipped";
327
391
  succeeded: "succeeded";
328
392
  }>;
393
+ mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
394
+ listening: "listening";
395
+ one_shot: "one_shot";
396
+ }>>>;
397
+ listener_status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
398
+ inactive: "inactive";
399
+ listening: "listening";
400
+ resolved: "resolved";
401
+ }>>>;
402
+ execution_status: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
403
+ cancelled: "cancelled";
404
+ failed: "failed";
405
+ pending: "pending";
406
+ running: "running";
407
+ succeeded: "succeeded";
408
+ }>>>>;
329
409
  position: z.ZodNumber;
330
410
  }, z.core.$strip>>;
331
411
  job_status_counts: z.ZodArray<z.ZodObject<{
@@ -339,11 +419,23 @@ export declare const workflowRunListResponseSchema: z.ZodObject<{
339
419
  }>;
340
420
  count: z.ZodNumber;
341
421
  }, z.core.$strip>>;
422
+ job_display_status_counts: z.ZodOptional<z.ZodArray<z.ZodObject<{
423
+ status: z.ZodUnion<[z.ZodEnum<{
424
+ cancelled: "cancelled";
425
+ failed: "failed";
426
+ pending: "pending";
427
+ running: "running";
428
+ skipped: "skipped";
429
+ succeeded: "succeeded";
430
+ }>, z.ZodLiteral<"listening">]>;
431
+ count: z.ZodNumber;
432
+ }, z.core.$strip>>>;
433
+ has_started_job_execution: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
342
434
  }, z.core.$strip>>;
343
435
  next_cursor: z.ZodNullable<z.ZodString>;
344
436
  filtered_total_count: z.ZodNullable<z.ZodNumber>;
345
437
  }, z.core.$strip>;
346
- export type WorkflowRunListResponseDto = z.infer<typeof workflowRunListResponseSchema>;
438
+ export type WorkflowRunListResponseDto = z.input<typeof workflowRunListResponseSchema>;
347
439
  export declare const workflowRunAggregatesResponseSchema: z.ZodObject<{
348
440
  status: z.ZodArray<z.ZodObject<{
349
441
  value: z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-run.d.ts","sourceRoot":"","sources":["../../src/schemas/workflow-run.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,eAAO,MAAM,uBAAuB;;;;;;EAMlC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE3E,eAAO,MAAM,0BAA0B;;;EAA4B,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEjF,eAAO,MAAM,0BAA0B;;;;;iBAErC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAwCjF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;iBAAyD,CAAC;AAEjG,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEjF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;iBAEX,CAAC;AAEnC,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AA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8B,KAAK,CAAC;AAEjD,mGAAmG;AACnG,eAAO,MAAM,kCAAkC;;;;;;;;;;iBAG7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,6FAA6F;AAC7F,eAAO,MAAM,yCAAyC;;;;;;;;;;iBAGpD,CAAC;AAEH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,yCAAyC,CACjD,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkBpC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE/E,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIxC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAOvF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;iBAM9C,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { jobStatusSchema } from './job.js';
3
+ import { jobModeSchema, listenerStatusSchema } from './job-listening.js';
3
4
  export const workflowRunStatusSchema = z.enum([
4
5
  'pending',
5
6
  'running',
@@ -7,6 +8,13 @@ export const workflowRunStatusSchema = z.enum([
7
8
  'failed',
8
9
  'cancelled'
9
10
  ]);
11
+ export const jobExecutionStatusSchema = z.enum([
12
+ 'pending',
13
+ 'running',
14
+ 'succeeded',
15
+ 'failed',
16
+ 'cancelled'
17
+ ]);
10
18
  export const workflowRunRerunModeSchema = z.enum([
11
19
  'all',
12
20
  'failed'
@@ -105,12 +113,18 @@ export const workflowRunAttemptsResponseSchema = z.object({
105
113
  attempts: z.array(workflowRunAttemptDtoSchema)
106
114
  });
107
115
  // The run list renders a status glyph per job so a failing run can be read without being
108
- // opened, which needs the current attempt's jobs in graph order but none of their steps.
116
+ // opened. Runtime state comes from the selected execution rather than the job verdict, while
117
+ // mode and listener status let the client apply the same display rule as run detail. These
118
+ // fields default to the pre-display-state contract so a web client can roll out before or
119
+ // alongside an API deployment without rejecting an older response.
109
120
  export const workflowRunJobSummaryDtoSchema = z.object({
110
121
  id: z.string().uuid(),
111
122
  key: z.string(),
112
123
  name: z.string().nullable(),
113
124
  status: jobStatusSchema,
125
+ mode: jobModeSchema.optional().default('one_shot'),
126
+ listener_status: listenerStatusSchema.optional().default('inactive'),
127
+ execution_status: jobExecutionStatusSchema.nullable().optional().default(null),
114
128
  position: z.number().int().nonnegative()
115
129
  });
116
130
  /**
@@ -121,13 +135,28 @@ export const workflowRunJobSummaryDtoSchema = z.object({
121
135
  * above what any current surface draws: a client is free to show fewer without a server
122
136
  * change, and `job_status_counts` still describes the jobs beyond it.
123
137
  */ export const WORKFLOW_RUN_JOB_PREVIEW_LIMIT = 16;
124
- /** One status and how many of the run's jobs hold it, counted over all of them. */ export const workflowRunJobStatusCountDtoSchema = z.object({
138
+ /** The persisted job verdict and how many of the run's jobs carry it, counted over all of them. */ export const workflowRunJobStatusCountDtoSchema = z.object({
125
139
  status: jobStatusSchema,
126
140
  count: z.number().int().positive()
127
141
  });
142
+ /** One display status and how many of the run's jobs render it, counted over all of them. */ export const workflowRunJobDisplayStatusCountDtoSchema = z.object({
143
+ status: jobStatusSchema.or(z.literal('listening')),
144
+ count: z.number().int().positive()
145
+ });
128
146
  export const workflowRunListItemSchema = workflowRunResponseSchema.extend({
129
147
  /** Up to `WORKFLOW_RUN_JOB_PREVIEW_LIMIT` jobs in graph order, not the whole set. */ jobs: z.array(workflowRunJobSummaryDtoSchema).max(WORKFLOW_RUN_JOB_PREVIEW_LIMIT),
130
- /** Counted over every job of the attempt, including those past the preview. */ job_status_counts: z.array(workflowRunJobStatusCountDtoSchema)
148
+ /** Persisted verdict counts, kept stable so older web clients can consume new responses. */ job_status_counts: z.array(workflowRunJobStatusCountDtoSchema),
149
+ /**
150
+ * Display-state counts over every job of the attempt, including those past the preview.
151
+ * Optional so a new web client can consume an older API response during rollout.
152
+ */ job_display_status_counts: z.array(workflowRunJobDisplayStatusCountDtoSchema).optional(),
153
+ /**
154
+ * Whether any job execution in the attempt reached its runner. A `cancelled` job does not say
155
+ * this on its own, so the counts above cannot answer it.
156
+ *
157
+ * Defaults to started, so an older API response during a rollout keeps the reading a run had
158
+ * before this field existed rather than claiming work that ran never began.
159
+ */ has_started_job_execution: z.boolean().optional().default(true)
131
160
  });
132
161
  export const workflowRunListResponseSchema = z.object({
133
162
  runs: z.array(workflowRunListItemSchema),