@shipfox/api-workflows-dto 12.1.0 → 12.3.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 (53) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +16 -0
  3. package/dist/events.d.ts +64 -33
  4. package/dist/events.d.ts.map +1 -1
  5. package/dist/events.js +31 -1
  6. package/dist/events.js.map +1 -1
  7. package/dist/index.d.ts +2 -2
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +2 -2
  10. package/dist/index.js.map +1 -1
  11. package/dist/inter-module.d.ts +50 -50
  12. package/dist/inter-module.d.ts.map +1 -1
  13. package/dist/schemas/evaluation-trace.d.ts +36 -0
  14. package/dist/schemas/evaluation-trace.d.ts.map +1 -0
  15. package/dist/schemas/evaluation-trace.js +25 -0
  16. package/dist/schemas/evaluation-trace.js.map +1 -0
  17. package/dist/schemas/index.d.ts +3 -2
  18. package/dist/schemas/index.d.ts.map +1 -1
  19. package/dist/schemas/index.js +3 -2
  20. package/dist/schemas/index.js.map +1 -1
  21. package/dist/schemas/job-execution.d.ts +48 -27
  22. package/dist/schemas/job-execution.d.ts.map +1 -1
  23. package/dist/schemas/job-listening.d.ts +6 -6
  24. package/dist/schemas/job.d.ts +40 -22
  25. package/dist/schemas/job.d.ts.map +1 -1
  26. package/dist/schemas/job.js +4 -0
  27. package/dist/schemas/job.js.map +1 -1
  28. package/dist/schemas/log-outcome.d.ts +1 -1
  29. package/dist/schemas/step.d.ts +125 -36
  30. package/dist/schemas/step.d.ts.map +1 -1
  31. package/dist/schemas/step.js +13 -0
  32. package/dist/schemas/step.js.map +1 -1
  33. package/dist/schemas/workflow-run-detail.d.ts +295 -84
  34. package/dist/schemas/workflow-run-detail.d.ts.map +1 -1
  35. package/dist/schemas/workflow-run-detail.js +11 -1
  36. package/dist/schemas/workflow-run-detail.js.map +1 -1
  37. package/dist/schemas/workflow-run.d.ts +27 -27
  38. package/dist/tsconfig.test.tsbuildinfo +1 -1
  39. package/dist/working-directory.d.ts.map +1 -1
  40. package/package.json +2 -2
  41. package/src/events.test.ts +3 -0
  42. package/src/events.ts +38 -0
  43. package/src/index.ts +14 -0
  44. package/src/schemas/evaluation-trace.test.ts +40 -0
  45. package/src/schemas/evaluation-trace.ts +30 -0
  46. package/src/schemas/index.ts +13 -0
  47. package/src/schemas/job.test.ts +3 -0
  48. package/src/schemas/job.ts +4 -0
  49. package/src/schemas/step-source-location.test.ts +2 -0
  50. package/src/schemas/step.test.ts +17 -1
  51. package/src/schemas/step.ts +20 -0
  52. package/src/schemas/workflow-run-detail.ts +14 -1
  53. package/tsconfig.build.tsbuildinfo +1 -1
@@ -7,8 +7,8 @@ import { z } from 'zod';
7
7
  export declare const workflowsInterModuleContract: import("@shipfox/inter-module").InterModuleContract<{
8
8
  readonly module: "workflows";
9
9
  readonly methods: {
10
- readonly startRunFromTrigger: {
11
- readonly input: z.ZodObject<{
10
+ startRunFromTrigger: {
11
+ input: z.ZodObject<{
12
12
  workspaceId: z.ZodString;
13
13
  projectId: z.ZodString;
14
14
  definitionId: z.ZodString;
@@ -34,60 +34,60 @@ export declare const workflowsInterModuleContract: import("@shipfox/inter-module
34
34
  inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
35
35
  idempotencyKey: z.ZodString;
36
36
  }, z.core.$strip>;
37
- readonly output: z.ZodObject<{
37
+ output: z.ZodObject<{
38
38
  id: z.ZodString;
39
39
  name: z.ZodString;
40
40
  }, z.core.$strip>;
41
- readonly errors: {
42
- readonly 'workspace-not-found': z.ZodObject<{
41
+ errors: {
42
+ 'workspace-not-found': z.ZodObject<{
43
43
  workspaceId: z.ZodString;
44
44
  }, z.core.$strip>;
45
- readonly 'workspace-suspended': z.ZodObject<{
45
+ 'workspace-suspended': z.ZodObject<{
46
46
  workspaceId: z.ZodString;
47
47
  }, z.core.$strip>;
48
- readonly 'workspace-deleted': z.ZodObject<{
48
+ 'workspace-deleted': z.ZodObject<{
49
49
  workspaceId: z.ZodString;
50
50
  }, z.core.$strip>;
51
- readonly 'definition-not-found': z.ZodObject<{
51
+ 'definition-not-found': z.ZodObject<{
52
52
  definitionId: z.ZodString;
53
53
  }, z.core.$strip>;
54
- readonly 'project-mismatch': z.ZodObject<{}, z.core.$strip>;
55
- readonly 'agent-config-unresolvable': z.ZodObject<{
54
+ 'project-mismatch': z.ZodObject<{}, z.core.$strip>;
55
+ 'agent-config-unresolvable': z.ZodObject<{
56
56
  definitionId: z.ZodString;
57
57
  }, z.core.$strip>;
58
- readonly 'agent-integration-materialization-failed': z.ZodObject<{}, z.core.$strip>;
59
- readonly 'interpolation-unresolvable': z.ZodObject<{
58
+ 'agent-integration-materialization-failed': z.ZodObject<{}, z.core.$strip>;
59
+ 'interpolation-unresolvable': z.ZodObject<{
60
60
  definitionId: z.ZodString;
61
61
  field: z.ZodEnum<{
62
- run: "run";
63
- env: "env";
64
- "agent.prompt": "agent.prompt";
65
62
  "agent.model": "agent.model";
63
+ "agent.prompt": "agent.prompt";
66
64
  "agent.provider": "agent.provider";
67
65
  "agent.thinking": "agent.thinking";
68
- "job.runner": "job.runner";
69
- "job.outputs": "job.outputs";
66
+ "checkout.connection": "checkout.connection";
67
+ "checkout.path": "checkout.path";
68
+ "checkout.project": "checkout.project";
69
+ "checkout.ref": "checkout.ref";
70
+ "checkout.repository": "checkout.repository";
71
+ env: "env";
70
72
  "job.execution_name": "job.execution_name";
71
- "workflow.run_name": "workflow.run_name";
73
+ "job.outputs": "job.outputs";
74
+ "job.runner": "job.runner";
75
+ run: "run";
76
+ "step.feedback": "step.feedback";
72
77
  "step.name": "step.name";
73
78
  "step.working_directory": "step.working_directory";
74
- "step.feedback": "step.feedback";
75
- "checkout.project": "checkout.project";
76
- "checkout.connection": "checkout.connection";
77
- "checkout.repository": "checkout.repository";
78
- "checkout.ref": "checkout.ref";
79
- "checkout.path": "checkout.path";
79
+ "workflow.run_name": "workflow.run_name";
80
80
  }>;
81
81
  source: z.ZodString;
82
82
  envKey: z.ZodOptional<z.ZodString>;
83
83
  }, z.core.$strip>;
84
- readonly 'invalid-job-runner-labels': z.ZodObject<{
84
+ 'invalid-job-runner-labels': z.ZodObject<{
85
85
  labels: z.ZodArray<z.ZodString>;
86
86
  }, z.core.$strip>;
87
87
  };
88
88
  };
89
- readonly resolveWorkflowRunTriggerReference: {
90
- readonly input: z.ZodObject<{
89
+ resolveWorkflowRunTriggerReference: {
90
+ input: z.ZodObject<{
91
91
  workspaceId: z.ZodString;
92
92
  triggerConnectionId: z.ZodString;
93
93
  triggerPayload: z.ZodUnion<readonly [z.ZodObject<{
@@ -109,7 +109,7 @@ export declare const workflowsInterModuleContract: import("@shipfox/inter-module
109
109
  data: z.ZodUnknown;
110
110
  }, z.core.$strip>]>;
111
111
  }, z.core.$strip>;
112
- readonly output: z.ZodNullable<z.ZodObject<{
112
+ output: z.ZodNullable<z.ZodObject<{
113
113
  project: z.ZodNullable<z.ZodObject<{
114
114
  id: z.ZodString;
115
115
  }, z.core.$strip>>;
@@ -119,8 +119,8 @@ export declare const workflowsInterModuleContract: import("@shipfox/inter-module
119
119
  actor: z.ZodNullable<z.ZodString>;
120
120
  }, z.core.$strip>>;
121
121
  };
122
- readonly deliverEventToJobListener: {
123
- readonly input: z.ZodObject<{
122
+ deliverEventToJobListener: {
123
+ input: z.ZodObject<{
124
124
  jobId: z.ZodString;
125
125
  disposition: z.ZodEnum<{
126
126
  fire: "fire";
@@ -144,42 +144,42 @@ export declare const workflowsInterModuleContract: import("@shipfox/inter-module
144
144
  payload: z.ZodUnknown;
145
145
  receivedAt: z.ZodString;
146
146
  }, z.core.$strip>;
147
- readonly output: z.ZodObject<{
147
+ output: z.ZodObject<{
148
148
  buffered: z.ZodBoolean;
149
149
  skipped: z.ZodBoolean;
150
150
  }, z.core.$strip>;
151
- readonly errors: {
152
- readonly 'workspace-not-found': z.ZodObject<{
151
+ errors: {
152
+ 'workspace-not-found': z.ZodObject<{
153
153
  workspaceId: z.ZodString;
154
154
  }, z.core.$strip>;
155
- readonly 'workspace-suspended': z.ZodObject<{
155
+ 'workspace-suspended': z.ZodObject<{
156
156
  workspaceId: z.ZodString;
157
157
  }, z.core.$strip>;
158
- readonly 'workspace-deleted': z.ZodObject<{
158
+ 'workspace-deleted': z.ZodObject<{
159
159
  workspaceId: z.ZodString;
160
160
  }, z.core.$strip>;
161
161
  };
162
162
  };
163
- readonly getStepLogContext: {
164
- readonly input: z.ZodObject<{
163
+ getStepLogContext: {
164
+ input: z.ZodObject<{
165
165
  stepId: z.ZodString;
166
166
  }, z.core.$strip>;
167
- readonly output: z.ZodObject<{
167
+ output: z.ZodObject<{
168
168
  harness: z.ZodEnum<{
169
- pi: "pi";
170
169
  claude: "claude";
170
+ pi: "pi";
171
171
  }>;
172
172
  }, z.core.$strip>;
173
173
  };
174
- readonly getLeasedAgentToolContext: {
175
- readonly input: z.ZodObject<{
174
+ getLeasedAgentToolContext: {
175
+ input: z.ZodObject<{
176
176
  jobId: z.ZodString;
177
177
  jobExecutionId: z.ZodString;
178
178
  runnerSessionId: z.ZodString;
179
179
  stepId: z.ZodString;
180
180
  attempt: z.ZodNumber;
181
181
  }, z.core.$strip>;
182
- readonly output: z.ZodObject<{
182
+ output: z.ZodObject<{
183
183
  workspaceId: z.ZodString;
184
184
  integrations: z.ZodArray<z.ZodObject<{
185
185
  connectionId: z.ZodString;
@@ -210,14 +210,14 @@ export declare const workflowsInterModuleContract: import("@shipfox/inter-module
210
210
  }, z.core.$strict>>;
211
211
  }, z.core.$strict>>;
212
212
  }, z.core.$strip>;
213
- readonly errors: {
214
- readonly 'lease-not-active': z.ZodObject<{}, z.core.$strip>;
215
- readonly 'step-not-found': z.ZodObject<{}, z.core.$strip>;
216
- readonly 'job-not-found': z.ZodObject<{}, z.core.$strip>;
217
- readonly 'step-attempt-mismatch': z.ZodObject<{}, z.core.$strip>;
218
- readonly 'step-not-running': z.ZodObject<{}, z.core.$strip>;
219
- readonly 'leased-step-not-agent': z.ZodObject<{}, z.core.$strip>;
220
- readonly 'agent-step-config-invalid': z.ZodObject<{}, z.core.$strip>;
213
+ errors: {
214
+ 'lease-not-active': z.ZodObject<{}, z.core.$strip>;
215
+ 'step-not-found': z.ZodObject<{}, z.core.$strip>;
216
+ 'job-not-found': z.ZodObject<{}, z.core.$strip>;
217
+ 'step-attempt-mismatch': z.ZodObject<{}, z.core.$strip>;
218
+ 'step-not-running': z.ZodObject<{}, z.core.$strip>;
219
+ 'leased-step-not-agent': z.ZodObject<{}, z.core.$strip>;
220
+ 'agent-step-config-invalid': z.ZodObject<{}, z.core.$strip>;
221
221
  };
222
222
  };
223
223
  };
@@ -1 +1 @@
1
- {"version":3,"file":"inter-module.d.ts","sourceRoot":"","sources":["../src/inter-module.ts"],"names":[],"mappings":"AACA,OAAO,EAA4B,KAAK,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAsDtB;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuFvC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
1
+ {"version":3,"file":"inter-module.d.ts","sourceRoot":"","sources":["../src/inter-module.ts"],"names":[],"mappings":"AACA,OAAO,EAA4B,KAAK,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAsDtB;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;QAGrC,mBAAmB;YACjB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;YASL,MAAM;;;;YACN,MAAM;gBACJ,qBAAqB;;;gBACrB,qBAAqB;;;gBACrB,mBAAmB;;;gBACnB,sBAAsB;;;gBACtB,kBAAkB;gBAClB,2BAA2B;;;gBAC3B,0CAA0C;gBAC1C,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;gBAM5B,2BAA2B;;;;;QAG/B,kCAAkC;YAChC,KAAK;;;;;;;;;;;;;;;;;;;;;;YAKL,MAAM;;;;;;;;;;QAER,yBAAyB;YACvB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;YAaL,MAAM;;;;YACN,MAAM;gBACJ,qBAAqB;;;gBACrB,qBAAqB;;;gBACrB,mBAAmB;;;;;QAGvB,iBAAiB;YACf,KAAK;;;YACL,MAAM;;;;;;;QAER,yBAAyB;YACvB,KAAK;;;;;;;YAOL,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAIN,MAAM;gBACJ,kBAAkB;gBAClB,gBAAgB;gBAChB,eAAe;gBACf,uBAAuB;gBACvB,kBAAkB;gBAClB,uBAAuB;gBACvB,2BAA2B;;;;EAIjC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { z } from 'zod';
2
+ export declare const evaluationTraceEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
3
+ expression: z.ZodString;
4
+ roots: z.ZodArray<z.ZodString>;
5
+ fill_target: z.ZodString;
6
+ evaluated_at: z.ZodString;
7
+ field: z.ZodString;
8
+ value: z.ZodOptional<z.ZodString>;
9
+ truncated: z.ZodOptional<z.ZodBoolean>;
10
+ expr_truncated: z.ZodOptional<z.ZodBoolean>;
11
+ reference: z.ZodOptional<z.ZodBoolean>;
12
+ degraded: z.ZodOptional<z.ZodBoolean>;
13
+ env_key: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>, z.ZodObject<{
15
+ truncated: z.ZodLiteral<true>;
16
+ dropped: z.ZodNumber;
17
+ }, z.core.$strip>]>;
18
+ export declare const evaluationTraceSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
19
+ expression: z.ZodString;
20
+ roots: z.ZodArray<z.ZodString>;
21
+ fill_target: z.ZodString;
22
+ evaluated_at: z.ZodString;
23
+ field: z.ZodString;
24
+ value: z.ZodOptional<z.ZodString>;
25
+ truncated: z.ZodOptional<z.ZodBoolean>;
26
+ expr_truncated: z.ZodOptional<z.ZodBoolean>;
27
+ reference: z.ZodOptional<z.ZodBoolean>;
28
+ degraded: z.ZodOptional<z.ZodBoolean>;
29
+ env_key: z.ZodOptional<z.ZodString>;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ truncated: z.ZodLiteral<true>;
32
+ dropped: z.ZodNumber;
33
+ }, z.core.$strip>]>>;
34
+ export type EvaluationTraceEntryDto = z.infer<typeof evaluationTraceEntrySchema>;
35
+ export type EvaluationTraceDto = z.infer<typeof evaluationTraceSchema>;
36
+ //# sourceMappingURL=evaluation-trace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluation-trace.d.ts","sourceRoot":"","sources":["../../src/schemas/evaluation-trace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAqBtB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;mBAGrC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;oBAAsC,CAAC;AAEzE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AACjF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ const evaluationTraceValueSchema = z.object({
3
+ expression: z.string(),
4
+ roots: z.array(z.string()),
5
+ fill_target: z.string(),
6
+ evaluated_at: z.string(),
7
+ field: z.string(),
8
+ value: z.string().optional(),
9
+ truncated: z.boolean().optional(),
10
+ expr_truncated: z.boolean().optional(),
11
+ reference: z.boolean().optional(),
12
+ degraded: z.boolean().optional(),
13
+ env_key: z.string().optional()
14
+ });
15
+ const evaluationTraceLimitSchema = z.object({
16
+ truncated: z.literal(true),
17
+ dropped: z.number().int().nonnegative()
18
+ });
19
+ export const evaluationTraceEntrySchema = z.union([
20
+ evaluationTraceValueSchema,
21
+ evaluationTraceLimitSchema
22
+ ]);
23
+ export const evaluationTraceSchema = z.array(evaluationTraceEntrySchema);
24
+
25
+ //# sourceMappingURL=evaluation-trace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/schemas/evaluation-trace.ts"],"sourcesContent":["import {z} from 'zod';\n\nconst evaluationTraceValueSchema = z.object({\n expression: z.string(),\n roots: z.array(z.string()),\n fill_target: z.string(),\n evaluated_at: z.string(),\n field: z.string(),\n value: z.string().optional(),\n truncated: z.boolean().optional(),\n expr_truncated: z.boolean().optional(),\n reference: z.boolean().optional(),\n degraded: z.boolean().optional(),\n env_key: z.string().optional(),\n});\n\nconst evaluationTraceLimitSchema = z.object({\n truncated: z.literal(true),\n dropped: z.number().int().nonnegative(),\n});\n\nexport const evaluationTraceEntrySchema = z.union([\n evaluationTraceValueSchema,\n evaluationTraceLimitSchema,\n]);\n\nexport const evaluationTraceSchema = z.array(evaluationTraceEntrySchema);\n\nexport type EvaluationTraceEntryDto = z.infer<typeof evaluationTraceEntrySchema>;\nexport type EvaluationTraceDto = z.infer<typeof evaluationTraceSchema>;\n"],"names":["z","evaluationTraceValueSchema","object","expression","string","roots","array","fill_target","evaluated_at","field","value","optional","truncated","boolean","expr_truncated","reference","degraded","env_key","evaluationTraceLimitSchema","literal","dropped","number","int","nonnegative","evaluationTraceEntrySchema","union","evaluationTraceSchema"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AAEtB,MAAMC,6BAA6BD,EAAEE,MAAM,CAAC;IAC1CC,YAAYH,EAAEI,MAAM;IACpBC,OAAOL,EAAEM,KAAK,CAACN,EAAEI,MAAM;IACvBG,aAAaP,EAAEI,MAAM;IACrBI,cAAcR,EAAEI,MAAM;IACtBK,OAAOT,EAAEI,MAAM;IACfM,OAAOV,EAAEI,MAAM,GAAGO,QAAQ;IAC1BC,WAAWZ,EAAEa,OAAO,GAAGF,QAAQ;IAC/BG,gBAAgBd,EAAEa,OAAO,GAAGF,QAAQ;IACpCI,WAAWf,EAAEa,OAAO,GAAGF,QAAQ;IAC/BK,UAAUhB,EAAEa,OAAO,GAAGF,QAAQ;IAC9BM,SAASjB,EAAEI,MAAM,GAAGO,QAAQ;AAC9B;AAEA,MAAMO,6BAA6BlB,EAAEE,MAAM,CAAC;IAC1CU,WAAWZ,EAAEmB,OAAO,CAAC;IACrBC,SAASpB,EAAEqB,MAAM,GAAGC,GAAG,GAAGC,WAAW;AACvC;AAEA,OAAO,MAAMC,6BAA6BxB,EAAEyB,KAAK,CAAC;IAChDxB;IACAiB;CACD,EAAE;AAEH,OAAO,MAAMQ,wBAAwB1B,EAAEM,KAAK,CAACkB,4BAA4B"}
@@ -1,11 +1,12 @@
1
1
  export { type AgentRuntimeConfigQueryDto, agentRuntimeConfigQuerySchema, } from './agent-runtime-config.js';
2
2
  export { type CheckoutIntentDto, checkoutIntentSchema } from './checkout.js';
3
3
  export { type CheckoutTokenAuthDto, type CheckoutTokenParamsDto, type CheckoutTokenQueryDto, type CheckoutTokenResponseDto, checkoutTokenAuthSchema, checkoutTokenParamsSchema, checkoutTokenQuerySchema, checkoutTokenResponseSchema, } from './checkout-token.js';
4
+ export { type EvaluationTraceDto, type EvaluationTraceEntryDto, evaluationTraceEntrySchema, evaluationTraceSchema, } from './evaluation-trace.js';
4
5
  export { type JobDto, type JobStatusDto, type JobStatusReasonDto, jobDtoSchema, jobStatusReasonSchema, jobStatusSchema, } from './job.js';
5
6
  export { type CheckoutResultDto, checkoutResultSchema, type NextStepResponseDto, nextStepResponseSchema, type ReportStepBodyDto, type ReportStepResponseDto, reportStepBodySchema, reportStepResponseSchema, STEP_RESPONSE_MAX_LENGTH, } from './job-execution.js';
6
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';
7
8
  export { type LogOutcomeDto, logOutcomeSchema } from './log-outcome.js';
8
- export { type AgentConfigIssueDto, agentConfigIssueSchema, STEP_ERROR_MESSAGE_MAX_LENGTH, type StepAttemptDto, type StepDto, type StepErrorCategoryDto, type StepErrorDto, type StepErrorReasonDto, type StepGateResultDto, stepAttemptDtoSchema, stepDtoSchema, stepErrorCategorySchema, stepErrorDtoSchema, stepErrorReasonSchema, stepGateResultDtoSchema, } from './step.js';
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';
9
10
  export { type RerunWorkflowRunBodyDto, rerunWorkflowRunBodySchema, WORKFLOW_RUN_JOB_PREVIEW_LIMIT, type WorkflowRunAggregatesQueryDto, type WorkflowRunAggregatesResponseDto, type WorkflowRunAttemptDto, type WorkflowRunAttemptsResponseDto, type WorkflowRunDto, type WorkflowRunJobStatusCountDto, type WorkflowRunJobSummaryDto, type WorkflowRunListItemDto, type WorkflowRunListQueryDto, type WorkflowRunListResponseDto, type WorkflowRunRerunModeDto, type WorkflowRunResponseDto, type WorkflowRunStatusDto, type WorkflowRunTriggerReferenceDto, type WorkflowSourceSnapshotDto, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunTriggerReferenceSchema, workflowSourceSnapshotSchema, } from './workflow-run.js';
10
- export { type JobExecutionDto, jobExecutionDtoSchema, jobExecutionStatusSchema, type WorkflowRunDetailResponseDto, type WorkflowRunJobDetailDto, type WorkflowRunJobExecutionDetailDto, type WorkflowRunStepDetailDto, workflowRunDetailResponseSchema, workflowRunJobDetailDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunStepDetailDtoSchema, } from './workflow-run-detail.js';
11
+ export { type JobExecutionDto, jobExecutionDtoSchema, jobExecutionStatusSchema, type StepAttemptDetailResponseDto, stepAttemptDetailResponseSchema, type WorkflowRunDetailResponseDto, type WorkflowRunJobDetailDto, type WorkflowRunJobExecutionDetailDto, type WorkflowRunStepDetailDto, workflowRunDetailResponseSchema, workflowRunJobDetailDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunStepDetailDtoSchema, } from './workflow-run-detail.js';
11
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,K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ACrC,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,KAAK,cAAc,EACnB,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,yBAAyB,EAC9B,gCAAgC,EAChC,mCAAmC,EACnC,2BAA2B,EAC3B,iCAAiC,EACjC,oBAAoB,EACpB,kCAAkC,EAClC,8BAA8B,EAC9B,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACvB,iCAAiC,EACjC,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,eAAe,EACpB,qBAAqB,EACrB,wBAAwB,EACxB,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"}
@@ -1,12 +1,13 @@
1
1
  export { agentRuntimeConfigQuerySchema } from './agent-runtime-config.js';
2
2
  export { checkoutIntentSchema } from './checkout.js';
3
3
  export { checkoutTokenAuthSchema, checkoutTokenParamsSchema, checkoutTokenQuerySchema, checkoutTokenResponseSchema } from './checkout-token.js';
4
+ export { evaluationTraceEntrySchema, evaluationTraceSchema } from './evaluation-trace.js';
4
5
  export { jobDtoSchema, jobStatusReasonSchema, jobStatusSchema } from './job.js';
5
6
  export { checkoutResultSchema, nextStepResponseSchema, reportStepBodySchema, reportStepResponseSchema, STEP_RESPONSE_MAX_LENGTH } from './job-execution.js';
6
7
  export { jobListeningBatchSchema, jobListeningSchema, jobModeSchema, listenerStatusSchema, listeningTriggerSchema, resolutionReasonSchema, triggerEventsBatchSchema, workflowExecutionContextSchema, workflowExecutionEventSchema } from './job-listening.js';
7
8
  export { logOutcomeSchema } from './log-outcome.js';
8
- export { agentConfigIssueSchema, STEP_ERROR_MESSAGE_MAX_LENGTH, stepAttemptDtoSchema, stepDtoSchema, stepErrorCategorySchema, stepErrorDtoSchema, stepErrorReasonSchema, stepGateResultDtoSchema } from './step.js';
9
+ export { agentConfigIssueSchema, STEP_ERROR_MESSAGE_MAX_LENGTH, STEP_STATUS_REASONS, stepAttemptDetailDtoSchema, stepAttemptDtoSchema, stepDtoSchema, stepErrorCategorySchema, stepErrorDtoSchema, stepErrorReasonSchema, stepGateResultDtoSchema, stepStatusReasonSchema } from './step.js';
9
10
  export { rerunWorkflowRunBodySchema, WORKFLOW_RUN_JOB_PREVIEW_LIMIT, workflowRunAggregatesQuerySchema, workflowRunAggregatesResponseSchema, workflowRunAttemptDtoSchema, workflowRunAttemptsResponseSchema, workflowRunDtoSchema, workflowRunJobStatusCountDtoSchema, workflowRunJobSummaryDtoSchema, workflowRunListItemSchema, workflowRunListQuerySchema, workflowRunListResponseSchema, workflowRunRerunModeSchema, workflowRunResponseSchema, workflowRunStatusSchema, workflowRunTriggerReferenceSchema, workflowSourceSnapshotSchema } from './workflow-run.js';
10
- export { jobExecutionDtoSchema, jobExecutionStatusSchema, workflowRunDetailResponseSchema, workflowRunJobDetailDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunStepDetailDtoSchema } from './workflow-run-detail.js';
11
+ export { jobExecutionDtoSchema, jobExecutionStatusSchema, stepAttemptDetailResponseSchema, workflowRunDetailResponseSchema, workflowRunJobDetailDtoSchema, workflowRunJobExecutionDetailDtoSchema, workflowRunStepDetailDtoSchema } from './workflow-run-detail.js';
11
12
 
12
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 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 type StepAttemptDto,\n type StepDto,\n type StepErrorCategoryDto,\n type StepErrorDto,\n type StepErrorReasonDto,\n type StepGateResultDto,\n stepAttemptDtoSchema,\n stepDtoSchema,\n stepErrorCategorySchema,\n stepErrorDtoSchema,\n stepErrorReasonSchema,\n stepGateResultDtoSchema,\n} from './step.js';\nexport {\n type RerunWorkflowRunBodyDto,\n rerunWorkflowRunBodySchema,\n WORKFLOW_RUN_JOB_PREVIEW_LIMIT,\n type WorkflowRunAggregatesQueryDto,\n type WorkflowRunAggregatesResponseDto,\n type WorkflowRunAttemptDto,\n type WorkflowRunAttemptsResponseDto,\n type WorkflowRunDto,\n type WorkflowRunJobStatusCountDto,\n type WorkflowRunJobSummaryDto,\n type WorkflowRunListItemDto,\n type WorkflowRunListQueryDto,\n type WorkflowRunListResponseDto,\n type WorkflowRunRerunModeDto,\n type WorkflowRunResponseDto,\n type WorkflowRunStatusDto,\n type WorkflowRunTriggerReferenceDto,\n type WorkflowSourceSnapshotDto,\n workflowRunAggregatesQuerySchema,\n workflowRunAggregatesResponseSchema,\n workflowRunAttemptDtoSchema,\n workflowRunAttemptsResponseSchema,\n workflowRunDtoSchema,\n workflowRunJobStatusCountDtoSchema,\n workflowRunJobSummaryDtoSchema,\n workflowRunListItemSchema,\n workflowRunListQuerySchema,\n workflowRunListResponseSchema,\n workflowRunRerunModeSchema,\n workflowRunResponseSchema,\n workflowRunStatusSchema,\n workflowRunTriggerReferenceSchema,\n workflowSourceSnapshotSchema,\n} from './workflow-run.js';\nexport {\n type JobExecutionDto,\n jobExecutionDtoSchema,\n jobExecutionStatusSchema,\n type 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","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","stepAttemptDtoSchema","stepDtoSchema","stepErrorCategorySchema","stepErrorDtoSchema","stepErrorReasonSchema","stepGateResultDtoSchema","rerunWorkflowRunBodySchema","WORKFLOW_RUN_JOB_PREVIEW_LIMIT","workflowRunAggregatesQuerySchema","workflowRunAggregatesResponseSchema","workflowRunAttemptDtoSchema","workflowRunAttemptsResponseSchema","workflowRunDtoSchema","workflowRunJobStatusCountDtoSchema","workflowRunJobSummaryDtoSchema","workflowRunListItemSchema","workflowRunListQuerySchema","workflowRunListResponseSchema","workflowRunRerunModeSchema","workflowRunResponseSchema","workflowRunStatusSchema","workflowRunTriggerReferenceSchema","workflowSourceSnapshotSchema","jobExecutionDtoSchema","jobExecutionStatusSchema","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,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,EAO7BC,oBAAoB,EACpBC,aAAa,EACbC,uBAAuB,EACvBC,kBAAkB,EAClBC,qBAAqB,EACrBC,uBAAuB,QAClB,YAAY;AACnB,SAEEC,0BAA0B,EAC1BC,8BAA8B,EAgB9BC,gCAAgC,EAChCC,mCAAmC,EACnCC,2BAA2B,EAC3BC,iCAAiC,EACjCC,oBAAoB,EACpBC,kCAAkC,EAClCC,8BAA8B,EAC9BC,yBAAyB,EACzBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,0BAA0B,EAC1BC,yBAAyB,EACzBC,uBAAuB,EACvBC,iCAAiC,EACjCC,4BAA4B,QACvB,oBAAoB;AAC3B,SAEEC,qBAAqB,EACrBC,wBAAwB,EAKxBC,+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 type RerunWorkflowRunBodyDto,\n rerunWorkflowRunBodySchema,\n WORKFLOW_RUN_JOB_PREVIEW_LIMIT,\n type WorkflowRunAggregatesQueryDto,\n type WorkflowRunAggregatesResponseDto,\n type WorkflowRunAttemptDto,\n type WorkflowRunAttemptsResponseDto,\n type WorkflowRunDto,\n type WorkflowRunJobStatusCountDto,\n type WorkflowRunJobSummaryDto,\n type WorkflowRunListItemDto,\n type WorkflowRunListQueryDto,\n type WorkflowRunListResponseDto,\n type WorkflowRunRerunModeDto,\n type WorkflowRunResponseDto,\n type WorkflowRunStatusDto,\n type WorkflowRunTriggerReferenceDto,\n type WorkflowSourceSnapshotDto,\n workflowRunAggregatesQuerySchema,\n workflowRunAggregatesResponseSchema,\n workflowRunAttemptDtoSchema,\n workflowRunAttemptsResponseSchema,\n workflowRunDtoSchema,\n workflowRunJobStatusCountDtoSchema,\n workflowRunJobSummaryDtoSchema,\n workflowRunListItemSchema,\n workflowRunListQuerySchema,\n workflowRunListResponseSchema,\n workflowRunRerunModeSchema,\n workflowRunResponseSchema,\n workflowRunStatusSchema,\n workflowRunTriggerReferenceSchema,\n workflowSourceSnapshotSchema,\n} from './workflow-run.js';\nexport {\n type JobExecutionDto,\n jobExecutionDtoSchema,\n jobExecutionStatusSchema,\n type StepAttemptDetailResponseDto,\n stepAttemptDetailResponseSchema,\n type WorkflowRunDetailResponseDto,\n type WorkflowRunJobDetailDto,\n type WorkflowRunJobExecutionDetailDto,\n type WorkflowRunStepDetailDto,\n workflowRunDetailResponseSchema,\n workflowRunJobDetailDtoSchema,\n workflowRunJobExecutionDetailDtoSchema,\n workflowRunStepDetailDtoSchema,\n} from './workflow-run-detail.js';\n"],"names":["agentRuntimeConfigQuerySchema","checkoutIntentSchema","checkoutTokenAuthSchema","checkoutTokenParamsSchema","checkoutTokenQuerySchema","checkoutTokenResponseSchema","evaluationTraceEntrySchema","evaluationTraceSchema","jobDtoSchema","jobStatusReasonSchema","jobStatusSchema","checkoutResultSchema","nextStepResponseSchema","reportStepBodySchema","reportStepResponseSchema","STEP_RESPONSE_MAX_LENGTH","jobListeningBatchSchema","jobListeningSchema","jobModeSchema","listenerStatusSchema","listeningTriggerSchema","resolutionReasonSchema","triggerEventsBatchSchema","workflowExecutionContextSchema","workflowExecutionEventSchema","logOutcomeSchema","agentConfigIssueSchema","STEP_ERROR_MESSAGE_MAX_LENGTH","STEP_STATUS_REASONS","stepAttemptDetailDtoSchema","stepAttemptDtoSchema","stepDtoSchema","stepErrorCategorySchema","stepErrorDtoSchema","stepErrorReasonSchema","stepGateResultDtoSchema","stepStatusReasonSchema","rerunWorkflowRunBodySchema","WORKFLOW_RUN_JOB_PREVIEW_LIMIT","workflowRunAggregatesQuerySchema","workflowRunAggregatesResponseSchema","workflowRunAttemptDtoSchema","workflowRunAttemptsResponseSchema","workflowRunDtoSchema","workflowRunJobStatusCountDtoSchema","workflowRunJobSummaryDtoSchema","workflowRunListItemSchema","workflowRunListQuerySchema","workflowRunListResponseSchema","workflowRunRerunModeSchema","workflowRunResponseSchema","workflowRunStatusSchema","workflowRunTriggerReferenceSchema","workflowSourceSnapshotSchema","jobExecutionDtoSchema","jobExecutionStatusSchema","stepAttemptDetailResponseSchema","workflowRunDetailResponseSchema","workflowRunJobDetailDtoSchema","workflowRunJobExecutionDetailDtoSchema","workflowRunStepDetailDtoSchema"],"mappings":"AAAA,SAEEA,6BAA6B,QACxB,4BAA4B;AACnC,SAAgCC,oBAAoB,QAAO,gBAAgB;AAC3E,SAKEC,uBAAuB,EACvBC,yBAAyB,EACzBC,wBAAwB,EACxBC,2BAA2B,QACtB,sBAAsB;AAC7B,SAGEC,0BAA0B,EAC1BC,qBAAqB,QAChB,wBAAwB;AAC/B,SAIEC,YAAY,EACZC,qBAAqB,EACrBC,eAAe,QACV,WAAW;AAClB,SAEEC,oBAAoB,EAEpBC,sBAAsB,EAGtBC,oBAAoB,EACpBC,wBAAwB,EACxBC,wBAAwB,QACnB,qBAAqB;AAC5B,SAGEC,uBAAuB,EACvBC,kBAAkB,EAClBC,aAAa,EAGbC,oBAAoB,EACpBC,sBAAsB,EAEtBC,sBAAsB,EAEtBC,wBAAwB,EAGxBC,8BAA8B,EAC9BC,4BAA4B,QACvB,qBAAqB;AAC5B,SAA4BC,gBAAgB,QAAO,mBAAmB;AACtE,SAEEC,sBAAsB,EACtBC,6BAA6B,EAC7BC,mBAAmB,EASnBC,0BAA0B,EAC1BC,oBAAoB,EACpBC,aAAa,EACbC,uBAAuB,EACvBC,kBAAkB,EAClBC,qBAAqB,EACrBC,uBAAuB,EACvBC,sBAAsB,QACjB,YAAY;AACnB,SAEEC,0BAA0B,EAC1BC,8BAA8B,EAgB9BC,gCAAgC,EAChCC,mCAAmC,EACnCC,2BAA2B,EAC3BC,iCAAiC,EACjCC,oBAAoB,EACpBC,kCAAkC,EAClCC,8BAA8B,EAC9BC,yBAAyB,EACzBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,0BAA0B,EAC1BC,yBAAyB,EACzBC,uBAAuB,EACvBC,iCAAiC,EACjCC,4BAA4B,QACvB,oBAAoB;AAC3B,SAEEC,qBAAqB,EACrBC,wBAAwB,EAExBC,+BAA+B,EAK/BC,+BAA+B,EAC/BC,6BAA6B,EAC7BC,sCAAsC,EACtCC,8BAA8B,QACzB,2BAA2B"}
@@ -16,35 +16,56 @@ export declare const nextStepResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
16
16
  end_line: z.ZodNumber;
17
17
  }, z.core.$strip>>;
18
18
  status: z.ZodString;
19
+ status_reason: z.ZodNullable<z.ZodEnum<{
20
+ condition_errored: "condition_errored";
21
+ condition_rejected: "condition_rejected";
22
+ default_gate_rejected: "default_gate_rejected";
23
+ }>>;
19
24
  type: z.ZodString;
20
25
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
26
+ evaluation_trace: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
27
+ expression: z.ZodString;
28
+ roots: z.ZodArray<z.ZodString>;
29
+ fill_target: z.ZodString;
30
+ evaluated_at: z.ZodString;
31
+ field: z.ZodString;
32
+ value: z.ZodOptional<z.ZodString>;
33
+ truncated: z.ZodOptional<z.ZodBoolean>;
34
+ expr_truncated: z.ZodOptional<z.ZodBoolean>;
35
+ reference: z.ZodOptional<z.ZodBoolean>;
36
+ degraded: z.ZodOptional<z.ZodBoolean>;
37
+ env_key: z.ZodOptional<z.ZodString>;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ truncated: z.ZodLiteral<true>;
40
+ dropped: z.ZodNumber;
41
+ }, z.core.$strip>]>>>;
21
42
  error: z.ZodNullable<z.ZodObject<{
22
43
  message: z.ZodString;
23
44
  exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
45
  signal: z.ZodOptional<z.ZodString>;
25
46
  reason: z.ZodOptional<z.ZodEnum<{
26
- checkout_failed: "checkout_failed";
47
+ agent_config_invalid: "agent_config_invalid";
48
+ agent_harness_unavailable: "agent_harness_unavailable";
49
+ agent_invocation_failed: "agent_invocation_failed";
27
50
  checkout_auth_failed: "checkout_auth_failed";
28
- checkout_unavailable: "checkout_unavailable";
29
- checkout_path_invalid: "checkout_path_invalid";
30
51
  checkout_destination_occupied: "checkout_destination_occupied";
31
- git_unavailable: "git_unavailable";
32
- workspace_prep_failed: "workspace_prep_failed";
33
- setup_aborted: "setup_aborted";
52
+ checkout_failed: "checkout_failed";
53
+ checkout_path_invalid: "checkout_path_invalid";
54
+ checkout_unavailable: "checkout_unavailable";
34
55
  config_unresolvable: "config_unresolvable";
56
+ git_unavailable: "git_unavailable";
35
57
  output_invalid: "output_invalid";
36
- agent_config_invalid: "agent_config_invalid";
37
- agent_invocation_failed: "agent_invocation_failed";
38
- agent_harness_unavailable: "agent_harness_unavailable";
58
+ setup_aborted: "setup_aborted";
59
+ workspace_prep_failed: "workspace_prep_failed";
39
60
  }>>;
40
61
  field: z.ZodOptional<z.ZodString>;
41
62
  source: z.ZodOptional<z.ZodString>;
42
63
  agent_config_issue: z.ZodOptional<z.ZodEnum<{
43
- step_config_invalid: "step_config_invalid";
64
+ credentials_invalid: "credentials_invalid";
65
+ model_unavailable: "model_unavailable";
44
66
  provider_not_configured: "provider_not_configured";
45
67
  provider_unsupported: "provider_unsupported";
46
- model_unavailable: "model_unavailable";
47
- credentials_invalid: "credentials_invalid";
68
+ step_config_invalid: "step_config_invalid";
48
69
  }>>;
49
70
  category: z.ZodOptional<z.ZodEnum<{
50
71
  setup: "setup";
@@ -61,8 +82,8 @@ export declare const nextStepResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
61
82
  }, z.core.$strip>, z.ZodObject<{
62
83
  kind: z.ZodLiteral<"done">;
63
84
  status: z.ZodEnum<{
64
- succeeded: "succeeded";
65
85
  failed: "failed";
86
+ succeeded: "succeeded";
66
87
  }>;
67
88
  }, z.core.$strip>], "kind">;
68
89
  export type NextStepResponseDto = z.infer<typeof nextStepResponseSchema>;
@@ -75,36 +96,36 @@ export declare const checkoutResultSchema: z.ZodObject<{
75
96
  export type CheckoutResultDto = z.infer<typeof checkoutResultSchema>;
76
97
  export declare const reportStepBodySchema: z.ZodObject<{
77
98
  status: z.ZodEnum<{
78
- succeeded: "succeeded";
79
99
  failed: "failed";
100
+ succeeded: "succeeded";
80
101
  }>;
81
102
  error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
82
103
  message: z.ZodString;
83
104
  exit_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
84
105
  signal: z.ZodOptional<z.ZodString>;
85
106
  reason: z.ZodOptional<z.ZodEnum<{
86
- checkout_failed: "checkout_failed";
107
+ agent_config_invalid: "agent_config_invalid";
108
+ agent_harness_unavailable: "agent_harness_unavailable";
109
+ agent_invocation_failed: "agent_invocation_failed";
87
110
  checkout_auth_failed: "checkout_auth_failed";
88
- checkout_unavailable: "checkout_unavailable";
89
- checkout_path_invalid: "checkout_path_invalid";
90
111
  checkout_destination_occupied: "checkout_destination_occupied";
91
- git_unavailable: "git_unavailable";
92
- workspace_prep_failed: "workspace_prep_failed";
93
- setup_aborted: "setup_aborted";
112
+ checkout_failed: "checkout_failed";
113
+ checkout_path_invalid: "checkout_path_invalid";
114
+ checkout_unavailable: "checkout_unavailable";
94
115
  config_unresolvable: "config_unresolvable";
116
+ git_unavailable: "git_unavailable";
95
117
  output_invalid: "output_invalid";
96
- agent_config_invalid: "agent_config_invalid";
97
- agent_invocation_failed: "agent_invocation_failed";
98
- agent_harness_unavailable: "agent_harness_unavailable";
118
+ setup_aborted: "setup_aborted";
119
+ workspace_prep_failed: "workspace_prep_failed";
99
120
  }>>;
100
121
  field: z.ZodOptional<z.ZodString>;
101
122
  source: z.ZodOptional<z.ZodString>;
102
123
  agent_config_issue: z.ZodOptional<z.ZodEnum<{
103
- step_config_invalid: "step_config_invalid";
124
+ credentials_invalid: "credentials_invalid";
125
+ model_unavailable: "model_unavailable";
104
126
  provider_not_configured: "provider_not_configured";
105
127
  provider_unsupported: "provider_unsupported";
106
- model_unavailable: "model_unavailable";
107
- credentials_invalid: "credentials_invalid";
128
+ step_config_invalid: "step_config_invalid";
108
129
  }>>;
109
130
  category: z.ZodOptional<z.ZodEnum<{
110
131
  setup: "setup";
@@ -122,8 +143,8 @@ export declare const reportStepBodySchema: z.ZodObject<{
122
143
  }, z.core.$strip>>;
123
144
  response: z.ZodOptional<z.ZodString>;
124
145
  log_outcome: z.ZodEnum<{
125
- drained: "drained";
126
146
  abandoned: "abandoned";
147
+ drained: "drained";
127
148
  }>;
128
149
  }, z.core.$strip>;
129
150
  export type ReportStepBodyDto = z.infer<typeof reportStepBodySchema>;
@@ -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"}
@@ -1,18 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  export declare const jobModeSchema: z.ZodEnum<{
3
- one_shot: "one_shot";
4
3
  listening: "listening";
4
+ one_shot: "one_shot";
5
5
  }>;
6
6
  export declare const listenerStatusSchema: z.ZodEnum<{
7
- listening: "listening";
8
7
  inactive: "inactive";
8
+ listening: "listening";
9
9
  resolved: "resolved";
10
10
  }>;
11
11
  export declare const resolutionReasonSchema: z.ZodEnum<{
12
- until: "until";
13
- timeout: "timeout";
14
- max_executions: "max_executions";
15
12
  cancelled: "cancelled";
13
+ max_executions: "max_executions";
14
+ timeout: "timeout";
15
+ until: "until";
16
16
  }>;
17
17
  export declare const listeningTriggerSchema: z.ZodObject<{
18
18
  source: z.ZodString;
@@ -46,8 +46,8 @@ export declare const jobListeningSchema: z.ZodObject<{
46
46
  max_wait_ms: z.ZodOptional<z.ZodNumber>;
47
47
  }, z.core.$strip>>;
48
48
  on_resolve: z.ZodEnum<{
49
- finish: "finish";
50
49
  cancel: "cancel";
50
+ finish: "finish";
51
51
  }>;
52
52
  execution_timeout_ms: z.ZodNullable<z.ZodNumber>;
53
53
  name: z.ZodNullable<z.ZodString>;