@bryan-thompson/inspector-assessment 1.10.0 → 1.10.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/cli/build/assess-full.js +7 -7
- package/client/dist/assets/{OAuthCallback-Bi_akC9k.js → OAuthCallback-B_mUwbq2.js} +1 -1
- package/client/dist/assets/{OAuthDebugCallback-DupZK8qN.js → OAuthDebugCallback-CJjrxv1C.js} +1 -1
- package/client/dist/assets/{index-BQQRMUvH.js → index-451_dGDD.js} +4 -4
- package/client/dist/index.html +1 -1
- package/package.json +1 -1
package/cli/build/assess-full.js
CHANGED
|
@@ -278,15 +278,15 @@ async function runFullAssessment(options) {
|
|
|
278
278
|
}
|
|
279
279
|
const response = await client.listTools();
|
|
280
280
|
const tools = response.tools || [];
|
|
281
|
+
// Always emit tool discovery events to stderr for audit-worker parsing
|
|
282
|
+
// Format: TOOL_DISCOVERED:name|description|param1,param2,... (works even with --json flag)
|
|
283
|
+
for (const tool of tools) {
|
|
284
|
+
const description = tool.description || "";
|
|
285
|
+
const params = Object.keys(tool.inputSchema?.properties || {}).join(",");
|
|
286
|
+
console.error(`TOOL_DISCOVERED:${tool.name}|${description}|${params}`);
|
|
287
|
+
}
|
|
281
288
|
if (!options.jsonOnly) {
|
|
282
289
|
console.log(`🔧 Found ${tools.length} tool${tools.length !== 1 ? "s" : ""}`);
|
|
283
|
-
// Output individual tools to stderr for early parsing by audit-worker
|
|
284
|
-
// Format: TOOL_DISCOVERED:name|description
|
|
285
|
-
// This enables MCP Auditor UI to show tools immediately after connection
|
|
286
|
-
for (const tool of tools) {
|
|
287
|
-
const description = tool.description || "";
|
|
288
|
-
console.error(`TOOL_DISCOVERED:${tool.name}|${description}`);
|
|
289
|
-
}
|
|
290
290
|
}
|
|
291
291
|
const config = buildConfig(options);
|
|
292
292
|
const orchestrator = new AssessmentOrchestrator(config);
|
|
@@ -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-451_dGDD.js";
|
|
2
2
|
const OAuthCallback = ({ onConnect }) => {
|
|
3
3
|
const { toast } = useToast();
|
|
4
4
|
const hasProcessedRef = reactExports.useRef(false);
|
package/client/dist/assets/{OAuthDebugCallback-DupZK8qN.js → OAuthDebugCallback-CJjrxv1C.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-451_dGDD.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.10.
|
|
16323
|
+
const version$1 = "1.10.1";
|
|
16324
16324
|
const packageJson = {
|
|
16325
16325
|
name,
|
|
16326
16326
|
version: version$1
|
|
@@ -48863,7 +48863,7 @@ const useTheme = () => {
|
|
|
48863
48863
|
[theme, setThemeWithSideEffect]
|
|
48864
48864
|
);
|
|
48865
48865
|
};
|
|
48866
|
-
const version = "1.10.
|
|
48866
|
+
const version = "1.10.1";
|
|
48867
48867
|
var [createTooltipContext] = createContextScope("Tooltip", [
|
|
48868
48868
|
createPopperScope
|
|
48869
48869
|
]);
|
|
@@ -60906,13 +60906,13 @@ const App = () => {
|
|
|
60906
60906
|
) });
|
|
60907
60907
|
if (window.location.pathname === "/oauth/callback") {
|
|
60908
60908
|
const OAuthCallback = React.lazy(
|
|
60909
|
-
() => __vitePreload(() => import("./OAuthCallback-
|
|
60909
|
+
() => __vitePreload(() => import("./OAuthCallback-B_mUwbq2.js"), true ? [] : void 0)
|
|
60910
60910
|
);
|
|
60911
60911
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthCallback, { onConnect: onOAuthConnect }) });
|
|
60912
60912
|
}
|
|
60913
60913
|
if (window.location.pathname === "/oauth/callback/debug") {
|
|
60914
60914
|
const OAuthDebugCallback = React.lazy(
|
|
60915
|
-
() => __vitePreload(() => import("./OAuthDebugCallback-
|
|
60915
|
+
() => __vitePreload(() => import("./OAuthDebugCallback-CJjrxv1C.js"), true ? [] : void 0)
|
|
60916
60916
|
);
|
|
60917
60917
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(OAuthDebugCallback, { onConnect: onOAuthDebugConnect }) });
|
|
60918
60918
|
}
|
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-451_dGDD.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-Cuc9GxjD.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.10.
|
|
3
|
+
"version": "1.10.1",
|
|
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>",
|