@nolans01/agent-validator 0.1.0 → 0.2.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 +117 -2
- package/dist/cli.js +596 -134
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +545 -110
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,11 +16,14 @@ interface ComplexityThresholds {
|
|
|
16
16
|
interface SecurityConfig {
|
|
17
17
|
semgrepRules: string[];
|
|
18
18
|
gitleaksEnabled: boolean;
|
|
19
|
+
brakemanEnabled?: boolean;
|
|
19
20
|
}
|
|
20
21
|
interface TypeSafetyConfig {
|
|
21
22
|
strict: boolean;
|
|
22
23
|
mypyEnabled: boolean;
|
|
23
24
|
tsconfigPath?: string;
|
|
25
|
+
rubySyntaxEnabled?: boolean;
|
|
26
|
+
railsZeitwerkEnabled?: boolean;
|
|
24
27
|
}
|
|
25
28
|
interface ArchitectureConfig {
|
|
26
29
|
madgeEnabled: boolean;
|
|
@@ -37,6 +40,8 @@ interface TestQualityConfig {
|
|
|
37
40
|
mutationScoreThreshold: number;
|
|
38
41
|
timeout: number;
|
|
39
42
|
maxSurvivorFindings: number;
|
|
43
|
+
testCommand?: string;
|
|
44
|
+
mutantUsage?: 'opensource' | 'commercial';
|
|
40
45
|
}
|
|
41
46
|
interface ProfileConfig {
|
|
42
47
|
name: string;
|
|
@@ -95,6 +100,10 @@ interface ValidateOptions {
|
|
|
95
100
|
profile?: string;
|
|
96
101
|
gates?: string[];
|
|
97
102
|
workdir?: string;
|
|
103
|
+
exclude?: string[];
|
|
104
|
+
testCommand?: string;
|
|
105
|
+
testTimeout?: number;
|
|
106
|
+
mutantUsage?: 'opensource' | 'commercial';
|
|
98
107
|
}
|
|
99
108
|
interface ValidationReport {
|
|
100
109
|
status: 'pass' | 'fail' | 'warn';
|