@bryan-thompson/inspector-assessment-cli 1.8.0 → 1.8.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 +7 -0
- package/package.json +1 -1
package/build/assess-full.js
CHANGED
|
@@ -253,6 +253,13 @@ async function runFullAssessment(options) {
|
|
|
253
253
|
const tools = response.tools || [];
|
|
254
254
|
if (!options.jsonOnly) {
|
|
255
255
|
console.log(`🔧 Found ${tools.length} tool${tools.length !== 1 ? "s" : ""}`);
|
|
256
|
+
// Output individual tools to stderr for early parsing by audit-worker
|
|
257
|
+
// Format: TOOL_DISCOVERED:name|description
|
|
258
|
+
// This enables MCP Auditor UI to show tools immediately after connection
|
|
259
|
+
for (const tool of tools) {
|
|
260
|
+
const description = tool.description || "";
|
|
261
|
+
console.error(`TOOL_DISCOVERED:${tool.name}|${description}`);
|
|
262
|
+
}
|
|
256
263
|
}
|
|
257
264
|
const config = buildConfig(options);
|
|
258
265
|
const orchestrator = new AssessmentOrchestrator(config);
|
package/package.json
CHANGED