ccqa 1.51.0 → 1.52.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/README.md +11 -4
- package/dist/bin/ccqa.mjs +22449 -13372
- package/dist/evidence-constants-BufWx8Bt.cjs +59 -0
- package/dist/hub-client/index.cjs +434 -0
- package/dist/hub-client/index.d.cts +1376 -0
- package/dist/hub-client/index.d.mts +28 -4
- package/dist/package.json +49 -9
- package/dist/runtime/judge.cjs +1307 -0
- package/dist/runtime/judge.d.cts +68 -0
- package/dist/runtime/judge.d.mts +24 -2
- package/dist/runtime/judge.mjs +1229 -3
- package/dist/runtime/step-evidence.cjs +106 -0
- package/dist/runtime/step-evidence.d.cts +53 -0
- package/dist/runtime/step-evidence.mjs +1 -1
- package/dist/runtime/test-helpers.cjs +461 -0
- package/dist/runtime/test-helpers.d.cts +39 -0
- package/dist/runtime/test-helpers.mjs +134 -3
- package/package.json +49 -9
- package/dist/diagnose-CZms9Cer.mjs +0 -2432
- package/dist/spawn-ab-CR_Sr7wh.mjs +0 -199
- /package/dist/{evidence-constants-Cm_S_5od.mjs → evidence-constants-C425F7ZG.mjs} +0 -0
|
@@ -43,12 +43,16 @@ declare const RunSchema: z.ZodObject<{
|
|
|
43
43
|
specs: z.ZodNumber;
|
|
44
44
|
testDrift: z.ZodNumber;
|
|
45
45
|
specChange: z.ZodNumber;
|
|
46
|
+
productBug: z.ZodDefault<z.ZodNumber>;
|
|
47
|
+
environment: z.ZodDefault<z.ZodNumber>;
|
|
46
48
|
unknown: z.ZodNumber;
|
|
47
49
|
}, z.core.$strip>>>;
|
|
48
50
|
gradedDrift: z.ZodOptional<z.ZodObject<{
|
|
49
51
|
specs: z.ZodNumber;
|
|
50
52
|
testDrift: z.ZodNumber;
|
|
51
53
|
specChange: z.ZodNumber;
|
|
54
|
+
productBug: z.ZodDefault<z.ZodNumber>;
|
|
55
|
+
environment: z.ZodDefault<z.ZodNumber>;
|
|
52
56
|
unknown: z.ZodNumber;
|
|
53
57
|
noDrift: z.ZodNumber;
|
|
54
58
|
graded: z.ZodNumber;
|
|
@@ -248,6 +252,8 @@ declare const AuditDismissalResponseSchema: z.ZodObject<{
|
|
|
248
252
|
label: z.ZodEnum<{
|
|
249
253
|
TEST_DRIFT: "TEST_DRIFT";
|
|
250
254
|
SPEC_CHANGE: "SPEC_CHANGE";
|
|
255
|
+
PRODUCT_BUG: "PRODUCT_BUG";
|
|
256
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
251
257
|
UNKNOWN: "UNKNOWN";
|
|
252
258
|
}>;
|
|
253
259
|
headline: z.ZodString;
|
|
@@ -264,6 +270,8 @@ declare const AuditDismissalsResponseSchema: z.ZodObject<{
|
|
|
264
270
|
label: z.ZodEnum<{
|
|
265
271
|
TEST_DRIFT: "TEST_DRIFT";
|
|
266
272
|
SPEC_CHANGE: "SPEC_CHANGE";
|
|
273
|
+
PRODUCT_BUG: "PRODUCT_BUG";
|
|
274
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
267
275
|
UNKNOWN: "UNKNOWN";
|
|
268
276
|
}>;
|
|
269
277
|
headline: z.ZodString;
|
|
@@ -344,6 +352,8 @@ declare const RerunReportSchema: z.ZodObject<{
|
|
|
344
352
|
label: z.ZodEnum<{
|
|
345
353
|
TEST_DRIFT: "TEST_DRIFT";
|
|
346
354
|
SPEC_CHANGE: "SPEC_CHANGE";
|
|
355
|
+
PRODUCT_BUG: "PRODUCT_BUG";
|
|
356
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
347
357
|
UNKNOWN: "UNKNOWN";
|
|
348
358
|
}>;
|
|
349
359
|
headline: z.ZodString;
|
|
@@ -480,6 +490,8 @@ declare const DriftLedgerResponseSchema: z.ZodObject<{
|
|
|
480
490
|
label: z.ZodNullable<z.ZodEnum<{
|
|
481
491
|
TEST_DRIFT: "TEST_DRIFT";
|
|
482
492
|
SPEC_CHANGE: "SPEC_CHANGE";
|
|
493
|
+
PRODUCT_BUG: "PRODUCT_BUG";
|
|
494
|
+
ENVIRONMENT: "ENVIRONMENT";
|
|
483
495
|
UNKNOWN: "UNKNOWN";
|
|
484
496
|
}>>;
|
|
485
497
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
@@ -687,16 +699,20 @@ declare const ReportSpecResultSchema: z.ZodObject<{
|
|
|
687
699
|
evidence: z.ZodArray<z.ZodObject<{
|
|
688
700
|
file: z.ZodOptional<z.ZodString>;
|
|
689
701
|
detail: z.ZodString;
|
|
702
|
+
citation: z.ZodOptional<z.ZodEnum<{
|
|
703
|
+
corrected: "corrected";
|
|
704
|
+
unverified: "unverified";
|
|
705
|
+
}>>;
|
|
690
706
|
}, z.core.$strip>>;
|
|
691
707
|
reasoning: z.ZodString;
|
|
692
708
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
693
709
|
spec: "spec";
|
|
694
710
|
generated: "generated";
|
|
695
711
|
}>>;
|
|
696
|
-
specChangeKind: z.ZodOptional<z.ZodEnum<{
|
|
712
|
+
specChangeKind: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
697
713
|
FEATURE_REMOVED: "FEATURE_REMOVED";
|
|
698
714
|
BEHAVIOUR_CHANGED: "BEHAVIOUR_CHANGED";
|
|
699
|
-
}
|
|
715
|
+
}>>>;
|
|
700
716
|
}, z.core.$strip>>;
|
|
701
717
|
analysisSkipped: z.ZodNullable<z.ZodString>;
|
|
702
718
|
rerun: z.ZodOptional<z.ZodObject<{
|
|
@@ -758,6 +774,8 @@ declare const ReportSpecResultSchema: z.ZodObject<{
|
|
|
758
774
|
unmappedRanges: z.ZodNumber;
|
|
759
775
|
outsideProject: z.ZodNumber;
|
|
760
776
|
unresolvedSources: z.ZodNumber;
|
|
777
|
+
outsideProjectSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
778
|
+
unresolvedSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
761
779
|
uninstrumentedFiles: z.ZodNumber;
|
|
762
780
|
uninstrumentedProcesses: z.ZodNumber;
|
|
763
781
|
droppedPushes: z.ZodNumber;
|
|
@@ -903,16 +921,20 @@ declare const RunReportDataSchema: z.ZodObject<{
|
|
|
903
921
|
evidence: z.ZodArray<z.ZodObject<{
|
|
904
922
|
file: z.ZodOptional<z.ZodString>;
|
|
905
923
|
detail: z.ZodString;
|
|
924
|
+
citation: z.ZodOptional<z.ZodEnum<{
|
|
925
|
+
corrected: "corrected";
|
|
926
|
+
unverified: "unverified";
|
|
927
|
+
}>>;
|
|
906
928
|
}, z.core.$strip>>;
|
|
907
929
|
reasoning: z.ZodString;
|
|
908
930
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
909
931
|
spec: "spec";
|
|
910
932
|
generated: "generated";
|
|
911
933
|
}>>;
|
|
912
|
-
specChangeKind: z.ZodOptional<z.ZodEnum<{
|
|
934
|
+
specChangeKind: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
913
935
|
FEATURE_REMOVED: "FEATURE_REMOVED";
|
|
914
936
|
BEHAVIOUR_CHANGED: "BEHAVIOUR_CHANGED";
|
|
915
|
-
}
|
|
937
|
+
}>>>;
|
|
916
938
|
}, z.core.$strip>>;
|
|
917
939
|
analysisSkipped: z.ZodNullable<z.ZodString>;
|
|
918
940
|
rerun: z.ZodOptional<z.ZodObject<{
|
|
@@ -974,6 +996,8 @@ declare const RunReportDataSchema: z.ZodObject<{
|
|
|
974
996
|
unmappedRanges: z.ZodNumber;
|
|
975
997
|
outsideProject: z.ZodNumber;
|
|
976
998
|
unresolvedSources: z.ZodNumber;
|
|
999
|
+
outsideProjectSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1000
|
+
unresolvedSamples: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
977
1001
|
uninstrumentedFiles: z.ZodNumber;
|
|
978
1002
|
uninstrumentedProcesses: z.ZodNumber;
|
|
979
1003
|
droppedPushes: z.ZodNumber;
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccqa",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.52.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Browser test recorder powered by Claude Code and agent-browser",
|
|
6
6
|
"repository": {
|
|
@@ -16,20 +16,60 @@
|
|
|
16
16
|
},
|
|
17
17
|
"exports": {
|
|
18
18
|
"./test-helpers": {
|
|
19
|
-
"
|
|
20
|
-
|
|
19
|
+
"import": {
|
|
20
|
+
"types": "./dist/runtime/test-helpers.d.mts",
|
|
21
|
+
"default": "./dist/runtime/test-helpers.mjs"
|
|
22
|
+
},
|
|
23
|
+
"require": {
|
|
24
|
+
"types": "./dist/runtime/test-helpers.d.cts",
|
|
25
|
+
"default": "./dist/runtime/test-helpers.cjs"
|
|
26
|
+
}
|
|
21
27
|
},
|
|
22
28
|
"./step-evidence": {
|
|
23
|
-
"
|
|
24
|
-
|
|
29
|
+
"import": {
|
|
30
|
+
"types": "./dist/runtime/step-evidence.d.mts",
|
|
31
|
+
"default": "./dist/runtime/step-evidence.mjs"
|
|
32
|
+
},
|
|
33
|
+
"require": {
|
|
34
|
+
"types": "./dist/runtime/step-evidence.d.cts",
|
|
35
|
+
"default": "./dist/runtime/step-evidence.cjs"
|
|
36
|
+
}
|
|
25
37
|
},
|
|
26
38
|
"./hub-client": {
|
|
27
|
-
"
|
|
28
|
-
|
|
39
|
+
"import": {
|
|
40
|
+
"types": "./dist/hub-client/index.d.mts",
|
|
41
|
+
"default": "./dist/hub-client/index.mjs"
|
|
42
|
+
},
|
|
43
|
+
"require": {
|
|
44
|
+
"types": "./dist/hub-client/index.d.cts",
|
|
45
|
+
"default": "./dist/hub-client/index.cjs"
|
|
46
|
+
}
|
|
29
47
|
},
|
|
30
48
|
"./judge": {
|
|
31
|
-
"
|
|
32
|
-
|
|
49
|
+
"import": {
|
|
50
|
+
"types": "./dist/runtime/judge.d.mts",
|
|
51
|
+
"default": "./dist/runtime/judge.mjs"
|
|
52
|
+
},
|
|
53
|
+
"require": {
|
|
54
|
+
"types": "./dist/runtime/judge.d.cts",
|
|
55
|
+
"default": "./dist/runtime/judge.cjs"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"typesVersions": {
|
|
60
|
+
"*": {
|
|
61
|
+
"test-helpers": [
|
|
62
|
+
"dist/runtime/test-helpers.d.mts"
|
|
63
|
+
],
|
|
64
|
+
"step-evidence": [
|
|
65
|
+
"dist/runtime/step-evidence.d.mts"
|
|
66
|
+
],
|
|
67
|
+
"hub-client": [
|
|
68
|
+
"dist/hub-client/index.d.mts"
|
|
69
|
+
],
|
|
70
|
+
"judge": [
|
|
71
|
+
"dist/runtime/judge.d.mts"
|
|
72
|
+
]
|
|
33
73
|
}
|
|
34
74
|
},
|
|
35
75
|
"files": [
|