@bryan-thompson/inspector-assessment-cli 1.20.12 ā 1.21.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.
- package/build/assess-full.js +20 -18
- package/package.json +1 -1
package/build/assess-full.js
CHANGED
|
@@ -18,7 +18,7 @@ import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js";
|
|
|
18
18
|
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
|
|
19
19
|
// Import from local client lib (will use package exports when published)
|
|
20
20
|
import { AssessmentOrchestrator, } from "../../client/lib/services/assessment/AssessmentOrchestrator.js";
|
|
21
|
-
import { DEFAULT_ASSESSMENT_CONFIG, } from "../../client/lib/lib/assessmentTypes.js";
|
|
21
|
+
import { DEFAULT_ASSESSMENT_CONFIG, ASSESSMENT_CATEGORY_METADATA, } from "../../client/lib/lib/assessmentTypes.js";
|
|
22
22
|
import { FULL_CLAUDE_CODE_CONFIG } from "../../client/lib/services/assessment/lib/claudeCodeBridge.js";
|
|
23
23
|
import { createFormatter, } from "../../client/lib/lib/reportFormatters/index.js";
|
|
24
24
|
import { generatePolicyComplianceReport } from "../../client/lib/services/assessment/PolicyComplianceGenerator.js";
|
|
@@ -666,30 +666,32 @@ function displaySummary(results) {
|
|
|
666
666
|
console.log("\nš MODULE STATUS:");
|
|
667
667
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
668
668
|
const modules = [
|
|
669
|
-
["Functionality", functionality],
|
|
670
|
-
["Security", security],
|
|
671
|
-
["Documentation", documentation],
|
|
672
|
-
["Error Handling", errorHandling],
|
|
673
|
-
["Usability", usability],
|
|
674
|
-
["MCP Spec Compliance", mcpSpecCompliance],
|
|
675
|
-
["AUP Compliance", aupCompliance],
|
|
676
|
-
["Tool Annotations", toolAnnotations],
|
|
677
|
-
["Prohibited Libraries", prohibitedLibraries],
|
|
678
|
-
["Manifest Validation", manifestValidation],
|
|
679
|
-
["Portability", portability],
|
|
680
|
-
["Temporal", temporal],
|
|
681
|
-
["Resources", resources],
|
|
682
|
-
["Prompts", prompts],
|
|
683
|
-
["Cross-Capability", crossCapability],
|
|
669
|
+
["Functionality", functionality, "functionality"],
|
|
670
|
+
["Security", security, "security"],
|
|
671
|
+
["Documentation", documentation, "documentation"],
|
|
672
|
+
["Error Handling", errorHandling, "errorHandling"],
|
|
673
|
+
["Usability", usability, "usability"],
|
|
674
|
+
["MCP Spec Compliance", mcpSpecCompliance, "mcpSpecCompliance"],
|
|
675
|
+
["AUP Compliance", aupCompliance, "aupCompliance"],
|
|
676
|
+
["Tool Annotations", toolAnnotations, "toolAnnotations"],
|
|
677
|
+
["Prohibited Libraries", prohibitedLibraries, "prohibitedLibraries"],
|
|
678
|
+
["Manifest Validation", manifestValidation, "manifestValidation"],
|
|
679
|
+
["Portability", portability, "portability"],
|
|
680
|
+
["Temporal", temporal, "temporal"],
|
|
681
|
+
["Resources", resources, "resources"],
|
|
682
|
+
["Prompts", prompts, "prompts"],
|
|
683
|
+
["Cross-Capability", crossCapability, "crossCapability"],
|
|
684
684
|
];
|
|
685
|
-
for (const [name, module] of modules) {
|
|
685
|
+
for (const [name, module, categoryKey] of modules) {
|
|
686
686
|
if (module) {
|
|
687
|
+
const metadata = ASSESSMENT_CATEGORY_METADATA[categoryKey];
|
|
688
|
+
const optionalMarker = metadata?.tier === "optional" ? " (optional)" : "";
|
|
687
689
|
const icon = module.status === "PASS"
|
|
688
690
|
? "ā
"
|
|
689
691
|
: module.status === "FAIL"
|
|
690
692
|
? "ā"
|
|
691
693
|
: "ā ļø";
|
|
692
|
-
console.log(` ${icon} ${name}: ${module.status}`);
|
|
694
|
+
console.log(` ${icon} ${name}${optionalMarker}: ${module.status}`);
|
|
693
695
|
}
|
|
694
696
|
}
|
|
695
697
|
console.log("\nš KEY FINDINGS:");
|
package/package.json
CHANGED