@bryan-thompson/inspector-assessment 1.23.0 → 1.23.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/cli/build/assess-full.js +31 -1
- package/client/dist/assets/{OAuthCallback-BT-Si9Gp.js → OAuthCallback-Cw-qVtDD.js} +1 -1
- package/client/dist/assets/{OAuthDebugCallback-Ds58vrvK.js → OAuthDebugCallback-ktA24I5x.js} +1 -1
- package/client/dist/assets/{index-DkE5fYd3.js → index-CyIZGh6n.js} +4 -4
- package/client/dist/index.html +1 -1
- package/package.json +25 -1
package/cli/build/assess-full.js
CHANGED
|
@@ -386,6 +386,11 @@ function buildConfig(options) {
|
|
|
386
386
|
if (options.patternConfigPath) {
|
|
387
387
|
config.patternConfigPath = options.patternConfigPath;
|
|
388
388
|
}
|
|
389
|
+
// Logging configuration
|
|
390
|
+
// Precedence: CLI flags > LOG_LEVEL env var > default (info)
|
|
391
|
+
const envLogLevel = process.env.LOG_LEVEL;
|
|
392
|
+
const logLevel = options.logLevel ?? envLogLevel ?? "info";
|
|
393
|
+
config.logging = { level: logLevel };
|
|
389
394
|
return config;
|
|
390
395
|
}
|
|
391
396
|
/**
|
|
@@ -835,7 +840,29 @@ function parseArgs() {
|
|
|
835
840
|
case "--verbose":
|
|
836
841
|
case "-v":
|
|
837
842
|
options.verbose = true;
|
|
843
|
+
options.logLevel = "debug";
|
|
838
844
|
break;
|
|
845
|
+
case "--silent":
|
|
846
|
+
options.logLevel = "silent";
|
|
847
|
+
break;
|
|
848
|
+
case "--log-level": {
|
|
849
|
+
const levelValue = args[++i];
|
|
850
|
+
const validLevels = [
|
|
851
|
+
"silent",
|
|
852
|
+
"error",
|
|
853
|
+
"warn",
|
|
854
|
+
"info",
|
|
855
|
+
"debug",
|
|
856
|
+
];
|
|
857
|
+
if (!validLevels.includes(levelValue)) {
|
|
858
|
+
console.error(`Invalid log level: ${levelValue}. Valid options: ${validLevels.join(", ")}`);
|
|
859
|
+
setTimeout(() => process.exit(1), 10);
|
|
860
|
+
options.helpRequested = true;
|
|
861
|
+
return options;
|
|
862
|
+
}
|
|
863
|
+
options.logLevel = levelValue;
|
|
864
|
+
break;
|
|
865
|
+
}
|
|
839
866
|
case "--json":
|
|
840
867
|
options.jsonOnly = true;
|
|
841
868
|
break;
|
|
@@ -969,7 +996,10 @@ Options:
|
|
|
969
996
|
--skip-modules <list> Skip specific modules (comma-separated)
|
|
970
997
|
--only-modules <list> Run only specific modules (comma-separated)
|
|
971
998
|
--json Output only JSON path (no console summary)
|
|
972
|
-
--verbose, -v Enable verbose logging
|
|
999
|
+
--verbose, -v Enable verbose logging (same as --log-level debug)
|
|
1000
|
+
--silent Suppress all diagnostic logging
|
|
1001
|
+
--log-level <level> Set log level: silent, error, warn, info (default), debug
|
|
1002
|
+
Also supports LOG_LEVEL environment variable
|
|
973
1003
|
--help, -h Show this help message
|
|
974
1004
|
|
|
975
1005
|
Module Selection:
|
|
@@ -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-CyIZGh6n.js";
|
|
2
2
|
const OAuthCallback = ({ onConnect }) => {
|
|
3
3
|
const { toast } = useToast();
|
|
4
4
|
const hasProcessedRef = reactExports.useRef(false);
|
package/client/dist/assets/{OAuthDebugCallback-Ds58vrvK.js → OAuthDebugCallback-ktA24I5x.js}
RENAMED
|
@@ -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-CyIZGh6n.js";
|
|
2
2
|
const OAuthDebugCallback = ({ onConnect }) => {
|
|
3
3
|
reactExports.useEffect(() => {
|
|
4
4
|
let isProcessed = false;
|
|
@@ -16320,7 +16320,7 @@ object({
|
|
|
16320
16320
|
token_type_hint: string().optional()
|
|
16321
16321
|
}).strip();
|
|
16322
16322
|
const name = "@bryan-thompson/inspector-assessment-client";
|
|
16323
|
-
const version$1 = "1.23.
|
|
16323
|
+
const version$1 = "1.23.2";
|
|
16324
16324
|
const packageJson = {
|
|
16325
16325
|
name,
|
|
16326
16326
|
version: version$1
|
|
@@ -45217,7 +45217,7 @@ const useTheme = () => {
|
|
|
45217
45217
|
[theme, setThemeWithSideEffect]
|
|
45218
45218
|
);
|
|
45219
45219
|
};
|
|
45220
|
-
const version = "1.23.
|
|
45220
|
+
const version = "1.23.2";
|
|
45221
45221
|
var [createTooltipContext] = createContextScope("Tooltip", [
|
|
45222
45222
|
createPopperScope
|
|
45223
45223
|
]);
|
|
@@ -48774,13 +48774,13 @@ const App = () => {
|
|
|
48774
48774
|
) });
|
|
48775
48775
|
if (window.location.pathname === "/oauth/callback") {
|
|
48776
48776
|
const OAuthCallback = React.lazy(
|
|
48777
|
-
() => __vitePreload(() => import("./OAuthCallback-
|
|
48777
|
+
() => __vitePreload(() => import("./OAuthCallback-Cw-qVtDD.js"), true ? [] : void 0)
|
|
48778
48778
|
);
|
|
48779
48779
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthCallback, { onConnect: onOAuthConnect }) });
|
|
48780
48780
|
}
|
|
48781
48781
|
if (window.location.pathname === "/oauth/callback/debug") {
|
|
48782
48782
|
const OAuthDebugCallback = React.lazy(
|
|
48783
|
-
() => __vitePreload(() => import("./OAuthDebugCallback-
|
|
48783
|
+
() => __vitePreload(() => import("./OAuthDebugCallback-ktA24I5x.js"), true ? [] : void 0)
|
|
48784
48784
|
);
|
|
48785
48785
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthDebugCallback, { onConnect: onOAuthDebugConnect }) });
|
|
48786
48786
|
}
|
package/client/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-CyIZGh6n.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-Df9Sx1jt.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bryan-thompson/inspector-assessment",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.2",
|
|
4
4
|
"description": "Enhanced MCP Inspector with comprehensive assessment capabilities for server validation",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bryan Thompson <bryan@triepod.ai>",
|
|
@@ -23,6 +23,30 @@
|
|
|
23
23
|
"validation"
|
|
24
24
|
],
|
|
25
25
|
"type": "module",
|
|
26
|
+
"main": "./client/lib/services/assessment/AssessmentOrchestrator.js",
|
|
27
|
+
"types": "./client/lib/services/assessment/AssessmentOrchestrator.d.ts",
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./client/lib/services/assessment/AssessmentOrchestrator.d.ts",
|
|
31
|
+
"default": "./client/lib/services/assessment/AssessmentOrchestrator.js"
|
|
32
|
+
},
|
|
33
|
+
"./types": {
|
|
34
|
+
"types": "./client/lib/lib/assessment/index.d.ts",
|
|
35
|
+
"default": "./client/lib/lib/assessment/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./config": {
|
|
38
|
+
"types": "./client/lib/lib/assessment/configTypes.d.ts",
|
|
39
|
+
"default": "./client/lib/lib/assessment/configTypes.js"
|
|
40
|
+
},
|
|
41
|
+
"./results": {
|
|
42
|
+
"types": "./client/lib/lib/assessment/resultTypes.d.ts",
|
|
43
|
+
"default": "./client/lib/lib/assessment/resultTypes.js"
|
|
44
|
+
},
|
|
45
|
+
"./progress": {
|
|
46
|
+
"types": "./client/lib/lib/assessment/progressTypes.d.ts",
|
|
47
|
+
"default": "./client/lib/lib/assessment/progressTypes.js"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
26
50
|
"bin": {
|
|
27
51
|
"mcp-inspector-assess": "cli/build/cli.js",
|
|
28
52
|
"mcp-assess-full": "cli/build/assess-full.js",
|