@bryan-thompson/inspector-assessment-cli 1.21.0 ā 1.21.2
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 +23 -19
- 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";
|
|
@@ -654,7 +654,7 @@ function saveResults(serverName, results, options) {
|
|
|
654
654
|
function displaySummary(results) {
|
|
655
655
|
const { overallStatus, summary, totalTestsRun, executionTime,
|
|
656
656
|
// Destructuring order matches display order below
|
|
657
|
-
functionality, security, documentation, errorHandling, usability, mcpSpecCompliance, aupCompliance, toolAnnotations, prohibitedLibraries, manifestValidation, portability, temporal, resources, prompts, crossCapability, } = results;
|
|
657
|
+
functionality, security, documentation, errorHandling, usability, mcpSpecCompliance, aupCompliance, toolAnnotations, prohibitedLibraries, manifestValidation, portability, externalAPIScanner, authentication, temporal, resources, prompts, crossCapability, } = results;
|
|
658
658
|
console.log("\n" + "=".repeat(70));
|
|
659
659
|
console.log("FULL ASSESSMENT RESULTS");
|
|
660
660
|
console.log("=".repeat(70));
|
|
@@ -666,30 +666,34 @@ 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
|
-
["
|
|
681
|
-
["
|
|
682
|
-
["
|
|
683
|
-
["
|
|
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
|
+
["External API Scanner", externalAPIScanner, "externalAPIScanner"],
|
|
681
|
+
["Authentication", authentication, "authentication"],
|
|
682
|
+
["Temporal", temporal, "temporal"],
|
|
683
|
+
["Resources", resources, "resources"],
|
|
684
|
+
["Prompts", prompts, "prompts"],
|
|
685
|
+
["Cross-Capability", crossCapability, "crossCapability"],
|
|
684
686
|
];
|
|
685
|
-
for (const [name, module] of modules) {
|
|
687
|
+
for (const [name, module, categoryKey] of modules) {
|
|
686
688
|
if (module) {
|
|
689
|
+
const metadata = ASSESSMENT_CATEGORY_METADATA[categoryKey];
|
|
690
|
+
const optionalMarker = metadata?.tier === "optional" ? " (optional)" : "";
|
|
687
691
|
const icon = module.status === "PASS"
|
|
688
692
|
? "ā
"
|
|
689
693
|
: module.status === "FAIL"
|
|
690
694
|
? "ā"
|
|
691
695
|
: "ā ļø";
|
|
692
|
-
console.log(` ${icon} ${name}: ${module.status}`);
|
|
696
|
+
console.log(` ${icon} ${name}${optionalMarker}: ${module.status}`);
|
|
693
697
|
}
|
|
694
698
|
}
|
|
695
699
|
console.log("\nš KEY FINDINGS:");
|
package/package.json
CHANGED