🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Checkpoint: File edits
rUvc0937d56ae01
diff --git a/v3/@claude-flow/cli/src/mcp-tools/performance-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/performance-tools.tsindex fa1a5866b0..93aecef1f7 100644--- a/v3/@claude-flow/cli/src/mcp-tools/performance-tools.ts+++ b/v3/@claude-flow/cli/src/mcp-tools/performance-tools.ts@@ -154,18 +154,36 @@ export const performanceTools: MCPTool[] = [};}+ // Calculate trends from history+ const history = store.metrics.slice(-10);+ const cpuTrend = history.length >= 2+ ? (history[history.length - 1].cpu.usage > history[0].cpu.usage ? 'increasing' : 'stable')+ : 'stable';+ const memTrend = history.length >= 2+ ? (history[history.length - 1].memory.used > history[0].memory.used ? 'increasing' : 'stable')+ : 'stable';+return {+ _real: true,current: currentMetrics,- history: store.metrics.slice(-10),+ history,+ system: {+ platform: process.platform,+ arch: process.arch,+ nodeVersion: process.version,+ cpuModel: cpus[0]?.model,+ loadAverage: loadAvg,+ },trends: {- cpu: 'stable',- memory: 'stable',- latency: 'improving',+ cpu: cpuTrend,+ memory: memTrend,+ latency: 'stable',},- recommendations: [- { priority: 'low', message: 'Consider enabling response caching' },- { priority: 'medium', message: 'Memory usage approaching 50% threshold' },- ],+ recommendations: currentMetrics.memory.used / currentMetrics.memory.total > 0.8+ ? [{ priority: 'high', message: 'Memory usage above 80% - consider cleanup' }]+ : currentMetrics.cpu.usage > 70+ ? [{ priority: 'medium', message: 'CPU load elevated - check for resource-intensive processes' }]+ : [{ priority: 'low', message: 'System running normally' }],};},},