@cat-factory/contracts 0.52.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities.d.ts +398 -20
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +78 -9
- package/dist/entities.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +162 -4
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +648 -16
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +81 -2
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +405 -10
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +243 -6
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +162 -4
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +81 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/testing.d.ts +101 -7
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +51 -1
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
|
@@ -97,7 +97,7 @@ export declare const approveVisualConfirmContract: {
|
|
|
97
97
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
98
98
|
readonly attempts: v.NumberSchema<undefined>;
|
|
99
99
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
100
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
100
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
101
101
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
102
102
|
readonly summary: v.StringSchema<undefined>;
|
|
103
103
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -120,6 +120,80 @@ export declare const approveVisualConfirmContract: {
|
|
|
120
120
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
121
121
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
122
122
|
}, undefined>, undefined>, undefined>;
|
|
123
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
124
|
+
readonly reason: v.StringSchema<undefined>;
|
|
125
|
+
}, undefined>, undefined>, undefined>;
|
|
126
|
+
}, undefined>, v.TransformAction<{
|
|
127
|
+
greenlight: boolean;
|
|
128
|
+
summary: string;
|
|
129
|
+
tested: string[];
|
|
130
|
+
outcomes: {
|
|
131
|
+
name: string;
|
|
132
|
+
status: "failed" | "passed" | "skipped";
|
|
133
|
+
detail?: string | undefined;
|
|
134
|
+
}[];
|
|
135
|
+
concerns: {
|
|
136
|
+
title: string;
|
|
137
|
+
detail: string;
|
|
138
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
139
|
+
}[];
|
|
140
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
141
|
+
screenshots?: {
|
|
142
|
+
view: string;
|
|
143
|
+
artifactId: string;
|
|
144
|
+
hash?: string | undefined;
|
|
145
|
+
width?: number | undefined;
|
|
146
|
+
height?: number | undefined;
|
|
147
|
+
referenceArtifactId?: string | undefined;
|
|
148
|
+
}[] | undefined;
|
|
149
|
+
abort?: {
|
|
150
|
+
reason: string;
|
|
151
|
+
} | null | undefined;
|
|
152
|
+
}, {
|
|
153
|
+
greenlight: boolean;
|
|
154
|
+
summary: string;
|
|
155
|
+
tested: string[];
|
|
156
|
+
outcomes: {
|
|
157
|
+
name: string;
|
|
158
|
+
status: "failed" | "passed" | "skipped";
|
|
159
|
+
detail?: string | undefined;
|
|
160
|
+
}[];
|
|
161
|
+
concerns: {
|
|
162
|
+
title: string;
|
|
163
|
+
detail: string;
|
|
164
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
165
|
+
}[];
|
|
166
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
167
|
+
screenshots?: {
|
|
168
|
+
view: string;
|
|
169
|
+
artifactId: string;
|
|
170
|
+
hash?: string | undefined;
|
|
171
|
+
width?: number | undefined;
|
|
172
|
+
height?: number | undefined;
|
|
173
|
+
referenceArtifactId?: string | undefined;
|
|
174
|
+
}[] | undefined;
|
|
175
|
+
abort?: {
|
|
176
|
+
reason: string;
|
|
177
|
+
} | null | undefined;
|
|
178
|
+
}>]>, undefined>, undefined>;
|
|
179
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
180
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
181
|
+
readonly at: v.NumberSchema<undefined>;
|
|
182
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
183
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
184
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
185
|
+
readonly title: v.StringSchema<undefined>;
|
|
186
|
+
readonly detail: v.StringSchema<undefined>;
|
|
187
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
188
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
189
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
190
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
191
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
192
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
193
|
+
readonly at: v.NumberSchema<undefined>;
|
|
194
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
195
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
196
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
123
197
|
}, undefined>, undefined>, undefined>;
|
|
124
198
|
}, undefined>, undefined>, undefined>;
|
|
125
199
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -185,7 +259,12 @@ export declare const approveVisualConfirmContract: {
|
|
|
185
259
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
186
260
|
}, undefined>, undefined>, undefined>;
|
|
187
261
|
}, undefined>, undefined>;
|
|
188
|
-
readonly
|
|
262
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
263
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
264
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
265
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
266
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
267
|
+
}, undefined>, undefined>, undefined>;
|
|
189
268
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
190
269
|
readonly id: v.StringSchema<undefined>;
|
|
191
270
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -416,7 +495,7 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
416
495
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
417
496
|
readonly attempts: v.NumberSchema<undefined>;
|
|
418
497
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
419
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
498
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
420
499
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
421
500
|
readonly summary: v.StringSchema<undefined>;
|
|
422
501
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -439,6 +518,80 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
439
518
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
440
519
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
441
520
|
}, undefined>, undefined>, undefined>;
|
|
521
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
522
|
+
readonly reason: v.StringSchema<undefined>;
|
|
523
|
+
}, undefined>, undefined>, undefined>;
|
|
524
|
+
}, undefined>, v.TransformAction<{
|
|
525
|
+
greenlight: boolean;
|
|
526
|
+
summary: string;
|
|
527
|
+
tested: string[];
|
|
528
|
+
outcomes: {
|
|
529
|
+
name: string;
|
|
530
|
+
status: "failed" | "passed" | "skipped";
|
|
531
|
+
detail?: string | undefined;
|
|
532
|
+
}[];
|
|
533
|
+
concerns: {
|
|
534
|
+
title: string;
|
|
535
|
+
detail: string;
|
|
536
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
537
|
+
}[];
|
|
538
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
539
|
+
screenshots?: {
|
|
540
|
+
view: string;
|
|
541
|
+
artifactId: string;
|
|
542
|
+
hash?: string | undefined;
|
|
543
|
+
width?: number | undefined;
|
|
544
|
+
height?: number | undefined;
|
|
545
|
+
referenceArtifactId?: string | undefined;
|
|
546
|
+
}[] | undefined;
|
|
547
|
+
abort?: {
|
|
548
|
+
reason: string;
|
|
549
|
+
} | null | undefined;
|
|
550
|
+
}, {
|
|
551
|
+
greenlight: boolean;
|
|
552
|
+
summary: string;
|
|
553
|
+
tested: string[];
|
|
554
|
+
outcomes: {
|
|
555
|
+
name: string;
|
|
556
|
+
status: "failed" | "passed" | "skipped";
|
|
557
|
+
detail?: string | undefined;
|
|
558
|
+
}[];
|
|
559
|
+
concerns: {
|
|
560
|
+
title: string;
|
|
561
|
+
detail: string;
|
|
562
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
563
|
+
}[];
|
|
564
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
565
|
+
screenshots?: {
|
|
566
|
+
view: string;
|
|
567
|
+
artifactId: string;
|
|
568
|
+
hash?: string | undefined;
|
|
569
|
+
width?: number | undefined;
|
|
570
|
+
height?: number | undefined;
|
|
571
|
+
referenceArtifactId?: string | undefined;
|
|
572
|
+
}[] | undefined;
|
|
573
|
+
abort?: {
|
|
574
|
+
reason: string;
|
|
575
|
+
} | null | undefined;
|
|
576
|
+
}>]>, undefined>, undefined>;
|
|
577
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
578
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
579
|
+
readonly at: v.NumberSchema<undefined>;
|
|
580
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
581
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
582
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
583
|
+
readonly title: v.StringSchema<undefined>;
|
|
584
|
+
readonly detail: v.StringSchema<undefined>;
|
|
585
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
586
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
587
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
588
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
589
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
590
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
591
|
+
readonly at: v.NumberSchema<undefined>;
|
|
592
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
593
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
594
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
442
595
|
}, undefined>, undefined>, undefined>;
|
|
443
596
|
}, undefined>, undefined>, undefined>;
|
|
444
597
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -504,7 +657,12 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
504
657
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
505
658
|
}, undefined>, undefined>, undefined>;
|
|
506
659
|
}, undefined>, undefined>;
|
|
507
|
-
readonly
|
|
660
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
661
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
662
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
663
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
664
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
665
|
+
}, undefined>, undefined>, undefined>;
|
|
508
666
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
509
667
|
readonly id: v.StringSchema<undefined>;
|
|
510
668
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -733,7 +891,7 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
733
891
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
734
892
|
readonly attempts: v.NumberSchema<undefined>;
|
|
735
893
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
736
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
894
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
737
895
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
738
896
|
readonly summary: v.StringSchema<undefined>;
|
|
739
897
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -756,6 +914,80 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
756
914
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
757
915
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
758
916
|
}, undefined>, undefined>, undefined>;
|
|
917
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
918
|
+
readonly reason: v.StringSchema<undefined>;
|
|
919
|
+
}, undefined>, undefined>, undefined>;
|
|
920
|
+
}, undefined>, v.TransformAction<{
|
|
921
|
+
greenlight: boolean;
|
|
922
|
+
summary: string;
|
|
923
|
+
tested: string[];
|
|
924
|
+
outcomes: {
|
|
925
|
+
name: string;
|
|
926
|
+
status: "failed" | "passed" | "skipped";
|
|
927
|
+
detail?: string | undefined;
|
|
928
|
+
}[];
|
|
929
|
+
concerns: {
|
|
930
|
+
title: string;
|
|
931
|
+
detail: string;
|
|
932
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
933
|
+
}[];
|
|
934
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
935
|
+
screenshots?: {
|
|
936
|
+
view: string;
|
|
937
|
+
artifactId: string;
|
|
938
|
+
hash?: string | undefined;
|
|
939
|
+
width?: number | undefined;
|
|
940
|
+
height?: number | undefined;
|
|
941
|
+
referenceArtifactId?: string | undefined;
|
|
942
|
+
}[] | undefined;
|
|
943
|
+
abort?: {
|
|
944
|
+
reason: string;
|
|
945
|
+
} | null | undefined;
|
|
946
|
+
}, {
|
|
947
|
+
greenlight: boolean;
|
|
948
|
+
summary: string;
|
|
949
|
+
tested: string[];
|
|
950
|
+
outcomes: {
|
|
951
|
+
name: string;
|
|
952
|
+
status: "failed" | "passed" | "skipped";
|
|
953
|
+
detail?: string | undefined;
|
|
954
|
+
}[];
|
|
955
|
+
concerns: {
|
|
956
|
+
title: string;
|
|
957
|
+
detail: string;
|
|
958
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
959
|
+
}[];
|
|
960
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
961
|
+
screenshots?: {
|
|
962
|
+
view: string;
|
|
963
|
+
artifactId: string;
|
|
964
|
+
hash?: string | undefined;
|
|
965
|
+
width?: number | undefined;
|
|
966
|
+
height?: number | undefined;
|
|
967
|
+
referenceArtifactId?: string | undefined;
|
|
968
|
+
}[] | undefined;
|
|
969
|
+
abort?: {
|
|
970
|
+
reason: string;
|
|
971
|
+
} | null | undefined;
|
|
972
|
+
}>]>, undefined>, undefined>;
|
|
973
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
974
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
975
|
+
readonly at: v.NumberSchema<undefined>;
|
|
976
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
977
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
978
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
979
|
+
readonly title: v.StringSchema<undefined>;
|
|
980
|
+
readonly detail: v.StringSchema<undefined>;
|
|
981
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
982
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
983
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
984
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
985
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
986
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
987
|
+
readonly at: v.NumberSchema<undefined>;
|
|
988
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
989
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
990
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
759
991
|
}, undefined>, undefined>, undefined>;
|
|
760
992
|
}, undefined>, undefined>, undefined>;
|
|
761
993
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -821,7 +1053,12 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
821
1053
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
822
1054
|
}, undefined>, undefined>, undefined>;
|
|
823
1055
|
}, undefined>, undefined>;
|
|
824
|
-
readonly
|
|
1056
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1057
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
1058
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1059
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1060
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1061
|
+
}, undefined>, undefined>, undefined>;
|
|
825
1062
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
826
1063
|
readonly id: v.StringSchema<undefined>;
|
|
827
1064
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
|
|
@@ -243,7 +243,7 @@ export declare const createWorkspaceContract: {
|
|
|
243
243
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
244
244
|
readonly attempts: v.NumberSchema<undefined>;
|
|
245
245
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
246
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
246
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
247
247
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
248
248
|
readonly summary: v.StringSchema<undefined>;
|
|
249
249
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -266,6 +266,80 @@ export declare const createWorkspaceContract: {
|
|
|
266
266
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
267
267
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
268
268
|
}, undefined>, undefined>, undefined>;
|
|
269
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
270
|
+
readonly reason: v.StringSchema<undefined>;
|
|
271
|
+
}, undefined>, undefined>, undefined>;
|
|
272
|
+
}, undefined>, v.TransformAction<{
|
|
273
|
+
greenlight: boolean;
|
|
274
|
+
summary: string;
|
|
275
|
+
tested: string[];
|
|
276
|
+
outcomes: {
|
|
277
|
+
name: string;
|
|
278
|
+
status: "failed" | "passed" | "skipped";
|
|
279
|
+
detail?: string | undefined;
|
|
280
|
+
}[];
|
|
281
|
+
concerns: {
|
|
282
|
+
title: string;
|
|
283
|
+
detail: string;
|
|
284
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
285
|
+
}[];
|
|
286
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
287
|
+
screenshots?: {
|
|
288
|
+
view: string;
|
|
289
|
+
artifactId: string;
|
|
290
|
+
hash?: string | undefined;
|
|
291
|
+
width?: number | undefined;
|
|
292
|
+
height?: number | undefined;
|
|
293
|
+
referenceArtifactId?: string | undefined;
|
|
294
|
+
}[] | undefined;
|
|
295
|
+
abort?: {
|
|
296
|
+
reason: string;
|
|
297
|
+
} | null | undefined;
|
|
298
|
+
}, {
|
|
299
|
+
greenlight: boolean;
|
|
300
|
+
summary: string;
|
|
301
|
+
tested: string[];
|
|
302
|
+
outcomes: {
|
|
303
|
+
name: string;
|
|
304
|
+
status: "failed" | "passed" | "skipped";
|
|
305
|
+
detail?: string | undefined;
|
|
306
|
+
}[];
|
|
307
|
+
concerns: {
|
|
308
|
+
title: string;
|
|
309
|
+
detail: string;
|
|
310
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
311
|
+
}[];
|
|
312
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
313
|
+
screenshots?: {
|
|
314
|
+
view: string;
|
|
315
|
+
artifactId: string;
|
|
316
|
+
hash?: string | undefined;
|
|
317
|
+
width?: number | undefined;
|
|
318
|
+
height?: number | undefined;
|
|
319
|
+
referenceArtifactId?: string | undefined;
|
|
320
|
+
}[] | undefined;
|
|
321
|
+
abort?: {
|
|
322
|
+
reason: string;
|
|
323
|
+
} | null | undefined;
|
|
324
|
+
}>]>, undefined>, undefined>;
|
|
325
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
326
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
327
|
+
readonly at: v.NumberSchema<undefined>;
|
|
328
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
329
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
330
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
331
|
+
readonly title: v.StringSchema<undefined>;
|
|
332
|
+
readonly detail: v.StringSchema<undefined>;
|
|
333
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
334
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
335
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
336
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
337
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
338
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
339
|
+
readonly at: v.NumberSchema<undefined>;
|
|
340
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
341
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
342
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
269
343
|
}, undefined>, undefined>, undefined>;
|
|
270
344
|
}, undefined>, undefined>, undefined>;
|
|
271
345
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -331,7 +405,12 @@ export declare const createWorkspaceContract: {
|
|
|
331
405
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
332
406
|
}, undefined>, undefined>, undefined>;
|
|
333
407
|
}, undefined>, undefined>;
|
|
334
|
-
readonly
|
|
408
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
409
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
410
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
411
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
412
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
413
|
+
}, undefined>, undefined>, undefined>;
|
|
335
414
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
336
415
|
readonly id: v.StringSchema<undefined>;
|
|
337
416
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -919,7 +998,7 @@ export declare const getWorkspaceContract: {
|
|
|
919
998
|
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
920
999
|
readonly attempts: v.NumberSchema<undefined>;
|
|
921
1000
|
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
922
|
-
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1001
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
923
1002
|
readonly greenlight: v.BooleanSchema<undefined>;
|
|
924
1003
|
readonly summary: v.StringSchema<undefined>;
|
|
925
1004
|
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -942,6 +1021,80 @@ export declare const getWorkspaceContract: {
|
|
|
942
1021
|
readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
943
1022
|
readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
944
1023
|
}, undefined>, undefined>, undefined>;
|
|
1024
|
+
readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1025
|
+
readonly reason: v.StringSchema<undefined>;
|
|
1026
|
+
}, undefined>, undefined>, undefined>;
|
|
1027
|
+
}, undefined>, v.TransformAction<{
|
|
1028
|
+
greenlight: boolean;
|
|
1029
|
+
summary: string;
|
|
1030
|
+
tested: string[];
|
|
1031
|
+
outcomes: {
|
|
1032
|
+
name: string;
|
|
1033
|
+
status: "failed" | "passed" | "skipped";
|
|
1034
|
+
detail?: string | undefined;
|
|
1035
|
+
}[];
|
|
1036
|
+
concerns: {
|
|
1037
|
+
title: string;
|
|
1038
|
+
detail: string;
|
|
1039
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
1040
|
+
}[];
|
|
1041
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
1042
|
+
screenshots?: {
|
|
1043
|
+
view: string;
|
|
1044
|
+
artifactId: string;
|
|
1045
|
+
hash?: string | undefined;
|
|
1046
|
+
width?: number | undefined;
|
|
1047
|
+
height?: number | undefined;
|
|
1048
|
+
referenceArtifactId?: string | undefined;
|
|
1049
|
+
}[] | undefined;
|
|
1050
|
+
abort?: {
|
|
1051
|
+
reason: string;
|
|
1052
|
+
} | null | undefined;
|
|
1053
|
+
}, {
|
|
1054
|
+
greenlight: boolean;
|
|
1055
|
+
summary: string;
|
|
1056
|
+
tested: string[];
|
|
1057
|
+
outcomes: {
|
|
1058
|
+
name: string;
|
|
1059
|
+
status: "failed" | "passed" | "skipped";
|
|
1060
|
+
detail?: string | undefined;
|
|
1061
|
+
}[];
|
|
1062
|
+
concerns: {
|
|
1063
|
+
title: string;
|
|
1064
|
+
detail: string;
|
|
1065
|
+
severity: "critical" | "high" | "low" | "medium";
|
|
1066
|
+
}[];
|
|
1067
|
+
environment?: "ephemeral" | "local" | undefined;
|
|
1068
|
+
screenshots?: {
|
|
1069
|
+
view: string;
|
|
1070
|
+
artifactId: string;
|
|
1071
|
+
hash?: string | undefined;
|
|
1072
|
+
width?: number | undefined;
|
|
1073
|
+
height?: number | undefined;
|
|
1074
|
+
referenceArtifactId?: string | undefined;
|
|
1075
|
+
}[] | undefined;
|
|
1076
|
+
abort?: {
|
|
1077
|
+
reason: string;
|
|
1078
|
+
} | null | undefined;
|
|
1079
|
+
}>]>, undefined>, undefined>;
|
|
1080
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1081
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
1082
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1083
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
1084
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1085
|
+
readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1086
|
+
readonly title: v.StringSchema<undefined>;
|
|
1087
|
+
readonly detail: v.StringSchema<undefined>;
|
|
1088
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
1089
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1090
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
1091
|
+
readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1092
|
+
readonly started: v.BooleanSchema<undefined>;
|
|
1093
|
+
readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1094
|
+
readonly at: v.NumberSchema<undefined>;
|
|
1095
|
+
readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1096
|
+
readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1097
|
+
readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
945
1098
|
}, undefined>, undefined>, undefined>;
|
|
946
1099
|
}, undefined>, undefined>, undefined>;
|
|
947
1100
|
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
@@ -1007,7 +1160,12 @@ export declare const getWorkspaceContract: {
|
|
|
1007
1160
|
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1008
1161
|
}, undefined>, undefined>, undefined>;
|
|
1009
1162
|
}, undefined>, undefined>;
|
|
1010
|
-
readonly
|
|
1163
|
+
readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1164
|
+
readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
|
|
1165
|
+
readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1166
|
+
readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1167
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1168
|
+
}, undefined>, undefined>, undefined>;
|
|
1011
1169
|
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
1012
1170
|
readonly id: v.StringSchema<undefined>;
|
|
1013
1171
|
readonly question: v.StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;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