@bryan-thompson/inspector-assessment-client 1.39.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.
- package/dist/assets/{OAuthCallback-BHH8kt3r.js → OAuthCallback-BiwCvJ6g.js} +1 -1
- package/dist/assets/{OAuthDebugCallback-CVY_veWc.js → OAuthDebugCallback-CT4hbXKe.js} +1 -1
- package/dist/assets/{index-B0936rrk.js → index-Bh4MnBA_.js} +4 -4
- package/dist/index.html +1 -1
- package/lib/lib/assessment/coreTypes.d.ts +19 -0
- package/lib/lib/assessment/coreTypes.d.ts.map +1 -1
- package/lib/lib/assessment/coreTypes.js +21 -0
- package/lib/services/assessment/registry/AssessorDefinitions.d.ts.map +1 -1
- package/lib/services/assessment/registry/AssessorDefinitions.js +164 -1
- package/lib/services/assessment/registry/types.d.ts +37 -0
- package/lib/services/assessment/registry/types.d.ts.map +1 -1
- package/lib/services/assessment/registry/types.js +14 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useToast, r as reactExports, j as jsxRuntimeExports, p as parseOAuthCallbackParams, g as generateOAuthErrorDescription, S as SESSION_KEYS, I as InspectorOAuthClientProvider, a as auth } from "./index-
|
|
1
|
+
import { u as useToast, r as reactExports, j as jsxRuntimeExports, p as parseOAuthCallbackParams, g as generateOAuthErrorDescription, S as SESSION_KEYS, I as InspectorOAuthClientProvider, a as auth } from "./index-Bh4MnBA_.js";
|
|
2
2
|
const OAuthCallback = ({ onConnect }) => {
|
|
3
3
|
const { toast } = useToast();
|
|
4
4
|
const hasProcessedRef = reactExports.useRef(false);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as reactExports, S as SESSION_KEYS, p as parseOAuthCallbackParams, j as jsxRuntimeExports, g as generateOAuthErrorDescription } from "./index-
|
|
1
|
+
import { r as reactExports, S as SESSION_KEYS, p as parseOAuthCallbackParams, j as jsxRuntimeExports, g as generateOAuthErrorDescription } from "./index-Bh4MnBA_.js";
|
|
2
2
|
const OAuthDebugCallback = ({ onConnect }) => {
|
|
3
3
|
reactExports.useEffect(() => {
|
|
4
4
|
let isProcessed = false;
|
|
@@ -16373,7 +16373,7 @@ object({
|
|
|
16373
16373
|
token_type_hint: string().optional()
|
|
16374
16374
|
}).strip();
|
|
16375
16375
|
const name = "@bryan-thompson/inspector-assessment-client";
|
|
16376
|
-
const version$1 = "1.
|
|
16376
|
+
const version$1 = "1.40.0";
|
|
16377
16377
|
const packageJson = {
|
|
16378
16378
|
name,
|
|
16379
16379
|
version: version$1
|
|
@@ -49456,7 +49456,7 @@ const useTheme = () => {
|
|
|
49456
49456
|
[theme, setThemeWithSideEffect]
|
|
49457
49457
|
);
|
|
49458
49458
|
};
|
|
49459
|
-
const version = "1.
|
|
49459
|
+
const version = "1.40.0";
|
|
49460
49460
|
var [createTooltipContext] = createContextScope("Tooltip", [
|
|
49461
49461
|
createPopperScope
|
|
49462
49462
|
]);
|
|
@@ -52799,13 +52799,13 @@ const App = () => {
|
|
|
52799
52799
|
};
|
|
52800
52800
|
if (window.location.pathname === "/oauth/callback") {
|
|
52801
52801
|
const OAuthCallback = React.lazy(
|
|
52802
|
-
() => __vitePreload(() => import("./OAuthCallback-
|
|
52802
|
+
() => __vitePreload(() => import("./OAuthCallback-BiwCvJ6g.js"), true ? [] : void 0)
|
|
52803
52803
|
);
|
|
52804
52804
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthCallback, { onConnect: onOAuthConnect }) });
|
|
52805
52805
|
}
|
|
52806
52806
|
if (window.location.pathname === "/oauth/callback/debug") {
|
|
52807
52807
|
const OAuthDebugCallback = React.lazy(
|
|
52808
|
-
() => __vitePreload(() => import("./OAuthDebugCallback-
|
|
52808
|
+
() => __vitePreload(() => import("./OAuthDebugCallback-CT4hbXKe.js"), true ? [] : void 0)
|
|
52809
52809
|
);
|
|
52810
52810
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthDebugCallback, { onConnect: onOAuthDebugConnect }) });
|
|
52811
52811
|
}
|
package/dist/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/mcp.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>MCP Inspector</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-Bh4MnBA_.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-BoUA5OL1.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -120,6 +120,25 @@ declare const ASSESSMENT_CATEGORY_METADATA_INTERNAL: {
|
|
|
120
120
|
tier: "core";
|
|
121
121
|
description: string;
|
|
122
122
|
};
|
|
123
|
+
protocolCompliance: {
|
|
124
|
+
tier: "core";
|
|
125
|
+
description: string;
|
|
126
|
+
};
|
|
127
|
+
developerExperience: {
|
|
128
|
+
tier: "optional";
|
|
129
|
+
description: string;
|
|
130
|
+
applicableTo: string;
|
|
131
|
+
};
|
|
132
|
+
fileModularization: {
|
|
133
|
+
tier: "optional";
|
|
134
|
+
description: string;
|
|
135
|
+
applicableTo: string;
|
|
136
|
+
};
|
|
137
|
+
conformance: {
|
|
138
|
+
tier: "optional";
|
|
139
|
+
description: string;
|
|
140
|
+
applicableTo: string;
|
|
141
|
+
};
|
|
123
142
|
};
|
|
124
143
|
/**
|
|
125
144
|
* Type-safe module name derived from ASSESSMENT_CATEGORY_METADATA keys.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coreTypes.d.ts","sourceRoot":"","sources":["../../../src/lib/assessment/coreTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,oDAAoD;AACpD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAC;AAClE,sDAAsD;AACtD,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE1D;;;;GAIG;AACH,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,YAAY,GACZ,oBAAoB,GACpB,SAAS,CAAC;AAEd;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE5D;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEzD;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,sBAAsB,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;GAMG;AACH,QAAA,MAAM,qCAAqC
|
|
1
|
+
{"version":3,"file":"coreTypes.d.ts","sourceRoot":"","sources":["../../../src/lib/assessment/coreTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,oDAAoD;AACpD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAC;AAClE,sDAAsD;AACtD,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE1D;;;;GAIG;AACH,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,YAAY,GACZ,oBAAoB,GACpB,SAAS,CAAC;AAEd;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE5D;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,UAAU,CAAC;AAEzD;;;GAGG;AACH,MAAM,W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AAE,MAAM,CAAC;IAC3B,uBAAuB;IACvB,cAAc,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -80,6 +80,27 @@ const ASSESSMENT_CATEGORY_METADATA_INTERNAL = {
|
|
|
80
80
|
tier: "core",
|
|
81
81
|
description: "MCP protocol conformance",
|
|
82
82
|
},
|
|
83
|
+
// New unified modules (v1.25.0+)
|
|
84
|
+
protocolCompliance: {
|
|
85
|
+
tier: "core",
|
|
86
|
+
description: "MCP protocol compliance (replaces mcpSpecCompliance/protocolConformance)",
|
|
87
|
+
},
|
|
88
|
+
developerExperience: {
|
|
89
|
+
tier: "optional",
|
|
90
|
+
description: "Documentation + usability assessment",
|
|
91
|
+
applicableTo: "Servers with tool descriptions",
|
|
92
|
+
},
|
|
93
|
+
// Quality tier modules (v1.40.0+)
|
|
94
|
+
fileModularization: {
|
|
95
|
+
tier: "optional",
|
|
96
|
+
description: "Code modularization analysis",
|
|
97
|
+
applicableTo: "Servers with source code access",
|
|
98
|
+
},
|
|
99
|
+
conformance: {
|
|
100
|
+
tier: "optional",
|
|
101
|
+
description: "Official MCP conformance tests",
|
|
102
|
+
applicableTo: "HTTP/SSE servers",
|
|
103
|
+
},
|
|
83
104
|
};
|
|
84
105
|
/**
|
|
85
106
|
* Re-export with original name for backward compatibility.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssessorDefinitions.d.ts","sourceRoot":"","sources":["../../../../src/services/assessment/registry/AssessorDefinitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"AssessorDefinitions.d.ts","sourceRoot":"","sources":["../../../../src/services/assessment/registry/AssessorDefinitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,eAAe,EAAgC,MAAM,SAAS,CAAC;AA4DxE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,EAAE,kBAAkB,EAkdpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAEnE,CAAC;AAEF;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,eAAe,GACrB,kBAAkB,EAAE,CAEtB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,eAAe,EAAE,CASpD"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @module assessment/registry/AssessorDefinitions
|
|
9
9
|
* @see GitHub Issue #91
|
|
10
10
|
*/
|
|
11
|
-
import { AssessmentPhase } from "./types.js";
|
|
11
|
+
import { AssessmentPhase, DEFAULT_CONTEXT_REQUIREMENTS } from "./types.js";
|
|
12
12
|
// Core assessor imports
|
|
13
13
|
import { FunctionalityAssessor } from "../modules/FunctionalityAssessor.js";
|
|
14
14
|
import { SecurityAssessor } from "../modules/SecurityAssessor.js";
|
|
@@ -66,6 +66,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
66
66
|
requiresExtended: true,
|
|
67
67
|
supportsClaudeBridge: false,
|
|
68
68
|
estimateTests: estimateTemporalTests,
|
|
69
|
+
contextRequirements: {
|
|
70
|
+
needsTools: true,
|
|
71
|
+
needsCallTool: true,
|
|
72
|
+
needsListTools: true, // For baseline capture before/after
|
|
73
|
+
needsResources: false,
|
|
74
|
+
needsPrompts: false,
|
|
75
|
+
needsSourceCode: false,
|
|
76
|
+
needsManifest: false,
|
|
77
|
+
needsServerInfo: false,
|
|
78
|
+
},
|
|
69
79
|
},
|
|
70
80
|
// ============================================================================
|
|
71
81
|
// Phase 1: CORE - The original 5 assessors
|
|
@@ -83,6 +93,7 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
83
93
|
requiresExtended: false,
|
|
84
94
|
supportsClaudeBridge: false,
|
|
85
95
|
estimateTests: estimateFunctionalityTests,
|
|
96
|
+
contextRequirements: DEFAULT_CONTEXT_REQUIREMENTS, // needsTools + needsCallTool
|
|
86
97
|
},
|
|
87
98
|
{
|
|
88
99
|
id: "security",
|
|
@@ -97,6 +108,7 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
97
108
|
requiresExtended: false,
|
|
98
109
|
supportsClaudeBridge: true, // Supports Claude semantic analysis
|
|
99
110
|
estimateTests: estimateSecurityTests,
|
|
111
|
+
contextRequirements: DEFAULT_CONTEXT_REQUIREMENTS, // needsTools + needsCallTool
|
|
100
112
|
},
|
|
101
113
|
{
|
|
102
114
|
id: "documentation",
|
|
@@ -111,6 +123,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
111
123
|
requiresExtended: false,
|
|
112
124
|
supportsClaudeBridge: false,
|
|
113
125
|
estimateTests: estimateDocumentationTests,
|
|
126
|
+
contextRequirements: {
|
|
127
|
+
needsTools: true,
|
|
128
|
+
needsCallTool: false, // Analyzes tool definitions, doesn't call
|
|
129
|
+
needsListTools: false,
|
|
130
|
+
needsResources: false,
|
|
131
|
+
needsPrompts: false,
|
|
132
|
+
needsSourceCode: false,
|
|
133
|
+
needsManifest: false,
|
|
134
|
+
needsServerInfo: false,
|
|
135
|
+
},
|
|
114
136
|
},
|
|
115
137
|
{
|
|
116
138
|
id: "errorHandling",
|
|
@@ -125,6 +147,7 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
125
147
|
requiresExtended: false,
|
|
126
148
|
supportsClaudeBridge: false,
|
|
127
149
|
estimateTests: estimateErrorHandlingTests,
|
|
150
|
+
contextRequirements: DEFAULT_CONTEXT_REQUIREMENTS, // needsTools + needsCallTool
|
|
128
151
|
},
|
|
129
152
|
{
|
|
130
153
|
id: "usability",
|
|
@@ -139,6 +162,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
139
162
|
requiresExtended: false,
|
|
140
163
|
supportsClaudeBridge: false,
|
|
141
164
|
estimateTests: estimateUsabilityTests,
|
|
165
|
+
contextRequirements: {
|
|
166
|
+
needsTools: true,
|
|
167
|
+
needsCallTool: false, // Analyzes tool definitions
|
|
168
|
+
needsListTools: false,
|
|
169
|
+
needsResources: false,
|
|
170
|
+
needsPrompts: false,
|
|
171
|
+
needsSourceCode: false,
|
|
172
|
+
needsManifest: false,
|
|
173
|
+
needsServerInfo: false,
|
|
174
|
+
},
|
|
142
175
|
},
|
|
143
176
|
// ============================================================================
|
|
144
177
|
// Phase 2: PROTOCOL - Unified protocol compliance
|
|
@@ -158,6 +191,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
158
191
|
requiresExtended: true,
|
|
159
192
|
supportsClaudeBridge: false,
|
|
160
193
|
estimateTests: estimateProtocolComplianceTests,
|
|
194
|
+
contextRequirements: {
|
|
195
|
+
needsTools: true,
|
|
196
|
+
needsCallTool: true,
|
|
197
|
+
needsListTools: false,
|
|
198
|
+
needsResources: false,
|
|
199
|
+
needsPrompts: false,
|
|
200
|
+
needsSourceCode: false,
|
|
201
|
+
needsManifest: false,
|
|
202
|
+
needsServerInfo: true, // Needs server capabilities
|
|
203
|
+
},
|
|
161
204
|
},
|
|
162
205
|
// ============================================================================
|
|
163
206
|
// Phase 3: COMPLIANCE - MCP Directory compliance gap assessors
|
|
@@ -175,6 +218,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
175
218
|
requiresExtended: true,
|
|
176
219
|
supportsClaudeBridge: true, // Supports Claude semantic analysis
|
|
177
220
|
estimateTests: estimateAUPComplianceTests,
|
|
221
|
+
contextRequirements: {
|
|
222
|
+
needsTools: true,
|
|
223
|
+
needsCallTool: false, // Analyzes tool definitions
|
|
224
|
+
needsListTools: false,
|
|
225
|
+
needsResources: false,
|
|
226
|
+
needsPrompts: false,
|
|
227
|
+
needsSourceCode: true, // Optional - enhances analysis
|
|
228
|
+
needsManifest: false,
|
|
229
|
+
needsServerInfo: false,
|
|
230
|
+
},
|
|
178
231
|
},
|
|
179
232
|
{
|
|
180
233
|
id: "toolAnnotations",
|
|
@@ -197,6 +250,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
197
250
|
assessor.setPatterns(compiledPatterns);
|
|
198
251
|
}
|
|
199
252
|
},
|
|
253
|
+
contextRequirements: {
|
|
254
|
+
needsTools: true,
|
|
255
|
+
needsCallTool: false, // Analyzes tool annotations, doesn't call
|
|
256
|
+
needsListTools: false,
|
|
257
|
+
needsResources: false,
|
|
258
|
+
needsPrompts: false,
|
|
259
|
+
needsSourceCode: true, // Optional - enhances detection via source
|
|
260
|
+
needsManifest: false,
|
|
261
|
+
needsServerInfo: false,
|
|
262
|
+
},
|
|
200
263
|
},
|
|
201
264
|
{
|
|
202
265
|
id: "prohibitedLibraries",
|
|
@@ -211,6 +274,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
211
274
|
requiresExtended: true,
|
|
212
275
|
supportsClaudeBridge: false,
|
|
213
276
|
estimateTests: estimateProhibitedLibrariesTests,
|
|
277
|
+
contextRequirements: {
|
|
278
|
+
needsTools: false, // Analyzes source/manifest only
|
|
279
|
+
needsCallTool: false,
|
|
280
|
+
needsListTools: false,
|
|
281
|
+
needsResources: false,
|
|
282
|
+
needsPrompts: false,
|
|
283
|
+
needsSourceCode: true, // Required - scans dependencies
|
|
284
|
+
needsManifest: true, // Required - checks package.json
|
|
285
|
+
needsServerInfo: false,
|
|
286
|
+
},
|
|
214
287
|
},
|
|
215
288
|
{
|
|
216
289
|
id: "manifestValidation",
|
|
@@ -225,6 +298,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
225
298
|
requiresExtended: true,
|
|
226
299
|
supportsClaudeBridge: false,
|
|
227
300
|
estimateTests: estimateManifestValidationTests,
|
|
301
|
+
contextRequirements: {
|
|
302
|
+
needsTools: false, // Validates manifest.json only
|
|
303
|
+
needsCallTool: false,
|
|
304
|
+
needsListTools: false,
|
|
305
|
+
needsResources: false,
|
|
306
|
+
needsPrompts: false,
|
|
307
|
+
needsSourceCode: false,
|
|
308
|
+
needsManifest: true, // Required
|
|
309
|
+
needsServerInfo: false,
|
|
310
|
+
},
|
|
228
311
|
},
|
|
229
312
|
{
|
|
230
313
|
id: "portability",
|
|
@@ -239,6 +322,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
239
322
|
requiresExtended: true,
|
|
240
323
|
supportsClaudeBridge: false,
|
|
241
324
|
estimateTests: estimatePortabilityTests,
|
|
325
|
+
contextRequirements: {
|
|
326
|
+
needsTools: false, // Scans source code only
|
|
327
|
+
needsCallTool: false,
|
|
328
|
+
needsListTools: false,
|
|
329
|
+
needsResources: false,
|
|
330
|
+
needsPrompts: false,
|
|
331
|
+
needsSourceCode: true, // Required - analyzes platform-specific code
|
|
332
|
+
needsManifest: false,
|
|
333
|
+
needsServerInfo: false,
|
|
334
|
+
},
|
|
242
335
|
},
|
|
243
336
|
{
|
|
244
337
|
id: "externalAPIScanner",
|
|
@@ -253,6 +346,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
253
346
|
requiresExtended: true,
|
|
254
347
|
supportsClaudeBridge: false,
|
|
255
348
|
estimateTests: estimateExternalAPIScannerTests,
|
|
349
|
+
contextRequirements: {
|
|
350
|
+
needsTools: false, // Scans source code only
|
|
351
|
+
needsCallTool: false,
|
|
352
|
+
needsListTools: false,
|
|
353
|
+
needsResources: false,
|
|
354
|
+
needsPrompts: false,
|
|
355
|
+
needsSourceCode: true, // Required - detects API calls
|
|
356
|
+
needsManifest: false,
|
|
357
|
+
needsServerInfo: false,
|
|
358
|
+
},
|
|
256
359
|
},
|
|
257
360
|
{
|
|
258
361
|
id: "authentication",
|
|
@@ -267,6 +370,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
267
370
|
requiresExtended: true,
|
|
268
371
|
supportsClaudeBridge: false,
|
|
269
372
|
estimateTests: estimateAuthenticationTests,
|
|
373
|
+
contextRequirements: {
|
|
374
|
+
needsTools: true,
|
|
375
|
+
needsCallTool: false, // Analyzes tool definitions
|
|
376
|
+
needsListTools: false,
|
|
377
|
+
needsResources: false,
|
|
378
|
+
needsPrompts: false,
|
|
379
|
+
needsSourceCode: true, // Optional - enhances detection
|
|
380
|
+
needsManifest: true, // Checks OAuth config in manifest
|
|
381
|
+
needsServerInfo: true, // Checks server auth capabilities
|
|
382
|
+
},
|
|
270
383
|
},
|
|
271
384
|
// ============================================================================
|
|
272
385
|
// Phase 4: CAPABILITY - Resources, Prompts, Cross-capability
|
|
@@ -284,6 +397,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
284
397
|
requiresExtended: true,
|
|
285
398
|
supportsClaudeBridge: false,
|
|
286
399
|
estimateTests: estimateResourceTests,
|
|
400
|
+
contextRequirements: {
|
|
401
|
+
needsTools: false,
|
|
402
|
+
needsCallTool: false,
|
|
403
|
+
needsListTools: false,
|
|
404
|
+
needsResources: true, // Required - tests resources capability
|
|
405
|
+
needsPrompts: false,
|
|
406
|
+
needsSourceCode: false,
|
|
407
|
+
needsManifest: false,
|
|
408
|
+
needsServerInfo: false,
|
|
409
|
+
},
|
|
287
410
|
},
|
|
288
411
|
{
|
|
289
412
|
id: "prompts",
|
|
@@ -298,6 +421,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
298
421
|
requiresExtended: true,
|
|
299
422
|
supportsClaudeBridge: false,
|
|
300
423
|
estimateTests: estimatePromptTests,
|
|
424
|
+
contextRequirements: {
|
|
425
|
+
needsTools: false,
|
|
426
|
+
needsCallTool: false,
|
|
427
|
+
needsListTools: false,
|
|
428
|
+
needsResources: false,
|
|
429
|
+
needsPrompts: true, // Required - tests prompts capability
|
|
430
|
+
needsSourceCode: false,
|
|
431
|
+
needsManifest: false,
|
|
432
|
+
needsServerInfo: false,
|
|
433
|
+
},
|
|
301
434
|
},
|
|
302
435
|
{
|
|
303
436
|
id: "crossCapability",
|
|
@@ -312,6 +445,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
312
445
|
requiresExtended: true,
|
|
313
446
|
supportsClaudeBridge: false,
|
|
314
447
|
estimateTests: estimateCrossCapabilityTests,
|
|
448
|
+
contextRequirements: {
|
|
449
|
+
needsTools: true,
|
|
450
|
+
needsCallTool: true,
|
|
451
|
+
needsListTools: false,
|
|
452
|
+
needsResources: true, // Tests resource→tool chains
|
|
453
|
+
needsPrompts: true, // Tests prompt→tool chains
|
|
454
|
+
needsSourceCode: false,
|
|
455
|
+
needsManifest: false,
|
|
456
|
+
needsServerInfo: false,
|
|
457
|
+
},
|
|
315
458
|
},
|
|
316
459
|
// ============================================================================
|
|
317
460
|
// Phase 5: QUALITY - Code quality and conformance
|
|
@@ -329,6 +472,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
329
472
|
requiresExtended: true,
|
|
330
473
|
supportsClaudeBridge: false,
|
|
331
474
|
estimateTests: estimateFileModularizationTests,
|
|
475
|
+
contextRequirements: {
|
|
476
|
+
needsTools: false, // Analyzes source code structure only
|
|
477
|
+
needsCallTool: false,
|
|
478
|
+
needsListTools: false,
|
|
479
|
+
needsResources: false,
|
|
480
|
+
needsPrompts: false,
|
|
481
|
+
needsSourceCode: true, // Required - analyzes file structure
|
|
482
|
+
needsManifest: false,
|
|
483
|
+
needsServerInfo: false,
|
|
484
|
+
},
|
|
332
485
|
},
|
|
333
486
|
{
|
|
334
487
|
id: "conformance",
|
|
@@ -343,6 +496,16 @@ export const ASSESSOR_DEFINITIONS = [
|
|
|
343
496
|
requiresExtended: true,
|
|
344
497
|
supportsClaudeBridge: false,
|
|
345
498
|
estimateTests: estimateConformanceTests,
|
|
499
|
+
contextRequirements: {
|
|
500
|
+
needsTools: true,
|
|
501
|
+
needsCallTool: true, // Runs conformance protocol tests
|
|
502
|
+
needsListTools: false,
|
|
503
|
+
needsResources: false,
|
|
504
|
+
needsPrompts: false,
|
|
505
|
+
needsSourceCode: false,
|
|
506
|
+
needsManifest: false,
|
|
507
|
+
needsServerInfo: true, // Tests server protocol compliance
|
|
508
|
+
},
|
|
346
509
|
},
|
|
347
510
|
];
|
|
348
511
|
/**
|
|
@@ -139,6 +139,14 @@ export interface AssessorDefinition<T extends BaseAssessor = BaseAssessor> {
|
|
|
139
139
|
* Examples: Load pattern config for ToolAnnotationAssessor
|
|
140
140
|
*/
|
|
141
141
|
customSetup?: AssessorSetupFn<T>;
|
|
142
|
+
/**
|
|
143
|
+
* Context requirements for lightweight single-module execution.
|
|
144
|
+
* Used by --module flag to skip orchestrator and build minimal context.
|
|
145
|
+
* If not specified, DEFAULT_CONTEXT_REQUIREMENTS is used.
|
|
146
|
+
*
|
|
147
|
+
* @see GitHub Issue #184
|
|
148
|
+
*/
|
|
149
|
+
contextRequirements?: ModuleContextRequirements;
|
|
142
150
|
}
|
|
143
151
|
/**
|
|
144
152
|
* Registered assessor instance with metadata.
|
|
@@ -177,4 +185,33 @@ export interface ClaudeBridgeCapable {
|
|
|
177
185
|
* Check if an assessor supports Claude bridge integration.
|
|
178
186
|
*/
|
|
179
187
|
export declare function supportsClaudeBridge(assessor: BaseAssessor): assessor is BaseAssessor & ClaudeBridgeCapable;
|
|
188
|
+
/**
|
|
189
|
+
* Context requirements for lightweight single-module execution.
|
|
190
|
+
* Used by --module flag to build minimal context instead of full orchestration.
|
|
191
|
+
*
|
|
192
|
+
* @see GitHub Issue #184
|
|
193
|
+
*/
|
|
194
|
+
export interface ModuleContextRequirements {
|
|
195
|
+
/** Whether the module needs tools list from server */
|
|
196
|
+
needsTools: boolean;
|
|
197
|
+
/** Whether the module needs to call tools (requires callTool wrapper) */
|
|
198
|
+
needsCallTool: boolean;
|
|
199
|
+
/** Whether the module needs listTools function (for TemporalAssessor baseline) */
|
|
200
|
+
needsListTools: boolean;
|
|
201
|
+
/** Whether the module needs resources capability */
|
|
202
|
+
needsResources: boolean;
|
|
203
|
+
/** Whether the module needs prompts capability */
|
|
204
|
+
needsPrompts: boolean;
|
|
205
|
+
/** Whether the module needs source code files (optional - enhances analysis) */
|
|
206
|
+
needsSourceCode: boolean;
|
|
207
|
+
/** Whether the module needs manifest.json */
|
|
208
|
+
needsManifest: boolean;
|
|
209
|
+
/** Whether the module needs server info and capabilities */
|
|
210
|
+
needsServerInfo: boolean;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Default context requirements - used as fallback if not specified.
|
|
214
|
+
* Most modules need tools and callTool but nothing else.
|
|
215
|
+
*/
|
|
216
|
+
export declare const DEFAULT_CONTEXT_REQUIREMENTS: ModuleContextRequirements;
|
|
180
217
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/services/assessment/registry/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;;GAGG;AACH,oBAAY,eAAe;IACzB,2FAA2F;IAC3F,GAAG,IAAI;IACP,yFAAyF;IACzF,IAAI,IAAI;IACR,qCAAqC;IACrC,QAAQ,IAAI;IACZ,+FAA+F;IAC/F,UAAU,IAAI;IACd,kEAAkE;IAClE,UAAU,IAAI;IACd,oDAAoD;IACpD,OAAO,IAAI;CACZ;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,OAAO,EAAE,MAAM,WAAW,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAE5E;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAChB,MAAM,WAAW,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,CAAC,CACn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,gBAAgB,GAAG,IAAI,CAAC;CACjD;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,YAAY,GACrB,QAAQ,IAAI,YAAY,GAAG,mBAAmB,CAKhD;AAED;;;;;GAKG;AACH,MAAM,WAAW,yBAAyB;IACxC,sDAAsD;IACtD,UAAU,EAAE,OAAO,CAAC;IAEpB,yEAAyE;IACzE,aAAa,EAAE,OAAO,CAAC;IAEvB,kFAAkF;IAClF,cAAc,EAAE,OAAO,CAAC;IAExB,oDAAoD;IACpD,cAAc,EAAE,OAAO,CAAC;IAExB,kDAAkD;IAClD,YAAY,EAAE,OAAO,CAAC;IAEtB,gFAAgF;IAChF,eAAe,EAAE,OAAO,CAAC;IAEzB,6CAA6C;IAC7C,aAAa,EAAE,OAAO,CAAC;IAEvB,4DAA4D;IAC5D,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE,yBAS1C,CAAC"}
|
|
@@ -33,3 +33,17 @@ export function supportsClaudeBridge(assessor) {
|
|
|
33
33
|
return (typeof assessor.setClaudeBridge ===
|
|
34
34
|
"function");
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Default context requirements - used as fallback if not specified.
|
|
38
|
+
* Most modules need tools and callTool but nothing else.
|
|
39
|
+
*/
|
|
40
|
+
export const DEFAULT_CONTEXT_REQUIREMENTS = {
|
|
41
|
+
needsTools: true,
|
|
42
|
+
needsCallTool: true,
|
|
43
|
+
needsListTools: false,
|
|
44
|
+
needsResources: false,
|
|
45
|
+
needsPrompts: false,
|
|
46
|
+
needsSourceCode: false,
|
|
47
|
+
needsManifest: false,
|
|
48
|
+
needsServerInfo: false,
|
|
49
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bryan-thompson/inspector-assessment-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.40.1",
|
|
4
4
|
"description": "Client-side application for the Enhanced MCP Inspector with assessment capabilities",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bryan Thompson <bryan@triepod.ai>",
|