@shipfox/api-workflows-dto 13.0.0 → 14.0.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.
Files changed (41) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +28 -0
  3. package/dist/events.d.ts +8 -8
  4. package/dist/index.d.ts +1 -1
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1 -1
  7. package/dist/index.js.map +1 -1
  8. package/dist/schemas/index.d.ts +1 -1
  9. package/dist/schemas/index.d.ts.map +1 -1
  10. package/dist/schemas/index.js +1 -1
  11. package/dist/schemas/index.js.map +1 -1
  12. package/dist/schemas/job-execution.d.ts +4 -0
  13. package/dist/schemas/job-execution.d.ts.map +1 -1
  14. package/dist/schemas/job-listening.d.ts +3 -3
  15. package/dist/schemas/job-listening.js +1 -1
  16. package/dist/schemas/job-listening.js.map +1 -1
  17. package/dist/schemas/job.d.ts +2 -2
  18. package/dist/schemas/step.d.ts +4 -0
  19. package/dist/schemas/step.d.ts.map +1 -1
  20. package/dist/schemas/step.js +2 -0
  21. package/dist/schemas/step.js.map +1 -1
  22. package/dist/schemas/workflow-run-detail.d.ts +23 -4
  23. package/dist/schemas/workflow-run-detail.d.ts.map +1 -1
  24. package/dist/schemas/workflow-run-detail.js +10 -9
  25. package/dist/schemas/workflow-run-detail.js.map +1 -1
  26. package/dist/schemas/workflow-run.d.ts +126 -2
  27. package/dist/schemas/workflow-run.d.ts.map +1 -1
  28. package/dist/schemas/workflow-run.js +52 -13
  29. package/dist/schemas/workflow-run.js.map +1 -1
  30. package/dist/tsconfig.test.tsbuildinfo +1 -1
  31. package/package.json +2 -2
  32. package/src/index.ts +4 -0
  33. package/src/schemas/index.ts +4 -0
  34. package/src/schemas/job-listening.test.ts +21 -0
  35. package/src/schemas/job-listening.ts +1 -1
  36. package/src/schemas/step.test.ts +15 -0
  37. package/src/schemas/step.ts +2 -0
  38. package/src/schemas/workflow-run-detail.ts +17 -13
  39. package/src/schemas/workflow-run.test.ts +151 -0
  40. package/src/schemas/workflow-run.ts +80 -24
  41. package/tsconfig.build.tsbuildinfo +1 -1
@@ -1,2 +1,2 @@
1
1
  $ shipfox-swc
2
- Successfully compiled: 16 files with swc (178.69ms)
2
+ Successfully compiled: 16 files with swc (450.01ms)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @shipfox/api-workflows-dto
2
2
 
3
+ ## 14.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4f30864: Trigger `event` is now optional end to end. An omitted event subscribes to every event from its source. Explicit events continue to work unchanged. Built-in manual and scheduled triggers use `fire` and `tick`, respectively.
8
+ - b766ee3: Adds `origin` and `dev_source` to workflow runs, with an `origin` facet on the run list and aggregates endpoints. Existing runs read as `synced`. Dev runs check out their pinned source commit by default, while same-project replay event commits retain precedence.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [09924ca]
13
+ - @shipfox/api-agent-dto@14.0.0
14
+
15
+ ## 13.1.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 0d3c2e3: Updates @shipfox/client-agent, @shipfox/client-onboarding, and @shipfox/client-workflows to show
20
+ managed inference providers without exposing workspace credential setup, keep workflow examples
21
+ limited to supported models, and explain managed-provider failures in workflow runs.
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [0d3c2e3]
26
+ - Updated dependencies [5c100d6]
27
+ - Updated dependencies [ca91dc3]
28
+ - Updated dependencies [67aab38]
29
+ - @shipfox/api-agent-dto@13.1.0
30
+
3
31
  ## 13.0.0
4
32
 
5
33
  ### Major Changes
package/dist/events.d.ts CHANGED
@@ -109,7 +109,7 @@ export declare const workflowsJobActivatedSchema: z.ZodDiscriminatedUnion<[z.Zod
109
109
  mode: z.ZodLiteral<"one_shot">;
110
110
  on: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
111
111
  source: z.ZodString;
112
- event: z.ZodString;
112
+ event: z.ZodOptional<z.ZodString>;
113
113
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
114
114
  filter: z.ZodOptional<z.ZodString>;
115
115
  filter_snapshot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -117,7 +117,7 @@ export declare const workflowsJobActivatedSchema: z.ZodDiscriminatedUnion<[z.Zod
117
117
  }, z.core.$strip>>>>;
118
118
  until: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
119
119
  source: z.ZodString;
120
- event: z.ZodString;
120
+ event: z.ZodOptional<z.ZodString>;
121
121
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
122
122
  filter: z.ZodOptional<z.ZodString>;
123
123
  filter_snapshot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -130,7 +130,7 @@ export declare const workflowsJobActivatedSchema: z.ZodDiscriminatedUnion<[z.Zod
130
130
  mode: z.ZodLiteral<"listening">;
131
131
  on: z.ZodArray<z.ZodObject<{
132
132
  source: z.ZodString;
133
- event: z.ZodString;
133
+ event: z.ZodOptional<z.ZodString>;
134
134
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
135
135
  filter: z.ZodOptional<z.ZodString>;
136
136
  filter_snapshot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -138,7 +138,7 @@ export declare const workflowsJobActivatedSchema: z.ZodDiscriminatedUnion<[z.Zod
138
138
  }, z.core.$strip>>;
139
139
  until: z.ZodNullable<z.ZodArray<z.ZodObject<{
140
140
  source: z.ZodString;
141
- event: z.ZodString;
141
+ event: z.ZodOptional<z.ZodString>;
142
142
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
143
143
  filter: z.ZodOptional<z.ZodString>;
144
144
  filter_snapshot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -306,7 +306,7 @@ export declare const workflowsEventSchemas: {
306
306
  mode: z.ZodLiteral<"one_shot">;
307
307
  on: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
308
308
  source: z.ZodString;
309
- event: z.ZodString;
309
+ event: z.ZodOptional<z.ZodString>;
310
310
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
311
311
  filter: z.ZodOptional<z.ZodString>;
312
312
  filter_snapshot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -314,7 +314,7 @@ export declare const workflowsEventSchemas: {
314
314
  }, z.core.$strip>>>>;
315
315
  until: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
316
316
  source: z.ZodString;
317
- event: z.ZodString;
317
+ event: z.ZodOptional<z.ZodString>;
318
318
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
319
319
  filter: z.ZodOptional<z.ZodString>;
320
320
  filter_snapshot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -327,7 +327,7 @@ export declare const workflowsEventSchemas: {
327
327
  mode: z.ZodLiteral<"listening">;
328
328
  on: z.ZodArray<z.ZodObject<{
329
329
  source: z.ZodString;
330
- event: z.ZodString;
330
+ event: z.ZodOptional<z.ZodString>;
331
331
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
332
332
  filter: z.ZodOptional<z.ZodString>;
333
333
  filter_snapshot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -335,7 +335,7 @@ export declare const workflowsEventSchemas: {
335
335
  }, z.core.$strip>>;
336
336
  until: z.ZodNullable<z.ZodArray<z.ZodObject<{
337
337
  source: z.ZodString;
338
- event: z.ZodString;
338
+ event: z.ZodOptional<z.ZodString>;
339
339
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
340
340
  filter: z.ZodOptional<z.ZodString>;
341
341
  filter_snapshot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
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';
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 WorkflowRunDevSourceDto, type WorkflowRunDto, type WorkflowRunJobDetailDto, type WorkflowRunJobExecutionDetailDto, type WorkflowRunListQueryDto, type WorkflowRunListResponseDto, type WorkflowRunOriginDto, type WorkflowRunRerunModeDto, type WorkflowRunResponseDto, type WorkflowRunStatusDto, type WorkflowRunStepDetailDto, workflowExecutionContextSchema, workflowExecutionEventSchema, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDetailResponseSchema, workflowRunDevSourceSchema, workflowRunDtoSchema, workflowRunJobDetailDtoSchema, workflowRunJobDisplayStatusCountDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunOriginSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunStepDetailDtoSchema, } from '#schemas/index.js';
2
2
  export { type StepSourceLocationDto, stepSourceLocationSchema } from '#schemas/step.js';
3
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_QUEUED, WORKFLOWS_JOB_EXECUTION_TERMINATED, 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 WorkflowsJobExecutionQueuedEventDto, type WorkflowsJobExecutionTerminatedEventDto, type WorkflowsJobStepsSettledEventDto, type WorkflowsJobTerminatedEventDto, type WorkflowsStepAttemptTerminatedEventDto, type WorkflowsStepRestartEnqueuedEventDto, type WorkflowsWorkflowRunAttemptCreatedEventDto, type WorkflowsWorkflowRunCancelledEventDto, type WorkflowsWorkflowRunTerminatedEventDto, workflowRunTerminalStatusSchema, workflowsEventSchemas, workflowsJobActivatedSchema, workflowsJobEventDeliveredSchema, workflowsJobExecutionQueuedSchema, workflowsJobExecutionTerminatedSchema, workflowsJobStepsSettledSchema, workflowsJobTerminatedSchema, workflowsStepAttemptTerminatedSchema, workflowsStepRestartEnqueuedSchema, workflowsWorkflowRunAttemptCreatedSchema, workflowsWorkflowRunCancelledSchema, workflowsWorkflowRunTerminatedSchema, } from './events.js';
@@ -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,EACX,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,YAAY,EACZ,wBAAwB,EACxB,uBAAuB,EACvB,kBAAkB,EAClB,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,KAAK,mBAAmB,EACxB,sBAAsB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,6BAA6B,EAC7B,wBAAwB,EACxB,mBAAmB,EACnB,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EACjC,KAAK,cAAc,EACnB,KAAK,OAAO,EACZ,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,0BAA0B,EAC1B,+BAA+B,E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rB,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, 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';
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, workflowRunDevSourceSchema, workflowRunDtoSchema, workflowRunJobDetailDtoSchema, workflowRunJobDisplayStatusCountDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunOriginSchema, 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_QUEUED, WORKFLOWS_JOB_EXECUTION_TERMINATED, 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, workflowsJobExecutionQueuedSchema, workflowsJobExecutionTerminatedSchema, 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 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_QUEUED,\n WORKFLOWS_JOB_EXECUTION_TERMINATED,\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 WorkflowsJobExecutionQueuedEventDto,\n type WorkflowsJobExecutionTerminatedEventDto,\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 workflowsJobExecutionQueuedSchema,\n workflowsJobExecutionTerminatedSchema,\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_QUEUED","WORKFLOWS_JOB_EXECUTION_TERMINATED","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","workflowsJobExecutionQueuedSchema","workflowsJobExecutionTerminatedSchema","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,s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entRuntimeConfigQueryDto,\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 WorkflowRunDevSourceDto,\n type WorkflowRunDto,\n type WorkflowRunJobDetailDto,\n type WorkflowRunJobExecutionDetailDto,\n type WorkflowRunListQueryDto,\n type WorkflowRunListResponseDto,\n type WorkflowRunOriginDto,\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 workflowRunDevSourceSchema,\n workflowRunDtoSchema,\n workflowRunJobDetailDtoSchema,\n workflowRunJobDisplayStatusCountDtoSchema,\n workflowRunJobExecutionDetailDtoSchema,\n workflowRunJobStatusCountDtoSchema,\n workflowRunJobSummaryDtoSchema,\n workflowRunListItemSchema,\n workflowRunListQuerySchema,\n workflowRunListResponseSchema,\n workflowRunOriginSchema,\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_QUEUED,\n WORKFLOWS_JOB_EXECUTION_TERMINATED,\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 WorkflowsJobExecutionQueuedEventDto,\n type WorkflowsJobExecutionTerminatedEventDto,\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 workflowsJobExecutionQueuedSchema,\n workflowsJobExecutionTerminatedSchema,\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","workflowRunDevSourceSchema","workflowRunDtoSchema","workflowRunJobDetailDtoSchema","workflowRunJobDisplayStatusCountDtoSchema","workflowRunJobExecutionDetailDtoSchema","workflowRunJobStatusCountDtoSchema","workflowRunJobSummaryDtoSchema","workflowRunListItemSchema","workflowRunListQuerySchema","workflowRunListResponseSchema","workflowRunOriginSchema","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_QUEUED","WORKFLOWS_JOB_EXECUTION_TERMINATED","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","workflowsJobExecutionQueuedSchema","workflowsJobExecutionTerminatedSchema","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,EAmBxBC,8BAA8B,EAC9BC,4BAA4B,EAC5BC,gCAAgC,EAChCC,mCAAmC,EACnCC,2BAA2B,EAC3BC,iCAAiC,EACjCC,+BAA+B,EAC/BC,0BAA0B,EAC1BC,oBAAoB,EACpBC,6BAA6B,EAC7BC,yCAAyC,EACzCC,sCAAsC,EACtCC,kCAAkC,EAClCC,8BAA8B,EAC9BC,yBAAyB,EACzBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,uBAAuB,EACvBC,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,8BAA8B,EAC9BC,kCAAkC,EAClCC,2BAA2B,EAC3BC,wBAAwB,EACxBC,iCAAiC,EACjCC,+BAA+B,EAC/BC,sCAAsC,EACtCC,gCAAgC,EAChCC,iCAAiC,EAajCC,+BAA+B,EAC/BC,qBAAqB,EACrBC,2BAA2B,EAC3BC,gCAAgC,EAChCC,iCAAiC,EACjCC,qCAAqC,EACrCC,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 { 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';
10
+ export { jobExecutionStatusSchema, type RerunWorkflowRunBodyDto, rerunWorkflowRunBodySchema, WORKFLOW_RUN_JOB_PREVIEW_LIMIT, type WorkflowRunAggregatesQueryDto, type WorkflowRunAggregatesResponseDto, type WorkflowRunAttemptDto, type WorkflowRunAttemptsResponseDto, type WorkflowRunDevSourceDto, type WorkflowRunDto, type WorkflowRunJobDisplayStatusCountDto, type WorkflowRunJobStatusCountDto, type WorkflowRunJobSummaryDto, type WorkflowRunListItemDto, type WorkflowRunListQueryDto, type WorkflowRunListResponseDto, type WorkflowRunOriginDto, type WorkflowRunRerunModeDto, type WorkflowRunResponseDto, type WorkflowRunStatusDto, type WorkflowRunTriggerReferenceDto, type WorkflowSourceSnapshotDto, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDevSourceSchema, workflowRunDtoSchema, workflowRunJobDisplayStatusCountDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunOriginSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunTriggerReferenceSchema, workflowSourceSnapshotSchema, } from './workflow-run.js';
11
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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AAM,WAAW,CAAC;AACnB,OAAO,EACL,wBAAwB,EACxB,KAAK,uBAAuB,EAC5B,0BAA0B,EAC1B,8BAA8B,EAC9B,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACrC,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAC5B,KAAK,cAAc,EACnB,KAAK,mCAAmC,EACxC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,yBAAyB,EAC9B,gCAAgC,EAChC,mCAAmC,EACnC,2BAA2B,EAC3B,iCAAiC,EACjC,0BAA0B,EAC1B,oBAAoB,EACpB,yCAAyC,EACzC,kCAAkC,EAClC,8BAA8B,EAC9B,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,uBAAuB,EACvB,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 { 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';
10
+ export { jobExecutionStatusSchema, rerunWorkflowRunBodySchema, WORKFLOW_RUN_JOB_PREVIEW_LIMIT, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDevSourceSchema, workflowRunDtoSchema, workflowRunJobDisplayStatusCountDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunOriginSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunTriggerReferenceSchema, workflowSourceSnapshotSchema } from './workflow-run.js';
11
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 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
+ {"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 WorkflowRunDevSourceDto,\n type WorkflowRunDto,\n type WorkflowRunJobDisplayStatusCountDto,\n type WorkflowRunJobStatusCountDto,\n type WorkflowRunJobSummaryDto,\n type WorkflowRunListItemDto,\n type WorkflowRunListQueryDto,\n type WorkflowRunListResponseDto,\n type WorkflowRunOriginDto,\n type WorkflowRunRerunModeDto,\n type WorkflowRunResponseDto,\n type WorkflowRunStatusDto,\n type WorkflowRunTriggerReferenceDto,\n type WorkflowSourceSnapshotDto,\n workflowRunAggregatesQuerySchema,\n workflowRunAggregatesResponseSchema,\n workflowRunAttemptDtoSchema,\n workflowRunAttemptsResponseSchema,\n workflowRunDevSourceSchema,\n workflowRunDtoSchema,\n workflowRunJobDisplayStatusCountDtoSchema,\n workflowRunJobStatusCountDtoSchema,\n workflowRunJobSummaryDtoSchema,\n workflowRunListItemSchema,\n workflowRunListQuerySchema,\n workflowRunListResponseSchema,\n workflowRunOriginSchema,\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","workflowRunDevSourceSchema","workflowRunDtoSchema","workflowRunJobDisplayStatusCountDtoSchema","workflowRunJobStatusCountDtoSchema","workflowRunJobSummaryDtoSchema","workflowRunListItemSchema","workflowRunListQuerySchema","workflowRunListResponseSchema","workflowRunOriginSchema","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,EAmB9BC,gCAAgC,EAChCC,mCAAmC,EACnCC,2BAA2B,EAC3BC,iCAAiC,EACjCC,0BAA0B,EAC1BC,oBAAoB,EACpBC,yCAAyC,EACzCC,kCAAkC,EAClCC,8BAA8B,EAC9BC,yBAAyB,EACzBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,uBAAuB,EACvBC,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"}
@@ -41,6 +41,8 @@ export declare const nextStepResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
41
41
  }, z.core.$strip>]>>>;
42
42
  error: z.ZodNullable<z.ZodObject<{
43
43
  message: z.ZodString;
44
+ code: z.ZodOptional<z.ZodString>;
45
+ managed_provider_id: z.ZodOptional<z.ZodString>;
44
46
  exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
47
  signal: z.ZodOptional<z.ZodString>;
46
48
  reason: z.ZodOptional<z.ZodEnum<{
@@ -101,6 +103,8 @@ export declare const reportStepBodySchema: z.ZodObject<{
101
103
  }>;
102
104
  error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
103
105
  message: z.ZodString;
106
+ code: z.ZodOptional<z.ZodString>;
107
+ managed_provider_id: z.ZodOptional<z.ZodString>;
104
108
  exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105
109
  signal: z.ZodOptional<z.ZodString>;
106
110
  reason: z.ZodOptional<z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"job-execution.d.ts","sourceRoot":"","sources":["../../src/schemas/job-execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAItB,eAAO,MAAM,wBAAwB,QAAW,CAAC;AAEjD;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwBjC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEzE,eAAO,MAAM,oBAAoB;;;;;iBAO0C,CAAC;AAC5E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAErE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2C7B,CAAC;AAEL,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAErE,eAAO,MAAM,wBAAwB;;;iBAOnC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"job-execution.d.ts","sourceRoot":"","sources":["../../src/schemas/job-execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAItB,eAAO,MAAM,wBAAwB,QAAW,CAAC;AAEjD;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwBjC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEzE,eAAO,MAAM,oBAAoB;;;;;iBAO0C,CAAC;AAC5E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAErE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2C7B,CAAC;AAEL,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAErE,eAAO,MAAM,wBAAwB;;;iBAOnC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -16,7 +16,7 @@ export declare const resolutionReasonSchema: z.ZodEnum<{
16
16
  }>;
17
17
  export declare const listeningTriggerSchema: z.ZodObject<{
18
18
  source: z.ZodString;
19
- event: z.ZodString;
19
+ event: z.ZodOptional<z.ZodString>;
20
20
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
21
21
  filter: z.ZodOptional<z.ZodString>;
22
22
  }, z.core.$strip>;
@@ -28,13 +28,13 @@ export declare const jobListeningBatchSchema: z.ZodObject<{
28
28
  export declare const jobListeningSchema: z.ZodObject<{
29
29
  on: z.ZodArray<z.ZodObject<{
30
30
  source: z.ZodString;
31
- event: z.ZodString;
31
+ event: z.ZodOptional<z.ZodString>;
32
32
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
33
33
  filter: z.ZodOptional<z.ZodString>;
34
34
  }, z.core.$strip>>;
35
35
  until: z.ZodNullable<z.ZodArray<z.ZodObject<{
36
36
  source: z.ZodString;
37
- event: z.ZodString;
37
+ event: z.ZodOptional<z.ZodString>;
38
38
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
39
39
  filter: z.ZodOptional<z.ZodString>;
40
40
  }, z.core.$strip>>>;
@@ -16,7 +16,7 @@ export const resolutionReasonSchema = z.enum([
16
16
  ]);
17
17
  export const listeningTriggerSchema = z.object({
18
18
  source: z.string(),
19
- event: z.string(),
19
+ event: z.string().optional(),
20
20
  inputs: z.record(z.string(), z.unknown()).optional(),
21
21
  filter: z.string().optional()
22
22
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/schemas/job-listening.ts"],"sourcesContent":["import {z} from 'zod';\n\nexport const jobModeSchema = z.enum(['one_shot', 'listening']);\nexport const listenerStatusSchema = z.enum(['inactive', 'listening', 'resolved']);\nexport const resolutionReasonSchema = z.enum(['until', 'timeout', 'max_executions', 'cancelled']);\n\nexport const listeningTriggerSchema = z.object({\n source: z.string(),\n event: z.string(),\n inputs: z.record(z.string(), z.unknown()).optional(),\n filter: z.string().optional(),\n});\n\nexport const jobListeningBatchSchema = z.object({\n debounce_ms: z.number().int().positive().optional(),\n max_size: z.number().int().positive().optional(),\n max_wait_ms: z.number().int().positive().optional(),\n});\n\nexport const jobListeningSchema = z.object({\n on: z.array(listeningTriggerSchema).min(1),\n until: z.array(listeningTriggerSchema).min(1).nullable(),\n timeout_ms: z.number().int().positive().nullable(),\n max_executions: z.number().int().positive().nullable(),\n batch: jobListeningBatchSchema.nullable(),\n on_resolve: z.enum(['finish', 'cancel']),\n execution_timeout_ms: z.number().int().positive().nullable(),\n name: z.string().nullable(),\n});\n\nexport const workflowExecutionEventSchema = z.object({\n source: z.string(),\n event: z.string(),\n delivery_id: z.string(),\n received_at: z.string(),\n project: z.object({id: z.string().uuid()}).nullable(),\n repository: z.string().nullable(),\n ref: z.string().nullable(),\n commit: z.string().nullable(),\n data: z.unknown(),\n});\n\nexport const workflowExecutionContextSchema = z.object({\n index: z.number().int().nonnegative(),\n name: z.string(),\n status: z.string(),\n started_at: z.string().nullable(),\n finished_at: z.string().nullable(),\n events: z.array(workflowExecutionEventSchema),\n});\n\nexport const triggerEventsBatchSchema = z.object({\n events: z.array(workflowExecutionEventSchema),\n});\n\nexport type JobModeDto = z.infer<typeof jobModeSchema>;\nexport type ListenerStatusDto = z.infer<typeof listenerStatusSchema>;\nexport type ResolutionReasonDto = z.infer<typeof resolutionReasonSchema>;\nexport type ListeningTriggerDto = z.infer<typeof listeningTriggerSchema>;\nexport type JobListeningDto = z.infer<typeof jobListeningSchema>;\nexport type WorkflowExecutionEventDto = z.infer<typeof workflowExecutionEventSchema>;\nexport type WorkflowExecutionContextDto = z.infer<typeof workflowExecutionContextSchema>;\nexport type TriggerEventsBatchDto = z.infer<typeof triggerEventsBatchSchema>;\n"],"names":["z","jobModeSchema","enum","listenerStatusSchema","resolutionReasonSchema","listeningTriggerSchema","object","source","string","event","inputs","record","unknown","optional","filter","jobListeningBatchSchema","debounce_ms","number","int","positive","max_size","max_wait_ms","jobListeningSchema","on","array","min","until","nullable","timeout_ms","max_executions","batch","on_resolve","execution_timeout_ms","name","workflowExecutionEventSchema","delivery_id","received_at","project","id","uuid","repository","ref","commit","data","workflowExecutionContextSchema","index","nonnegative","status","started_at","finished_at","events","triggerEventsBatchSchema"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AAEtB,OAAO,MAAMC,gBAAgBD,EAAEE,IAAI,CAAC;IAAC;IA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AAGmB,QAAQ;AAC3B,GAAG;AAEH,OAAO,MAAMO,+BAA+BlC,EAAEM,MAAM,CAAC;IACnDC,QAAQP,EAAEQ,MAAM;IAChBC,OAAOT,EAAEQ,MAAM;IACf2B,aAAanC,EAAEQ,MAAM;IACrB4B,aAAapC,EAAEQ,MAAM;IACrB6B,SAASrC,EAAEM,MAAM,CAAC;QAACgC,IAAItC,EAAEQ,MAAM,GAAG+B,IAAI;IAAE,GAAGZ,QAAQ;IACnDa,YAAYxC,EAAEQ,MAAM,GAAGmB,QAAQ;IAC/Bc,KAAKzC,EAAEQ,MAAM,GAAGmB,QAAQ;IACxBe,QAAQ1C,EAAEQ,MAAM,GAAGmB,QAAQ;IAC3BgB,MAAM3C,EAAEY,OAAO;AACjB,GAAG;AAEH,OAAO,MAAMgC,iCAAiC5C,EAAEM,MAAM,CAAC;IACrDuC,OAAO7C,EAAEiB,MAAM,GAAGC,GAAG,GAAG4B,WAAW;IACnCb,MAAMjC,EAAEQ,MAAM;IACduC,QAAQ/C,EAAEQ,MAAM;IAChBwC,YAAYhD,EAAEQ,MAAM,GAAGmB,QAAQ;IAC/BsB,aAAajD,EAAEQ,MAAM,GAAGmB,QAAQ;IAChCuB,QAAQlD,EAAEwB,KAAK,CAACU;AAClB,GAAG;AAEH,OAAO,MAAMiB,2BAA2BnD,EAAEM,MAAM,CAAC;IAC/C4C,QAAQlD,EAAEwB,KAAK,CAACU;AAClB,GAAG"}
1
+ {"version":3,"sources":["../../src/schemas/job-listening.ts"],"sourcesContent":["import {z} from 'zod';\n\nexport const jobModeSchema = z.enum(['one_shot', 'listening']);\nexport const listenerStatusSchema = z.enum(['inactive', 'listening', 'resolved']);\nexport const resolutionReasonSchema = z.enum(['until', 'timeout', 'max_executions', 'cancelled']);\n\nexport const listeningTriggerSchema = z.object({\n source: z.string(),\n event: z.string().optional(),\n inputs: z.record(z.string(), z.unknown()).optional(),\n filter: z.string().optional(),\n});\n\nexport const jobListeningBatchSchema = z.object({\n debounce_ms: z.number().int().positive().optional(),\n max_size: z.number().int().positive().optional(),\n max_wait_ms: z.number().int().positive().optional(),\n});\n\nexport const jobListeningSchema = z.object({\n on: z.array(listeningTriggerSchema).min(1),\n until: z.array(listeningTriggerSchema).min(1).nullable(),\n timeout_ms: z.number().int().positive().nullable(),\n max_executions: z.number().int().positive().nullable(),\n batch: jobListeningBatchSchema.nullable(),\n on_resolve: z.enum(['finish', 'cancel']),\n execution_timeout_ms: z.number().int().positive().nullable(),\n name: z.string().nullable(),\n});\n\nexport const workflowExecutionEventSchema = z.object({\n source: z.string(),\n event: z.string(),\n delivery_id: z.string(),\n received_at: z.string(),\n project: z.object({id: z.string().uuid()}).nullable(),\n repository: z.string().nullable(),\n ref: z.string().nullable(),\n commit: z.string().nullable(),\n data: z.unknown(),\n});\n\nexport const workflowExecutionContextSchema = z.object({\n index: z.number().int().nonnegative(),\n name: z.string(),\n status: z.string(),\n started_at: z.string().nullable(),\n finished_at: z.string().nullable(),\n events: z.array(workflowExecutionEventSchema),\n});\n\nexport const triggerEventsBatchSchema = z.object({\n events: z.array(workflowExecutionEventSchema),\n});\n\nexport type JobModeDto = z.infer<typeof jobModeSchema>;\nexport type ListenerStatusDto = z.infer<typeof listenerStatusSchema>;\nexport type ResolutionReasonDto = z.infer<typeof resolutionReasonSchema>;\nexport type ListeningTriggerDto = z.infer<typeof listeningTriggerSchema>;\nexport type JobListeningDto = z.infer<typeof jobListeningSchema>;\nexport type WorkflowExecutionEventDto = z.infer<typeof workflowExecutionEventSchema>;\nexport type WorkflowExecutionContextDto = z.infer<typeof workflowExecutionContextSchema>;\nexport type TriggerEventsBatchDto = z.infer<typeof triggerEventsBatchSchema>;\n"],"names":["z","jobModeSchema","enum","listenerStatusSchema","resolutionReasonSchema","listeningTriggerSchema","object","source","string","event","optional","inputs","record","unknown","filter","jobListeningBatchSchema","debounce_ms","number","int","positive","max_size","max_wait_ms","jobListeningSchema","on","array","min","until","nullable","timeout_ms","max_executions","batch","on_resolve","execution_timeout_ms","name","workflowExecutionEventSchema","delivery_id","received_at","project","id","uuid","repository","ref","commit","data","workflowExecutionContextSchema","index","nonnegative","status","started_at","finished_at","events","triggerEventsBatchSchema"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AAEtB,OAAO,MAAMC,gBAAgBD,EAAEE,IAAI,CAAC;IAAC;IAAY;CAAY,EAAE;AAC/D,OAAO,MAAMC,uBAAuBH,EAAEE,IAAI,CAAC;IAAC;IAAY;IAAa;CAAW,EAAE;AAClF,OAAO,MAAME,yBAAyBJ,EAAEE,IAAI,CAAC;IAAC;IAAS;IAAW;IAAkB;CAAY,EAAE;AAElG,OAAO,MAAMG,yBAAyBL,EAAEM,MAAM,CAAC;IAC7CC,QAAQP,EAAEQ,MAAM;IAChBC,OAAOT,EAAEQ,MAAM,GAAGE,QAAQ;IAC1BC,QAAQX,EAAEY,MAAM,CAACZ,EAAEQ,MAAM,IAAIR,EAAEa,OAAO,IAAIH,QAAQ;IAClDI,QAAQd,EAAEQ,MAAM,GAAGE,QAAQ;AAC7B,GAAG;AAEH,OAAO,MAAMK,0BAA0Bf,EAAEM,MAAM,CAAC;IAC9CU,aAAahB,EAAEiB,MAAM,GAAGC,GAAG,GAAGC,QAAQ,GAAGT,QAAQ;IACjDU,UAAUpB,EAAEiB,MAAM,GAAGC,GAAG,GAAGC,QAAQ,GAAGT,QAAQ;IAC9CW,aAAarB,EAAEiB,MAAM,GAAGC,GAAG,GAAGC,QAAQ,GAAGT,QAAQ;AACnD,GAAG;AAEH,OAAO,MAAMY,qBAAqBtB,EAAEM,MAAM,CAAC;IACzCiB,IAAIvB,EAAEwB,KAAK,CAACnB,wBAAwBoB,GAAG,CAAC;IACxCC,OAAO1B,EAAEwB,KAAK,CAACnB,wBAAwBoB,GAAG,CAAC,GAAGE,QAAQ;IACtDC,YAAY5B,EAAEiB,MAAM,GAAGC,GAAG,GAAGC,QAAQ,GAAGQ,QAAQ;IAChDE,gBAAgB7B,EAAEiB,MAAM,GAAGC,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
78
78
  source: z.ZodString;
79
- event: z.ZodString;
79
+ event: z.ZodOptional<z.ZodString>;
80
80
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
81
81
  filter: z.ZodOptional<z.ZodString>;
82
82
  }, z.core.$strip>>;
83
83
  until: z.ZodNullable<z.ZodArray<z.ZodObject<{
84
84
  source: z.ZodString;
85
- event: z.ZodString;
85
+ event: z.ZodOptional<z.ZodString>;
86
86
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
87
87
  filter: z.ZodOptional<z.ZodString>;
88
88
  }, z.core.$strip>>>;
@@ -38,6 +38,8 @@ export type StepErrorCategoryDto = z.infer<typeof stepErrorCategorySchema>;
38
38
  export declare const STEP_ERROR_MESSAGE_MAX_LENGTH = 2048;
39
39
  export declare const stepErrorDtoSchema: z.ZodNullable<z.ZodObject<{
40
40
  message: z.ZodString;
41
+ code: z.ZodOptional<z.ZodString>;
42
+ managed_provider_id: z.ZodOptional<z.ZodString>;
41
43
  exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
44
  signal: z.ZodOptional<z.ZodString>;
43
45
  reason: z.ZodOptional<z.ZodEnum<{
@@ -110,6 +112,8 @@ export declare const stepDtoSchema: z.ZodObject<{
110
112
  }, z.core.$strip>]>>>;
111
113
  error: z.ZodNullable<z.ZodObject<{
112
114
  message: z.ZodString;
115
+ code: z.ZodOptional<z.ZodString>;
116
+ managed_provider_id: z.ZodOptional<z.ZodString>;
113
117
  exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
114
118
  signal: z.ZodOptional<z.ZodString>;
115
119
  reason: z.ZodOptional<z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../src/schemas/step.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,eAAO,MAAM,mBAAmB,YAC9B,uBAAuB,EACvB,oBAAoB,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AM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,wBAAwB;;;iBAQjC,CAAC;AAEL,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE7E,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiBxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAqCvB,CAAC;AAEd,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAIxE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqB/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -46,6 +46,8 @@ export const stepErrorCategorySchema = z.enum([
46
46
  export const STEP_ERROR_MESSAGE_MAX_LENGTH = 2048;
47
47
  export const stepErrorDtoSchema = z.object({
48
48
  message: z.string().max(STEP_ERROR_MESSAGE_MAX_LENGTH),
49
+ code: z.string().min(1).optional(),
50
+ managed_provider_id: z.string().min(1).optional(),
49
51
  exit_code: z.number().int().nullable().optional(),
50
52
  signal: z.string().optional(),
51
53
  reason: stepErrorReasonSchema.optional(),
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/schemas/step.ts"],"sourcesContent":["import {z} from 'zod';\nimport {evaluationTraceSchema} from './evaluation-trace.js';\n\nexport const STEP_STATUS_REASONS = [\n 'default_gate_rejected',\n 'condition_rejected',\n 'condition_errored',\n] as const;\n\nexport const stepStatusReasonSchema = z.enum(STEP_STATUS_REASONS);\n\nexport type StepStatusReasonDto = z.infer<typeof stepStatusReasonSchema>;\n\n// Machine-readable cause of a step failure, for DB troubleshooting. The runner\n// reports it and the server stores it as-is. The `checkout_*`, `git_unavailable`,\n// `workspace_prep_failed`, and `setup_aborted` values cover checkout/setup failures.\n// For agent steps the cause is split three ways: `agent_config_invalid` is a user-fixable\n// configuration error and carries an `agent_config_issue`; `agent_invocation_failed`\n// covers a provider/API failure once the configuration is valid; and\n// `agent_harness_unavailable` means the runner could not start its harness, so the model\n// was never called. The latter carries no `agent_config_issue`, because every issue code\n// names a user-fixable cause. (Aborts are never reported: the step loop stops before reporting.)\nexport const stepErrorReasonSchema = z.enum([\n 'checkout_failed',\n 'checkout_auth_failed',\n 'checkout_unavailable',\n 'checkout_path_invalid',\n 'checkout_destination_occupied',\n 'git_unavailable',\n 'workspace_prep_failed',\n 'setup_aborted',\n 'config_unresolvable',\n 'output_invalid',\n 'agent_config_invalid',\n 'agent_invocation_failed',\n 'agent_harness_unavailable',\n]);\n\nexport type StepErrorReasonDto = z.infer<typeof stepErrorReasonSchema>;\n\nexport const agentConfigIssueSchema = z.enum([\n 'step_config_invalid',\n 'provider_not_configured',\n 'provider_unsupported',\n 'model_unavailable',\n 'credentials_invalid',\n]);\n\nexport type AgentConfigIssueDto = z.infer<typeof agentConfigIssueSchema>;\n\n// Whether a failure is infrastructure (`setup`) or user-code (`user`). Server-derived\n// from the step's type on the read path; the runner never sends it.\nexport const stepErrorCategorySchema = z.enum(['setup', 'user']);\n\nexport type StepErrorCategoryDto = z.infer<typeof stepErrorCategorySchema>;\n\nexport const STEP_ERROR_MESSAGE_MAX_LENGTH = 2048;\n\nexport const stepErrorDtoSchema = z\n .object({\n message: z.string().max(STEP_ERROR_MESSAGE_MAX_LENGTH),\n exit_code: z.number().int().nullable().optional(),\n signal: z.string().optional(),\n reason: stepErrorReasonSchema.optional(),\n field: z.string().optional(),\n source: z.string().optional(),\n agent_config_issue: agentConfigIssueSchema.optional(),\n category: stepErrorCategorySchema.optional(),\n })\n .refine(\n (error) => error.agent_config_issue === undefined || error.reason === 'agent_config_invalid',\n {\n message: 'agent_config_issue requires reason to be agent_config_invalid',\n path: ['agent_config_issue'],\n },\n )\n .nullable();\n\nexport type StepErrorDto = z.infer<typeof stepErrorDtoSchema>;\n\nexport const stepSourceLocationSchema = z\n .object({\n start_line: z.number().int().positive(),\n end_line: z.number().int().positive(),\n })\n .refine((value) => value.end_line >= value.start_line, {\n message: 'end_line must be greater than or equal to start_line',\n path: ['end_line'],\n });\n\nexport type StepSourceLocationDto = z.infer<typeof stepSourceLocationSchema>;\n\nexport const stepDtoSchema = z.object({\n id: z.string().uuid(),\n job_execution_id: z.string().uuid(),\n key: z.string().nullable(),\n name: z.string(),\n source_location: stepSourceLocationSchema.nullable(),\n status: z.string(),\n status_reason: stepStatusReasonSchema.nullable(),\n type: z.string(),\n config: z.record(z.string(), z.unknown()),\n evaluation_trace: evaluationTraceSchema.nullable(),\n error: stepErrorDtoSchema,\n position: z.number(),\n // Execution-attempt identity of the current projection (>1 after a restart).\n current_attempt: z.number().int(),\n created_at: z.string(),\n updated_at: z.string(),\n});\n\nexport type StepDto = z.infer<typeof stepDtoSchema>;\n\nexport const stepGateResultDtoSchema = z\n .discriminatedUnion('kind', [\n z.object({\n kind: z.literal('none'),\n }),\n z.object({\n kind: z.literal('not_evaluated'),\n }),\n z.object({\n kind: z.literal('passed'),\n passed: z.literal(true),\n source: z.string(),\n exit_code: z.number().int().nullable(),\n }),\n z.object({\n kind: z.literal('failed'),\n passed: z.literal(false),\n source: z.string(),\n exit_code: z.number().int().nullable(),\n }),\n z.object({\n kind: z.literal('uncheckable'),\n passed: z.literal(false),\n uncheckable: z.literal(true),\n reason: z.string(),\n exit_code: z.number().int().nullable(),\n }),\n z.object({\n kind: z.literal('evaluation_error'),\n reason: z.string(),\n exit_code: z.number().int().nullable(),\n }),\n z.object({\n kind: z.literal('unknown'),\n data: z.record(z.string(), z.unknown()),\n }),\n ])\n .nullable();\n\nexport type StepGateResultDto = z.infer<typeof stepGateResultDtoSchema>;\n\n// One execution attempt of a step (the durable history behind the current\n// projection). Surfaced in run details so a restarted step's attempts are visible.\nexport const stepAttemptDtoSchema = z.object({\n id: z.string().uuid(),\n step_id: z.string().uuid(),\n attempt: z.number().int().positive(),\n execution_order: z.number().int().positive(),\n status: z.string(),\n exit_code: z.number().int().nullable(),\n // `output` and `error` are opaque audit blobs: the raw jsonb persisted for the\n // attempt, NOT snake_case-normalized (their nested keys may be camelCase, e.g.\n // `error.exitCode`). Consume the top-level snake_case `exit_code` for the\n // numeric code; treat these as display/debug payloads.\n output: z.record(z.string(), z.unknown()).nullable(),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n response: z.string().nullable(),\n error: z.record(z.string(), z.unknown()).nullable(),\n // `unknown.data` is the raw jsonb gate payload for legacy or unrecognized\n // rows; nested keys are not snake_case-normalized.\n gate_result: stepGateResultDtoSchema,\n restart_feedback: z.string().nullable(),\n started_at: z.string(),\n finished_at: z.string().nullable(),\n});\n\nexport type StepAttemptDto = z.infer<typeof stepAttemptDtoSchema>;\n\nexport const stepAttemptDetailDtoSchema = stepAttemptDtoSchema.extend({\n config: z.record(z.string(), z.unknown()).nullable(),\n evaluation_trace: evaluationTraceSchema.nullable(),\n});\n\nexport type StepAttemptDetailDto = z.infer<typeof stepAttemptDetailDtoSchema>;\n"],"names":["z","evaluationTraceSchema","STEP_STATUS_REASONS","stepStatusReasonSchema","enum","stepErrorReasonSchema","agentConfigIssueSchema","stepErrorCategorySchema","STEP_ERROR_MESSAGE_MAX_LENGTH","stepErrorDtoSchema","object","message","string","max","exit_code","number","int","nullable","optional","signal","reason","field","source","agent_config_issue","category","refine","error","undefined","path","stepSourceLocationSchema","start_line","positive","end_line","value","stepDtoSchema","id","uuid","job_execution_id","key","name","source_location","status","status_reason","type","config","record","unknown","evaluation_trace","position","current_attempt","created_at","updated_at","stepGateResultDtoSchema","discriminatedUnion","kind","literal","passed","uncheckable","data","stepAttemptDtoSchema","step_id","attempt","execution_order","output","outputs","response","gate_result","restart_feedback","started_at","finished_at","stepAttemptDetailDtoSchema","extend"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AACtB,SAAQC,qBAAqB,QAAO,wBAAwB;AAE5D,OAAO,MAAMC,sBAAsB;IACjC;IACA;IACA;CACD,CAAU;AAEX,OAAO,MAAMC,yBAAyBH,EAAEI,IAAI,CAACF,qBAAqB;AAIlE,+EAA+E;AAC/E,kFAAkF;AAClF,qFAAqF;AACrF,0FAA0F;AAC1F,qFAAqF;AACrF,qEAAqE;AACrE,yFAAyF;AACzF,yFAAyF;AACzF,iGAAiG;AACjG,OAAO,MAAMG,wBAAwBL,EAAEI,IAAI,CAAC;IAC1C;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD,EAAE;AAIH,OAAO,MAAME,yBAAyBN,EAAEI,IAAI,CAAC;IAC3C;IACA;IACA;IACA;IACA;CACD,EAAE;AAIH,sFAAsF;AACtF,oEAAoE;AACpE,OAAO,MAAMG,0BAA0BP,EAAEI,IAAI,CAAC;IAAC;IAAS;CAAO,EAAE;AAIjE,OAAO,MAAMI,gCAAgC,KAAK;AAElD,OAAO,MAAMC,qBAAqBT,EAC/BU,MAAM,CAAC;IACNC,SAASX,EAAEY,MAAM,GAAGC,GAAG,CAACL;IACxBM,WAAWd,EAAEe,MAAM,GAAGC,GAAG,GAAGC,QAAQ,GAAGC,QAAQ;IAC/CC,QAAQnB,EAAEY,MAAM,GAAGM,QAAQ;IAC3BE,QAAQf,sBAAsBa,QAAQ;IACtCG,OAAOrB,EAAEY,MAAM,GA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BwB,SAAS5D,EAAEY,MAAM,GAAGwB,IAAI;IACxByB,SAAS7D,EAAEe,MAAM,GAAGC,GAAG,GAAGe,QAAQ;IAClC+B,iBAAiB9D,EAAEe,MAAM,GAAGC,GAAG,GAAGe,QAAQ;IAC1CU,QAAQzC,EAAEY,MAAM;IAChBE,WAAWd,EAAEe,MAAM,GAAGC,GAAG,GAAGC,QAAQ;IACpC,+EAA+E;IAC/E,+EAA+E;IAC/E,0EAA0E;IAC1E,uDAAuD;IACvD8C,QAAQ/D,EAAE6C,MAAM,CAAC7C,EAAEY,MAAM,IAAIZ,EAAE8C,OAAO,IAAI7B,QAAQ;IAClD+C,SAAShE,EAAE6C,MAAM,CAAC7C,EAAEY,MAAM,IAAIZ,EAAE8C,OAAO,IAAI7B,QAAQ;IACnDgD,UAAUjE,EAAEY,MAAM,GAAGK,QAAQ;IAC7BS,OAAO1B,EAAE6C,MAAM,CAAC7C,EAAEY,MAAM,IAAIZ,EAAE8C,OAAO,IAAI7B,QAAQ;IACjD,0EAA0E;IAC1E,mDAAmD;IACnDiD,aAAad;IACbe,kBAAkBnE,EAAEY,MAAM,GAAGK,QAAQ;IACrCmD,YAAYpE,EAAEY,MAAM;IACpByD,aAAarE,EAAEY,MAAM,GAAGK,QAAQ;AAClC,GAAG;AAIH,OAAO,MAAMqD,6BAA6BX,qBAAqBY,MAAM,CAAC;IACpE3B,QAAQ5C,EAAE6C,MAAM,CAAC7C,EAAEY,MAAM,IAAIZ,EAAE8C,OAAO,IAAI7B,QAAQ;IAClD8B,kBAAkB9C,sBAAsBgB,QAAQ;AAClD,GAAG"}
1
+ {"version":3,"sources":["../../src/schemas/step.ts"],"sourcesContent":["import {z} from 'zod';\nimport {evaluationTraceSchema} from './evaluation-trace.js';\n\nexport const STEP_STATUS_REASONS = [\n 'default_gate_rejected',\n 'condition_rejected',\n 'condition_errored',\n] as const;\n\nexport const stepStatusReasonSchema = z.enum(STEP_STATUS_REASONS);\n\nexport type StepStatusReasonDto = z.infer<typeof stepStatusReasonSchema>;\n\n// Machine-readable cause of a step failure, for DB troubleshooting. The runner\n// reports it and the server stores it as-is. The `checkout_*`, `git_unavailable`,\n// `workspace_prep_failed`, and `setup_aborted` values cover checkout/setup failures.\n// For agent steps the cause is split three ways: `agent_config_invalid` is a user-fixable\n// configuration error and carries an `agent_config_issue`; `agent_invocation_failed`\n// covers a provider/API failure once the configuration is valid; and\n// `agent_harness_unavailable` means the runner could not start its harness, so the model\n// was never called. The latter carries no `agent_config_issue`, because every issue code\n// names a user-fixable cause. (Aborts are never reported: the step loop stops before reporting.)\nexport const stepErrorReasonSchema = z.enum([\n 'checkout_failed',\n 'checkout_auth_failed',\n 'checkout_unavailable',\n 'checkout_path_invalid',\n 'checkout_destination_occupied',\n 'git_unavailable',\n 'workspace_prep_failed',\n 'setup_aborted',\n 'config_unresolvable',\n 'output_invalid',\n 'agent_config_invalid',\n 'agent_invocation_failed',\n 'agent_harness_unavailable',\n]);\n\nexport type StepErrorReasonDto = z.infer<typeof stepErrorReasonSchema>;\n\nexport const agentConfigIssueSchema = z.enum([\n 'step_config_invalid',\n 'provider_not_configured',\n 'provider_unsupported',\n 'model_unavailable',\n 'credentials_invalid',\n]);\n\nexport type AgentConfigIssueDto = z.infer<typeof agentConfigIssueSchema>;\n\n// Whether a failure is infrastructure (`setup`) or user-code (`user`). Server-derived\n// from the step's type on the read path; the runner never sends it.\nexport const stepErrorCategorySchema = z.enum(['setup', 'user']);\n\nexport type StepErrorCategoryDto = z.infer<typeof stepErrorCategorySchema>;\n\nexport const STEP_ERROR_MESSAGE_MAX_LENGTH = 2048;\n\nexport const stepErrorDtoSchema = z\n .object({\n message: z.string().max(STEP_ERROR_MESSAGE_MAX_LENGTH),\n code: z.string().min(1).optional(),\n managed_provider_id: z.string().min(1).optional(),\n exit_code: z.number().int().nullable().optional(),\n signal: z.string().optional(),\n reason: stepErrorReasonSchema.optional(),\n field: z.string().optional(),\n source: z.string().optional(),\n agent_config_issue: agentConfigIssueSchema.optional(),\n category: stepErrorCategorySchema.optional(),\n })\n .refine(\n (error) => error.agent_config_issue === undefined || error.reason === 'agent_config_invalid',\n {\n message: 'agent_config_issue requires reason to be agent_config_invalid',\n path: ['agent_config_issue'],\n },\n )\n .nullable();\n\nexport type StepErrorDto = z.infer<typeof stepErrorDtoSchema>;\n\nexport const stepSourceLocationSchema = z\n .object({\n start_line: z.number().int().positive(),\n end_line: z.number().int().positive(),\n })\n .refine((value) => value.end_line >= value.start_line, {\n message: 'end_line must be greater than or equal to start_line',\n path: ['end_line'],\n });\n\nexport type StepSourceLocationDto = z.infer<typeof stepSourceLocationSchema>;\n\nexport const stepDtoSchema = z.object({\n id: z.string().uuid(),\n job_execution_id: z.string().uuid(),\n key: z.string().nullable(),\n name: z.string(),\n source_location: stepSourceLocationSchema.nullable(),\n status: z.string(),\n status_reason: stepStatusReasonSchema.nullable(),\n type: z.string(),\n config: z.record(z.string(), z.unknown()),\n evaluation_trace: evaluationTraceSchema.nullable(),\n error: stepErrorDtoSchema,\n position: z.number(),\n // Execution-attempt identity of the current projection (>1 after a restart).\n current_attempt: z.number().int(),\n created_at: z.string(),\n updated_at: z.string(),\n});\n\nexport type StepDto = z.infer<typeof stepDtoSchema>;\n\nexport const stepGateResultDtoSchema = z\n .discriminatedUnion('kind', [\n z.object({\n kind: z.literal('none'),\n }),\n z.object({\n kind: z.literal('not_evaluated'),\n }),\n z.object({\n kind: z.literal('passed'),\n passed: z.literal(true),\n source: z.string(),\n exit_code: z.number().int().nullable(),\n }),\n z.object({\n kind: z.literal('failed'),\n passed: z.literal(false),\n source: z.string(),\n exit_code: z.number().int().nullable(),\n }),\n z.object({\n kind: z.literal('uncheckable'),\n passed: z.literal(false),\n uncheckable: z.literal(true),\n reason: z.string(),\n exit_code: z.number().int().nullable(),\n }),\n z.object({\n kind: z.literal('evaluation_error'),\n reason: z.string(),\n exit_code: z.number().int().nullable(),\n }),\n z.object({\n kind: z.literal('unknown'),\n data: z.record(z.string(), z.unknown()),\n }),\n ])\n .nullable();\n\nexport type StepGateResultDto = z.infer<typeof stepGateResultDtoSchema>;\n\n// One execution attempt of a step (the durable history behind the current\n// projection). Surfaced in run details so a restarted step's attempts are visible.\nexport const stepAttemptDtoSchema = z.object({\n id: z.string().uuid(),\n step_id: z.string().uuid(),\n attempt: z.number().int().positive(),\n execution_order: z.number().int().positive(),\n status: z.string(),\n exit_code: z.number().int().nullable(),\n // `output` and `error` are opaque audit blobs: the raw jsonb persisted for the\n // attempt, NOT snake_case-normalized (their nested keys may be camelCase, e.g.\n // `error.exitCode`). Consume the top-level snake_case `exit_code` for the\n // numeric code; treat these as display/debug payloads.\n output: z.record(z.string(), z.unknown()).nullable(),\n outputs: z.record(z.string(), z.unknown()).nullable(),\n response: z.string().nullable(),\n error: z.record(z.string(), z.unknown()).nullable(),\n // `unknown.data` is the raw jsonb gate payload for legacy or unrecognized\n // rows; nested keys are not snake_case-normalized.\n gate_result: stepGateResultDtoSchema,\n restart_feedback: z.string().nullable(),\n started_at: z.string(),\n finished_at: z.string().nullable(),\n});\n\nexport type StepAttemptDto = z.infer<typeof stepAttemptDtoSchema>;\n\nexport const stepAttemptDetailDtoSchema = stepAttemptDtoSchema.extend({\n config: z.record(z.string(), z.unknown()).nullable(),\n evaluation_trace: evaluationTraceSchema.nullable(),\n});\n\nexport type StepAttemptDetailDto = z.infer<typeof stepAttemptDetailDtoSchema>;\n"],"names":["z","evaluationTraceSchema","STEP_STATUS_REASONS","stepStatusReasonSchema","enum","stepErrorReasonSchema","agentConfigIssueSchema","stepErrorCategorySchema","STEP_ERROR_MESSAGE_MAX_LENGTH","stepErrorDtoSchema","object","message","string","max","code","min","optional","managed_provider_id","exit_code","number","int","nullable","signal","reason","field","source","agent_config_issue","category","refine","error","undefined","path","stepSourceLocationSchema","start_line","positive","end_line","value","stepDtoSchema","id","uuid","job_execution_id","key","name","source_location","status","status_reason","type","config","record","unknown","evaluation_trace","position","current_attempt","created_at","updated_at","stepGateResultDtoSchema","discriminatedUnion","kind","literal","passed","uncheckable","data","stepAttemptDtoSchema","step_id","attempt","execution_order","output","outputs","response","gate_result","restart_feedback","started_at","finished_at","stepAttemptDetailDtoSchema","extend"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AACtB,SAAQC,qBAAqB,QAAO,wBAAwB;AAE5D,OAAO,MAAMC,sBAAsB;IACjC;IACA;IACA;CACD,CAAU;AAEX,OAAO,MAAMC,yBAAyBH,EAAEI,IAAI,CAACF,qBAAqB;AAIlE,+EAA+E;AAC/E,kFAAkF;AAClF,qFAAqF;AACrF,0FAA0F;AAC1F,qFAAqF;AACrF,qEAAqE;AACrE,yFAAyF;AACzF,yFAAyF;AACzF,iGAAiG;AACjG,OAAO,MAAMG,wBAAwBL,EAAEI,IAAI,CAAC;IAC1C;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD,EAAE;AAIH,OAAO,MAAME,yBAAyBN,EAAEI,IAAI,CAAC;IAC3C;IACA;IACA;IACA;IACA;CACD,EAAE;AAIH,sFAAsF;AACtF,oEAAoE;AACpE,OAAO,MAAMG,0BAA0BP,EAAEI,IAAI,CAAC;IAAC;IAAS;CAAO,EAAE;AAIjE,OAAO,MAAMI,gCAAgC,KAAK;AAElD,OAAO,MAAMC,qBAAqBT,EAC/BU,MAAM,CAAC;IACNC,SAASX,EAAEY,MAAM,GAAGC,GAAG,CAACL;IACxBM,MAAMd,EAAEY,MAAM,GAAGG,GAAG,CAAC,GAAGC,QAAQ;IAChCC,qBAAqBjB,EAAEY,MAAM,GAAGG,GAAG,CAAC,GAAGC,QAAQ;IAC/CE,WAAWlB,EAAEmB,MAAM,GAAGC,GAAG,GAAGC,QAAQ,GAAGL,QAAQ;IAC/CM,QAAQtB,EAAEY,MAAM,GAAGI,QAAQ;IAC3BO,QAAQlB,sBAAsBW,QAAQ;IACtCQ,OAAOxB,EAAEY,MAAM,GAAGI,QAAQ;IAC1BS,QAAQzB,EAAEY,MAAM,GAAGI,QAA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AI;IACxByB,SAAShE,EAAEmB,MAAM,GAAGC,GAAG,GAAGc,QAAQ;IAClC+B,iBAAiBjE,EAAEmB,MAAM,GAAGC,GAAG,GAAGc,QAAQ;IAC1CU,QAAQ5C,EAAEY,MAAM;IAChBM,WAAWlB,EAAEmB,MAAM,GAAGC,GAAG,GAAGC,QAAQ;IACpC,+EAA+E;IAC/E,+EAA+E;IAC/E,0EAA0E;IAC1E,uDAAuD;IACvD6C,QAAQlE,EAAEgD,MAAM,CAAChD,EAAEY,MAAM,IAAIZ,EAAEiD,OAAO,IAAI5B,QAAQ;IAClD8C,SAASnE,EAAEgD,MAAM,CAAChD,EAAEY,MAAM,IAAIZ,EAAEiD,OAAO,IAAI5B,QAAQ;IACnD+C,UAAUpE,EAAEY,MAAM,GAAGS,QAAQ;IAC7BQ,OAAO7B,EAAEgD,MAAM,CAAChD,EAAEY,MAAM,IAAIZ,EAAEiD,OAAO,IAAI5B,QAAQ;IACjD,0EAA0E;IAC1E,mDAAmD;IACnDgD,aAAad;IACbe,kBAAkBtE,EAAEY,MAAM,GAAGS,QAAQ;IACrCkD,YAAYvE,EAAEY,MAAM;IACpB4D,aAAaxE,EAAEY,MAAM,GAAGS,QAAQ;AAClC,GAAG;AAIH,OAAO,MAAMoD,6BAA6BX,qBAAqBY,MAAM,CAAC;IACpE3B,QAAQ/C,EAAEgD,MAAM,CAAChD,EAAEY,MAAM,IAAIZ,EAAEiD,OAAO,IAAI5B,QAAQ;IAClD6B,kBAAkBjD,sBAAsBoB,QAAQ;AAClD,GAAG"}
@@ -87,6 +87,8 @@ export declare const workflowRunStepDetailDtoSchema: z.ZodObject<{
87
87
  }, z.core.$strip>]>>>;
88
88
  error: z.ZodNullable<z.ZodObject<{
89
89
  message: z.ZodString;
90
+ code: z.ZodOptional<z.ZodString>;
91
+ managed_provider_id: z.ZodOptional<z.ZodString>;
90
92
  exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
91
93
  signal: z.ZodOptional<z.ZodString>;
92
94
  reason: z.ZodOptional<z.ZodEnum<{
@@ -307,6 +309,8 @@ export declare const workflowRunJobExecutionDetailDtoSchema: z.ZodObject<{
307
309
  }, z.core.$strip>]>>>;
308
310
  error: z.ZodNullable<z.ZodObject<{
309
311
  message: z.ZodString;
312
+ code: z.ZodOptional<z.ZodString>;
313
+ managed_provider_id: z.ZodOptional<z.ZodString>;
310
314
  exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
311
315
  signal: z.ZodOptional<z.ZodString>;
312
316
  reason: z.ZodOptional<z.ZodEnum<{
@@ -473,13 +477,13 @@ export declare const workflowRunJobDetailDtoSchema: z.ZodObject<{
473
477
  listening: z.ZodNullable<z.ZodObject<{
474
478
  on: z.ZodArray<z.ZodObject<{
475
479
  source: z.ZodString;
476
- event: z.ZodString;
480
+ event: z.ZodOptional<z.ZodString>;
477
481
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
478
482
  filter: z.ZodOptional<z.ZodString>;
479
483
  }, z.core.$strip>>;
480
484
  until: z.ZodNullable<z.ZodArray<z.ZodObject<{
481
485
  source: z.ZodString;
482
- event: z.ZodString;
486
+ event: z.ZodOptional<z.ZodString>;
483
487
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
484
488
  filter: z.ZodOptional<z.ZodString>;
485
489
  }, z.core.$strip>>>;
@@ -599,6 +603,8 @@ export declare const workflowRunJobDetailDtoSchema: z.ZodObject<{
599
603
  }, z.core.$strip>]>>>;
600
604
  error: z.ZodNullable<z.ZodObject<{
601
605
  message: z.ZodString;
606
+ code: z.ZodOptional<z.ZodString>;
607
+ managed_provider_id: z.ZodOptional<z.ZodString>;
602
608
  exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
603
609
  signal: z.ZodOptional<z.ZodString>;
604
610
  reason: z.ZodOptional<z.ZodEnum<{
@@ -726,6 +732,17 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
726
732
  running: "running";
727
733
  succeeded: "succeeded";
728
734
  }>;
735
+ origin: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
736
+ dev: "dev";
737
+ synced: "synced";
738
+ }>>>;
739
+ dev_source: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
740
+ ref: z.ZodString;
741
+ commit: z.ZodString;
742
+ config_path: z.ZodString;
743
+ initiated_by_user_id: z.ZodString;
744
+ replay_of_event_id: z.ZodNullable<z.ZodString>;
745
+ }, z.core.$strip>>>>;
729
746
  current_attempt: z.ZodNumber;
730
747
  latest_attempt: z.ZodNumber;
731
748
  trigger_provider: z.ZodNullable<z.ZodString>;
@@ -820,13 +837,13 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
820
837
  listening: z.ZodNullable<z.ZodObject<{
821
838
  on: z.ZodArray<z.ZodObject<{
822
839
  source: z.ZodString;
823
- event: z.ZodString;
840
+ event: z.ZodOptional<z.ZodString>;
824
841
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
825
842
  filter: z.ZodOptional<z.ZodString>;
826
843
  }, z.core.$strip>>;
827
844
  until: z.ZodNullable<z.ZodArray<z.ZodObject<{
828
845
  source: z.ZodString;
829
- event: z.ZodString;
846
+ event: z.ZodOptional<z.ZodString>;
830
847
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
831
848
  filter: z.ZodOptional<z.ZodString>;
832
849
  }, z.core.$strip>>>;
@@ -946,6 +963,8 @@ export declare const workflowRunDetailResponseSchema: z.ZodObject<{
946
963
  }, z.core.$strip>]>>>;
947
964
  error: z.ZodNullable<z.ZodObject<{
948
965
  message: z.ZodString;
966
+ code: z.ZodOptional<z.ZodString>;
967
+ managed_provider_id: z.ZodOptional<z.ZodString>;
949
968
  exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
950
969
  signal: z.ZodOptional<z.ZodString>;
951
970
  reason: z.ZodOptional<z.ZodEnum<{