Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUvd2c1f661db5c
diff --git a/v3/mcp/tool-registry.ts b/v3/mcp/tool-registry.ts
index 4ca485b643..3b019410cd 100644
--- a/v3/mcp/tool-registry.ts
+++ b/v3/mcp/tool-registry.ts
@@ -15,6 +15,7 @@
*/
import { EventEmitter } from 'events';
+import Ajv from 'ajv';
import {
MCPTool,
JSONSchema,
@@ -25,6 +26,9 @@ import {
ILogger,
} from './types.js';
+// Schema validator instance (singleton for performance)
+const ajv = new Ajv({ allErrors: true, strict: false });
+
/**
* Tool metadata for enhanced lookup
*/