@cat-factory/contracts 0.52.0 → 0.54.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.
- package/dist/entities.d.ts +398 -20
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +78 -9
- package/dist/entities.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +162 -4
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +648 -16
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +81 -2
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +405 -10
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +243 -6
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +162 -4
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +81 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/testing.d.ts +101 -7
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +51 -1
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
|
@@ -99,7 +99,7 @@ export declare const startExecutionContract: {
|
|
|
99
99
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
100
100
|
readonly attempts: v.NumberSchema<undefined>;
|
|
101
101
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
102
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
102
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
103
103
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
104
104
|
readonly summary: v.StringSchema<undefined>;
|
|
105
105
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -122,6 +122,80 @@ export declare const startExecutionContract: {
|
|
|
122
122
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
123
123
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
124
124
|
}, undefined>, undefined>, undefined>;
|
|
125
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
126
|
+
readonly reason: v.StringSchema<undefined>;
|
|
127
|
+
}, undefined>, undefined>, undefined>;
|
|
128
|
+
}, undefined>, v.TransformAction<{
|
|
129
|
+
greenlight: boolean;
|
|
130
|
+
summary: string;
|
|
131
|
+
tested: string[];
|
|
132
|
+
outcomes: {
|
|
133
|
+
name: string;
|
|
134
|
+
status: "failed" | "passed" | "skipped";
|
|
135
|
+
detail?: string | undefined;
|
|
136
|
+
}[];
|
|
137
|
+
concerns: {
|
|
138
|
+
title: string;
|
|
139
|
+
detail: string;
|
|
140
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
141
|
+
}[];
|
|
142
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
143
|
+
screenshots?: {
|
|
144
|
+
view: string;
|
|
145
|
+
artifactId: string;
|
|
146
|
+
hash?: string | undefined;
|
|
147
|
+
width?: number | undefined;
|
|
148
|
+
height?: number | undefined;
|
|
149
|
+
referenceArtifactId?: string | undefined;
|
|
150
|
+
}[] | undefined;
|
|
151
|
+
abort?: {
|
|
152
|
+
reason: string;
|
|
153
|
+
} | null | undefined;
|
|
154
|
+
}, {
|
|
155
|
+
greenlight: boolean;
|
|
156
|
+
summary: string;
|
|
157
|
+
tested: string[];
|
|
158
|
+
outcomes: {
|
|
159
|
+
name: string;
|
|
160
|
+
status: "failed" | "passed" | "skipped";
|
|
161
|
+
detail?: string | undefined;
|
|
162
|
+
}[];
|
|
163
|
+
concerns: {
|
|
164
|
+
title: string;
|
|
165
|
+
detail: string;
|
|
166
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
167
|
+
}[];
|
|
168
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
169
|
+
screenshots?: {
|
|
170
|
+
view: string;
|
|
171
|
+
artifactId: string;
|
|
172
|
+
hash?: string | undefined;
|
|
173
|
+
width?: number | undefined;
|
|
174
|
+
height?: number | undefined;
|
|
175
|
+
referenceArtifactId?: string | undefined;
|
|
176
|
+
}[] | undefined;
|
|
177
|
+
abort?: {
|
|
178
|
+
reason: string;
|
|
179
|
+
} | null | undefined;
|
|
180
|
+
}>]>, undefined>, undefined>;
|
|
181
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
182
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
183
|
+
readonly at: v.NumberSchema<undefined>;
|
|
184
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
185
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
186
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
187
|
+
readonly title: v.StringSchema<undefined>;
|
|
188
|
+
readonly detail: v.StringSchema<undefined>;
|
|
189
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
190
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
191
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
192
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
193
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
194
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
195
|
+
readonly at: v.NumberSchema<undefined>;
|
|
196
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
197
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
198
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
125
199
|
}, undefined>, undefined>, undefined>;
|
|
126
200
|
}, undefined>, undefined>, undefined>;
|
|
127
201
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -187,7 +261,12 @@ export declare const startExecutionContract: {
|
|
|
187
261
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
188
262
|
}, undefined>, undefined>, undefined>;
|
|
189
263
|
}, undefined>, undefined>;
|
|
190
|
-
readonly
|
|
264
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
265
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
266
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
267
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
268
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
269
|
+
}, undefined>, undefined>, undefined>;
|
|
191
270
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
192
271
|
readonly id: v.StringSchema<undefined>;
|
|
193
272
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -643,7 +722,7 @@ export declare const resumeSpendContract: {
|
|
|
643
722
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
644
723
|
readonly attempts: v.NumberSchema<undefined>;
|
|
645
724
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
646
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
725
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
647
726
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
648
727
|
readonly summary: v.StringSchema<undefined>;
|
|
649
728
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -666,6 +745,80 @@ export declare const resumeSpendContract: {
|
|
|
666
745
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
667
746
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
668
747
|
}, undefined>, undefined>, undefined>;
|
|
748
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
749
|
+
readonly reason: v.StringSchema<undefined>;
|
|
750
|
+
}, undefined>, undefined>, undefined>;
|
|
751
|
+
}, undefined>, v.TransformAction<{
|
|
752
|
+
greenlight: boolean;
|
|
753
|
+
summary: string;
|
|
754
|
+
tested: string[];
|
|
755
|
+
outcomes: {
|
|
756
|
+
name: string;
|
|
757
|
+
status: "failed" | "passed" | "skipped";
|
|
758
|
+
detail?: string | undefined;
|
|
759
|
+
}[];
|
|
760
|
+
concerns: {
|
|
761
|
+
title: string;
|
|
762
|
+
detail: string;
|
|
763
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
764
|
+
}[];
|
|
765
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
766
|
+
screenshots?: {
|
|
767
|
+
view: string;
|
|
768
|
+
artifactId: string;
|
|
769
|
+
hash?: string | undefined;
|
|
770
|
+
width?: number | undefined;
|
|
771
|
+
height?: number | undefined;
|
|
772
|
+
referenceArtifactId?: string | undefined;
|
|
773
|
+
}[] | undefined;
|
|
774
|
+
abort?: {
|
|
775
|
+
reason: string;
|
|
776
|
+
} | null | undefined;
|
|
777
|
+
}, {
|
|
778
|
+
greenlight: boolean;
|
|
779
|
+
summary: string;
|
|
780
|
+
tested: string[];
|
|
781
|
+
outcomes: {
|
|
782
|
+
name: string;
|
|
783
|
+
status: "failed" | "passed" | "skipped";
|
|
784
|
+
detail?: string | undefined;
|
|
785
|
+
}[];
|
|
786
|
+
concerns: {
|
|
787
|
+
title: string;
|
|
788
|
+
detail: string;
|
|
789
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
790
|
+
}[];
|
|
791
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
792
|
+
screenshots?: {
|
|
793
|
+
view: string;
|
|
794
|
+
artifactId: string;
|
|
795
|
+
hash?: string | undefined;
|
|
796
|
+
width?: number | undefined;
|
|
797
|
+
height?: number | undefined;
|
|
798
|
+
referenceArtifactId?: string | undefined;
|
|
799
|
+
}[] | undefined;
|
|
800
|
+
abort?: {
|
|
801
|
+
reason: string;
|
|
802
|
+
} | null | undefined;
|
|
803
|
+
}>]>, undefined>, undefined>;
|
|
804
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
805
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
806
|
+
readonly at: v.NumberSchema<undefined>;
|
|
807
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
808
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
809
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
810
|
+
readonly title: v.StringSchema<undefined>;
|
|
811
|
+
readonly detail: v.StringSchema<undefined>;
|
|
812
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
813
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
814
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
815
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
816
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
817
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
818
|
+
readonly at: v.NumberSchema<undefined>;
|
|
819
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
820
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
821
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
669
822
|
}, undefined>, undefined>, undefined>;
|
|
670
823
|
}, undefined>, undefined>, undefined>;
|
|
671
824
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -731,7 +884,12 @@ export declare const resumeSpendContract: {
|
|
|
731
884
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
732
885
|
}, undefined>, undefined>, undefined>;
|
|
733
886
|
}, undefined>, undefined>;
|
|
734
|
-
readonly
|
|
887
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
888
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
889
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
890
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
891
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
892
|
+
}, undefined>, undefined>, undefined>;
|
|
735
893
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
736
894
|
readonly id: v.StringSchema<undefined>;
|
|
737
895
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -1186,7 +1344,7 @@ export declare const resolveDecisionContract: {
|
|
|
1186
1344
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
1187
1345
|
readonly attempts: v.NumberSchema<undefined>;
|
|
1188
1346
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1189
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1347
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1190
1348
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
1191
1349
|
readonly summary: v.StringSchema<undefined>;
|
|
1192
1350
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1209,6 +1367,80 @@ export declare const resolveDecisionContract: {
|
|
|
1209
1367
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1210
1368
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1211
1369
|
}, undefined>, undefined>, undefined>;
|
|
1370
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1371
|
+
readonly reason: v.StringSchema<undefined>;
|
|
1372
|
+
}, undefined>, undefined>, undefined>;
|
|
1373
|
+
}, undefined>, v.TransformAction<{
|
|
1374
|
+
greenlight: boolean;
|
|
1375
|
+
summary: string;
|
|
1376
|
+
tested: string[];
|
|
1377
|
+
outcomes: {
|
|
1378
|
+
name: string;
|
|
1379
|
+
status: "failed" | "passed" | "skipped";
|
|
1380
|
+
detail?: string | undefined;
|
|
1381
|
+
}[];
|
|
1382
|
+
concerns: {
|
|
1383
|
+
title: string;
|
|
1384
|
+
detail: string;
|
|
1385
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
1386
|
+
}[];
|
|
1387
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
1388
|
+
screenshots?: {
|
|
1389
|
+
view: string;
|
|
1390
|
+
artifactId: string;
|
|
1391
|
+
hash?: string | undefined;
|
|
1392
|
+
width?: number | undefined;
|
|
1393
|
+
height?: number | undefined;
|
|
1394
|
+
referenceArtifactId?: string | undefined;
|
|
1395
|
+
}[] | undefined;
|
|
1396
|
+
abort?: {
|
|
1397
|
+
reason: string;
|
|
1398
|
+
} | null | undefined;
|
|
1399
|
+
}, {
|
|
1400
|
+
greenlight: boolean;
|
|
1401
|
+
summary: string;
|
|
1402
|
+
tested: string[];
|
|
1403
|
+
outcomes: {
|
|
1404
|
+
name: string;
|
|
1405
|
+
status: "failed" | "passed" | "skipped";
|
|
1406
|
+
detail?: string | undefined;
|
|
1407
|
+
}[];
|
|
1408
|
+
concerns: {
|
|
1409
|
+
title: string;
|
|
1410
|
+
detail: string;
|
|
1411
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
1412
|
+
}[];
|
|
1413
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
1414
|
+
screenshots?: {
|
|
1415
|
+
view: string;
|
|
1416
|
+
artifactId: string;
|
|
1417
|
+
hash?: string | undefined;
|
|
1418
|
+
width?: number | undefined;
|
|
1419
|
+
height?: number | undefined;
|
|
1420
|
+
referenceArtifactId?: string | undefined;
|
|
1421
|
+
}[] | undefined;
|
|
1422
|
+
abort?: {
|
|
1423
|
+
reason: string;
|
|
1424
|
+
} | null | undefined;
|
|
1425
|
+
}>]>, undefined>, undefined>;
|
|
1426
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1427
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
1428
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1429
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
1430
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1431
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1432
|
+
readonly title: v.StringSchema<undefined>;
|
|
1433
|
+
readonly detail: v.StringSchema<undefined>;
|
|
1434
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
1435
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1436
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1437
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1438
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
1439
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1440
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1441
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1442
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1443
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1212
1444
|
}, undefined>, undefined>, undefined>;
|
|
1213
1445
|
}, undefined>, undefined>, undefined>;
|
|
1214
1446
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -1274,7 +1506,12 @@ export declare const resolveDecisionContract: {
|
|
|
1274
1506
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1275
1507
|
}, undefined>, undefined>, undefined>;
|
|
1276
1508
|
}, undefined>, undefined>;
|
|
1277
|
-
readonly
|
|
1509
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1510
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
1511
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1512
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1513
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1514
|
+
}, undefined>, undefined>, undefined>;
|
|
1278
1515
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
1279
1516
|
readonly id: v.StringSchema<undefined>;
|
|
1280
1517
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -1507,7 +1744,7 @@ export declare const approveStepContract: {
|
|
|
1507
1744
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
1508
1745
|
readonly attempts: v.NumberSchema<undefined>;
|
|
1509
1746
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1510
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1747
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1511
1748
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
1512
1749
|
readonly summary: v.StringSchema<undefined>;
|
|
1513
1750
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1530,6 +1767,80 @@ export declare const approveStepContract: {
|
|
|
1530
1767
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1531
1768
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1532
1769
|
}, undefined>, undefined>, undefined>;
|
|
1770
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1771
|
+
readonly reason: v.StringSchema<undefined>;
|
|
1772
|
+
}, undefined>, undefined>, undefined>;
|
|
1773
|
+
}, undefined>, v.TransformAction<{
|
|
1774
|
+
greenlight: boolean;
|
|
1775
|
+
summary: string;
|
|
1776
|
+
tested: string[];
|
|
1777
|
+
outcomes: {
|
|
1778
|
+
name: string;
|
|
1779
|
+
status: "failed" | "passed" | "skipped";
|
|
1780
|
+
detail?: string | undefined;
|
|
1781
|
+
}[];
|
|
1782
|
+
concerns: {
|
|
1783
|
+
title: string;
|
|
1784
|
+
detail: string;
|
|
1785
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
1786
|
+
}[];
|
|
1787
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
1788
|
+
screenshots?: {
|
|
1789
|
+
view: string;
|
|
1790
|
+
artifactId: string;
|
|
1791
|
+
hash?: string | undefined;
|
|
1792
|
+
width?: number | undefined;
|
|
1793
|
+
height?: number | undefined;
|
|
1794
|
+
referenceArtifactId?: string | undefined;
|
|
1795
|
+
}[] | undefined;
|
|
1796
|
+
abort?: {
|
|
1797
|
+
reason: string;
|
|
1798
|
+
} | null | undefined;
|
|
1799
|
+
}, {
|
|
1800
|
+
greenlight: boolean;
|
|
1801
|
+
summary: string;
|
|
1802
|
+
tested: string[];
|
|
1803
|
+
outcomes: {
|
|
1804
|
+
name: string;
|
|
1805
|
+
status: "failed" | "passed" | "skipped";
|
|
1806
|
+
detail?: string | undefined;
|
|
1807
|
+
}[];
|
|
1808
|
+
concerns: {
|
|
1809
|
+
title: string;
|
|
1810
|
+
detail: string;
|
|
1811
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
1812
|
+
}[];
|
|
1813
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
1814
|
+
screenshots?: {
|
|
1815
|
+
view: string;
|
|
1816
|
+
artifactId: string;
|
|
1817
|
+
hash?: string | undefined;
|
|
1818
|
+
width?: number | undefined;
|
|
1819
|
+
height?: number | undefined;
|
|
1820
|
+
referenceArtifactId?: string | undefined;
|
|
1821
|
+
}[] | undefined;
|
|
1822
|
+
abort?: {
|
|
1823
|
+
reason: string;
|
|
1824
|
+
} | null | undefined;
|
|
1825
|
+
}>]>, undefined>, undefined>;
|
|
1826
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1827
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
1828
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1829
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
1830
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1831
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1832
|
+
readonly title: v.StringSchema<undefined>;
|
|
1833
|
+
readonly detail: v.StringSchema<undefined>;
|
|
1834
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
1835
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1836
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1837
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1838
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
1839
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1840
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1841
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1842
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1843
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1533
1844
|
}, undefined>, undefined>, undefined>;
|
|
1534
1845
|
}, undefined>, undefined>, undefined>;
|
|
1535
1846
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -1595,7 +1906,12 @@ export declare const approveStepContract: {
|
|
|
1595
1906
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1596
1907
|
}, undefined>, undefined>, undefined>;
|
|
1597
1908
|
}, undefined>, undefined>;
|
|
1598
|
-
readonly
|
|
1909
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1910
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
1911
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1912
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1913
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1914
|
+
}, undefined>, undefined>, undefined>;
|
|
1599
1915
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
1600
1916
|
readonly id: v.StringSchema<undefined>;
|
|
1601
1917
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -1842,7 +2158,7 @@ export declare const requestStepChangesContract: {
|
|
|
1842
2158
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
1843
2159
|
readonly attempts: v.NumberSchema<undefined>;
|
|
1844
2160
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1845
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2161
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1846
2162
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
1847
2163
|
readonly summary: v.StringSchema<undefined>;
|
|
1848
2164
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1865,6 +2181,80 @@ export declare const requestStepChangesContract: {
|
|
|
1865
2181
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1866
2182
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1867
2183
|
}, undefined>, undefined>, undefined>;
|
|
2184
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2185
|
+
readonly reason: v.StringSchema<undefined>;
|
|
2186
|
+
}, undefined>, undefined>, undefined>;
|
|
2187
|
+
}, undefined>, v.TransformAction<{
|
|
2188
|
+
greenlight: boolean;
|
|
2189
|
+
summary: string;
|
|
2190
|
+
tested: string[];
|
|
2191
|
+
outcomes: {
|
|
2192
|
+
name: string;
|
|
2193
|
+
status: "failed" | "passed" | "skipped";
|
|
2194
|
+
detail?: string | undefined;
|
|
2195
|
+
}[];
|
|
2196
|
+
concerns: {
|
|
2197
|
+
title: string;
|
|
2198
|
+
detail: string;
|
|
2199
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
2200
|
+
}[];
|
|
2201
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
2202
|
+
screenshots?: {
|
|
2203
|
+
view: string;
|
|
2204
|
+
artifactId: string;
|
|
2205
|
+
hash?: string | undefined;
|
|
2206
|
+
width?: number | undefined;
|
|
2207
|
+
height?: number | undefined;
|
|
2208
|
+
referenceArtifactId?: string | undefined;
|
|
2209
|
+
}[] | undefined;
|
|
2210
|
+
abort?: {
|
|
2211
|
+
reason: string;
|
|
2212
|
+
} | null | undefined;
|
|
2213
|
+
}, {
|
|
2214
|
+
greenlight: boolean;
|
|
2215
|
+
summary: string;
|
|
2216
|
+
tested: string[];
|
|
2217
|
+
outcomes: {
|
|
2218
|
+
name: string;
|
|
2219
|
+
status: "failed" | "passed" | "skipped";
|
|
2220
|
+
detail?: string | undefined;
|
|
2221
|
+
}[];
|
|
2222
|
+
concerns: {
|
|
2223
|
+
title: string;
|
|
2224
|
+
detail: string;
|
|
2225
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
2226
|
+
}[];
|
|
2227
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
2228
|
+
screenshots?: {
|
|
2229
|
+
view: string;
|
|
2230
|
+
artifactId: string;
|
|
2231
|
+
hash?: string | undefined;
|
|
2232
|
+
width?: number | undefined;
|
|
2233
|
+
height?: number | undefined;
|
|
2234
|
+
referenceArtifactId?: string | undefined;
|
|
2235
|
+
}[] | undefined;
|
|
2236
|
+
abort?: {
|
|
2237
|
+
reason: string;
|
|
2238
|
+
} | null | undefined;
|
|
2239
|
+
}>]>, undefined>, undefined>;
|
|
2240
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2241
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
2242
|
+
readonly at: v.NumberSchema<undefined>;
|
|
2243
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
2244
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2245
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2246
|
+
readonly title: v.StringSchema<undefined>;
|
|
2247
|
+
readonly detail: v.StringSchema<undefined>;
|
|
2248
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
2249
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
2250
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
2251
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2252
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
2253
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2254
|
+
readonly at: v.NumberSchema<undefined>;
|
|
2255
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2256
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2257
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1868
2258
|
}, undefined>, undefined>, undefined>;
|
|
1869
2259
|
}, undefined>, undefined>, undefined>;
|
|
1870
2260
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -1930,7 +2320,12 @@ export declare const requestStepChangesContract: {
|
|
|
1930
2320
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1931
2321
|
}, undefined>, undefined>, undefined>;
|
|
1932
2322
|
}, undefined>, undefined>;
|
|
1933
|
-
readonly
|
|
2323
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2324
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
2325
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2326
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2327
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2328
|
+
}, undefined>, undefined>, undefined>;
|
|
1934
2329
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
1935
2330
|
readonly id: v.StringSchema<undefined>;
|
|
1936
2331
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -2163,7 +2558,7 @@ export declare const resolveStepExceededContract: {
|
|
|
2163
2558
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
2164
2559
|
readonly attempts: v.NumberSchema<undefined>;
|
|
2165
2560
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
2166
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2561
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2167
2562
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
2168
2563
|
readonly summary: v.StringSchema<undefined>;
|
|
2169
2564
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2186,6 +2581,80 @@ export declare const resolveStepExceededContract: {
|
|
|
2186
2581
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2187
2582
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2188
2583
|
}, undefined>, undefined>, undefined>;
|
|
2584
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2585
|
+
readonly reason: v.StringSchema<undefined>;
|
|
2586
|
+
}, undefined>, undefined>, undefined>;
|
|
2587
|
+
}, undefined>, v.TransformAction<{
|
|
2588
|
+
greenlight: boolean;
|
|
2589
|
+
summary: string;
|
|
2590
|
+
tested: string[];
|
|
2591
|
+
outcomes: {
|
|
2592
|
+
name: string;
|
|
2593
|
+
status: "failed" | "passed" | "skipped";
|
|
2594
|
+
detail?: string | undefined;
|
|
2595
|
+
}[];
|
|
2596
|
+
concerns: {
|
|
2597
|
+
title: string;
|
|
2598
|
+
detail: string;
|
|
2599
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
2600
|
+
}[];
|
|
2601
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
2602
|
+
screenshots?: {
|
|
2603
|
+
view: string;
|
|
2604
|
+
artifactId: string;
|
|
2605
|
+
hash?: string | undefined;
|
|
2606
|
+
width?: number | undefined;
|
|
2607
|
+
height?: number | undefined;
|
|
2608
|
+
referenceArtifactId?: string | undefined;
|
|
2609
|
+
}[] | undefined;
|
|
2610
|
+
abort?: {
|
|
2611
|
+
reason: string;
|
|
2612
|
+
} | null | undefined;
|
|
2613
|
+
}, {
|
|
2614
|
+
greenlight: boolean;
|
|
2615
|
+
summary: string;
|
|
2616
|
+
tested: string[];
|
|
2617
|
+
outcomes: {
|
|
2618
|
+
name: string;
|
|
2619
|
+
status: "failed" | "passed" | "skipped";
|
|
2620
|
+
detail?: string | undefined;
|
|
2621
|
+
}[];
|
|
2622
|
+
concerns: {
|
|
2623
|
+
title: string;
|
|
2624
|
+
detail: string;
|
|
2625
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
2626
|
+
}[];
|
|
2627
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
2628
|
+
screenshots?: {
|
|
2629
|
+
view: string;
|
|
2630
|
+
artifactId: string;
|
|
2631
|
+
hash?: string | undefined;
|
|
2632
|
+
width?: number | undefined;
|
|
2633
|
+
height?: number | undefined;
|
|
2634
|
+
referenceArtifactId?: string | undefined;
|
|
2635
|
+
}[] | undefined;
|
|
2636
|
+
abort?: {
|
|
2637
|
+
reason: string;
|
|
2638
|
+
} | null | undefined;
|
|
2639
|
+
}>]>, undefined>, undefined>;
|
|
2640
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2641
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
2642
|
+
readonly at: v.NumberSchema<undefined>;
|
|
2643
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
2644
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2645
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2646
|
+
readonly title: v.StringSchema<undefined>;
|
|
2647
|
+
readonly detail: v.StringSchema<undefined>;
|
|
2648
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
2649
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
2650
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
2651
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2652
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
2653
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2654
|
+
readonly at: v.NumberSchema<undefined>;
|
|
2655
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2656
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2657
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2189
2658
|
}, undefined>, undefined>, undefined>;
|
|
2190
2659
|
}, undefined>, undefined>, undefined>;
|
|
2191
2660
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -2251,7 +2720,12 @@ export declare const resolveStepExceededContract: {
|
|
|
2251
2720
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
2252
2721
|
}, undefined>, undefined>, undefined>;
|
|
2253
2722
|
}, undefined>, undefined>;
|
|
2254
|
-
readonly
|
|
2723
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2724
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
2725
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2726
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2727
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2728
|
+
}, undefined>, undefined>, undefined>;
|
|
2255
2729
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
2256
2730
|
readonly id: v.StringSchema<undefined>;
|
|
2257
2731
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -2482,7 +2956,7 @@ export declare const restartExecutionContract: {
|
|
|
2482
2956
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
2483
2957
|
readonly attempts: v.NumberSchema<undefined>;
|
|
2484
2958
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
2485
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2959
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2486
2960
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
2487
2961
|
readonly summary: v.StringSchema<undefined>;
|
|
2488
2962
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2505,6 +2979,80 @@ export declare const restartExecutionContract: {
|
|
|
2505
2979
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2506
2980
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2507
2981
|
}, undefined>, undefined>, undefined>;
|
|
2982
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2983
|
+
readonly reason: v.StringSchema<undefined>;
|
|
2984
|
+
}, undefined>, undefined>, undefined>;
|
|
2985
|
+
}, undefined>, v.TransformAction<{
|
|
2986
|
+
greenlight: boolean;
|
|
2987
|
+
summary: string;
|
|
2988
|
+
tested: string[];
|
|
2989
|
+
outcomes: {
|
|
2990
|
+
name: string;
|
|
2991
|
+
status: "failed" | "passed" | "skipped";
|
|
2992
|
+
detail?: string | undefined;
|
|
2993
|
+
}[];
|
|
2994
|
+
concerns: {
|
|
2995
|
+
title: string;
|
|
2996
|
+
detail: string;
|
|
2997
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
2998
|
+
}[];
|
|
2999
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
3000
|
+
screenshots?: {
|
|
3001
|
+
view: string;
|
|
3002
|
+
artifactId: string;
|
|
3003
|
+
hash?: string | undefined;
|
|
3004
|
+
width?: number | undefined;
|
|
3005
|
+
height?: number | undefined;
|
|
3006
|
+
referenceArtifactId?: string | undefined;
|
|
3007
|
+
}[] | undefined;
|
|
3008
|
+
abort?: {
|
|
3009
|
+
reason: string;
|
|
3010
|
+
} | null | undefined;
|
|
3011
|
+
}, {
|
|
3012
|
+
greenlight: boolean;
|
|
3013
|
+
summary: string;
|
|
3014
|
+
tested: string[];
|
|
3015
|
+
outcomes: {
|
|
3016
|
+
name: string;
|
|
3017
|
+
status: "failed" | "passed" | "skipped";
|
|
3018
|
+
detail?: string | undefined;
|
|
3019
|
+
}[];
|
|
3020
|
+
concerns: {
|
|
3021
|
+
title: string;
|
|
3022
|
+
detail: string;
|
|
3023
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
3024
|
+
}[];
|
|
3025
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
3026
|
+
screenshots?: {
|
|
3027
|
+
view: string;
|
|
3028
|
+
artifactId: string;
|
|
3029
|
+
hash?: string | undefined;
|
|
3030
|
+
width?: number | undefined;
|
|
3031
|
+
height?: number | undefined;
|
|
3032
|
+
referenceArtifactId?: string | undefined;
|
|
3033
|
+
}[] | undefined;
|
|
3034
|
+
abort?: {
|
|
3035
|
+
reason: string;
|
|
3036
|
+
} | null | undefined;
|
|
3037
|
+
}>]>, undefined>, undefined>;
|
|
3038
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3039
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
3040
|
+
readonly at: v.NumberSchema<undefined>;
|
|
3041
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
3042
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3043
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3044
|
+
readonly title: v.StringSchema<undefined>;
|
|
3045
|
+
readonly detail: v.StringSchema<undefined>;
|
|
3046
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
3047
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
3048
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
3049
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3050
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
3051
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3052
|
+
readonly at: v.NumberSchema<undefined>;
|
|
3053
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3054
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3055
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2508
3056
|
}, undefined>, undefined>, undefined>;
|
|
2509
3057
|
}, undefined>, undefined>, undefined>;
|
|
2510
3058
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -2570,7 +3118,12 @@ export declare const restartExecutionContract: {
|
|
|
2570
3118
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
2571
3119
|
}, undefined>, undefined>, undefined>;
|
|
2572
3120
|
}, undefined>, undefined>;
|
|
2573
|
-
readonly
|
|
3121
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3122
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
3123
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3124
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3125
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3126
|
+
}, undefined>, undefined>, undefined>;
|
|
2574
3127
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
2575
3128
|
readonly id: v.StringSchema<undefined>;
|
|
2576
3129
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -2803,7 +3356,7 @@ export declare const rejectStepContract: {
|
|
|
2803
3356
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
2804
3357
|
readonly attempts: v.NumberSchema<undefined>;
|
|
2805
3358
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
2806
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3359
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2807
3360
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
2808
3361
|
readonly summary: v.StringSchema<undefined>;
|
|
2809
3362
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2826,6 +3379,80 @@ export declare const rejectStepContract: {
|
|
|
2826
3379
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2827
3380
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2828
3381
|
}, undefined>, undefined>, undefined>;
|
|
3382
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3383
|
+
readonly reason: v.StringSchema<undefined>;
|
|
3384
|
+
}, undefined>, undefined>, undefined>;
|
|
3385
|
+
}, undefined>, v.TransformAction<{
|
|
3386
|
+
greenlight: boolean;
|
|
3387
|
+
summary: string;
|
|
3388
|
+
tested: string[];
|
|
3389
|
+
outcomes: {
|
|
3390
|
+
name: string;
|
|
3391
|
+
status: "failed" | "passed" | "skipped";
|
|
3392
|
+
detail?: string | undefined;
|
|
3393
|
+
}[];
|
|
3394
|
+
concerns: {
|
|
3395
|
+
title: string;
|
|
3396
|
+
detail: string;
|
|
3397
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
3398
|
+
}[];
|
|
3399
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
3400
|
+
screenshots?: {
|
|
3401
|
+
view: string;
|
|
3402
|
+
artifactId: string;
|
|
3403
|
+
hash?: string | undefined;
|
|
3404
|
+
width?: number | undefined;
|
|
3405
|
+
height?: number | undefined;
|
|
3406
|
+
referenceArtifactId?: string | undefined;
|
|
3407
|
+
}[] | undefined;
|
|
3408
|
+
abort?: {
|
|
3409
|
+
reason: string;
|
|
3410
|
+
} | null | undefined;
|
|
3411
|
+
}, {
|
|
3412
|
+
greenlight: boolean;
|
|
3413
|
+
summary: string;
|
|
3414
|
+
tested: string[];
|
|
3415
|
+
outcomes: {
|
|
3416
|
+
name: string;
|
|
3417
|
+
status: "failed" | "passed" | "skipped";
|
|
3418
|
+
detail?: string | undefined;
|
|
3419
|
+
}[];
|
|
3420
|
+
concerns: {
|
|
3421
|
+
title: string;
|
|
3422
|
+
detail: string;
|
|
3423
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
3424
|
+
}[];
|
|
3425
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
3426
|
+
screenshots?: {
|
|
3427
|
+
view: string;
|
|
3428
|
+
artifactId: string;
|
|
3429
|
+
hash?: string | undefined;
|
|
3430
|
+
width?: number | undefined;
|
|
3431
|
+
height?: number | undefined;
|
|
3432
|
+
referenceArtifactId?: string | undefined;
|
|
3433
|
+
}[] | undefined;
|
|
3434
|
+
abort?: {
|
|
3435
|
+
reason: string;
|
|
3436
|
+
} | null | undefined;
|
|
3437
|
+
}>]>, undefined>, undefined>;
|
|
3438
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3439
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
3440
|
+
readonly at: v.NumberSchema<undefined>;
|
|
3441
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
3442
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3443
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3444
|
+
readonly title: v.StringSchema<undefined>;
|
|
3445
|
+
readonly detail: v.StringSchema<undefined>;
|
|
3446
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
3447
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
3448
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
3449
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3450
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
3451
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3452
|
+
readonly at: v.NumberSchema<undefined>;
|
|
3453
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3454
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3455
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2829
3456
|
}, undefined>, undefined>, undefined>;
|
|
2830
3457
|
}, undefined>, undefined>, undefined>;
|
|
2831
3458
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -2891,7 +3518,12 @@ export declare const rejectStepContract: {
|
|
|
2891
3518
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
2892
3519
|
}, undefined>, undefined>, undefined>;
|
|
2893
3520
|
}, undefined>, undefined>;
|
|
2894
|
-
readonly
|
|
3521
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3522
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
3523
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3524
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3525
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3526
|
+
}, undefined>, undefined>, undefined>;
|
|
2895
3527
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
2896
3528
|
readonly id: v.StringSchema<undefined>;
|
|
2897
3529
|
readonly question: v.StringSchema<undefined>;
|