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

rUvd3ed3cc5b996
diff --git a/v3/@claude-flow/cli/__tests__/commands.test.ts b/v3/@claude-flow/cli/__tests__/commands.test.ts
index 54f6b24284..f2e385c63d 100644
--- a/v3/@claude-flow/cli/__tests__/commands.test.ts
+++ b/v3/@claude-flow/cli/__tests__/commands.test.ts
@@ -126,23 +126,15 @@ vi.mock('../src/mcp-client.js', () => ({
}
if (toolName === 'memory/stats') {
+ // Return raw MCP format that the command expects and transforms
return {
- entries: {
- total: 42,
- oldest: '2024-01-01T00:00:00Z',
- newest: '2024-01-07T00:00:00Z'
- },
- storage: {
- totalSize: '1.2 MB',
- backend: 'hybrid',
- location: './data/memory'
- },
- performance: {
- avgQueryTime: '0.5ms',
- cacheHitRate: '85%',
- indexStatus: 'healthy'
- },
- version: '3.0.0-alpha'
+ totalEntries: 42,
+ totalSize: '1.2 MB',
+ version: '3.0.0-alpha',
+ backend: 'hybrid',
+ location: './data/memory',
+ oldestEntry: '2024-01-01T00:00:00Z',
+ newestEntry: '2024-01-07T00:00:00Z'
};
}