@cat-factory/contracts 0.52.0 → 0.53.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.
@@ -1 +1 @@
1
- {"version":3,"file":"human-test.d.ts","sourceRoot":"","sources":["../../src/routes/human-test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAc3E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
@@ -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,7 +120,73 @@ 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
- }, 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>;
124
190
  }, undefined>, undefined>, undefined>;
125
191
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
126
192
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -185,7 +251,12 @@ export declare const approveVisualConfirmContract: {
185
251
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
186
252
  }, undefined>, undefined>, undefined>;
187
253
  }, undefined>, undefined>;
188
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
254
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
255
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
256
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
257
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
258
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
259
+ }, undefined>, undefined>, undefined>;
189
260
  readonly decision: v.NullableSchema<v.ObjectSchema<{
190
261
  readonly id: v.StringSchema<undefined>;
191
262
  readonly question: v.StringSchema<undefined>;
@@ -416,7 +487,7 @@ export declare const requestVisualConfirmFixContract: {
416
487
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
417
488
  readonly attempts: v.NumberSchema<undefined>;
418
489
  readonly maxAttempts: v.NumberSchema<undefined>;
419
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
490
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
420
491
  readonly greenlight: v.BooleanSchema<undefined>;
421
492
  readonly summary: v.StringSchema<undefined>;
422
493
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -439,7 +510,73 @@ export declare const requestVisualConfirmFixContract: {
439
510
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
440
511
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
441
512
  }, undefined>, undefined>, undefined>;
442
- }, undefined>, undefined>, undefined>;
513
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
514
+ readonly reason: v.StringSchema<undefined>;
515
+ }, undefined>, undefined>, undefined>;
516
+ }, undefined>, v.TransformAction<{
517
+ greenlight: boolean;
518
+ summary: string;
519
+ tested: string[];
520
+ outcomes: {
521
+ name: string;
522
+ status: "failed" | "passed" | "skipped";
523
+ detail?: string | undefined;
524
+ }[];
525
+ concerns: {
526
+ title: string;
527
+ detail: string;
528
+ severity: "critical" | "high" | "low" | "medium";
529
+ }[];
530
+ environment?: "ephemeral" | "local" | undefined;
531
+ screenshots?: {
532
+ view: string;
533
+ artifactId: string;
534
+ hash?: string | undefined;
535
+ width?: number | undefined;
536
+ height?: number | undefined;
537
+ referenceArtifactId?: string | undefined;
538
+ }[] | undefined;
539
+ abort?: {
540
+ reason: string;
541
+ } | null | undefined;
542
+ }, {
543
+ greenlight: boolean;
544
+ summary: string;
545
+ tested: string[];
546
+ outcomes: {
547
+ name: string;
548
+ status: "failed" | "passed" | "skipped";
549
+ detail?: string | undefined;
550
+ }[];
551
+ concerns: {
552
+ title: string;
553
+ detail: string;
554
+ severity: "critical" | "high" | "low" | "medium";
555
+ }[];
556
+ environment?: "ephemeral" | "local" | undefined;
557
+ screenshots?: {
558
+ view: string;
559
+ artifactId: string;
560
+ hash?: string | undefined;
561
+ width?: number | undefined;
562
+ height?: number | undefined;
563
+ referenceArtifactId?: string | undefined;
564
+ }[] | undefined;
565
+ abort?: {
566
+ reason: string;
567
+ } | null | undefined;
568
+ }>]>, undefined>, undefined>;
569
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
570
+ readonly attempt: v.NumberSchema<undefined>;
571
+ readonly at: v.NumberSchema<undefined>;
572
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
573
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
574
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
575
+ readonly title: v.StringSchema<undefined>;
576
+ readonly detail: v.StringSchema<undefined>;
577
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
578
+ }, undefined>, undefined>, undefined>, undefined>;
579
+ }, undefined>, undefined>, undefined>, undefined>;
443
580
  }, undefined>, undefined>, undefined>;
444
581
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
445
582
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -504,7 +641,12 @@ export declare const requestVisualConfirmFixContract: {
504
641
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
505
642
  }, undefined>, undefined>, undefined>;
506
643
  }, undefined>, undefined>;
507
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
644
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
645
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
646
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
647
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
648
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
649
+ }, undefined>, undefined>, undefined>;
508
650
  readonly decision: v.NullableSchema<v.ObjectSchema<{
509
651
  readonly id: v.StringSchema<undefined>;
510
652
  readonly question: v.StringSchema<undefined>;
@@ -733,7 +875,7 @@ export declare const recaptureVisualConfirmContract: {
733
875
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
734
876
  readonly attempts: v.NumberSchema<undefined>;
735
877
  readonly maxAttempts: v.NumberSchema<undefined>;
736
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
878
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
737
879
  readonly greenlight: v.BooleanSchema<undefined>;
738
880
  readonly summary: v.StringSchema<undefined>;
739
881
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -756,7 +898,73 @@ export declare const recaptureVisualConfirmContract: {
756
898
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
757
899
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
758
900
  }, undefined>, undefined>, undefined>;
759
- }, undefined>, undefined>, undefined>;
901
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
902
+ readonly reason: v.StringSchema<undefined>;
903
+ }, undefined>, undefined>, undefined>;
904
+ }, undefined>, v.TransformAction<{
905
+ greenlight: boolean;
906
+ summary: string;
907
+ tested: string[];
908
+ outcomes: {
909
+ name: string;
910
+ status: "failed" | "passed" | "skipped";
911
+ detail?: string | undefined;
912
+ }[];
913
+ concerns: {
914
+ title: string;
915
+ detail: string;
916
+ severity: "critical" | "high" | "low" | "medium";
917
+ }[];
918
+ environment?: "ephemeral" | "local" | undefined;
919
+ screenshots?: {
920
+ view: string;
921
+ artifactId: string;
922
+ hash?: string | undefined;
923
+ width?: number | undefined;
924
+ height?: number | undefined;
925
+ referenceArtifactId?: string | undefined;
926
+ }[] | undefined;
927
+ abort?: {
928
+ reason: string;
929
+ } | null | undefined;
930
+ }, {
931
+ greenlight: boolean;
932
+ summary: string;
933
+ tested: string[];
934
+ outcomes: {
935
+ name: string;
936
+ status: "failed" | "passed" | "skipped";
937
+ detail?: string | undefined;
938
+ }[];
939
+ concerns: {
940
+ title: string;
941
+ detail: string;
942
+ severity: "critical" | "high" | "low" | "medium";
943
+ }[];
944
+ environment?: "ephemeral" | "local" | undefined;
945
+ screenshots?: {
946
+ view: string;
947
+ artifactId: string;
948
+ hash?: string | undefined;
949
+ width?: number | undefined;
950
+ height?: number | undefined;
951
+ referenceArtifactId?: string | undefined;
952
+ }[] | undefined;
953
+ abort?: {
954
+ reason: string;
955
+ } | null | undefined;
956
+ }>]>, undefined>, undefined>;
957
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
958
+ readonly attempt: v.NumberSchema<undefined>;
959
+ readonly at: v.NumberSchema<undefined>;
960
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
961
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
962
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
963
+ readonly title: v.StringSchema<undefined>;
964
+ readonly detail: v.StringSchema<undefined>;
965
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
966
+ }, undefined>, undefined>, undefined>, undefined>;
967
+ }, undefined>, undefined>, undefined>, undefined>;
760
968
  }, undefined>, undefined>, undefined>;
761
969
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
762
970
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -821,7 +1029,12 @@ export declare const recaptureVisualConfirmContract: {
821
1029
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
822
1030
  }, undefined>, undefined>, undefined>;
823
1031
  }, undefined>, undefined>;
824
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1032
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1033
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
1034
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1035
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1036
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1037
+ }, undefined>, undefined>, undefined>;
825
1038
  readonly decision: v.NullableSchema<v.ObjectSchema<{
826
1039
  readonly id: v.StringSchema<undefined>;
827
1040
  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;;;;;;;;;;;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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,7 +266,73 @@ 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
- }, 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>;
270
336
  }, undefined>, undefined>, undefined>;
271
337
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
272
338
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -331,7 +397,12 @@ export declare const createWorkspaceContract: {
331
397
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
332
398
  }, undefined>, undefined>, undefined>;
333
399
  }, undefined>, undefined>;
334
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
400
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
401
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
402
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
403
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
404
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
405
+ }, undefined>, undefined>, undefined>;
335
406
  readonly decision: v.NullableSchema<v.ObjectSchema<{
336
407
  readonly id: v.StringSchema<undefined>;
337
408
  readonly question: v.StringSchema<undefined>;
@@ -919,7 +990,7 @@ export declare const getWorkspaceContract: {
919
990
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
920
991
  readonly attempts: v.NumberSchema<undefined>;
921
992
  readonly maxAttempts: v.NumberSchema<undefined>;
922
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
993
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
923
994
  readonly greenlight: v.BooleanSchema<undefined>;
924
995
  readonly summary: v.StringSchema<undefined>;
925
996
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -942,7 +1013,73 @@ export declare const getWorkspaceContract: {
942
1013
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
943
1014
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
944
1015
  }, undefined>, undefined>, undefined>;
945
- }, undefined>, undefined>, undefined>;
1016
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1017
+ readonly reason: v.StringSchema<undefined>;
1018
+ }, undefined>, undefined>, undefined>;
1019
+ }, undefined>, v.TransformAction<{
1020
+ greenlight: boolean;
1021
+ summary: string;
1022
+ tested: string[];
1023
+ outcomes: {
1024
+ name: string;
1025
+ status: "failed" | "passed" | "skipped";
1026
+ detail?: string | undefined;
1027
+ }[];
1028
+ concerns: {
1029
+ title: string;
1030
+ detail: string;
1031
+ severity: "critical" | "high" | "low" | "medium";
1032
+ }[];
1033
+ environment?: "ephemeral" | "local" | undefined;
1034
+ screenshots?: {
1035
+ view: string;
1036
+ artifactId: string;
1037
+ hash?: string | undefined;
1038
+ width?: number | undefined;
1039
+ height?: number | undefined;
1040
+ referenceArtifactId?: string | undefined;
1041
+ }[] | undefined;
1042
+ abort?: {
1043
+ reason: string;
1044
+ } | null | undefined;
1045
+ }, {
1046
+ greenlight: boolean;
1047
+ summary: string;
1048
+ tested: string[];
1049
+ outcomes: {
1050
+ name: string;
1051
+ status: "failed" | "passed" | "skipped";
1052
+ detail?: string | undefined;
1053
+ }[];
1054
+ concerns: {
1055
+ title: string;
1056
+ detail: string;
1057
+ severity: "critical" | "high" | "low" | "medium";
1058
+ }[];
1059
+ environment?: "ephemeral" | "local" | undefined;
1060
+ screenshots?: {
1061
+ view: string;
1062
+ artifactId: string;
1063
+ hash?: string | undefined;
1064
+ width?: number | undefined;
1065
+ height?: number | undefined;
1066
+ referenceArtifactId?: string | undefined;
1067
+ }[] | undefined;
1068
+ abort?: {
1069
+ reason: string;
1070
+ } | null | undefined;
1071
+ }>]>, undefined>, undefined>;
1072
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1073
+ readonly attempt: v.NumberSchema<undefined>;
1074
+ readonly at: v.NumberSchema<undefined>;
1075
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
1076
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1077
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1078
+ readonly title: v.StringSchema<undefined>;
1079
+ readonly detail: v.StringSchema<undefined>;
1080
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
1081
+ }, undefined>, undefined>, undefined>, undefined>;
1082
+ }, undefined>, undefined>, undefined>, undefined>;
946
1083
  }, undefined>, undefined>, undefined>;
947
1084
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
948
1085
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -1007,7 +1144,12 @@ export declare const getWorkspaceContract: {
1007
1144
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1008
1145
  }, undefined>, undefined>, undefined>;
1009
1146
  }, undefined>, undefined>;
1010
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1147
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1148
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
1149
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1150
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1151
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1152
+ }, undefined>, undefined>, undefined>;
1011
1153
  readonly decision: v.NullableSchema<v.ObjectSchema<{
1012
1154
  readonly id: v.StringSchema<undefined>;
1013
1155
  readonly question: v.StringSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
@@ -175,7 +175,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
175
175
  readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
176
176
  readonly attempts: v.NumberSchema<undefined>;
177
177
  readonly maxAttempts: v.NumberSchema<undefined>;
178
- readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
178
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
179
179
  readonly greenlight: v.BooleanSchema<undefined>;
180
180
  readonly summary: v.StringSchema<undefined>;
181
181
  readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
@@ -198,7 +198,73 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
198
198
  readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
199
199
  readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
200
200
  }, undefined>, undefined>, undefined>;
201
- }, undefined>, undefined>, undefined>;
201
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
202
+ readonly reason: v.StringSchema<undefined>;
203
+ }, undefined>, undefined>, undefined>;
204
+ }, undefined>, v.TransformAction<{
205
+ greenlight: boolean;
206
+ summary: string;
207
+ tested: string[];
208
+ outcomes: {
209
+ name: string;
210
+ status: "failed" | "passed" | "skipped";
211
+ detail?: string | undefined;
212
+ }[];
213
+ concerns: {
214
+ title: string;
215
+ detail: string;
216
+ severity: "critical" | "high" | "low" | "medium";
217
+ }[];
218
+ environment?: "ephemeral" | "local" | undefined;
219
+ screenshots?: {
220
+ view: string;
221
+ artifactId: string;
222
+ hash?: string | undefined;
223
+ width?: number | undefined;
224
+ height?: number | undefined;
225
+ referenceArtifactId?: string | undefined;
226
+ }[] | undefined;
227
+ abort?: {
228
+ reason: string;
229
+ } | null | undefined;
230
+ }, {
231
+ greenlight: boolean;
232
+ summary: string;
233
+ tested: string[];
234
+ outcomes: {
235
+ name: string;
236
+ status: "failed" | "passed" | "skipped";
237
+ detail?: string | undefined;
238
+ }[];
239
+ concerns: {
240
+ title: string;
241
+ detail: string;
242
+ severity: "critical" | "high" | "low" | "medium";
243
+ }[];
244
+ environment?: "ephemeral" | "local" | undefined;
245
+ screenshots?: {
246
+ view: string;
247
+ artifactId: string;
248
+ hash?: string | undefined;
249
+ width?: number | undefined;
250
+ height?: number | undefined;
251
+ referenceArtifactId?: string | undefined;
252
+ }[] | undefined;
253
+ abort?: {
254
+ reason: string;
255
+ } | null | undefined;
256
+ }>]>, undefined>, undefined>;
257
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
258
+ readonly attempt: v.NumberSchema<undefined>;
259
+ readonly at: v.NumberSchema<undefined>;
260
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
261
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
262
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
263
+ readonly title: v.StringSchema<undefined>;
264
+ readonly detail: v.StringSchema<undefined>;
265
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
266
+ }, undefined>, undefined>, undefined>, undefined>;
267
+ }, undefined>, undefined>, undefined>, undefined>;
202
268
  }, undefined>, undefined>, undefined>;
203
269
  readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
204
270
  readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
@@ -263,7 +329,12 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
263
329
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
264
330
  }, undefined>, undefined>, undefined>;
265
331
  }, undefined>, undefined>;
266
- readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
332
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
333
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
334
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
335
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
336
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
337
+ }, undefined>, undefined>, undefined>;
267
338
  readonly decision: v.NullableSchema<v.ObjectSchema<{
268
339
  readonly id: v.StringSchema<undefined>;
269
340
  readonly question: v.StringSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA0B5B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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