@runsec/mcp 1.0.3 → 1.0.5
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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -205,7 +205,7 @@ function validateRules() {
|
|
|
205
205
|
};
|
|
206
206
|
Object.keys(RULES_REGISTRY).forEach((standard) => {
|
|
207
207
|
const count = RULES_REGISTRY[standard].length;
|
|
208
|
-
console.
|
|
208
|
+
console.error(`Loaded ${count} rules for ${standard}`);
|
|
209
209
|
if (count <= 0) {
|
|
210
210
|
throw new Error(`Rules pack for ${standard} is empty`);
|
|
211
211
|
}
|
|
@@ -582,7 +582,7 @@ server.setRequestHandler(import_types.CallToolRequestSchema, async (request) =>
|
|
|
582
582
|
});
|
|
583
583
|
async function main() {
|
|
584
584
|
const summary = validateRules();
|
|
585
|
-
console.
|
|
585
|
+
console.error("Rules registry validated:", summary);
|
|
586
586
|
const transport = new import_stdio.StdioServerTransport();
|
|
587
587
|
await server.connect(transport);
|
|
588
588
|
}
|