@cat-factory/contracts 0.242.0 → 0.243.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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/merge.d.ts +56 -0
- package/dist/merge.d.ts.map +1 -1
- package/dist/merge.js +58 -0
- package/dist/merge.js.map +1 -1
- package/dist/public-decisions.d.ts +282 -9
- package/dist/public-decisions.d.ts.map +1 -1
- package/dist/public-decisions.js +158 -8
- package/dist/public-decisions.js.map +1 -1
- package/dist/risk-policy-selection.d.ts +74 -0
- package/dist/risk-policy-selection.d.ts.map +1 -0
- package/dist/risk-policy-selection.js +54 -0
- package/dist/risk-policy-selection.js.map +1 -0
- package/dist/routes/public-decisions.d.ts +2658 -3
- package/dist/routes/public-decisions.d.ts.map +1 -1
- package/dist/routes/public-decisions.js +89 -1
- package/dist/routes/public-decisions.js.map +1 -1
- package/package.json +1 -1
|
@@ -202,6 +202,35 @@ export declare const listPublicRunDecisionsContract: {
|
|
|
202
202
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
203
203
|
readonly attempts: v.NumberSchema<undefined>;
|
|
204
204
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
205
|
+
}, undefined>, v.ObjectSchema<{
|
|
206
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
207
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
208
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
209
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
210
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
211
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
212
|
+
readonly title: v.StringSchema<undefined>;
|
|
213
|
+
readonly detail: v.StringSchema<undefined>;
|
|
214
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
215
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
216
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
217
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
218
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
219
|
+
}, undefined>, undefined>;
|
|
220
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
221
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
222
|
+
}, undefined>, v.ObjectSchema<{
|
|
223
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
224
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
225
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
226
|
+
readonly round: v.NumberSchema<undefined>;
|
|
227
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
228
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
229
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
230
|
+
readonly question: v.StringSchema<undefined>;
|
|
231
|
+
readonly answer: v.StringSchema<undefined>;
|
|
232
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
233
|
+
}, undefined>, undefined>;
|
|
205
234
|
}, undefined>], undefined>, undefined>;
|
|
206
235
|
}, undefined>;
|
|
207
236
|
};
|
|
@@ -413,6 +442,35 @@ export declare const replyPublicRunFindingContract: {
|
|
|
413
442
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
414
443
|
readonly attempts: v.NumberSchema<undefined>;
|
|
415
444
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
445
|
+
}, undefined>, v.ObjectSchema<{
|
|
446
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
447
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
448
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
449
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
450
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
451
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
452
|
+
readonly title: v.StringSchema<undefined>;
|
|
453
|
+
readonly detail: v.StringSchema<undefined>;
|
|
454
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
455
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
456
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
457
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
458
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
459
|
+
}, undefined>, undefined>;
|
|
460
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
461
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
462
|
+
}, undefined>, v.ObjectSchema<{
|
|
463
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
464
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
465
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
466
|
+
readonly round: v.NumberSchema<undefined>;
|
|
467
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
468
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
469
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
470
|
+
readonly question: v.StringSchema<undefined>;
|
|
471
|
+
readonly answer: v.StringSchema<undefined>;
|
|
472
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
473
|
+
}, undefined>, undefined>;
|
|
416
474
|
}, undefined>], undefined>, undefined>;
|
|
417
475
|
}, undefined>;
|
|
418
476
|
};
|
|
@@ -624,6 +682,35 @@ export declare const setPublicRunFindingStatusContract: {
|
|
|
624
682
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
625
683
|
readonly attempts: v.NumberSchema<undefined>;
|
|
626
684
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
685
|
+
}, undefined>, v.ObjectSchema<{
|
|
686
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
687
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
688
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
689
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
690
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
691
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
692
|
+
readonly title: v.StringSchema<undefined>;
|
|
693
|
+
readonly detail: v.StringSchema<undefined>;
|
|
694
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
695
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
696
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
697
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
698
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
699
|
+
}, undefined>, undefined>;
|
|
700
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
701
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
702
|
+
}, undefined>, v.ObjectSchema<{
|
|
703
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
704
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
705
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
706
|
+
readonly round: v.NumberSchema<undefined>;
|
|
707
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
708
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
709
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
710
|
+
readonly question: v.StringSchema<undefined>;
|
|
711
|
+
readonly answer: v.StringSchema<undefined>;
|
|
712
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
713
|
+
}, undefined>, undefined>;
|
|
627
714
|
}, undefined>], undefined>, undefined>;
|
|
628
715
|
}, undefined>;
|
|
629
716
|
};
|
|
@@ -837,6 +924,35 @@ export declare const incorporatePublicRunRequirementsContract: {
|
|
|
837
924
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
838
925
|
readonly attempts: v.NumberSchema<undefined>;
|
|
839
926
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
927
|
+
}, undefined>, v.ObjectSchema<{
|
|
928
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
929
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
930
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
931
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
932
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
933
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
934
|
+
readonly title: v.StringSchema<undefined>;
|
|
935
|
+
readonly detail: v.StringSchema<undefined>;
|
|
936
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
937
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
938
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
939
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
940
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
941
|
+
}, undefined>, undefined>;
|
|
942
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
943
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
944
|
+
}, undefined>, v.ObjectSchema<{
|
|
945
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
946
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
947
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
948
|
+
readonly round: v.NumberSchema<undefined>;
|
|
949
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
950
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
951
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
952
|
+
readonly question: v.StringSchema<undefined>;
|
|
953
|
+
readonly answer: v.StringSchema<undefined>;
|
|
954
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
955
|
+
}, undefined>, undefined>;
|
|
840
956
|
}, undefined>], undefined>, undefined>;
|
|
841
957
|
}, undefined>;
|
|
842
958
|
};
|
|
@@ -1044,6 +1160,35 @@ export declare const reReviewPublicRunRequirementsContract: {
|
|
|
1044
1160
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1045
1161
|
readonly attempts: v.NumberSchema<undefined>;
|
|
1046
1162
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1163
|
+
}, undefined>, v.ObjectSchema<{
|
|
1164
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
1165
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
1166
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
1167
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
1168
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
1169
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
1170
|
+
readonly title: v.StringSchema<undefined>;
|
|
1171
|
+
readonly detail: v.StringSchema<undefined>;
|
|
1172
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1173
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
1174
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1175
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1176
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1177
|
+
}, undefined>, undefined>;
|
|
1178
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
1179
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
1180
|
+
}, undefined>, v.ObjectSchema<{
|
|
1181
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
1182
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
1183
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
1184
|
+
readonly round: v.NumberSchema<undefined>;
|
|
1185
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
1186
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
1187
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1188
|
+
readonly question: v.StringSchema<undefined>;
|
|
1189
|
+
readonly answer: v.StringSchema<undefined>;
|
|
1190
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
1191
|
+
}, undefined>, undefined>;
|
|
1047
1192
|
}, undefined>], undefined>, undefined>;
|
|
1048
1193
|
}, undefined>;
|
|
1049
1194
|
};
|
|
@@ -1251,6 +1396,35 @@ export declare const proceedPublicRunRequirementsContract: {
|
|
|
1251
1396
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1252
1397
|
readonly attempts: v.NumberSchema<undefined>;
|
|
1253
1398
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1399
|
+
}, undefined>, v.ObjectSchema<{
|
|
1400
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
1401
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
1402
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
1403
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
1404
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
1405
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
1406
|
+
readonly title: v.StringSchema<undefined>;
|
|
1407
|
+
readonly detail: v.StringSchema<undefined>;
|
|
1408
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1409
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
1410
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1411
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1412
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1413
|
+
}, undefined>, undefined>;
|
|
1414
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
1415
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
1416
|
+
}, undefined>, v.ObjectSchema<{
|
|
1417
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
1418
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
1419
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
1420
|
+
readonly round: v.NumberSchema<undefined>;
|
|
1421
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
1422
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
1423
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1424
|
+
readonly question: v.StringSchema<undefined>;
|
|
1425
|
+
readonly answer: v.StringSchema<undefined>;
|
|
1426
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
1427
|
+
}, undefined>, undefined>;
|
|
1254
1428
|
}, undefined>], undefined>, undefined>;
|
|
1255
1429
|
}, undefined>;
|
|
1256
1430
|
};
|
|
@@ -1460,6 +1634,35 @@ export declare const resolvePublicRunRequirementsExceededContract: {
|
|
|
1460
1634
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1461
1635
|
readonly attempts: v.NumberSchema<undefined>;
|
|
1462
1636
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1637
|
+
}, undefined>, v.ObjectSchema<{
|
|
1638
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
1639
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
1640
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
1641
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
1642
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
1643
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
1644
|
+
readonly title: v.StringSchema<undefined>;
|
|
1645
|
+
readonly detail: v.StringSchema<undefined>;
|
|
1646
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1647
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
1648
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1649
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1650
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1651
|
+
}, undefined>, undefined>;
|
|
1652
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
1653
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
1654
|
+
}, undefined>, v.ObjectSchema<{
|
|
1655
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
1656
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
1657
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
1658
|
+
readonly round: v.NumberSchema<undefined>;
|
|
1659
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
1660
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
1661
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1662
|
+
readonly question: v.StringSchema<undefined>;
|
|
1663
|
+
readonly answer: v.StringSchema<undefined>;
|
|
1664
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
1665
|
+
}, undefined>, undefined>;
|
|
1463
1666
|
}, undefined>], undefined>, undefined>;
|
|
1464
1667
|
}, undefined>;
|
|
1465
1668
|
};
|
|
@@ -1675,6 +1878,35 @@ export declare const choosePublicRunForkContract: {
|
|
|
1675
1878
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1676
1879
|
readonly attempts: v.NumberSchema<undefined>;
|
|
1677
1880
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1881
|
+
}, undefined>, v.ObjectSchema<{
|
|
1882
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
1883
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
1884
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
1885
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
1886
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
1887
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
1888
|
+
readonly title: v.StringSchema<undefined>;
|
|
1889
|
+
readonly detail: v.StringSchema<undefined>;
|
|
1890
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1891
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
1892
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1893
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1894
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1895
|
+
}, undefined>, undefined>;
|
|
1896
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
1897
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
1898
|
+
}, undefined>, v.ObjectSchema<{
|
|
1899
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
1900
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
1901
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
1902
|
+
readonly round: v.NumberSchema<undefined>;
|
|
1903
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
1904
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
1905
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1906
|
+
readonly question: v.StringSchema<undefined>;
|
|
1907
|
+
readonly answer: v.StringSchema<undefined>;
|
|
1908
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
1909
|
+
}, undefined>, undefined>;
|
|
1678
1910
|
}, undefined>], undefined>, undefined>;
|
|
1679
1911
|
}, undefined>;
|
|
1680
1912
|
};
|
|
@@ -1885,6 +2117,35 @@ export declare const resolvePublicRunJudgeContract: {
|
|
|
1885
2117
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1886
2118
|
readonly attempts: v.NumberSchema<undefined>;
|
|
1887
2119
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
2120
|
+
}, undefined>, v.ObjectSchema<{
|
|
2121
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
2122
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
2123
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
2124
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
2125
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
2126
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
2127
|
+
readonly title: v.StringSchema<undefined>;
|
|
2128
|
+
readonly detail: v.StringSchema<undefined>;
|
|
2129
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2130
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
2131
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2132
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2133
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2134
|
+
}, undefined>, undefined>;
|
|
2135
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
2136
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
2137
|
+
}, undefined>, v.ObjectSchema<{
|
|
2138
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
2139
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
2140
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
2141
|
+
readonly round: v.NumberSchema<undefined>;
|
|
2142
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
2143
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
2144
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2145
|
+
readonly question: v.StringSchema<undefined>;
|
|
2146
|
+
readonly answer: v.StringSchema<undefined>;
|
|
2147
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
2148
|
+
}, undefined>, undefined>;
|
|
1888
2149
|
}, undefined>], undefined>, undefined>;
|
|
1889
2150
|
}, undefined>;
|
|
1890
2151
|
};
|
|
@@ -2104,6 +2365,35 @@ export declare const resolvePublicRunInputGateContract: {
|
|
|
2104
2365
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2105
2366
|
readonly attempts: v.NumberSchema<undefined>;
|
|
2106
2367
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
2368
|
+
}, undefined>, v.ObjectSchema<{
|
|
2369
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
2370
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
2371
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
2372
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
2373
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
2374
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
2375
|
+
readonly title: v.StringSchema<undefined>;
|
|
2376
|
+
readonly detail: v.StringSchema<undefined>;
|
|
2377
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2378
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
2379
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2380
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2381
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2382
|
+
}, undefined>, undefined>;
|
|
2383
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
2384
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
2385
|
+
}, undefined>, v.ObjectSchema<{
|
|
2386
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
2387
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
2388
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
2389
|
+
readonly round: v.NumberSchema<undefined>;
|
|
2390
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
2391
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
2392
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2393
|
+
readonly question: v.StringSchema<undefined>;
|
|
2394
|
+
readonly answer: v.StringSchema<undefined>;
|
|
2395
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
2396
|
+
}, undefined>, undefined>;
|
|
2107
2397
|
}, undefined>], undefined>, undefined>;
|
|
2108
2398
|
}, undefined>;
|
|
2109
2399
|
};
|
|
@@ -2315,6 +2605,35 @@ export declare const approvePublicRunStepContract: {
|
|
|
2315
2605
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2316
2606
|
readonly attempts: v.NumberSchema<undefined>;
|
|
2317
2607
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
2608
|
+
}, undefined>, v.ObjectSchema<{
|
|
2609
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
2610
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
2611
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
2612
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
2613
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
2614
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
2615
|
+
readonly title: v.StringSchema<undefined>;
|
|
2616
|
+
readonly detail: v.StringSchema<undefined>;
|
|
2617
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2618
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
2619
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2620
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2621
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2622
|
+
}, undefined>, undefined>;
|
|
2623
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
2624
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
2625
|
+
}, undefined>, v.ObjectSchema<{
|
|
2626
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
2627
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
2628
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
2629
|
+
readonly round: v.NumberSchema<undefined>;
|
|
2630
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
2631
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
2632
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2633
|
+
readonly question: v.StringSchema<undefined>;
|
|
2634
|
+
readonly answer: v.StringSchema<undefined>;
|
|
2635
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
2636
|
+
}, undefined>, undefined>;
|
|
2318
2637
|
}, undefined>], undefined>, undefined>;
|
|
2319
2638
|
}, undefined>;
|
|
2320
2639
|
};
|
|
@@ -2526,6 +2845,35 @@ export declare const requestPublicRunStepChangesContract: {
|
|
|
2526
2845
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2527
2846
|
readonly attempts: v.NumberSchema<undefined>;
|
|
2528
2847
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
2848
|
+
}, undefined>, v.ObjectSchema<{
|
|
2849
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
2850
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
2851
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
2852
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
2853
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
2854
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
2855
|
+
readonly title: v.StringSchema<undefined>;
|
|
2856
|
+
readonly detail: v.StringSchema<undefined>;
|
|
2857
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2858
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
2859
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2860
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2861
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2862
|
+
}, undefined>, undefined>;
|
|
2863
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
2864
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
2865
|
+
}, undefined>, v.ObjectSchema<{
|
|
2866
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
2867
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
2868
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
2869
|
+
readonly round: v.NumberSchema<undefined>;
|
|
2870
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
2871
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
2872
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2873
|
+
readonly question: v.StringSchema<undefined>;
|
|
2874
|
+
readonly answer: v.StringSchema<undefined>;
|
|
2875
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
2876
|
+
}, undefined>, undefined>;
|
|
2529
2877
|
}, undefined>], undefined>, undefined>;
|
|
2530
2878
|
}, undefined>;
|
|
2531
2879
|
};
|
|
@@ -2737,6 +3085,35 @@ export declare const rejectPublicRunStepContract: {
|
|
|
2737
3085
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2738
3086
|
readonly attempts: v.NumberSchema<undefined>;
|
|
2739
3087
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
3088
|
+
}, undefined>, v.ObjectSchema<{
|
|
3089
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
3090
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
3091
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
3092
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
3093
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
3094
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
3095
|
+
readonly title: v.StringSchema<undefined>;
|
|
3096
|
+
readonly detail: v.StringSchema<undefined>;
|
|
3097
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3098
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
3099
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3100
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3101
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3102
|
+
}, undefined>, undefined>;
|
|
3103
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
3104
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
3105
|
+
}, undefined>, v.ObjectSchema<{
|
|
3106
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
3107
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
3108
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
3109
|
+
readonly round: v.NumberSchema<undefined>;
|
|
3110
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
3111
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
3112
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3113
|
+
readonly question: v.StringSchema<undefined>;
|
|
3114
|
+
readonly answer: v.StringSchema<undefined>;
|
|
3115
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
3116
|
+
}, undefined>, undefined>;
|
|
2740
3117
|
}, undefined>], undefined>, undefined>;
|
|
2741
3118
|
}, undefined>;
|
|
2742
3119
|
};
|
|
@@ -2953,6 +3330,35 @@ export declare const resolvePublicRunStepExceededContract: {
|
|
|
2953
3330
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2954
3331
|
readonly attempts: v.NumberSchema<undefined>;
|
|
2955
3332
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
3333
|
+
}, undefined>, v.ObjectSchema<{
|
|
3334
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
3335
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
3336
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
3337
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
3338
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
3339
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
3340
|
+
readonly title: v.StringSchema<undefined>;
|
|
3341
|
+
readonly detail: v.StringSchema<undefined>;
|
|
3342
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3343
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
3344
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3345
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3346
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3347
|
+
}, undefined>, undefined>;
|
|
3348
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
3349
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
3350
|
+
}, undefined>, v.ObjectSchema<{
|
|
3351
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
3352
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
3353
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
3354
|
+
readonly round: v.NumberSchema<undefined>;
|
|
3355
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
3356
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
3357
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3358
|
+
readonly question: v.StringSchema<undefined>;
|
|
3359
|
+
readonly answer: v.StringSchema<undefined>;
|
|
3360
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
3361
|
+
}, undefined>, undefined>;
|
|
2956
3362
|
}, undefined>], undefined>, undefined>;
|
|
2957
3363
|
}, undefined>;
|
|
2958
3364
|
};
|
|
@@ -3167,6 +3573,35 @@ export declare const resolvePublicRunAgentDecisionContract: {
|
|
|
3167
3573
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3168
3574
|
readonly attempts: v.NumberSchema<undefined>;
|
|
3169
3575
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
3576
|
+
}, undefined>, v.ObjectSchema<{
|
|
3577
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
3578
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
3579
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
3580
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
3581
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
3582
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
3583
|
+
readonly title: v.StringSchema<undefined>;
|
|
3584
|
+
readonly detail: v.StringSchema<undefined>;
|
|
3585
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3586
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
3587
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3588
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3589
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3590
|
+
}, undefined>, undefined>;
|
|
3591
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
3592
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
3593
|
+
}, undefined>, v.ObjectSchema<{
|
|
3594
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
3595
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
3596
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
3597
|
+
readonly round: v.NumberSchema<undefined>;
|
|
3598
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
3599
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
3600
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3601
|
+
readonly question: v.StringSchema<undefined>;
|
|
3602
|
+
readonly answer: v.StringSchema<undefined>;
|
|
3603
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
3604
|
+
}, undefined>, undefined>;
|
|
3170
3605
|
}, undefined>], undefined>, undefined>;
|
|
3171
3606
|
}, undefined>;
|
|
3172
3607
|
};
|
|
@@ -3378,6 +3813,35 @@ export declare const replyPublicRunClarityFindingContract: {
|
|
|
3378
3813
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3379
3814
|
readonly attempts: v.NumberSchema<undefined>;
|
|
3380
3815
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
3816
|
+
}, undefined>, v.ObjectSchema<{
|
|
3817
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
3818
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
3819
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
3820
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
3821
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
3822
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
3823
|
+
readonly title: v.StringSchema<undefined>;
|
|
3824
|
+
readonly detail: v.StringSchema<undefined>;
|
|
3825
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3826
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
3827
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3828
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3829
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3830
|
+
}, undefined>, undefined>;
|
|
3831
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
3832
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
3833
|
+
}, undefined>, v.ObjectSchema<{
|
|
3834
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
3835
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
3836
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
3837
|
+
readonly round: v.NumberSchema<undefined>;
|
|
3838
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
3839
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
3840
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3841
|
+
readonly question: v.StringSchema<undefined>;
|
|
3842
|
+
readonly answer: v.StringSchema<undefined>;
|
|
3843
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
3844
|
+
}, undefined>, undefined>;
|
|
3381
3845
|
}, undefined>], undefined>, undefined>;
|
|
3382
3846
|
}, undefined>;
|
|
3383
3847
|
};
|
|
@@ -3589,6 +4053,35 @@ export declare const setPublicRunClarityFindingStatusContract: {
|
|
|
3589
4053
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3590
4054
|
readonly attempts: v.NumberSchema<undefined>;
|
|
3591
4055
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
4056
|
+
}, undefined>, v.ObjectSchema<{
|
|
4057
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
4058
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
4059
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
4060
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
4061
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
4062
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
4063
|
+
readonly title: v.StringSchema<undefined>;
|
|
4064
|
+
readonly detail: v.StringSchema<undefined>;
|
|
4065
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4066
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
4067
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4068
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4069
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4070
|
+
}, undefined>, undefined>;
|
|
4071
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
4072
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
4073
|
+
}, undefined>, v.ObjectSchema<{
|
|
4074
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
4075
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
4076
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
4077
|
+
readonly round: v.NumberSchema<undefined>;
|
|
4078
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
4079
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
4080
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4081
|
+
readonly question: v.StringSchema<undefined>;
|
|
4082
|
+
readonly answer: v.StringSchema<undefined>;
|
|
4083
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
4084
|
+
}, undefined>, undefined>;
|
|
3592
4085
|
}, undefined>], undefined>, undefined>;
|
|
3593
4086
|
}, undefined>;
|
|
3594
4087
|
};
|
|
@@ -3798,6 +4291,35 @@ export declare const incorporatePublicRunClarityContract: {
|
|
|
3798
4291
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3799
4292
|
readonly attempts: v.NumberSchema<undefined>;
|
|
3800
4293
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
4294
|
+
}, undefined>, v.ObjectSchema<{
|
|
4295
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
4296
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
4297
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
4298
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
4299
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
4300
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
4301
|
+
readonly title: v.StringSchema<undefined>;
|
|
4302
|
+
readonly detail: v.StringSchema<undefined>;
|
|
4303
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4304
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
4305
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4306
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4307
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4308
|
+
}, undefined>, undefined>;
|
|
4309
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
4310
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
4311
|
+
}, undefined>, v.ObjectSchema<{
|
|
4312
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
4313
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
4314
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
4315
|
+
readonly round: v.NumberSchema<undefined>;
|
|
4316
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
4317
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
4318
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4319
|
+
readonly question: v.StringSchema<undefined>;
|
|
4320
|
+
readonly answer: v.StringSchema<undefined>;
|
|
4321
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
4322
|
+
}, undefined>, undefined>;
|
|
3801
4323
|
}, undefined>], undefined>, undefined>;
|
|
3802
4324
|
}, undefined>;
|
|
3803
4325
|
};
|
|
@@ -4005,6 +4527,35 @@ export declare const reReviewPublicRunClarityContract: {
|
|
|
4005
4527
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4006
4528
|
readonly attempts: v.NumberSchema<undefined>;
|
|
4007
4529
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
4530
|
+
}, undefined>, v.ObjectSchema<{
|
|
4531
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
4532
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
4533
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
4534
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
4535
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
4536
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
4537
|
+
readonly title: v.StringSchema<undefined>;
|
|
4538
|
+
readonly detail: v.StringSchema<undefined>;
|
|
4539
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4540
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
4541
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4542
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4543
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4544
|
+
}, undefined>, undefined>;
|
|
4545
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
4546
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
4547
|
+
}, undefined>, v.ObjectSchema<{
|
|
4548
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
4549
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
4550
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
4551
|
+
readonly round: v.NumberSchema<undefined>;
|
|
4552
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
4553
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
4554
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4555
|
+
readonly question: v.StringSchema<undefined>;
|
|
4556
|
+
readonly answer: v.StringSchema<undefined>;
|
|
4557
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
4558
|
+
}, undefined>, undefined>;
|
|
4008
4559
|
}, undefined>], undefined>, undefined>;
|
|
4009
4560
|
}, undefined>;
|
|
4010
4561
|
};
|
|
@@ -4212,6 +4763,35 @@ export declare const proceedPublicRunClarityContract: {
|
|
|
4212
4763
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4213
4764
|
readonly attempts: v.NumberSchema<undefined>;
|
|
4214
4765
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
4766
|
+
}, undefined>, v.ObjectSchema<{
|
|
4767
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
4768
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
4769
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
4770
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
4771
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
4772
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
4773
|
+
readonly title: v.StringSchema<undefined>;
|
|
4774
|
+
readonly detail: v.StringSchema<undefined>;
|
|
4775
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4776
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
4777
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4778
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4779
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4780
|
+
}, undefined>, undefined>;
|
|
4781
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
4782
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
4783
|
+
}, undefined>, v.ObjectSchema<{
|
|
4784
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
4785
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
4786
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
4787
|
+
readonly round: v.NumberSchema<undefined>;
|
|
4788
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
4789
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
4790
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4791
|
+
readonly question: v.StringSchema<undefined>;
|
|
4792
|
+
readonly answer: v.StringSchema<undefined>;
|
|
4793
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
4794
|
+
}, undefined>, undefined>;
|
|
4215
4795
|
}, undefined>], undefined>, undefined>;
|
|
4216
4796
|
}, undefined>;
|
|
4217
4797
|
};
|
|
@@ -4421,6 +5001,35 @@ export declare const resolvePublicRunClarityExceededContract: {
|
|
|
4421
5001
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4422
5002
|
readonly attempts: v.NumberSchema<undefined>;
|
|
4423
5003
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
5004
|
+
}, undefined>, v.ObjectSchema<{
|
|
5005
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
5006
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
5007
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
5008
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
5009
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
5010
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
5011
|
+
readonly title: v.StringSchema<undefined>;
|
|
5012
|
+
readonly detail: v.StringSchema<undefined>;
|
|
5013
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5014
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
5015
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5016
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5017
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5018
|
+
}, undefined>, undefined>;
|
|
5019
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
5020
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
5021
|
+
}, undefined>, v.ObjectSchema<{
|
|
5022
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
5023
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
5024
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
5025
|
+
readonly round: v.NumberSchema<undefined>;
|
|
5026
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
5027
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
5028
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5029
|
+
readonly question: v.StringSchema<undefined>;
|
|
5030
|
+
readonly answer: v.StringSchema<undefined>;
|
|
5031
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
5032
|
+
}, undefined>, undefined>;
|
|
4424
5033
|
}, undefined>], undefined>, undefined>;
|
|
4425
5034
|
}, undefined>;
|
|
4426
5035
|
};
|
|
@@ -4634,6 +5243,35 @@ export declare const replyPublicRunBrainstormOptionContract: {
|
|
|
4634
5243
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4635
5244
|
readonly attempts: v.NumberSchema<undefined>;
|
|
4636
5245
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
5246
|
+
}, undefined>, v.ObjectSchema<{
|
|
5247
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
5248
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
5249
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
5250
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
5251
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
5252
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
5253
|
+
readonly title: v.StringSchema<undefined>;
|
|
5254
|
+
readonly detail: v.StringSchema<undefined>;
|
|
5255
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5256
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
5257
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5258
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5259
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5260
|
+
}, undefined>, undefined>;
|
|
5261
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
5262
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
5263
|
+
}, undefined>, v.ObjectSchema<{
|
|
5264
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
5265
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
5266
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
5267
|
+
readonly round: v.NumberSchema<undefined>;
|
|
5268
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
5269
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
5270
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5271
|
+
readonly question: v.StringSchema<undefined>;
|
|
5272
|
+
readonly answer: v.StringSchema<undefined>;
|
|
5273
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
5274
|
+
}, undefined>, undefined>;
|
|
4637
5275
|
}, undefined>], undefined>, undefined>;
|
|
4638
5276
|
}, undefined>;
|
|
4639
5277
|
};
|
|
@@ -4847,6 +5485,35 @@ export declare const setPublicRunBrainstormOptionStatusContract: {
|
|
|
4847
5485
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4848
5486
|
readonly attempts: v.NumberSchema<undefined>;
|
|
4849
5487
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
5488
|
+
}, undefined>, v.ObjectSchema<{
|
|
5489
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
5490
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
5491
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
5492
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
5493
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
5494
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
5495
|
+
readonly title: v.StringSchema<undefined>;
|
|
5496
|
+
readonly detail: v.StringSchema<undefined>;
|
|
5497
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5498
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
5499
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5500
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5501
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5502
|
+
}, undefined>, undefined>;
|
|
5503
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
5504
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
5505
|
+
}, undefined>, v.ObjectSchema<{
|
|
5506
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
5507
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
5508
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
5509
|
+
readonly round: v.NumberSchema<undefined>;
|
|
5510
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
5511
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
5512
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5513
|
+
readonly question: v.StringSchema<undefined>;
|
|
5514
|
+
readonly answer: v.StringSchema<undefined>;
|
|
5515
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
5516
|
+
}, undefined>, undefined>;
|
|
4850
5517
|
}, undefined>], undefined>, undefined>;
|
|
4851
5518
|
}, undefined>;
|
|
4852
5519
|
};
|
|
@@ -5058,9 +5725,38 @@ export declare const incorporatePublicRunBrainstormContract: {
|
|
|
5058
5725
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5059
5726
|
readonly attempts: v.NumberSchema<undefined>;
|
|
5060
5727
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
5061
|
-
}, undefined
|
|
5062
|
-
|
|
5063
|
-
|
|
5728
|
+
}, undefined>, v.ObjectSchema<{
|
|
5729
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
5730
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
5731
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
5732
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
5733
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
5734
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
5735
|
+
readonly title: v.StringSchema<undefined>;
|
|
5736
|
+
readonly detail: v.StringSchema<undefined>;
|
|
5737
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5738
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
5739
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5740
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5741
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5742
|
+
}, undefined>, undefined>;
|
|
5743
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
5744
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
5745
|
+
}, undefined>, v.ObjectSchema<{
|
|
5746
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
5747
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
5748
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
5749
|
+
readonly round: v.NumberSchema<undefined>;
|
|
5750
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
5751
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
5752
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5753
|
+
readonly question: v.StringSchema<undefined>;
|
|
5754
|
+
readonly answer: v.StringSchema<undefined>;
|
|
5755
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
5756
|
+
}, undefined>, undefined>;
|
|
5757
|
+
}, undefined>], undefined>, undefined>;
|
|
5758
|
+
}, undefined>;
|
|
5759
|
+
};
|
|
5064
5760
|
};
|
|
5065
5761
|
/** Run one more brainstorm pass against the converged direction. */
|
|
5066
5762
|
export declare const reReviewPublicRunBrainstormContract: {
|
|
@@ -5267,6 +5963,35 @@ export declare const reReviewPublicRunBrainstormContract: {
|
|
|
5267
5963
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5268
5964
|
readonly attempts: v.NumberSchema<undefined>;
|
|
5269
5965
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
5966
|
+
}, undefined>, v.ObjectSchema<{
|
|
5967
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
5968
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
5969
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
5970
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
5971
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
5972
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
5973
|
+
readonly title: v.StringSchema<undefined>;
|
|
5974
|
+
readonly detail: v.StringSchema<undefined>;
|
|
5975
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5976
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
5977
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5978
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5979
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5980
|
+
}, undefined>, undefined>;
|
|
5981
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
5982
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
5983
|
+
}, undefined>, v.ObjectSchema<{
|
|
5984
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
5985
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
5986
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
5987
|
+
readonly round: v.NumberSchema<undefined>;
|
|
5988
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
5989
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
5990
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5991
|
+
readonly question: v.StringSchema<undefined>;
|
|
5992
|
+
readonly answer: v.StringSchema<undefined>;
|
|
5993
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
5994
|
+
}, undefined>, undefined>;
|
|
5270
5995
|
}, undefined>], undefined>, undefined>;
|
|
5271
5996
|
}, undefined>;
|
|
5272
5997
|
};
|
|
@@ -5476,6 +6201,35 @@ export declare const proceedPublicRunBrainstormContract: {
|
|
|
5476
6201
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5477
6202
|
readonly attempts: v.NumberSchema<undefined>;
|
|
5478
6203
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
6204
|
+
}, undefined>, v.ObjectSchema<{
|
|
6205
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
6206
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
6207
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
6208
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
6209
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
6210
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
6211
|
+
readonly title: v.StringSchema<undefined>;
|
|
6212
|
+
readonly detail: v.StringSchema<undefined>;
|
|
6213
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6214
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
6215
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6216
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6217
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6218
|
+
}, undefined>, undefined>;
|
|
6219
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
6220
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
6221
|
+
}, undefined>, v.ObjectSchema<{
|
|
6222
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
6223
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
6224
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
6225
|
+
readonly round: v.NumberSchema<undefined>;
|
|
6226
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
6227
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
6228
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6229
|
+
readonly question: v.StringSchema<undefined>;
|
|
6230
|
+
readonly answer: v.StringSchema<undefined>;
|
|
6231
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
6232
|
+
}, undefined>, undefined>;
|
|
5479
6233
|
}, undefined>], undefined>, undefined>;
|
|
5480
6234
|
}, undefined>;
|
|
5481
6235
|
};
|
|
@@ -5687,6 +6441,35 @@ export declare const resolvePublicRunBrainstormExceededContract: {
|
|
|
5687
6441
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5688
6442
|
readonly attempts: v.NumberSchema<undefined>;
|
|
5689
6443
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
6444
|
+
}, undefined>, v.ObjectSchema<{
|
|
6445
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
6446
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
6447
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
6448
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
6449
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
6450
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
6451
|
+
readonly title: v.StringSchema<undefined>;
|
|
6452
|
+
readonly detail: v.StringSchema<undefined>;
|
|
6453
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6454
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
6455
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6456
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6457
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6458
|
+
}, undefined>, undefined>;
|
|
6459
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
6460
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
6461
|
+
}, undefined>, v.ObjectSchema<{
|
|
6462
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
6463
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
6464
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
6465
|
+
readonly round: v.NumberSchema<undefined>;
|
|
6466
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
6467
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
6468
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6469
|
+
readonly question: v.StringSchema<undefined>;
|
|
6470
|
+
readonly answer: v.StringSchema<undefined>;
|
|
6471
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
6472
|
+
}, undefined>, undefined>;
|
|
5690
6473
|
}, undefined>], undefined>, undefined>;
|
|
5691
6474
|
}, undefined>;
|
|
5692
6475
|
};
|
|
@@ -5902,6 +6685,35 @@ export declare const resolvePublicRunPrReviewContract: {
|
|
|
5902
6685
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
5903
6686
|
readonly attempts: v.NumberSchema<undefined>;
|
|
5904
6687
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
6688
|
+
}, undefined>, v.ObjectSchema<{
|
|
6689
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
6690
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
6691
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
6692
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
6693
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
6694
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
6695
|
+
readonly title: v.StringSchema<undefined>;
|
|
6696
|
+
readonly detail: v.StringSchema<undefined>;
|
|
6697
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6698
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
6699
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6700
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6701
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6702
|
+
}, undefined>, undefined>;
|
|
6703
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
6704
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
6705
|
+
}, undefined>, v.ObjectSchema<{
|
|
6706
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
6707
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
6708
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
6709
|
+
readonly round: v.NumberSchema<undefined>;
|
|
6710
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
6711
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
6712
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6713
|
+
readonly question: v.StringSchema<undefined>;
|
|
6714
|
+
readonly answer: v.StringSchema<undefined>;
|
|
6715
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
6716
|
+
}, undefined>, undefined>;
|
|
5905
6717
|
}, undefined>], undefined>, undefined>;
|
|
5906
6718
|
}, undefined>;
|
|
5907
6719
|
};
|
|
@@ -6111,6 +6923,35 @@ export declare const dismissPublicRunPrReviewFindingContract: {
|
|
|
6111
6923
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6112
6924
|
readonly attempts: v.NumberSchema<undefined>;
|
|
6113
6925
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
6926
|
+
}, undefined>, v.ObjectSchema<{
|
|
6927
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
6928
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
6929
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
6930
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
6931
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
6932
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
6933
|
+
readonly title: v.StringSchema<undefined>;
|
|
6934
|
+
readonly detail: v.StringSchema<undefined>;
|
|
6935
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6936
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
6937
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6938
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6939
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6940
|
+
}, undefined>, undefined>;
|
|
6941
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
6942
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
6943
|
+
}, undefined>, v.ObjectSchema<{
|
|
6944
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
6945
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
6946
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
6947
|
+
readonly round: v.NumberSchema<undefined>;
|
|
6948
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
6949
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
6950
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6951
|
+
readonly question: v.StringSchema<undefined>;
|
|
6952
|
+
readonly answer: v.StringSchema<undefined>;
|
|
6953
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
6954
|
+
}, undefined>, undefined>;
|
|
6114
6955
|
}, undefined>], undefined>, undefined>;
|
|
6115
6956
|
}, undefined>;
|
|
6116
6957
|
};
|
|
@@ -6322,6 +7163,35 @@ export declare const challengePublicRunPrReviewFindingContract: {
|
|
|
6322
7163
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6323
7164
|
readonly attempts: v.NumberSchema<undefined>;
|
|
6324
7165
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
7166
|
+
}, undefined>, v.ObjectSchema<{
|
|
7167
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
7168
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
7169
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
7170
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
7171
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
7172
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
7173
|
+
readonly title: v.StringSchema<undefined>;
|
|
7174
|
+
readonly detail: v.StringSchema<undefined>;
|
|
7175
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7176
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
7177
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7178
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7179
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7180
|
+
}, undefined>, undefined>;
|
|
7181
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
7182
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
7183
|
+
}, undefined>, v.ObjectSchema<{
|
|
7184
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
7185
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
7186
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
7187
|
+
readonly round: v.NumberSchema<undefined>;
|
|
7188
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
7189
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
7190
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7191
|
+
readonly question: v.StringSchema<undefined>;
|
|
7192
|
+
readonly answer: v.StringSchema<undefined>;
|
|
7193
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
7194
|
+
}, undefined>, undefined>;
|
|
6325
7195
|
}, undefined>], undefined>, undefined>;
|
|
6326
7196
|
}, undefined>;
|
|
6327
7197
|
};
|
|
@@ -6529,6 +7399,35 @@ export declare const confirmPublicRunHumanTestContract: {
|
|
|
6529
7399
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6530
7400
|
readonly attempts: v.NumberSchema<undefined>;
|
|
6531
7401
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
7402
|
+
}, undefined>, v.ObjectSchema<{
|
|
7403
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
7404
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
7405
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
7406
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
7407
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
7408
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
7409
|
+
readonly title: v.StringSchema<undefined>;
|
|
7410
|
+
readonly detail: v.StringSchema<undefined>;
|
|
7411
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7412
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
7413
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7414
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7415
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7416
|
+
}, undefined>, undefined>;
|
|
7417
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
7418
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
7419
|
+
}, undefined>, v.ObjectSchema<{
|
|
7420
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
7421
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
7422
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
7423
|
+
readonly round: v.NumberSchema<undefined>;
|
|
7424
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
7425
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
7426
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7427
|
+
readonly question: v.StringSchema<undefined>;
|
|
7428
|
+
readonly answer: v.StringSchema<undefined>;
|
|
7429
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
7430
|
+
}, undefined>, undefined>;
|
|
6532
7431
|
}, undefined>], undefined>, undefined>;
|
|
6533
7432
|
}, undefined>;
|
|
6534
7433
|
};
|
|
@@ -6738,6 +7637,35 @@ export declare const requestPublicRunHumanTestFixContract: {
|
|
|
6738
7637
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6739
7638
|
readonly attempts: v.NumberSchema<undefined>;
|
|
6740
7639
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
7640
|
+
}, undefined>, v.ObjectSchema<{
|
|
7641
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
7642
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
7643
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
7644
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
7645
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
7646
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
7647
|
+
readonly title: v.StringSchema<undefined>;
|
|
7648
|
+
readonly detail: v.StringSchema<undefined>;
|
|
7649
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7650
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
7651
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7652
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7653
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7654
|
+
}, undefined>, undefined>;
|
|
7655
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
7656
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
7657
|
+
}, undefined>, v.ObjectSchema<{
|
|
7658
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
7659
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
7660
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
7661
|
+
readonly round: v.NumberSchema<undefined>;
|
|
7662
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
7663
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
7664
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7665
|
+
readonly question: v.StringSchema<undefined>;
|
|
7666
|
+
readonly answer: v.StringSchema<undefined>;
|
|
7667
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
7668
|
+
}, undefined>, undefined>;
|
|
6741
7669
|
}, undefined>], undefined>, undefined>;
|
|
6742
7670
|
}, undefined>;
|
|
6743
7671
|
};
|
|
@@ -6945,6 +7873,35 @@ export declare const approvePublicRunVisualConfirmContract: {
|
|
|
6945
7873
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6946
7874
|
readonly attempts: v.NumberSchema<undefined>;
|
|
6947
7875
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
7876
|
+
}, undefined>, v.ObjectSchema<{
|
|
7877
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
7878
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
7879
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
7880
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
7881
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
7882
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
7883
|
+
readonly title: v.StringSchema<undefined>;
|
|
7884
|
+
readonly detail: v.StringSchema<undefined>;
|
|
7885
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7886
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
7887
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7888
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7889
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7890
|
+
}, undefined>, undefined>;
|
|
7891
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
7892
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
7893
|
+
}, undefined>, v.ObjectSchema<{
|
|
7894
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
7895
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
7896
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
7897
|
+
readonly round: v.NumberSchema<undefined>;
|
|
7898
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
7899
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
7900
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7901
|
+
readonly question: v.StringSchema<undefined>;
|
|
7902
|
+
readonly answer: v.StringSchema<undefined>;
|
|
7903
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
7904
|
+
}, undefined>, undefined>;
|
|
6948
7905
|
}, undefined>], undefined>, undefined>;
|
|
6949
7906
|
}, undefined>;
|
|
6950
7907
|
};
|
|
@@ -7154,6 +8111,1704 @@ export declare const requestPublicRunVisualConfirmFixContract: {
|
|
|
7154
8111
|
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7155
8112
|
readonly attempts: v.NumberSchema<undefined>;
|
|
7156
8113
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
8114
|
+
}, undefined>, v.ObjectSchema<{
|
|
8115
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
8116
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8117
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
8118
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
8119
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8120
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
8121
|
+
readonly title: v.StringSchema<undefined>;
|
|
8122
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8123
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8124
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
8125
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8126
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8127
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8128
|
+
}, undefined>, undefined>;
|
|
8129
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
8130
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
8131
|
+
}, undefined>, v.ObjectSchema<{
|
|
8132
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
8133
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8134
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8135
|
+
readonly round: v.NumberSchema<undefined>;
|
|
8136
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
8137
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
8138
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8139
|
+
readonly question: v.StringSchema<undefined>;
|
|
8140
|
+
readonly answer: v.StringSchema<undefined>;
|
|
8141
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
8142
|
+
}, undefined>, undefined>;
|
|
8143
|
+
}, undefined>], undefined>, undefined>;
|
|
8144
|
+
}, undefined>;
|
|
8145
|
+
};
|
|
8146
|
+
};
|
|
8147
|
+
/** File a `follow_up` item as a tracker issue, recording the ticket ref on the item. */
|
|
8148
|
+
export declare const filePublicRunFollowUpContract: {
|
|
8149
|
+
readonly method: "post";
|
|
8150
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
8151
|
+
readonly runId: v.StringSchema<undefined>;
|
|
8152
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8153
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
8154
|
+
readonly pathResolver: ({ runId, itemId }: {
|
|
8155
|
+
runId: string;
|
|
8156
|
+
itemId: string;
|
|
8157
|
+
}) => string;
|
|
8158
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
8159
|
+
readonly responsesByStatusCode: {
|
|
8160
|
+
readonly '4xx': v.ObjectSchema<{
|
|
8161
|
+
readonly error: v.ObjectSchema<{
|
|
8162
|
+
readonly code: v.StringSchema<undefined>;
|
|
8163
|
+
readonly message: v.StringSchema<undefined>;
|
|
8164
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
8165
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
8166
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8167
|
+
readonly message: v.StringSchema<undefined>;
|
|
8168
|
+
}, undefined>, undefined>, undefined>;
|
|
8169
|
+
}, undefined>;
|
|
8170
|
+
}, undefined>;
|
|
8171
|
+
readonly '5xx': v.ObjectSchema<{
|
|
8172
|
+
readonly error: v.ObjectSchema<{
|
|
8173
|
+
readonly code: v.StringSchema<undefined>;
|
|
8174
|
+
readonly message: v.StringSchema<undefined>;
|
|
8175
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
8176
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
8177
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8178
|
+
readonly message: v.StringSchema<undefined>;
|
|
8179
|
+
}, undefined>, undefined>, undefined>;
|
|
8180
|
+
}, undefined>;
|
|
8181
|
+
}, undefined>;
|
|
8182
|
+
readonly 200: v.ObjectSchema<{
|
|
8183
|
+
readonly runId: v.StringSchema<undefined>;
|
|
8184
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8185
|
+
readonly status: v.PicklistSchema<["running", "blocked", "paused", "done", "failed"], undefined>;
|
|
8186
|
+
readonly parked: v.BooleanSchema<undefined>;
|
|
8187
|
+
readonly decisions: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
8188
|
+
readonly kind: v.LiteralSchema<"requirements-review", undefined>;
|
|
8189
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
8190
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8191
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
8192
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
8193
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
8194
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
8195
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8196
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
8197
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
8198
|
+
readonly title: v.StringSchema<undefined>;
|
|
8199
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8200
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
8201
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8202
|
+
}, undefined>, undefined>;
|
|
8203
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8204
|
+
}, undefined>, v.ObjectSchema<{
|
|
8205
|
+
readonly kind: v.LiteralSchema<"fork", undefined>;
|
|
8206
|
+
readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
|
|
8207
|
+
readonly seamSummary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8208
|
+
readonly forks: v.ArraySchema<v.ObjectSchema<{
|
|
8209
|
+
readonly id: v.StringSchema<undefined>;
|
|
8210
|
+
readonly title: v.StringSchema<undefined>;
|
|
8211
|
+
readonly summary: v.StringSchema<undefined>;
|
|
8212
|
+
readonly approach: v.StringSchema<undefined>;
|
|
8213
|
+
readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8214
|
+
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8215
|
+
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8216
|
+
}, undefined>, undefined>;
|
|
8217
|
+
}, undefined>, v.ObjectSchema<{
|
|
8218
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
8219
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8220
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
8221
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8222
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8223
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
8224
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
8225
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
8226
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
8227
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
8228
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
8229
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8230
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
8231
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8232
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
8233
|
+
}, undefined>, undefined>;
|
|
8234
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
8235
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
8236
|
+
}, undefined>, v.ObjectSchema<{
|
|
8237
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
8238
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
8239
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
8240
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
8241
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing", "required_field_missing"], undefined>;
|
|
8242
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
8243
|
+
readonly field: v.OptionalSchema<v.ObjectSchema<{
|
|
8244
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
8245
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
8246
|
+
}, undefined>, undefined>;
|
|
8247
|
+
}, undefined>, undefined>;
|
|
8248
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
8249
|
+
}, undefined>, v.ObjectSchema<{
|
|
8250
|
+
readonly kind: v.LiteralSchema<"approval-gate", undefined>;
|
|
8251
|
+
readonly approvalId: v.StringSchema<undefined>;
|
|
8252
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8253
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
8254
|
+
readonly status: v.PicklistSchema<["pending", "approved", "changes_requested", "rejected"], undefined>;
|
|
8255
|
+
readonly proposal: v.StringSchema<undefined>;
|
|
8256
|
+
readonly feedback: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8257
|
+
readonly requiredApprovals: v.NumberSchema<undefined>;
|
|
8258
|
+
readonly recordedApprovals: v.NumberSchema<undefined>;
|
|
8259
|
+
readonly exceeded: v.BooleanSchema<undefined>;
|
|
8260
|
+
}, undefined>, v.ObjectSchema<{
|
|
8261
|
+
readonly kind: v.LiteralSchema<"agent-decision", undefined>;
|
|
8262
|
+
readonly decisionId: v.StringSchema<undefined>;
|
|
8263
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8264
|
+
readonly question: v.StringSchema<undefined>;
|
|
8265
|
+
readonly options: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8266
|
+
}, undefined>, v.ObjectSchema<{
|
|
8267
|
+
readonly kind: v.LiteralSchema<"clarity-review", undefined>;
|
|
8268
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
8269
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8270
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
8271
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
8272
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
8273
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
8274
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8275
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
8276
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
8277
|
+
readonly title: v.StringSchema<undefined>;
|
|
8278
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8279
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
8280
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8281
|
+
}, undefined>, undefined>;
|
|
8282
|
+
readonly clarifiedReport: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8283
|
+
}, undefined>, v.ObjectSchema<{
|
|
8284
|
+
readonly kind: v.LiteralSchema<"brainstorm", undefined>;
|
|
8285
|
+
readonly sessionId: v.StringSchema<undefined>;
|
|
8286
|
+
readonly stage: v.PicklistSchema<["requirements", "architecture"], undefined>;
|
|
8287
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8288
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
8289
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
8290
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
8291
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
8292
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8293
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
8294
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
8295
|
+
readonly title: v.StringSchema<undefined>;
|
|
8296
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8297
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
8298
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8299
|
+
}, undefined>, undefined>;
|
|
8300
|
+
readonly convergedDirection: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8301
|
+
}, undefined>, v.ObjectSchema<{
|
|
8302
|
+
readonly kind: v.LiteralSchema<"pr-review", undefined>;
|
|
8303
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
8304
|
+
readonly summary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8305
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8306
|
+
readonly slices: v.ArraySchema<v.ObjectSchema<{
|
|
8307
|
+
readonly sliceId: v.StringSchema<undefined>;
|
|
8308
|
+
readonly title: v.StringSchema<undefined>;
|
|
8309
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
8310
|
+
readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8311
|
+
}, undefined>, undefined>;
|
|
8312
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
8313
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
8314
|
+
readonly sliceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8315
|
+
readonly path: v.StringSchema<undefined>;
|
|
8316
|
+
readonly line: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
8317
|
+
readonly side: v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>;
|
|
8318
|
+
readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
|
|
8319
|
+
readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
|
|
8320
|
+
readonly title: v.StringSchema<undefined>;
|
|
8321
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8322
|
+
readonly suggestedFix: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8323
|
+
readonly challenge: v.NullableSchema<v.ObjectSchema<{
|
|
8324
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
8325
|
+
readonly question: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8326
|
+
readonly justification: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8327
|
+
}, undefined>, undefined>;
|
|
8328
|
+
}, undefined>, undefined>;
|
|
8329
|
+
readonly selectedFindingIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8330
|
+
}, undefined>, v.ObjectSchema<{
|
|
8331
|
+
readonly kind: v.LiteralSchema<"human-test", undefined>;
|
|
8332
|
+
readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
|
|
8333
|
+
readonly environment: v.NullableSchema<v.ObjectSchema<{
|
|
8334
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8335
|
+
readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
|
|
8336
|
+
readonly expiresAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
8337
|
+
}, undefined>, undefined>;
|
|
8338
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8339
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
8340
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
8341
|
+
}, undefined>, v.ObjectSchema<{
|
|
8342
|
+
readonly kind: v.LiteralSchema<"visual-confirmation", undefined>;
|
|
8343
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
8344
|
+
readonly pairs: v.ArraySchema<v.ObjectSchema<{
|
|
8345
|
+
readonly view: v.StringSchema<undefined>;
|
|
8346
|
+
readonly actualArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8347
|
+
readonly referenceArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8348
|
+
}, undefined>, undefined>;
|
|
8349
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8350
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
8351
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
8352
|
+
}, undefined>, v.ObjectSchema<{
|
|
8353
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
8354
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8355
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
8356
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
8357
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8358
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
8359
|
+
readonly title: v.StringSchema<undefined>;
|
|
8360
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8361
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8362
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
8363
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8364
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8365
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8366
|
+
}, undefined>, undefined>;
|
|
8367
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
8368
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
8369
|
+
}, undefined>, v.ObjectSchema<{
|
|
8370
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
8371
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8372
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8373
|
+
readonly round: v.NumberSchema<undefined>;
|
|
8374
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
8375
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
8376
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8377
|
+
readonly question: v.StringSchema<undefined>;
|
|
8378
|
+
readonly answer: v.StringSchema<undefined>;
|
|
8379
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
8380
|
+
}, undefined>, undefined>;
|
|
8381
|
+
}, undefined>], undefined>, undefined>;
|
|
8382
|
+
}, undefined>;
|
|
8383
|
+
};
|
|
8384
|
+
};
|
|
8385
|
+
/** Send a `follow_up` item back to the Coder: it is folded into another pass (status `queued`). */
|
|
8386
|
+
export declare const sendBackPublicRunFollowUpContract: {
|
|
8387
|
+
readonly method: "post";
|
|
8388
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
8389
|
+
readonly runId: v.StringSchema<undefined>;
|
|
8390
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8391
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
8392
|
+
readonly pathResolver: ({ runId, itemId }: {
|
|
8393
|
+
runId: string;
|
|
8394
|
+
itemId: string;
|
|
8395
|
+
}) => string;
|
|
8396
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
8397
|
+
readonly responsesByStatusCode: {
|
|
8398
|
+
readonly '4xx': v.ObjectSchema<{
|
|
8399
|
+
readonly error: v.ObjectSchema<{
|
|
8400
|
+
readonly code: v.StringSchema<undefined>;
|
|
8401
|
+
readonly message: v.StringSchema<undefined>;
|
|
8402
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
8403
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
8404
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8405
|
+
readonly message: v.StringSchema<undefined>;
|
|
8406
|
+
}, undefined>, undefined>, undefined>;
|
|
8407
|
+
}, undefined>;
|
|
8408
|
+
}, undefined>;
|
|
8409
|
+
readonly '5xx': v.ObjectSchema<{
|
|
8410
|
+
readonly error: v.ObjectSchema<{
|
|
8411
|
+
readonly code: v.StringSchema<undefined>;
|
|
8412
|
+
readonly message: v.StringSchema<undefined>;
|
|
8413
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
8414
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
8415
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8416
|
+
readonly message: v.StringSchema<undefined>;
|
|
8417
|
+
}, undefined>, undefined>, undefined>;
|
|
8418
|
+
}, undefined>;
|
|
8419
|
+
}, undefined>;
|
|
8420
|
+
readonly 200: v.ObjectSchema<{
|
|
8421
|
+
readonly runId: v.StringSchema<undefined>;
|
|
8422
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8423
|
+
readonly status: v.PicklistSchema<["running", "blocked", "paused", "done", "failed"], undefined>;
|
|
8424
|
+
readonly parked: v.BooleanSchema<undefined>;
|
|
8425
|
+
readonly decisions: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
8426
|
+
readonly kind: v.LiteralSchema<"requirements-review", undefined>;
|
|
8427
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
8428
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8429
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
8430
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
8431
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
8432
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
8433
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8434
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
8435
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
8436
|
+
readonly title: v.StringSchema<undefined>;
|
|
8437
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8438
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
8439
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8440
|
+
}, undefined>, undefined>;
|
|
8441
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8442
|
+
}, undefined>, v.ObjectSchema<{
|
|
8443
|
+
readonly kind: v.LiteralSchema<"fork", undefined>;
|
|
8444
|
+
readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
|
|
8445
|
+
readonly seamSummary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8446
|
+
readonly forks: v.ArraySchema<v.ObjectSchema<{
|
|
8447
|
+
readonly id: v.StringSchema<undefined>;
|
|
8448
|
+
readonly title: v.StringSchema<undefined>;
|
|
8449
|
+
readonly summary: v.StringSchema<undefined>;
|
|
8450
|
+
readonly approach: v.StringSchema<undefined>;
|
|
8451
|
+
readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8452
|
+
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8453
|
+
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8454
|
+
}, undefined>, undefined>;
|
|
8455
|
+
}, undefined>, v.ObjectSchema<{
|
|
8456
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
8457
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8458
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
8459
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8460
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8461
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
8462
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
8463
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
8464
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
8465
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
8466
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
8467
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8468
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
8469
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8470
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
8471
|
+
}, undefined>, undefined>;
|
|
8472
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
8473
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
8474
|
+
}, undefined>, v.ObjectSchema<{
|
|
8475
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
8476
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
8477
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
8478
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
8479
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing", "required_field_missing"], undefined>;
|
|
8480
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
8481
|
+
readonly field: v.OptionalSchema<v.ObjectSchema<{
|
|
8482
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
8483
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
8484
|
+
}, undefined>, undefined>;
|
|
8485
|
+
}, undefined>, undefined>;
|
|
8486
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
8487
|
+
}, undefined>, v.ObjectSchema<{
|
|
8488
|
+
readonly kind: v.LiteralSchema<"approval-gate", undefined>;
|
|
8489
|
+
readonly approvalId: v.StringSchema<undefined>;
|
|
8490
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8491
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
8492
|
+
readonly status: v.PicklistSchema<["pending", "approved", "changes_requested", "rejected"], undefined>;
|
|
8493
|
+
readonly proposal: v.StringSchema<undefined>;
|
|
8494
|
+
readonly feedback: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8495
|
+
readonly requiredApprovals: v.NumberSchema<undefined>;
|
|
8496
|
+
readonly recordedApprovals: v.NumberSchema<undefined>;
|
|
8497
|
+
readonly exceeded: v.BooleanSchema<undefined>;
|
|
8498
|
+
}, undefined>, v.ObjectSchema<{
|
|
8499
|
+
readonly kind: v.LiteralSchema<"agent-decision", undefined>;
|
|
8500
|
+
readonly decisionId: v.StringSchema<undefined>;
|
|
8501
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8502
|
+
readonly question: v.StringSchema<undefined>;
|
|
8503
|
+
readonly options: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8504
|
+
}, undefined>, v.ObjectSchema<{
|
|
8505
|
+
readonly kind: v.LiteralSchema<"clarity-review", undefined>;
|
|
8506
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
8507
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8508
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
8509
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
8510
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
8511
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
8512
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8513
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
8514
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
8515
|
+
readonly title: v.StringSchema<undefined>;
|
|
8516
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8517
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
8518
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8519
|
+
}, undefined>, undefined>;
|
|
8520
|
+
readonly clarifiedReport: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8521
|
+
}, undefined>, v.ObjectSchema<{
|
|
8522
|
+
readonly kind: v.LiteralSchema<"brainstorm", undefined>;
|
|
8523
|
+
readonly sessionId: v.StringSchema<undefined>;
|
|
8524
|
+
readonly stage: v.PicklistSchema<["requirements", "architecture"], undefined>;
|
|
8525
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8526
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
8527
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
8528
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
8529
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
8530
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8531
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
8532
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
8533
|
+
readonly title: v.StringSchema<undefined>;
|
|
8534
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8535
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
8536
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8537
|
+
}, undefined>, undefined>;
|
|
8538
|
+
readonly convergedDirection: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8539
|
+
}, undefined>, v.ObjectSchema<{
|
|
8540
|
+
readonly kind: v.LiteralSchema<"pr-review", undefined>;
|
|
8541
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
8542
|
+
readonly summary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8543
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8544
|
+
readonly slices: v.ArraySchema<v.ObjectSchema<{
|
|
8545
|
+
readonly sliceId: v.StringSchema<undefined>;
|
|
8546
|
+
readonly title: v.StringSchema<undefined>;
|
|
8547
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
8548
|
+
readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8549
|
+
}, undefined>, undefined>;
|
|
8550
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
8551
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
8552
|
+
readonly sliceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8553
|
+
readonly path: v.StringSchema<undefined>;
|
|
8554
|
+
readonly line: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
8555
|
+
readonly side: v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>;
|
|
8556
|
+
readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
|
|
8557
|
+
readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
|
|
8558
|
+
readonly title: v.StringSchema<undefined>;
|
|
8559
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8560
|
+
readonly suggestedFix: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8561
|
+
readonly challenge: v.NullableSchema<v.ObjectSchema<{
|
|
8562
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
8563
|
+
readonly question: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8564
|
+
readonly justification: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8565
|
+
}, undefined>, undefined>;
|
|
8566
|
+
}, undefined>, undefined>;
|
|
8567
|
+
readonly selectedFindingIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8568
|
+
}, undefined>, v.ObjectSchema<{
|
|
8569
|
+
readonly kind: v.LiteralSchema<"human-test", undefined>;
|
|
8570
|
+
readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
|
|
8571
|
+
readonly environment: v.NullableSchema<v.ObjectSchema<{
|
|
8572
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8573
|
+
readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
|
|
8574
|
+
readonly expiresAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
8575
|
+
}, undefined>, undefined>;
|
|
8576
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8577
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
8578
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
8579
|
+
}, undefined>, v.ObjectSchema<{
|
|
8580
|
+
readonly kind: v.LiteralSchema<"visual-confirmation", undefined>;
|
|
8581
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
8582
|
+
readonly pairs: v.ArraySchema<v.ObjectSchema<{
|
|
8583
|
+
readonly view: v.StringSchema<undefined>;
|
|
8584
|
+
readonly actualArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8585
|
+
readonly referenceArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8586
|
+
}, undefined>, undefined>;
|
|
8587
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8588
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
8589
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
8590
|
+
}, undefined>, v.ObjectSchema<{
|
|
8591
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
8592
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8593
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
8594
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
8595
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8596
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
8597
|
+
readonly title: v.StringSchema<undefined>;
|
|
8598
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8599
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8600
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
8601
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8602
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8603
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8604
|
+
}, undefined>, undefined>;
|
|
8605
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
8606
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
8607
|
+
}, undefined>, v.ObjectSchema<{
|
|
8608
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
8609
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8610
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8611
|
+
readonly round: v.NumberSchema<undefined>;
|
|
8612
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
8613
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
8614
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8615
|
+
readonly question: v.StringSchema<undefined>;
|
|
8616
|
+
readonly answer: v.StringSchema<undefined>;
|
|
8617
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
8618
|
+
}, undefined>, undefined>;
|
|
8619
|
+
}, undefined>], undefined>, undefined>;
|
|
8620
|
+
}, undefined>;
|
|
8621
|
+
};
|
|
8622
|
+
};
|
|
8623
|
+
/** Answer a `question` item; the answer steers the Coder's next pass. */
|
|
8624
|
+
export declare const answerPublicRunFollowUpContract: {
|
|
8625
|
+
readonly method: "post";
|
|
8626
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
8627
|
+
readonly runId: v.StringSchema<undefined>;
|
|
8628
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8629
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
8630
|
+
readonly pathResolver: ({ runId, itemId }: {
|
|
8631
|
+
runId: string;
|
|
8632
|
+
itemId: string;
|
|
8633
|
+
}) => string;
|
|
8634
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
8635
|
+
readonly answer: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
|
|
8636
|
+
}, undefined>;
|
|
8637
|
+
readonly responsesByStatusCode: {
|
|
8638
|
+
readonly '4xx': v.ObjectSchema<{
|
|
8639
|
+
readonly error: v.ObjectSchema<{
|
|
8640
|
+
readonly code: v.StringSchema<undefined>;
|
|
8641
|
+
readonly message: v.StringSchema<undefined>;
|
|
8642
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
8643
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
8644
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8645
|
+
readonly message: v.StringSchema<undefined>;
|
|
8646
|
+
}, undefined>, undefined>, undefined>;
|
|
8647
|
+
}, undefined>;
|
|
8648
|
+
}, undefined>;
|
|
8649
|
+
readonly '5xx': v.ObjectSchema<{
|
|
8650
|
+
readonly error: v.ObjectSchema<{
|
|
8651
|
+
readonly code: v.StringSchema<undefined>;
|
|
8652
|
+
readonly message: v.StringSchema<undefined>;
|
|
8653
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
8654
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
8655
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8656
|
+
readonly message: v.StringSchema<undefined>;
|
|
8657
|
+
}, undefined>, undefined>, undefined>;
|
|
8658
|
+
}, undefined>;
|
|
8659
|
+
}, undefined>;
|
|
8660
|
+
readonly 200: v.ObjectSchema<{
|
|
8661
|
+
readonly runId: v.StringSchema<undefined>;
|
|
8662
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8663
|
+
readonly status: v.PicklistSchema<["running", "blocked", "paused", "done", "failed"], undefined>;
|
|
8664
|
+
readonly parked: v.BooleanSchema<undefined>;
|
|
8665
|
+
readonly decisions: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
8666
|
+
readonly kind: v.LiteralSchema<"requirements-review", undefined>;
|
|
8667
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
8668
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8669
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
8670
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
8671
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
8672
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
8673
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8674
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
8675
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
8676
|
+
readonly title: v.StringSchema<undefined>;
|
|
8677
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8678
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
8679
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8680
|
+
}, undefined>, undefined>;
|
|
8681
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8682
|
+
}, undefined>, v.ObjectSchema<{
|
|
8683
|
+
readonly kind: v.LiteralSchema<"fork", undefined>;
|
|
8684
|
+
readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
|
|
8685
|
+
readonly seamSummary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8686
|
+
readonly forks: v.ArraySchema<v.ObjectSchema<{
|
|
8687
|
+
readonly id: v.StringSchema<undefined>;
|
|
8688
|
+
readonly title: v.StringSchema<undefined>;
|
|
8689
|
+
readonly summary: v.StringSchema<undefined>;
|
|
8690
|
+
readonly approach: v.StringSchema<undefined>;
|
|
8691
|
+
readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8692
|
+
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8693
|
+
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8694
|
+
}, undefined>, undefined>;
|
|
8695
|
+
}, undefined>, v.ObjectSchema<{
|
|
8696
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
8697
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8698
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
8699
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8700
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8701
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
8702
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
8703
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
8704
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
8705
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
8706
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
8707
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8708
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
8709
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8710
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
8711
|
+
}, undefined>, undefined>;
|
|
8712
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
8713
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
8714
|
+
}, undefined>, v.ObjectSchema<{
|
|
8715
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
8716
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
8717
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
8718
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
8719
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing", "required_field_missing"], undefined>;
|
|
8720
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
8721
|
+
readonly field: v.OptionalSchema<v.ObjectSchema<{
|
|
8722
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
8723
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
8724
|
+
}, undefined>, undefined>;
|
|
8725
|
+
}, undefined>, undefined>;
|
|
8726
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
8727
|
+
}, undefined>, v.ObjectSchema<{
|
|
8728
|
+
readonly kind: v.LiteralSchema<"approval-gate", undefined>;
|
|
8729
|
+
readonly approvalId: v.StringSchema<undefined>;
|
|
8730
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8731
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
8732
|
+
readonly status: v.PicklistSchema<["pending", "approved", "changes_requested", "rejected"], undefined>;
|
|
8733
|
+
readonly proposal: v.StringSchema<undefined>;
|
|
8734
|
+
readonly feedback: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8735
|
+
readonly requiredApprovals: v.NumberSchema<undefined>;
|
|
8736
|
+
readonly recordedApprovals: v.NumberSchema<undefined>;
|
|
8737
|
+
readonly exceeded: v.BooleanSchema<undefined>;
|
|
8738
|
+
}, undefined>, v.ObjectSchema<{
|
|
8739
|
+
readonly kind: v.LiteralSchema<"agent-decision", undefined>;
|
|
8740
|
+
readonly decisionId: v.StringSchema<undefined>;
|
|
8741
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8742
|
+
readonly question: v.StringSchema<undefined>;
|
|
8743
|
+
readonly options: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8744
|
+
}, undefined>, v.ObjectSchema<{
|
|
8745
|
+
readonly kind: v.LiteralSchema<"clarity-review", undefined>;
|
|
8746
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
8747
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8748
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
8749
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
8750
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
8751
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
8752
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8753
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
8754
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
8755
|
+
readonly title: v.StringSchema<undefined>;
|
|
8756
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8757
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
8758
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8759
|
+
}, undefined>, undefined>;
|
|
8760
|
+
readonly clarifiedReport: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8761
|
+
}, undefined>, v.ObjectSchema<{
|
|
8762
|
+
readonly kind: v.LiteralSchema<"brainstorm", undefined>;
|
|
8763
|
+
readonly sessionId: v.StringSchema<undefined>;
|
|
8764
|
+
readonly stage: v.PicklistSchema<["requirements", "architecture"], undefined>;
|
|
8765
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8766
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
8767
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
8768
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
8769
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
8770
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8771
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
8772
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
8773
|
+
readonly title: v.StringSchema<undefined>;
|
|
8774
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8775
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
8776
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8777
|
+
}, undefined>, undefined>;
|
|
8778
|
+
readonly convergedDirection: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8779
|
+
}, undefined>, v.ObjectSchema<{
|
|
8780
|
+
readonly kind: v.LiteralSchema<"pr-review", undefined>;
|
|
8781
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
8782
|
+
readonly summary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8783
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8784
|
+
readonly slices: v.ArraySchema<v.ObjectSchema<{
|
|
8785
|
+
readonly sliceId: v.StringSchema<undefined>;
|
|
8786
|
+
readonly title: v.StringSchema<undefined>;
|
|
8787
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
8788
|
+
readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8789
|
+
}, undefined>, undefined>;
|
|
8790
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
8791
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
8792
|
+
readonly sliceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8793
|
+
readonly path: v.StringSchema<undefined>;
|
|
8794
|
+
readonly line: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
8795
|
+
readonly side: v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>;
|
|
8796
|
+
readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
|
|
8797
|
+
readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
|
|
8798
|
+
readonly title: v.StringSchema<undefined>;
|
|
8799
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8800
|
+
readonly suggestedFix: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8801
|
+
readonly challenge: v.NullableSchema<v.ObjectSchema<{
|
|
8802
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
8803
|
+
readonly question: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8804
|
+
readonly justification: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8805
|
+
}, undefined>, undefined>;
|
|
8806
|
+
}, undefined>, undefined>;
|
|
8807
|
+
readonly selectedFindingIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8808
|
+
}, undefined>, v.ObjectSchema<{
|
|
8809
|
+
readonly kind: v.LiteralSchema<"human-test", undefined>;
|
|
8810
|
+
readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
|
|
8811
|
+
readonly environment: v.NullableSchema<v.ObjectSchema<{
|
|
8812
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8813
|
+
readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
|
|
8814
|
+
readonly expiresAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
8815
|
+
}, undefined>, undefined>;
|
|
8816
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8817
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
8818
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
8819
|
+
}, undefined>, v.ObjectSchema<{
|
|
8820
|
+
readonly kind: v.LiteralSchema<"visual-confirmation", undefined>;
|
|
8821
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
8822
|
+
readonly pairs: v.ArraySchema<v.ObjectSchema<{
|
|
8823
|
+
readonly view: v.StringSchema<undefined>;
|
|
8824
|
+
readonly actualArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8825
|
+
readonly referenceArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8826
|
+
}, undefined>, undefined>;
|
|
8827
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8828
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
8829
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
8830
|
+
}, undefined>, v.ObjectSchema<{
|
|
8831
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
8832
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8833
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
8834
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
8835
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8836
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
8837
|
+
readonly title: v.StringSchema<undefined>;
|
|
8838
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8839
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8840
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
8841
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8842
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8843
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8844
|
+
}, undefined>, undefined>;
|
|
8845
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
8846
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
8847
|
+
}, undefined>, v.ObjectSchema<{
|
|
8848
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
8849
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8850
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8851
|
+
readonly round: v.NumberSchema<undefined>;
|
|
8852
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
8853
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
8854
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8855
|
+
readonly question: v.StringSchema<undefined>;
|
|
8856
|
+
readonly answer: v.StringSchema<undefined>;
|
|
8857
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
8858
|
+
}, undefined>, undefined>;
|
|
8859
|
+
}, undefined>], undefined>, undefined>;
|
|
8860
|
+
}, undefined>;
|
|
8861
|
+
};
|
|
8862
|
+
};
|
|
8863
|
+
/** Wave one item off without acting on it. Valid for either item kind. */
|
|
8864
|
+
export declare const dismissPublicRunFollowUpContract: {
|
|
8865
|
+
readonly method: "post";
|
|
8866
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
8867
|
+
readonly runId: v.StringSchema<undefined>;
|
|
8868
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8869
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
8870
|
+
readonly pathResolver: ({ runId, itemId }: {
|
|
8871
|
+
runId: string;
|
|
8872
|
+
itemId: string;
|
|
8873
|
+
}) => string;
|
|
8874
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
8875
|
+
readonly responsesByStatusCode: {
|
|
8876
|
+
readonly '4xx': v.ObjectSchema<{
|
|
8877
|
+
readonly error: v.ObjectSchema<{
|
|
8878
|
+
readonly code: v.StringSchema<undefined>;
|
|
8879
|
+
readonly message: v.StringSchema<undefined>;
|
|
8880
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
8881
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
8882
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8883
|
+
readonly message: v.StringSchema<undefined>;
|
|
8884
|
+
}, undefined>, undefined>, undefined>;
|
|
8885
|
+
}, undefined>;
|
|
8886
|
+
}, undefined>;
|
|
8887
|
+
readonly '5xx': v.ObjectSchema<{
|
|
8888
|
+
readonly error: v.ObjectSchema<{
|
|
8889
|
+
readonly code: v.StringSchema<undefined>;
|
|
8890
|
+
readonly message: v.StringSchema<undefined>;
|
|
8891
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
8892
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
8893
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8894
|
+
readonly message: v.StringSchema<undefined>;
|
|
8895
|
+
}, undefined>, undefined>, undefined>;
|
|
8896
|
+
}, undefined>;
|
|
8897
|
+
}, undefined>;
|
|
8898
|
+
readonly 200: v.ObjectSchema<{
|
|
8899
|
+
readonly runId: v.StringSchema<undefined>;
|
|
8900
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8901
|
+
readonly status: v.PicklistSchema<["running", "blocked", "paused", "done", "failed"], undefined>;
|
|
8902
|
+
readonly parked: v.BooleanSchema<undefined>;
|
|
8903
|
+
readonly decisions: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
8904
|
+
readonly kind: v.LiteralSchema<"requirements-review", undefined>;
|
|
8905
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
8906
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8907
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
8908
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
8909
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
8910
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
8911
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8912
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
8913
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
8914
|
+
readonly title: v.StringSchema<undefined>;
|
|
8915
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8916
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
8917
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8918
|
+
}, undefined>, undefined>;
|
|
8919
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8920
|
+
}, undefined>, v.ObjectSchema<{
|
|
8921
|
+
readonly kind: v.LiteralSchema<"fork", undefined>;
|
|
8922
|
+
readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
|
|
8923
|
+
readonly seamSummary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8924
|
+
readonly forks: v.ArraySchema<v.ObjectSchema<{
|
|
8925
|
+
readonly id: v.StringSchema<undefined>;
|
|
8926
|
+
readonly title: v.StringSchema<undefined>;
|
|
8927
|
+
readonly summary: v.StringSchema<undefined>;
|
|
8928
|
+
readonly approach: v.StringSchema<undefined>;
|
|
8929
|
+
readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8930
|
+
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8931
|
+
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8932
|
+
}, undefined>, undefined>;
|
|
8933
|
+
}, undefined>, v.ObjectSchema<{
|
|
8934
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
8935
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8936
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
8937
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8938
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8939
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
8940
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
8941
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
8942
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
8943
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
8944
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
8945
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8946
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
8947
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8948
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
8949
|
+
}, undefined>, undefined>;
|
|
8950
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
8951
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
8952
|
+
}, undefined>, v.ObjectSchema<{
|
|
8953
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
8954
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
8955
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
8956
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
8957
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing", "required_field_missing"], undefined>;
|
|
8958
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
8959
|
+
readonly field: v.OptionalSchema<v.ObjectSchema<{
|
|
8960
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
8961
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
8962
|
+
}, undefined>, undefined>;
|
|
8963
|
+
}, undefined>, undefined>;
|
|
8964
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
8965
|
+
}, undefined>, v.ObjectSchema<{
|
|
8966
|
+
readonly kind: v.LiteralSchema<"approval-gate", undefined>;
|
|
8967
|
+
readonly approvalId: v.StringSchema<undefined>;
|
|
8968
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8969
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
8970
|
+
readonly status: v.PicklistSchema<["pending", "approved", "changes_requested", "rejected"], undefined>;
|
|
8971
|
+
readonly proposal: v.StringSchema<undefined>;
|
|
8972
|
+
readonly feedback: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8973
|
+
readonly requiredApprovals: v.NumberSchema<undefined>;
|
|
8974
|
+
readonly recordedApprovals: v.NumberSchema<undefined>;
|
|
8975
|
+
readonly exceeded: v.BooleanSchema<undefined>;
|
|
8976
|
+
}, undefined>, v.ObjectSchema<{
|
|
8977
|
+
readonly kind: v.LiteralSchema<"agent-decision", undefined>;
|
|
8978
|
+
readonly decisionId: v.StringSchema<undefined>;
|
|
8979
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
8980
|
+
readonly question: v.StringSchema<undefined>;
|
|
8981
|
+
readonly options: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
8982
|
+
}, undefined>, v.ObjectSchema<{
|
|
8983
|
+
readonly kind: v.LiteralSchema<"clarity-review", undefined>;
|
|
8984
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
8985
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
8986
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
8987
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
8988
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
8989
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
8990
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
8991
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
8992
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
8993
|
+
readonly title: v.StringSchema<undefined>;
|
|
8994
|
+
readonly detail: v.StringSchema<undefined>;
|
|
8995
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
8996
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8997
|
+
}, undefined>, undefined>;
|
|
8998
|
+
readonly clarifiedReport: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8999
|
+
}, undefined>, v.ObjectSchema<{
|
|
9000
|
+
readonly kind: v.LiteralSchema<"brainstorm", undefined>;
|
|
9001
|
+
readonly sessionId: v.StringSchema<undefined>;
|
|
9002
|
+
readonly stage: v.PicklistSchema<["requirements", "architecture"], undefined>;
|
|
9003
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9004
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
9005
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
9006
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
9007
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
9008
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9009
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
9010
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
9011
|
+
readonly title: v.StringSchema<undefined>;
|
|
9012
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9013
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
9014
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9015
|
+
}, undefined>, undefined>;
|
|
9016
|
+
readonly convergedDirection: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9017
|
+
}, undefined>, v.ObjectSchema<{
|
|
9018
|
+
readonly kind: v.LiteralSchema<"pr-review", undefined>;
|
|
9019
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
9020
|
+
readonly summary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9021
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9022
|
+
readonly slices: v.ArraySchema<v.ObjectSchema<{
|
|
9023
|
+
readonly sliceId: v.StringSchema<undefined>;
|
|
9024
|
+
readonly title: v.StringSchema<undefined>;
|
|
9025
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
9026
|
+
readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9027
|
+
}, undefined>, undefined>;
|
|
9028
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
9029
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
9030
|
+
readonly sliceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9031
|
+
readonly path: v.StringSchema<undefined>;
|
|
9032
|
+
readonly line: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
9033
|
+
readonly side: v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>;
|
|
9034
|
+
readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
|
|
9035
|
+
readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
|
|
9036
|
+
readonly title: v.StringSchema<undefined>;
|
|
9037
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9038
|
+
readonly suggestedFix: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9039
|
+
readonly challenge: v.NullableSchema<v.ObjectSchema<{
|
|
9040
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
9041
|
+
readonly question: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9042
|
+
readonly justification: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9043
|
+
}, undefined>, undefined>;
|
|
9044
|
+
}, undefined>, undefined>;
|
|
9045
|
+
readonly selectedFindingIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9046
|
+
}, undefined>, v.ObjectSchema<{
|
|
9047
|
+
readonly kind: v.LiteralSchema<"human-test", undefined>;
|
|
9048
|
+
readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
|
|
9049
|
+
readonly environment: v.NullableSchema<v.ObjectSchema<{
|
|
9050
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9051
|
+
readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
|
|
9052
|
+
readonly expiresAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
9053
|
+
}, undefined>, undefined>;
|
|
9054
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9055
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
9056
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
9057
|
+
}, undefined>, v.ObjectSchema<{
|
|
9058
|
+
readonly kind: v.LiteralSchema<"visual-confirmation", undefined>;
|
|
9059
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
9060
|
+
readonly pairs: v.ArraySchema<v.ObjectSchema<{
|
|
9061
|
+
readonly view: v.StringSchema<undefined>;
|
|
9062
|
+
readonly actualArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9063
|
+
readonly referenceArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9064
|
+
}, undefined>, undefined>;
|
|
9065
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9066
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
9067
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
9068
|
+
}, undefined>, v.ObjectSchema<{
|
|
9069
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
9070
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9071
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
9072
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
9073
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9074
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
9075
|
+
readonly title: v.StringSchema<undefined>;
|
|
9076
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9077
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9078
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
9079
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9080
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9081
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9082
|
+
}, undefined>, undefined>;
|
|
9083
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
9084
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
9085
|
+
}, undefined>, v.ObjectSchema<{
|
|
9086
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
9087
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9088
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9089
|
+
readonly round: v.NumberSchema<undefined>;
|
|
9090
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
9091
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
9092
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9093
|
+
readonly question: v.StringSchema<undefined>;
|
|
9094
|
+
readonly answer: v.StringSchema<undefined>;
|
|
9095
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
9096
|
+
}, undefined>, undefined>;
|
|
9097
|
+
}, undefined>], undefined>, undefined>;
|
|
9098
|
+
}, undefined>;
|
|
9099
|
+
};
|
|
9100
|
+
};
|
|
9101
|
+
/** Record an answer to one interview question. Does NOT resume the run. */
|
|
9102
|
+
export declare const answerPublicRunInterviewContract: {
|
|
9103
|
+
readonly method: "post";
|
|
9104
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
9105
|
+
runId: v.StringSchema<undefined>;
|
|
9106
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
9107
|
+
readonly pathResolver: ({ runId }: {
|
|
9108
|
+
runId: string;
|
|
9109
|
+
}) => string;
|
|
9110
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
9111
|
+
readonly questionId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
9112
|
+
readonly answer: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
9113
|
+
}, undefined>;
|
|
9114
|
+
readonly responsesByStatusCode: {
|
|
9115
|
+
readonly '4xx': v.ObjectSchema<{
|
|
9116
|
+
readonly error: v.ObjectSchema<{
|
|
9117
|
+
readonly code: v.StringSchema<undefined>;
|
|
9118
|
+
readonly message: v.StringSchema<undefined>;
|
|
9119
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
9120
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
9121
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9122
|
+
readonly message: v.StringSchema<undefined>;
|
|
9123
|
+
}, undefined>, undefined>, undefined>;
|
|
9124
|
+
}, undefined>;
|
|
9125
|
+
}, undefined>;
|
|
9126
|
+
readonly '5xx': v.ObjectSchema<{
|
|
9127
|
+
readonly error: v.ObjectSchema<{
|
|
9128
|
+
readonly code: v.StringSchema<undefined>;
|
|
9129
|
+
readonly message: v.StringSchema<undefined>;
|
|
9130
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
9131
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
9132
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9133
|
+
readonly message: v.StringSchema<undefined>;
|
|
9134
|
+
}, undefined>, undefined>, undefined>;
|
|
9135
|
+
}, undefined>;
|
|
9136
|
+
}, undefined>;
|
|
9137
|
+
readonly 200: v.ObjectSchema<{
|
|
9138
|
+
readonly runId: v.StringSchema<undefined>;
|
|
9139
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9140
|
+
readonly status: v.PicklistSchema<["running", "blocked", "paused", "done", "failed"], undefined>;
|
|
9141
|
+
readonly parked: v.BooleanSchema<undefined>;
|
|
9142
|
+
readonly decisions: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
9143
|
+
readonly kind: v.LiteralSchema<"requirements-review", undefined>;
|
|
9144
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
9145
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9146
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
9147
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
9148
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
9149
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
9150
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9151
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
9152
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
9153
|
+
readonly title: v.StringSchema<undefined>;
|
|
9154
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9155
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
9156
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9157
|
+
}, undefined>, undefined>;
|
|
9158
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9159
|
+
}, undefined>, v.ObjectSchema<{
|
|
9160
|
+
readonly kind: v.LiteralSchema<"fork", undefined>;
|
|
9161
|
+
readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
|
|
9162
|
+
readonly seamSummary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9163
|
+
readonly forks: v.ArraySchema<v.ObjectSchema<{
|
|
9164
|
+
readonly id: v.StringSchema<undefined>;
|
|
9165
|
+
readonly title: v.StringSchema<undefined>;
|
|
9166
|
+
readonly summary: v.StringSchema<undefined>;
|
|
9167
|
+
readonly approach: v.StringSchema<undefined>;
|
|
9168
|
+
readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9169
|
+
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9170
|
+
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
9171
|
+
}, undefined>, undefined>;
|
|
9172
|
+
}, undefined>, v.ObjectSchema<{
|
|
9173
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
9174
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9175
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
9176
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9177
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9178
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
9179
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
9180
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
9181
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
9182
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
9183
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
9184
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9185
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
9186
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9187
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
9188
|
+
}, undefined>, undefined>;
|
|
9189
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
9190
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
9191
|
+
}, undefined>, v.ObjectSchema<{
|
|
9192
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
9193
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
9194
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
9195
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
9196
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing", "required_field_missing"], undefined>;
|
|
9197
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
9198
|
+
readonly field: v.OptionalSchema<v.ObjectSchema<{
|
|
9199
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
9200
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
9201
|
+
}, undefined>, undefined>;
|
|
9202
|
+
}, undefined>, undefined>;
|
|
9203
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
9204
|
+
}, undefined>, v.ObjectSchema<{
|
|
9205
|
+
readonly kind: v.LiteralSchema<"approval-gate", undefined>;
|
|
9206
|
+
readonly approvalId: v.StringSchema<undefined>;
|
|
9207
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9208
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
9209
|
+
readonly status: v.PicklistSchema<["pending", "approved", "changes_requested", "rejected"], undefined>;
|
|
9210
|
+
readonly proposal: v.StringSchema<undefined>;
|
|
9211
|
+
readonly feedback: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9212
|
+
readonly requiredApprovals: v.NumberSchema<undefined>;
|
|
9213
|
+
readonly recordedApprovals: v.NumberSchema<undefined>;
|
|
9214
|
+
readonly exceeded: v.BooleanSchema<undefined>;
|
|
9215
|
+
}, undefined>, v.ObjectSchema<{
|
|
9216
|
+
readonly kind: v.LiteralSchema<"agent-decision", undefined>;
|
|
9217
|
+
readonly decisionId: v.StringSchema<undefined>;
|
|
9218
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9219
|
+
readonly question: v.StringSchema<undefined>;
|
|
9220
|
+
readonly options: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9221
|
+
}, undefined>, v.ObjectSchema<{
|
|
9222
|
+
readonly kind: v.LiteralSchema<"clarity-review", undefined>;
|
|
9223
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
9224
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9225
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
9226
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
9227
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
9228
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
9229
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9230
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
9231
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
9232
|
+
readonly title: v.StringSchema<undefined>;
|
|
9233
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9234
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
9235
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9236
|
+
}, undefined>, undefined>;
|
|
9237
|
+
readonly clarifiedReport: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9238
|
+
}, undefined>, v.ObjectSchema<{
|
|
9239
|
+
readonly kind: v.LiteralSchema<"brainstorm", undefined>;
|
|
9240
|
+
readonly sessionId: v.StringSchema<undefined>;
|
|
9241
|
+
readonly stage: v.PicklistSchema<["requirements", "architecture"], undefined>;
|
|
9242
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9243
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
9244
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
9245
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
9246
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
9247
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9248
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
9249
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
9250
|
+
readonly title: v.StringSchema<undefined>;
|
|
9251
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9252
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
9253
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9254
|
+
}, undefined>, undefined>;
|
|
9255
|
+
readonly convergedDirection: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9256
|
+
}, undefined>, v.ObjectSchema<{
|
|
9257
|
+
readonly kind: v.LiteralSchema<"pr-review", undefined>;
|
|
9258
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
9259
|
+
readonly summary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9260
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9261
|
+
readonly slices: v.ArraySchema<v.ObjectSchema<{
|
|
9262
|
+
readonly sliceId: v.StringSchema<undefined>;
|
|
9263
|
+
readonly title: v.StringSchema<undefined>;
|
|
9264
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
9265
|
+
readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9266
|
+
}, undefined>, undefined>;
|
|
9267
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
9268
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
9269
|
+
readonly sliceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9270
|
+
readonly path: v.StringSchema<undefined>;
|
|
9271
|
+
readonly line: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
9272
|
+
readonly side: v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>;
|
|
9273
|
+
readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
|
|
9274
|
+
readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
|
|
9275
|
+
readonly title: v.StringSchema<undefined>;
|
|
9276
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9277
|
+
readonly suggestedFix: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9278
|
+
readonly challenge: v.NullableSchema<v.ObjectSchema<{
|
|
9279
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
9280
|
+
readonly question: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9281
|
+
readonly justification: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9282
|
+
}, undefined>, undefined>;
|
|
9283
|
+
}, undefined>, undefined>;
|
|
9284
|
+
readonly selectedFindingIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9285
|
+
}, undefined>, v.ObjectSchema<{
|
|
9286
|
+
readonly kind: v.LiteralSchema<"human-test", undefined>;
|
|
9287
|
+
readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
|
|
9288
|
+
readonly environment: v.NullableSchema<v.ObjectSchema<{
|
|
9289
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9290
|
+
readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
|
|
9291
|
+
readonly expiresAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
9292
|
+
}, undefined>, undefined>;
|
|
9293
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9294
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
9295
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
9296
|
+
}, undefined>, v.ObjectSchema<{
|
|
9297
|
+
readonly kind: v.LiteralSchema<"visual-confirmation", undefined>;
|
|
9298
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
9299
|
+
readonly pairs: v.ArraySchema<v.ObjectSchema<{
|
|
9300
|
+
readonly view: v.StringSchema<undefined>;
|
|
9301
|
+
readonly actualArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9302
|
+
readonly referenceArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9303
|
+
}, undefined>, undefined>;
|
|
9304
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9305
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
9306
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
9307
|
+
}, undefined>, v.ObjectSchema<{
|
|
9308
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
9309
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9310
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
9311
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
9312
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9313
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
9314
|
+
readonly title: v.StringSchema<undefined>;
|
|
9315
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9316
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9317
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
9318
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9319
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9320
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9321
|
+
}, undefined>, undefined>;
|
|
9322
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
9323
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
9324
|
+
}, undefined>, v.ObjectSchema<{
|
|
9325
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
9326
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9327
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9328
|
+
readonly round: v.NumberSchema<undefined>;
|
|
9329
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
9330
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
9331
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9332
|
+
readonly question: v.StringSchema<undefined>;
|
|
9333
|
+
readonly answer: v.StringSchema<undefined>;
|
|
9334
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
9335
|
+
}, undefined>, undefined>;
|
|
9336
|
+
}, undefined>], undefined>, undefined>;
|
|
9337
|
+
}, undefined>;
|
|
9338
|
+
};
|
|
9339
|
+
};
|
|
9340
|
+
/**
|
|
9341
|
+
* Submit the recorded answers and resume: the interviewer runs again and may ask follow-ups.
|
|
9342
|
+
* ASYNCHRONOUS: the pass runs in the durable driver, so the response shows the interview as it
|
|
9343
|
+
* stands and the next round's questions arrive on a later read.
|
|
9344
|
+
*/
|
|
9345
|
+
export declare const continuePublicRunInterviewContract: {
|
|
9346
|
+
readonly method: "post";
|
|
9347
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
9348
|
+
runId: v.StringSchema<undefined>;
|
|
9349
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
9350
|
+
readonly pathResolver: ({ runId }: {
|
|
9351
|
+
runId: string;
|
|
9352
|
+
}) => string;
|
|
9353
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
9354
|
+
readonly responsesByStatusCode: {
|
|
9355
|
+
readonly '4xx': v.ObjectSchema<{
|
|
9356
|
+
readonly error: v.ObjectSchema<{
|
|
9357
|
+
readonly code: v.StringSchema<undefined>;
|
|
9358
|
+
readonly message: v.StringSchema<undefined>;
|
|
9359
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
9360
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
9361
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9362
|
+
readonly message: v.StringSchema<undefined>;
|
|
9363
|
+
}, undefined>, undefined>, undefined>;
|
|
9364
|
+
}, undefined>;
|
|
9365
|
+
}, undefined>;
|
|
9366
|
+
readonly '5xx': v.ObjectSchema<{
|
|
9367
|
+
readonly error: v.ObjectSchema<{
|
|
9368
|
+
readonly code: v.StringSchema<undefined>;
|
|
9369
|
+
readonly message: v.StringSchema<undefined>;
|
|
9370
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
9371
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
9372
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9373
|
+
readonly message: v.StringSchema<undefined>;
|
|
9374
|
+
}, undefined>, undefined>, undefined>;
|
|
9375
|
+
}, undefined>;
|
|
9376
|
+
}, undefined>;
|
|
9377
|
+
readonly 200: v.ObjectSchema<{
|
|
9378
|
+
readonly runId: v.StringSchema<undefined>;
|
|
9379
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9380
|
+
readonly status: v.PicklistSchema<["running", "blocked", "paused", "done", "failed"], undefined>;
|
|
9381
|
+
readonly parked: v.BooleanSchema<undefined>;
|
|
9382
|
+
readonly decisions: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
9383
|
+
readonly kind: v.LiteralSchema<"requirements-review", undefined>;
|
|
9384
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
9385
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9386
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
9387
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
9388
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
9389
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
9390
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9391
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
9392
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
9393
|
+
readonly title: v.StringSchema<undefined>;
|
|
9394
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9395
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
9396
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9397
|
+
}, undefined>, undefined>;
|
|
9398
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9399
|
+
}, undefined>, v.ObjectSchema<{
|
|
9400
|
+
readonly kind: v.LiteralSchema<"fork", undefined>;
|
|
9401
|
+
readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
|
|
9402
|
+
readonly seamSummary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9403
|
+
readonly forks: v.ArraySchema<v.ObjectSchema<{
|
|
9404
|
+
readonly id: v.StringSchema<undefined>;
|
|
9405
|
+
readonly title: v.StringSchema<undefined>;
|
|
9406
|
+
readonly summary: v.StringSchema<undefined>;
|
|
9407
|
+
readonly approach: v.StringSchema<undefined>;
|
|
9408
|
+
readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9409
|
+
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9410
|
+
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
9411
|
+
}, undefined>, undefined>;
|
|
9412
|
+
}, undefined>, v.ObjectSchema<{
|
|
9413
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
9414
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9415
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
9416
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9417
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9418
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
9419
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
9420
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
9421
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
9422
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
9423
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
9424
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9425
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
9426
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9427
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
9428
|
+
}, undefined>, undefined>;
|
|
9429
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
9430
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
9431
|
+
}, undefined>, v.ObjectSchema<{
|
|
9432
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
9433
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
9434
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
9435
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
9436
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing", "required_field_missing"], undefined>;
|
|
9437
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
9438
|
+
readonly field: v.OptionalSchema<v.ObjectSchema<{
|
|
9439
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
9440
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
9441
|
+
}, undefined>, undefined>;
|
|
9442
|
+
}, undefined>, undefined>;
|
|
9443
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
9444
|
+
}, undefined>, v.ObjectSchema<{
|
|
9445
|
+
readonly kind: v.LiteralSchema<"approval-gate", undefined>;
|
|
9446
|
+
readonly approvalId: v.StringSchema<undefined>;
|
|
9447
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9448
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
9449
|
+
readonly status: v.PicklistSchema<["pending", "approved", "changes_requested", "rejected"], undefined>;
|
|
9450
|
+
readonly proposal: v.StringSchema<undefined>;
|
|
9451
|
+
readonly feedback: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9452
|
+
readonly requiredApprovals: v.NumberSchema<undefined>;
|
|
9453
|
+
readonly recordedApprovals: v.NumberSchema<undefined>;
|
|
9454
|
+
readonly exceeded: v.BooleanSchema<undefined>;
|
|
9455
|
+
}, undefined>, v.ObjectSchema<{
|
|
9456
|
+
readonly kind: v.LiteralSchema<"agent-decision", undefined>;
|
|
9457
|
+
readonly decisionId: v.StringSchema<undefined>;
|
|
9458
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9459
|
+
readonly question: v.StringSchema<undefined>;
|
|
9460
|
+
readonly options: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9461
|
+
}, undefined>, v.ObjectSchema<{
|
|
9462
|
+
readonly kind: v.LiteralSchema<"clarity-review", undefined>;
|
|
9463
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
9464
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9465
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
9466
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
9467
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
9468
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
9469
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9470
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
9471
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
9472
|
+
readonly title: v.StringSchema<undefined>;
|
|
9473
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9474
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
9475
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9476
|
+
}, undefined>, undefined>;
|
|
9477
|
+
readonly clarifiedReport: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9478
|
+
}, undefined>, v.ObjectSchema<{
|
|
9479
|
+
readonly kind: v.LiteralSchema<"brainstorm", undefined>;
|
|
9480
|
+
readonly sessionId: v.StringSchema<undefined>;
|
|
9481
|
+
readonly stage: v.PicklistSchema<["requirements", "architecture"], undefined>;
|
|
9482
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9483
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
9484
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
9485
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
9486
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
9487
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9488
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
9489
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
9490
|
+
readonly title: v.StringSchema<undefined>;
|
|
9491
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9492
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
9493
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9494
|
+
}, undefined>, undefined>;
|
|
9495
|
+
readonly convergedDirection: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9496
|
+
}, undefined>, v.ObjectSchema<{
|
|
9497
|
+
readonly kind: v.LiteralSchema<"pr-review", undefined>;
|
|
9498
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
9499
|
+
readonly summary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9500
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9501
|
+
readonly slices: v.ArraySchema<v.ObjectSchema<{
|
|
9502
|
+
readonly sliceId: v.StringSchema<undefined>;
|
|
9503
|
+
readonly title: v.StringSchema<undefined>;
|
|
9504
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
9505
|
+
readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9506
|
+
}, undefined>, undefined>;
|
|
9507
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
9508
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
9509
|
+
readonly sliceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9510
|
+
readonly path: v.StringSchema<undefined>;
|
|
9511
|
+
readonly line: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
9512
|
+
readonly side: v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>;
|
|
9513
|
+
readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
|
|
9514
|
+
readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
|
|
9515
|
+
readonly title: v.StringSchema<undefined>;
|
|
9516
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9517
|
+
readonly suggestedFix: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9518
|
+
readonly challenge: v.NullableSchema<v.ObjectSchema<{
|
|
9519
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
9520
|
+
readonly question: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9521
|
+
readonly justification: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9522
|
+
}, undefined>, undefined>;
|
|
9523
|
+
}, undefined>, undefined>;
|
|
9524
|
+
readonly selectedFindingIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9525
|
+
}, undefined>, v.ObjectSchema<{
|
|
9526
|
+
readonly kind: v.LiteralSchema<"human-test", undefined>;
|
|
9527
|
+
readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
|
|
9528
|
+
readonly environment: v.NullableSchema<v.ObjectSchema<{
|
|
9529
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9530
|
+
readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
|
|
9531
|
+
readonly expiresAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
9532
|
+
}, undefined>, undefined>;
|
|
9533
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9534
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
9535
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
9536
|
+
}, undefined>, v.ObjectSchema<{
|
|
9537
|
+
readonly kind: v.LiteralSchema<"visual-confirmation", undefined>;
|
|
9538
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
9539
|
+
readonly pairs: v.ArraySchema<v.ObjectSchema<{
|
|
9540
|
+
readonly view: v.StringSchema<undefined>;
|
|
9541
|
+
readonly actualArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9542
|
+
readonly referenceArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9543
|
+
}, undefined>, undefined>;
|
|
9544
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9545
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
9546
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
9547
|
+
}, undefined>, v.ObjectSchema<{
|
|
9548
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
9549
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9550
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
9551
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
9552
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9553
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
9554
|
+
readonly title: v.StringSchema<undefined>;
|
|
9555
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9556
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9557
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
9558
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9559
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9560
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9561
|
+
}, undefined>, undefined>;
|
|
9562
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
9563
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
9564
|
+
}, undefined>, v.ObjectSchema<{
|
|
9565
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
9566
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9567
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9568
|
+
readonly round: v.NumberSchema<undefined>;
|
|
9569
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
9570
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
9571
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9572
|
+
readonly question: v.StringSchema<undefined>;
|
|
9573
|
+
readonly answer: v.StringSchema<undefined>;
|
|
9574
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
9575
|
+
}, undefined>, undefined>;
|
|
9576
|
+
}, undefined>], undefined>, undefined>;
|
|
9577
|
+
}, undefined>;
|
|
9578
|
+
};
|
|
9579
|
+
};
|
|
9580
|
+
/** Stop asking: the interviewer converges on the answers so far and the run advances. */
|
|
9581
|
+
export declare const proceedPublicRunInterviewContract: {
|
|
9582
|
+
readonly method: "post";
|
|
9583
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
9584
|
+
runId: v.StringSchema<undefined>;
|
|
9585
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
9586
|
+
readonly pathResolver: ({ runId }: {
|
|
9587
|
+
runId: string;
|
|
9588
|
+
}) => string;
|
|
9589
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
9590
|
+
readonly responsesByStatusCode: {
|
|
9591
|
+
readonly '4xx': v.ObjectSchema<{
|
|
9592
|
+
readonly error: v.ObjectSchema<{
|
|
9593
|
+
readonly code: v.StringSchema<undefined>;
|
|
9594
|
+
readonly message: v.StringSchema<undefined>;
|
|
9595
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
9596
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
9597
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9598
|
+
readonly message: v.StringSchema<undefined>;
|
|
9599
|
+
}, undefined>, undefined>, undefined>;
|
|
9600
|
+
}, undefined>;
|
|
9601
|
+
}, undefined>;
|
|
9602
|
+
readonly '5xx': v.ObjectSchema<{
|
|
9603
|
+
readonly error: v.ObjectSchema<{
|
|
9604
|
+
readonly code: v.StringSchema<undefined>;
|
|
9605
|
+
readonly message: v.StringSchema<undefined>;
|
|
9606
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
9607
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
9608
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9609
|
+
readonly message: v.StringSchema<undefined>;
|
|
9610
|
+
}, undefined>, undefined>, undefined>;
|
|
9611
|
+
}, undefined>;
|
|
9612
|
+
}, undefined>;
|
|
9613
|
+
readonly 200: v.ObjectSchema<{
|
|
9614
|
+
readonly runId: v.StringSchema<undefined>;
|
|
9615
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9616
|
+
readonly status: v.PicklistSchema<["running", "blocked", "paused", "done", "failed"], undefined>;
|
|
9617
|
+
readonly parked: v.BooleanSchema<undefined>;
|
|
9618
|
+
readonly decisions: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
9619
|
+
readonly kind: v.LiteralSchema<"requirements-review", undefined>;
|
|
9620
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
9621
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9622
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
9623
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
9624
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
9625
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
9626
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9627
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
9628
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
9629
|
+
readonly title: v.StringSchema<undefined>;
|
|
9630
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9631
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
9632
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9633
|
+
}, undefined>, undefined>;
|
|
9634
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9635
|
+
}, undefined>, v.ObjectSchema<{
|
|
9636
|
+
readonly kind: v.LiteralSchema<"fork", undefined>;
|
|
9637
|
+
readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
|
|
9638
|
+
readonly seamSummary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9639
|
+
readonly forks: v.ArraySchema<v.ObjectSchema<{
|
|
9640
|
+
readonly id: v.StringSchema<undefined>;
|
|
9641
|
+
readonly title: v.StringSchema<undefined>;
|
|
9642
|
+
readonly summary: v.StringSchema<undefined>;
|
|
9643
|
+
readonly approach: v.StringSchema<undefined>;
|
|
9644
|
+
readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9645
|
+
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9646
|
+
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
9647
|
+
}, undefined>, undefined>;
|
|
9648
|
+
}, undefined>, v.ObjectSchema<{
|
|
9649
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
9650
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9651
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
9652
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9653
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9654
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
9655
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
9656
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
9657
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
9658
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
9659
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
9660
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9661
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
9662
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
9663
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
9664
|
+
}, undefined>, undefined>;
|
|
9665
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
9666
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
9667
|
+
}, undefined>, v.ObjectSchema<{
|
|
9668
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
9669
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
9670
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
9671
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
9672
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing", "required_field_missing"], undefined>;
|
|
9673
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
9674
|
+
readonly field: v.OptionalSchema<v.ObjectSchema<{
|
|
9675
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
9676
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
9677
|
+
}, undefined>, undefined>;
|
|
9678
|
+
}, undefined>, undefined>;
|
|
9679
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
9680
|
+
}, undefined>, v.ObjectSchema<{
|
|
9681
|
+
readonly kind: v.LiteralSchema<"approval-gate", undefined>;
|
|
9682
|
+
readonly approvalId: v.StringSchema<undefined>;
|
|
9683
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9684
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
9685
|
+
readonly status: v.PicklistSchema<["pending", "approved", "changes_requested", "rejected"], undefined>;
|
|
9686
|
+
readonly proposal: v.StringSchema<undefined>;
|
|
9687
|
+
readonly feedback: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9688
|
+
readonly requiredApprovals: v.NumberSchema<undefined>;
|
|
9689
|
+
readonly recordedApprovals: v.NumberSchema<undefined>;
|
|
9690
|
+
readonly exceeded: v.BooleanSchema<undefined>;
|
|
9691
|
+
}, undefined>, v.ObjectSchema<{
|
|
9692
|
+
readonly kind: v.LiteralSchema<"agent-decision", undefined>;
|
|
9693
|
+
readonly decisionId: v.StringSchema<undefined>;
|
|
9694
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9695
|
+
readonly question: v.StringSchema<undefined>;
|
|
9696
|
+
readonly options: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9697
|
+
}, undefined>, v.ObjectSchema<{
|
|
9698
|
+
readonly kind: v.LiteralSchema<"clarity-review", undefined>;
|
|
9699
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
9700
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9701
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
9702
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
9703
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
9704
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
9705
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9706
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
9707
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
9708
|
+
readonly title: v.StringSchema<undefined>;
|
|
9709
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9710
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
9711
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9712
|
+
}, undefined>, undefined>;
|
|
9713
|
+
readonly clarifiedReport: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9714
|
+
}, undefined>, v.ObjectSchema<{
|
|
9715
|
+
readonly kind: v.LiteralSchema<"brainstorm", undefined>;
|
|
9716
|
+
readonly sessionId: v.StringSchema<undefined>;
|
|
9717
|
+
readonly stage: v.PicklistSchema<["requirements", "architecture"], undefined>;
|
|
9718
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9719
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
9720
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
9721
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
9722
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
9723
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9724
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
9725
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
9726
|
+
readonly title: v.StringSchema<undefined>;
|
|
9727
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9728
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
9729
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9730
|
+
}, undefined>, undefined>;
|
|
9731
|
+
readonly convergedDirection: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9732
|
+
}, undefined>, v.ObjectSchema<{
|
|
9733
|
+
readonly kind: v.LiteralSchema<"pr-review", undefined>;
|
|
9734
|
+
readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
|
|
9735
|
+
readonly summary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9736
|
+
readonly prUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9737
|
+
readonly slices: v.ArraySchema<v.ObjectSchema<{
|
|
9738
|
+
readonly sliceId: v.StringSchema<undefined>;
|
|
9739
|
+
readonly title: v.StringSchema<undefined>;
|
|
9740
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
9741
|
+
readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9742
|
+
}, undefined>, undefined>;
|
|
9743
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
9744
|
+
readonly findingId: v.StringSchema<undefined>;
|
|
9745
|
+
readonly sliceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9746
|
+
readonly path: v.StringSchema<undefined>;
|
|
9747
|
+
readonly line: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
9748
|
+
readonly side: v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>;
|
|
9749
|
+
readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
|
|
9750
|
+
readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
|
|
9751
|
+
readonly title: v.StringSchema<undefined>;
|
|
9752
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9753
|
+
readonly suggestedFix: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9754
|
+
readonly challenge: v.NullableSchema<v.ObjectSchema<{
|
|
9755
|
+
readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
|
|
9756
|
+
readonly question: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9757
|
+
readonly justification: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9758
|
+
}, undefined>, undefined>;
|
|
9759
|
+
}, undefined>, undefined>;
|
|
9760
|
+
readonly selectedFindingIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
9761
|
+
}, undefined>, v.ObjectSchema<{
|
|
9762
|
+
readonly kind: v.LiteralSchema<"human-test", undefined>;
|
|
9763
|
+
readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
|
|
9764
|
+
readonly environment: v.NullableSchema<v.ObjectSchema<{
|
|
9765
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9766
|
+
readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
|
|
9767
|
+
readonly expiresAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
9768
|
+
}, undefined>, undefined>;
|
|
9769
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9770
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
9771
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
9772
|
+
}, undefined>, v.ObjectSchema<{
|
|
9773
|
+
readonly kind: v.LiteralSchema<"visual-confirmation", undefined>;
|
|
9774
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
9775
|
+
readonly pairs: v.ArraySchema<v.ObjectSchema<{
|
|
9776
|
+
readonly view: v.StringSchema<undefined>;
|
|
9777
|
+
readonly actualArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9778
|
+
readonly referenceArtifactId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9779
|
+
}, undefined>, undefined>;
|
|
9780
|
+
readonly degradedReason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9781
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
9782
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
9783
|
+
}, undefined>, v.ObjectSchema<{
|
|
9784
|
+
readonly kind: v.LiteralSchema<"follow-ups", undefined>;
|
|
9785
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9786
|
+
readonly stepIndex: v.NumberSchema<undefined>;
|
|
9787
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
9788
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
9789
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
9790
|
+
readonly title: v.StringSchema<undefined>;
|
|
9791
|
+
readonly detail: v.StringSchema<undefined>;
|
|
9792
|
+
readonly suggestedAction: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9793
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
9794
|
+
readonly answer: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9795
|
+
readonly ticketExternalId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9796
|
+
readonly ticketUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9797
|
+
}, undefined>, undefined>;
|
|
9798
|
+
readonly loops: v.NumberSchema<undefined>;
|
|
9799
|
+
readonly maxLoops: v.NumberSchema<undefined>;
|
|
9800
|
+
}, undefined>, v.ObjectSchema<{
|
|
9801
|
+
readonly kind: v.LiteralSchema<"interview", undefined>;
|
|
9802
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
9803
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
9804
|
+
readonly round: v.NumberSchema<undefined>;
|
|
9805
|
+
readonly maxRounds: v.NumberSchema<undefined>;
|
|
9806
|
+
readonly questions: v.ArraySchema<v.ObjectSchema<{
|
|
9807
|
+
readonly questionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9808
|
+
readonly question: v.StringSchema<undefined>;
|
|
9809
|
+
readonly answer: v.StringSchema<undefined>;
|
|
9810
|
+
readonly status: v.PicklistSchema<["open", "answered", "dismissed"], undefined>;
|
|
9811
|
+
}, undefined>, undefined>;
|
|
7157
9812
|
}, undefined>], undefined>, undefined>;
|
|
7158
9813
|
}, undefined>;
|
|
7159
9814
|
};
|