@bryan-thompson/inspector-assessment-cli 1.22.13 → 1.22.14

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.
@@ -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, ASSESSMENT_CATEGORY_METADATA, } from "../../client/lib/lib/assessmentTypes.js";
21
+ import { DEFAULT_ASSESSMENT_CONFIG, ASSESSMENT_CATEGORY_METADATA, getAllModulesConfig, } 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";
@@ -333,30 +333,14 @@ function buildConfig(options) {
333
333
  enableExtendedAssessment: options.fullAssessment !== false,
334
334
  parallelTesting: true,
335
335
  testTimeout: 30000,
336
- enableSourceCodeAnalysis: !!options.sourceCodePath,
336
+ enableSourceCodeAnalysis: Boolean(options.sourceCodePath),
337
337
  };
338
338
  if (options.fullAssessment !== false) {
339
- // Start with all modules enabled by default
340
- const allModules = {
341
- functionality: true,
342
- security: true,
343
- documentation: true,
344
- errorHandling: true,
345
- usability: true,
346
- mcpSpecCompliance: true,
347
- aupCompliance: true,
348
- toolAnnotations: true,
349
- prohibitedLibraries: true,
350
- manifestValidation: true,
351
- portability: true,
352
- externalAPIScanner: !!options.sourceCodePath,
353
- temporal: !options.skipTemporal, // Enable by default with --full, skip with --skip-temporal
354
- // New capability assessors - always enabled in full mode
355
- resources: true,
356
- prompts: true,
357
- crossCapability: true,
358
- authentication: true,
359
- };
339
+ // Derive module config from ASSESSMENT_CATEGORY_METADATA (single source of truth)
340
+ const allModules = getAllModulesConfig({
341
+ sourceCodePath: Boolean(options.sourceCodePath),
342
+ skipTemporal: options.skipTemporal,
343
+ });
360
344
  // Apply --only-modules filter (whitelist mode)
361
345
  if (options.onlyModules?.length) {
362
346
  for (const key of Object.keys(allModules)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bryan-thompson/inspector-assessment-cli",
3
- "version": "1.22.13",
3
+ "version": "1.22.14",
4
4
  "description": "CLI for the Enhanced MCP Inspector with assessment capabilities",
5
5
  "license": "MIT",
6
6
  "author": "Bryan Thompson <bryan@triepod.ai>",