@bryan-thompson/inspector-assessment-cli 1.40.0 → 1.40.1
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.
|
@@ -388,7 +388,10 @@ describe("Module Name Validation", () => {
|
|
|
388
388
|
const VALID_MODULE_NAMES = [
|
|
389
389
|
"functionality",
|
|
390
390
|
"security",
|
|
391
|
+
"documentation",
|
|
391
392
|
"errorHandling",
|
|
393
|
+
"usability",
|
|
394
|
+
"mcpSpecCompliance", // deprecated, use protocolCompliance
|
|
392
395
|
"protocolCompliance",
|
|
393
396
|
"aupCompliance",
|
|
394
397
|
"toolAnnotations",
|
|
@@ -399,9 +402,12 @@ describe("Module Name Validation", () => {
|
|
|
399
402
|
"resources",
|
|
400
403
|
"prompts",
|
|
401
404
|
"crossCapability",
|
|
405
|
+
"protocolConformance", // deprecated, use protocolCompliance
|
|
402
406
|
"developerExperience",
|
|
403
407
|
"portability",
|
|
404
408
|
"externalAPIScanner",
|
|
409
|
+
"fileModularization",
|
|
410
|
+
"conformance",
|
|
405
411
|
];
|
|
406
412
|
function validateModuleNames(input) {
|
|
407
413
|
const names = input
|
|
@@ -91,16 +91,22 @@ describe("cli-parserSchemas", () => {
|
|
|
91
91
|
"prompts",
|
|
92
92
|
"crossCapability",
|
|
93
93
|
"protocolConformance",
|
|
94
|
+
// New unified modules (v1.25.0+)
|
|
95
|
+
"protocolCompliance",
|
|
96
|
+
"developerExperience",
|
|
97
|
+
// Quality tier modules (v1.40.0+)
|
|
98
|
+
"fileModularization",
|
|
99
|
+
"conformance",
|
|
94
100
|
];
|
|
95
101
|
describe("valid modules", () => {
|
|
96
|
-
test("accepts all
|
|
102
|
+
test("accepts all 22 valid module names", () => {
|
|
97
103
|
for (const module of validModules) {
|
|
98
104
|
const result = AssessmentModuleNameSchema.safeParse(module);
|
|
99
105
|
expect(result.success).toBe(true);
|
|
100
106
|
}
|
|
101
107
|
});
|
|
102
|
-
test("count of valid modules is
|
|
103
|
-
expect(validModules.length).toBe(
|
|
108
|
+
test("count of valid modules is 22", () => {
|
|
109
|
+
expect(validModules.length).toBe(22);
|
|
104
110
|
});
|
|
105
111
|
});
|
|
106
112
|
describe("invalid modules", () => {
|
|
@@ -45,6 +45,12 @@ export const AssessmentModuleNameSchema = z.enum([
|
|
|
45
45
|
"prompts",
|
|
46
46
|
"crossCapability",
|
|
47
47
|
"protocolConformance",
|
|
48
|
+
// New unified modules (v1.25.0+)
|
|
49
|
+
"protocolCompliance",
|
|
50
|
+
"developerExperience",
|
|
51
|
+
// Quality tier modules (v1.40.0+)
|
|
52
|
+
"fileModularization",
|
|
53
|
+
"conformance",
|
|
48
54
|
]);
|
|
49
55
|
// ============================================================================
|
|
50
56
|
// Server Configuration Schema
|
package/package.json
CHANGED