@cat-factory/contracts 0.38.0 → 0.40.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/agent-presentation.d.ts +2 -2
- package/dist/entities.d.ts +205 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +76 -0
- package/dist/entities.js.map +1 -1
- 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/notifications.d.ts +2 -2
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +1 -0
- package/dist/notifications.js.map +1 -1
- package/dist/observability.d.ts +15 -3
- package/dist/observability.d.ts.map +1 -1
- package/dist/observability.js +9 -1
- package/dist/observability.js.map +1 -1
- package/dist/result-views.d.ts +1 -1
- package/dist/result-views.d.ts.map +1 -1
- package/dist/result-views.js +1 -0
- package/dist/result-views.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +62 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +252 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +31 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +155 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/index.d.ts +1 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +1 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/models.d.ts +4 -0
- package/dist/routes/models.d.ts.map +1 -1
- package/dist/routes/notifications.d.ts +3 -3
- package/dist/routes/slack.d.ts +3 -3
- package/dist/routes/visual-confirm.d.ts +956 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -0
- package/dist/routes/visual-confirm.js +34 -0
- package/dist/routes/visual-confirm.js.map +1 -0
- package/dist/routes/workspace-settings.d.ts +3 -0
- package/dist/routes/workspace-settings.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +68 -4
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/slack.d.ts +2 -2
- package/dist/snapshot.d.ts +34 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/testing.d.ts +38 -0
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +26 -0
- package/dist/testing.js.map +1 -1
- package/dist/visual-confirm.d.ts +8 -0
- package/dist/visual-confirm.d.ts.map +1 -0
- package/dist/visual-confirm.js +11 -0
- package/dist/visual-confirm.js.map +1 -0
- package/dist/workspace-settings.d.ts +7 -0
- package/dist/workspace-settings.d.ts.map +1 -1
- package/dist/workspace-settings.js +7 -0
- package/dist/workspace-settings.js.map +1 -1
- package/package.json +1 -1
|
@@ -47,6 +47,7 @@ export declare const startExecutionContract: {
|
|
|
47
47
|
readonly metrics: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
48
48
|
readonly calls: v.NumberSchema<undefined>;
|
|
49
49
|
readonly promptTokens: v.NumberSchema<undefined>;
|
|
50
|
+
readonly cachedPromptTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
50
51
|
readonly completionTokens: v.NumberSchema<undefined>;
|
|
51
52
|
readonly peakCompletionTokens: v.NumberSchema<undefined>;
|
|
52
53
|
readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -113,6 +114,14 @@ export declare const startExecutionContract: {
|
|
|
113
114
|
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
114
115
|
}, undefined>, undefined>;
|
|
115
116
|
readonly environment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
117
|
+
readonly screenshots: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
118
|
+
readonly view: v.StringSchema<undefined>;
|
|
119
|
+
readonly artifactId: v.StringSchema<undefined>;
|
|
120
|
+
readonly hash: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
121
|
+
readonly width: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
122
|
+
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
123
|
+
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
124
|
+
}, undefined>, undefined>, undefined>;
|
|
116
125
|
}, undefined>, undefined>, undefined>;
|
|
117
126
|
}, undefined>, undefined>, undefined>;
|
|
118
127
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -140,6 +149,28 @@ export declare const startExecutionContract: {
|
|
|
140
149
|
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
141
150
|
}, undefined>, undefined>, undefined>;
|
|
142
151
|
}, undefined>, undefined>, undefined>;
|
|
152
|
+
readonly visualConfirm: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
153
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
154
|
+
readonly pairs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
155
|
+
readonly view: v.StringSchema<undefined>;
|
|
156
|
+
readonly actualArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
157
|
+
readonly referenceArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
158
|
+
}, undefined>, undefined>, undefined>;
|
|
159
|
+
readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
160
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
161
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
162
|
+
readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
163
|
+
readonly findings: v.StringSchema<undefined>;
|
|
164
|
+
readonly helperKind: v.StringSchema<undefined>;
|
|
165
|
+
readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
166
|
+
readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
|
|
167
|
+
readonly at: v.NumberSchema<undefined>;
|
|
168
|
+
}, undefined>, undefined>, undefined>;
|
|
169
|
+
readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
170
|
+
readonly type: v.PicklistSchema<["approve", "request-fix", "recapture"], undefined>;
|
|
171
|
+
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
172
|
+
}, undefined>, undefined>, undefined>;
|
|
173
|
+
}, undefined>, undefined>, undefined>;
|
|
143
174
|
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
144
175
|
readonly id: v.StringSchema<undefined>;
|
|
145
176
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -554,6 +585,7 @@ export declare const resumeSpendContract: {
|
|
|
554
585
|
readonly metrics: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
555
586
|
readonly calls: v.NumberSchema<undefined>;
|
|
556
587
|
readonly promptTokens: v.NumberSchema<undefined>;
|
|
588
|
+
readonly cachedPromptTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
557
589
|
readonly completionTokens: v.NumberSchema<undefined>;
|
|
558
590
|
readonly peakCompletionTokens: v.NumberSchema<undefined>;
|
|
559
591
|
readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -620,6 +652,14 @@ export declare const resumeSpendContract: {
|
|
|
620
652
|
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
621
653
|
}, undefined>, undefined>;
|
|
622
654
|
readonly environment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
655
|
+
readonly screenshots: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
656
|
+
readonly view: v.StringSchema<undefined>;
|
|
657
|
+
readonly artifactId: v.StringSchema<undefined>;
|
|
658
|
+
readonly hash: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
659
|
+
readonly width: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
660
|
+
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
661
|
+
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
662
|
+
}, undefined>, undefined>, undefined>;
|
|
623
663
|
}, undefined>, undefined>, undefined>;
|
|
624
664
|
}, undefined>, undefined>, undefined>;
|
|
625
665
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -647,6 +687,28 @@ export declare const resumeSpendContract: {
|
|
|
647
687
|
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
648
688
|
}, undefined>, undefined>, undefined>;
|
|
649
689
|
}, undefined>, undefined>, undefined>;
|
|
690
|
+
readonly visualConfirm: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
691
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
692
|
+
readonly pairs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
693
|
+
readonly view: v.StringSchema<undefined>;
|
|
694
|
+
readonly actualArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
695
|
+
readonly referenceArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
696
|
+
}, undefined>, undefined>, undefined>;
|
|
697
|
+
readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
698
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
699
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
700
|
+
readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
701
|
+
readonly findings: v.StringSchema<undefined>;
|
|
702
|
+
readonly helperKind: v.StringSchema<undefined>;
|
|
703
|
+
readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
704
|
+
readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
|
|
705
|
+
readonly at: v.NumberSchema<undefined>;
|
|
706
|
+
}, undefined>, undefined>, undefined>;
|
|
707
|
+
readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
708
|
+
readonly type: v.PicklistSchema<["approve", "request-fix", "recapture"], undefined>;
|
|
709
|
+
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
710
|
+
}, undefined>, undefined>, undefined>;
|
|
711
|
+
}, undefined>, undefined>, undefined>;
|
|
650
712
|
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
651
713
|
readonly id: v.StringSchema<undefined>;
|
|
652
714
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -958,6 +1020,8 @@ export declare const exportExecutionLlmMetricsContract: {
|
|
|
958
1020
|
readonly totals: v.ObjectSchema<{
|
|
959
1021
|
readonly calls: v.NumberSchema<undefined>;
|
|
960
1022
|
readonly promptTokens: v.NumberSchema<undefined>;
|
|
1023
|
+
readonly cachedPromptTokens: v.NumberSchema<undefined>;
|
|
1024
|
+
readonly cacheHitRate: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
961
1025
|
readonly completionTokens: v.NumberSchema<undefined>;
|
|
962
1026
|
readonly upstreamMs: v.NumberSchema<undefined>;
|
|
963
1027
|
readonly overheadMs: v.NumberSchema<undefined>;
|
|
@@ -970,6 +1034,8 @@ export declare const exportExecutionLlmMetricsContract: {
|
|
|
970
1034
|
readonly agentKind: v.StringSchema<undefined>;
|
|
971
1035
|
readonly calls: v.NumberSchema<undefined>;
|
|
972
1036
|
readonly promptTokens: v.NumberSchema<undefined>;
|
|
1037
|
+
readonly cachedPromptTokens: v.NumberSchema<undefined>;
|
|
1038
|
+
readonly cacheHitRate: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
973
1039
|
readonly completionTokens: v.NumberSchema<undefined>;
|
|
974
1040
|
readonly peakCompletionTokens: v.NumberSchema<undefined>;
|
|
975
1041
|
readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1062,6 +1128,7 @@ export declare const resolveDecisionContract: {
|
|
|
1062
1128
|
readonly metrics: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1063
1129
|
readonly calls: v.NumberSchema<undefined>;
|
|
1064
1130
|
readonly promptTokens: v.NumberSchema<undefined>;
|
|
1131
|
+
readonly cachedPromptTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1065
1132
|
readonly completionTokens: v.NumberSchema<undefined>;
|
|
1066
1133
|
readonly peakCompletionTokens: v.NumberSchema<undefined>;
|
|
1067
1134
|
readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1128,6 +1195,14 @@ export declare const resolveDecisionContract: {
|
|
|
1128
1195
|
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
1129
1196
|
}, undefined>, undefined>;
|
|
1130
1197
|
readonly environment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
1198
|
+
readonly screenshots: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1199
|
+
readonly view: v.StringSchema<undefined>;
|
|
1200
|
+
readonly artifactId: v.StringSchema<undefined>;
|
|
1201
|
+
readonly hash: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1202
|
+
readonly width: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1203
|
+
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1204
|
+
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1205
|
+
}, undefined>, undefined>, undefined>;
|
|
1131
1206
|
}, undefined>, undefined>, undefined>;
|
|
1132
1207
|
}, undefined>, undefined>, undefined>;
|
|
1133
1208
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -1155,6 +1230,28 @@ export declare const resolveDecisionContract: {
|
|
|
1155
1230
|
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1156
1231
|
}, undefined>, undefined>, undefined>;
|
|
1157
1232
|
}, undefined>, undefined>, undefined>;
|
|
1233
|
+
readonly visualConfirm: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1234
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
1235
|
+
readonly pairs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1236
|
+
readonly view: v.StringSchema<undefined>;
|
|
1237
|
+
readonly actualArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1238
|
+
readonly referenceArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1239
|
+
}, undefined>, undefined>, undefined>;
|
|
1240
|
+
readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1241
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
1242
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1243
|
+
readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1244
|
+
readonly findings: v.StringSchema<undefined>;
|
|
1245
|
+
readonly helperKind: v.StringSchema<undefined>;
|
|
1246
|
+
readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1247
|
+
readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
|
|
1248
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1249
|
+
}, undefined>, undefined>, undefined>;
|
|
1250
|
+
readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1251
|
+
readonly type: v.PicklistSchema<["approve", "request-fix", "recapture"], undefined>;
|
|
1252
|
+
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1253
|
+
}, undefined>, undefined>, undefined>;
|
|
1254
|
+
}, undefined>, undefined>, undefined>;
|
|
1158
1255
|
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1159
1256
|
readonly id: v.StringSchema<undefined>;
|
|
1160
1257
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1352,6 +1449,7 @@ export declare const approveStepContract: {
|
|
|
1352
1449
|
readonly metrics: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1353
1450
|
readonly calls: v.NumberSchema<undefined>;
|
|
1354
1451
|
readonly promptTokens: v.NumberSchema<undefined>;
|
|
1452
|
+
readonly cachedPromptTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1355
1453
|
readonly completionTokens: v.NumberSchema<undefined>;
|
|
1356
1454
|
readonly peakCompletionTokens: v.NumberSchema<undefined>;
|
|
1357
1455
|
readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1418,6 +1516,14 @@ export declare const approveStepContract: {
|
|
|
1418
1516
|
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
1419
1517
|
}, undefined>, undefined>;
|
|
1420
1518
|
readonly environment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
1519
|
+
readonly screenshots: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1520
|
+
readonly view: v.StringSchema<undefined>;
|
|
1521
|
+
readonly artifactId: v.StringSchema<undefined>;
|
|
1522
|
+
readonly hash: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1523
|
+
readonly width: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1524
|
+
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1525
|
+
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1526
|
+
}, undefined>, undefined>, undefined>;
|
|
1421
1527
|
}, undefined>, undefined>, undefined>;
|
|
1422
1528
|
}, undefined>, undefined>, undefined>;
|
|
1423
1529
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -1445,6 +1551,28 @@ export declare const approveStepContract: {
|
|
|
1445
1551
|
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1446
1552
|
}, undefined>, undefined>, undefined>;
|
|
1447
1553
|
}, undefined>, undefined>, undefined>;
|
|
1554
|
+
readonly visualConfirm: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1555
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
1556
|
+
readonly pairs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1557
|
+
readonly view: v.StringSchema<undefined>;
|
|
1558
|
+
readonly actualArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1559
|
+
readonly referenceArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1560
|
+
}, undefined>, undefined>, undefined>;
|
|
1561
|
+
readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1562
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
1563
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1564
|
+
readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1565
|
+
readonly findings: v.StringSchema<undefined>;
|
|
1566
|
+
readonly helperKind: v.StringSchema<undefined>;
|
|
1567
|
+
readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1568
|
+
readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
|
|
1569
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1570
|
+
}, undefined>, undefined>, undefined>;
|
|
1571
|
+
readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1572
|
+
readonly type: v.PicklistSchema<["approve", "request-fix", "recapture"], undefined>;
|
|
1573
|
+
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1574
|
+
}, undefined>, undefined>, undefined>;
|
|
1575
|
+
}, undefined>, undefined>, undefined>;
|
|
1448
1576
|
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1449
1577
|
readonly id: v.StringSchema<undefined>;
|
|
1450
1578
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1656,6 +1784,7 @@ export declare const requestStepChangesContract: {
|
|
|
1656
1784
|
readonly metrics: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1657
1785
|
readonly calls: v.NumberSchema<undefined>;
|
|
1658
1786
|
readonly promptTokens: v.NumberSchema<undefined>;
|
|
1787
|
+
readonly cachedPromptTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1659
1788
|
readonly completionTokens: v.NumberSchema<undefined>;
|
|
1660
1789
|
readonly peakCompletionTokens: v.NumberSchema<undefined>;
|
|
1661
1790
|
readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1722,6 +1851,14 @@ export declare const requestStepChangesContract: {
|
|
|
1722
1851
|
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
1723
1852
|
}, undefined>, undefined>;
|
|
1724
1853
|
readonly environment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
1854
|
+
readonly screenshots: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1855
|
+
readonly view: v.StringSchema<undefined>;
|
|
1856
|
+
readonly artifactId: v.StringSchema<undefined>;
|
|
1857
|
+
readonly hash: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1858
|
+
readonly width: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1859
|
+
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1860
|
+
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1861
|
+
}, undefined>, undefined>, undefined>;
|
|
1725
1862
|
}, undefined>, undefined>, undefined>;
|
|
1726
1863
|
}, undefined>, undefined>, undefined>;
|
|
1727
1864
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -1749,6 +1886,28 @@ export declare const requestStepChangesContract: {
|
|
|
1749
1886
|
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1750
1887
|
}, undefined>, undefined>, undefined>;
|
|
1751
1888
|
}, undefined>, undefined>, undefined>;
|
|
1889
|
+
readonly visualConfirm: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1890
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
1891
|
+
readonly pairs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1892
|
+
readonly view: v.StringSchema<undefined>;
|
|
1893
|
+
readonly actualArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1894
|
+
readonly referenceArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1895
|
+
}, undefined>, undefined>, undefined>;
|
|
1896
|
+
readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1897
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
1898
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
1899
|
+
readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1900
|
+
readonly findings: v.StringSchema<undefined>;
|
|
1901
|
+
readonly helperKind: v.StringSchema<undefined>;
|
|
1902
|
+
readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1903
|
+
readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
|
|
1904
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1905
|
+
}, undefined>, undefined>, undefined>;
|
|
1906
|
+
readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1907
|
+
readonly type: v.PicklistSchema<["approve", "request-fix", "recapture"], undefined>;
|
|
1908
|
+
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1909
|
+
}, undefined>, undefined>, undefined>;
|
|
1910
|
+
}, undefined>, undefined>, undefined>;
|
|
1752
1911
|
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1753
1912
|
readonly id: v.StringSchema<undefined>;
|
|
1754
1913
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1946,6 +2105,7 @@ export declare const resolveStepExceededContract: {
|
|
|
1946
2105
|
readonly metrics: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1947
2106
|
readonly calls: v.NumberSchema<undefined>;
|
|
1948
2107
|
readonly promptTokens: v.NumberSchema<undefined>;
|
|
2108
|
+
readonly cachedPromptTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1949
2109
|
readonly completionTokens: v.NumberSchema<undefined>;
|
|
1950
2110
|
readonly peakCompletionTokens: v.NumberSchema<undefined>;
|
|
1951
2111
|
readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -2012,6 +2172,14 @@ export declare const resolveStepExceededContract: {
|
|
|
2012
2172
|
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
2013
2173
|
}, undefined>, undefined>;
|
|
2014
2174
|
readonly environment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
2175
|
+
readonly screenshots: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2176
|
+
readonly view: v.StringSchema<undefined>;
|
|
2177
|
+
readonly artifactId: v.StringSchema<undefined>;
|
|
2178
|
+
readonly hash: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2179
|
+
readonly width: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2180
|
+
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2181
|
+
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2182
|
+
}, undefined>, undefined>, undefined>;
|
|
2015
2183
|
}, undefined>, undefined>, undefined>;
|
|
2016
2184
|
}, undefined>, undefined>, undefined>;
|
|
2017
2185
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -2039,6 +2207,28 @@ export declare const resolveStepExceededContract: {
|
|
|
2039
2207
|
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2040
2208
|
}, undefined>, undefined>, undefined>;
|
|
2041
2209
|
}, undefined>, undefined>, undefined>;
|
|
2210
|
+
readonly visualConfirm: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2211
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
2212
|
+
readonly pairs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2213
|
+
readonly view: v.StringSchema<undefined>;
|
|
2214
|
+
readonly actualArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2215
|
+
readonly referenceArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2216
|
+
}, undefined>, undefined>, undefined>;
|
|
2217
|
+
readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2218
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
2219
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
2220
|
+
readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2221
|
+
readonly findings: v.StringSchema<undefined>;
|
|
2222
|
+
readonly helperKind: v.StringSchema<undefined>;
|
|
2223
|
+
readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2224
|
+
readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
|
|
2225
|
+
readonly at: v.NumberSchema<undefined>;
|
|
2226
|
+
}, undefined>, undefined>, undefined>;
|
|
2227
|
+
readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2228
|
+
readonly type: v.PicklistSchema<["approve", "request-fix", "recapture"], undefined>;
|
|
2229
|
+
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2230
|
+
}, undefined>, undefined>, undefined>;
|
|
2231
|
+
}, undefined>, undefined>, undefined>;
|
|
2042
2232
|
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2043
2233
|
readonly id: v.StringSchema<undefined>;
|
|
2044
2234
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2234,6 +2424,7 @@ export declare const restartExecutionContract: {
|
|
|
2234
2424
|
readonly metrics: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2235
2425
|
readonly calls: v.NumberSchema<undefined>;
|
|
2236
2426
|
readonly promptTokens: v.NumberSchema<undefined>;
|
|
2427
|
+
readonly cachedPromptTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2237
2428
|
readonly completionTokens: v.NumberSchema<undefined>;
|
|
2238
2429
|
readonly peakCompletionTokens: v.NumberSchema<undefined>;
|
|
2239
2430
|
readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -2300,6 +2491,14 @@ export declare const restartExecutionContract: {
|
|
|
2300
2491
|
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
2301
2492
|
}, undefined>, undefined>;
|
|
2302
2493
|
readonly environment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
2494
|
+
readonly screenshots: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2495
|
+
readonly view: v.StringSchema<undefined>;
|
|
2496
|
+
readonly artifactId: v.StringSchema<undefined>;
|
|
2497
|
+
readonly hash: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2498
|
+
readonly width: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2499
|
+
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2500
|
+
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2501
|
+
}, undefined>, undefined>, undefined>;
|
|
2303
2502
|
}, undefined>, undefined>, undefined>;
|
|
2304
2503
|
}, undefined>, undefined>, undefined>;
|
|
2305
2504
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -2327,6 +2526,28 @@ export declare const restartExecutionContract: {
|
|
|
2327
2526
|
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2328
2527
|
}, undefined>, undefined>, undefined>;
|
|
2329
2528
|
}, undefined>, undefined>, undefined>;
|
|
2529
|
+
readonly visualConfirm: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2530
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
2531
|
+
readonly pairs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2532
|
+
readonly view: v.StringSchema<undefined>;
|
|
2533
|
+
readonly actualArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2534
|
+
readonly referenceArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2535
|
+
}, undefined>, undefined>, undefined>;
|
|
2536
|
+
readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2537
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
2538
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
2539
|
+
readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2540
|
+
readonly findings: v.StringSchema<undefined>;
|
|
2541
|
+
readonly helperKind: v.StringSchema<undefined>;
|
|
2542
|
+
readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2543
|
+
readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
|
|
2544
|
+
readonly at: v.NumberSchema<undefined>;
|
|
2545
|
+
}, undefined>, undefined>, undefined>;
|
|
2546
|
+
readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2547
|
+
readonly type: v.PicklistSchema<["approve", "request-fix", "recapture"], undefined>;
|
|
2548
|
+
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2549
|
+
}, undefined>, undefined>, undefined>;
|
|
2550
|
+
}, undefined>, undefined>, undefined>;
|
|
2330
2551
|
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2331
2552
|
readonly id: v.StringSchema<undefined>;
|
|
2332
2553
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2524,6 +2745,7 @@ export declare const rejectStepContract: {
|
|
|
2524
2745
|
readonly metrics: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2525
2746
|
readonly calls: v.NumberSchema<undefined>;
|
|
2526
2747
|
readonly promptTokens: v.NumberSchema<undefined>;
|
|
2748
|
+
readonly cachedPromptTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2527
2749
|
readonly completionTokens: v.NumberSchema<undefined>;
|
|
2528
2750
|
readonly peakCompletionTokens: v.NumberSchema<undefined>;
|
|
2529
2751
|
readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -2590,6 +2812,14 @@ export declare const rejectStepContract: {
|
|
|
2590
2812
|
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
2591
2813
|
}, undefined>, undefined>;
|
|
2592
2814
|
readonly environment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
2815
|
+
readonly screenshots: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2816
|
+
readonly view: v.StringSchema<undefined>;
|
|
2817
|
+
readonly artifactId: v.StringSchema<undefined>;
|
|
2818
|
+
readonly hash: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2819
|
+
readonly width: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2820
|
+
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2821
|
+
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2822
|
+
}, undefined>, undefined>, undefined>;
|
|
2593
2823
|
}, undefined>, undefined>, undefined>;
|
|
2594
2824
|
}, undefined>, undefined>, undefined>;
|
|
2595
2825
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -2617,6 +2847,28 @@ export declare const rejectStepContract: {
|
|
|
2617
2847
|
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2618
2848
|
}, undefined>, undefined>, undefined>;
|
|
2619
2849
|
}, undefined>, undefined>, undefined>;
|
|
2850
|
+
readonly visualConfirm: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2851
|
+
readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
2852
|
+
readonly pairs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2853
|
+
readonly view: v.StringSchema<undefined>;
|
|
2854
|
+
readonly actualArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2855
|
+
readonly referenceArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2856
|
+
}, undefined>, undefined>, undefined>;
|
|
2857
|
+
readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2858
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
2859
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
2860
|
+
readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2861
|
+
readonly findings: v.StringSchema<undefined>;
|
|
2862
|
+
readonly helperKind: v.StringSchema<undefined>;
|
|
2863
|
+
readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2864
|
+
readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
|
|
2865
|
+
readonly at: v.NumberSchema<undefined>;
|
|
2866
|
+
}, undefined>, undefined>, undefined>;
|
|
2867
|
+
readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2868
|
+
readonly type: v.PicklistSchema<["approve", "request-fix", "recapture"], undefined>;
|
|
2869
|
+
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2870
|
+
}, undefined>, undefined>, undefined>;
|
|
2871
|
+
}, undefined>, undefined>, undefined>;
|
|
2620
2872
|
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2621
2873
|
readonly id: v.StringSchema<undefined>;
|
|
2622
2874
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../src/routes/execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAwC5B,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../src/routes/execution.ts"],"names":[],"mappings":"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"}
|
|
@@ -45,6 +45,7 @@ export declare const requestHumanReviewFixContract: {
|
|
|
45
45
|
readonly metrics: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
46
46
|
readonly calls: import("valibot").NumberSchema<undefined>;
|
|
47
47
|
readonly promptTokens: import("valibot").NumberSchema<undefined>;
|
|
48
|
+
readonly cachedPromptTokens: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
48
49
|
readonly completionTokens: import("valibot").NumberSchema<undefined>;
|
|
49
50
|
readonly peakCompletionTokens: import("valibot").NumberSchema<undefined>;
|
|
50
51
|
readonly maxOutputTokens: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -111,6 +112,14 @@ export declare const requestHumanReviewFixContract: {
|
|
|
111
112
|
readonly severity: import("valibot").PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
112
113
|
}, undefined>, undefined>;
|
|
113
114
|
readonly environment: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
115
|
+
readonly screenshots: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
116
|
+
readonly view: import("valibot").StringSchema<undefined>;
|
|
117
|
+
readonly artifactId: import("valibot").StringSchema<undefined>;
|
|
118
|
+
readonly hash: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
119
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
120
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
121
|
+
readonly referenceArtifactId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
122
|
+
}, undefined>, undefined>, undefined>;
|
|
114
123
|
}, undefined>, undefined>, undefined>;
|
|
115
124
|
}, undefined>, undefined>, undefined>;
|
|
116
125
|
readonly humanTest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
@@ -138,6 +147,28 @@ export declare const requestHumanReviewFixContract: {
|
|
|
138
147
|
readonly findings: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
139
148
|
}, undefined>, undefined>, undefined>;
|
|
140
149
|
}, undefined>, undefined>, undefined>;
|
|
150
|
+
readonly visualConfirm: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
151
|
+
readonly phase: import("valibot").PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
|
|
152
|
+
readonly pairs: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
153
|
+
readonly view: import("valibot").StringSchema<undefined>;
|
|
154
|
+
readonly actualArtifactId: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
155
|
+
readonly referenceArtifactId: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
156
|
+
}, undefined>, undefined>, undefined>;
|
|
157
|
+
readonly degradedReason: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
158
|
+
readonly attempts: import("valibot").NumberSchema<undefined>;
|
|
159
|
+
readonly maxAttempts: import("valibot").NumberSchema<undefined>;
|
|
160
|
+
readonly rounds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
161
|
+
readonly findings: import("valibot").StringSchema<undefined>;
|
|
162
|
+
readonly helperKind: import("valibot").StringSchema<undefined>;
|
|
163
|
+
readonly jobId: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
164
|
+
readonly outcome: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
|
|
165
|
+
readonly at: import("valibot").NumberSchema<undefined>;
|
|
166
|
+
}, undefined>, undefined>, undefined>;
|
|
167
|
+
readonly pendingAction: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
168
|
+
readonly type: import("valibot").PicklistSchema<["approve", "request-fix", "recapture"], undefined>;
|
|
169
|
+
readonly findings: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
170
|
+
}, undefined>, undefined>, undefined>;
|
|
171
|
+
}, undefined>, undefined>, undefined>;
|
|
141
172
|
readonly environment: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
142
173
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
143
174
|
readonly url: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"human-review.d.ts","sourceRoot":"","sources":["../../src/routes/human-review.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"human-review.d.ts","sourceRoot":"","sources":["../../src/routes/human-review.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA"}
|