🌊 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
rUv2c6138dc0a45
diff --git a/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.tsindex d6fa32ed6e..899c3b1c08 100644--- a/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts+++ b/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts@@ -32,6 +32,54 @@ async function getRealSearchFunction() {return searchEntriesFn;}+// Real store function - lazy loaded+let storeEntryFn: ((options: {+ key: string;+ value: string;+ namespace?: string;+ generateEmbeddingFlag?: boolean;+ tags?: string[];+ ttl?: number;+}) => Promise<{+ success: boolean;+ id: string;+ embedding?: { dimensions: number; model: string };+ error?: string;+}>) | null = null;++async function getRealStoreFunction() {+ if (!storeEntryFn) {+ try {+ const { storeEntry } = await import('../memory/memory-initializer.js');+ storeEntryFn = storeEntry;+ } catch {+ storeEntryFn = null;+ }+ }+ return storeEntryFn;+}++// Trajectory storage for SONA learning+interface TrajectoryStep {+ action: string;+ result: string;+ quality: number;+ timestamp: string;+}++interface TrajectoryData {+ id: string;+ task: string;+ agent: string;+ steps: TrajectoryStep[];+ startedAt: string;+ success?: boolean;+ endedAt?: string;+}++// In-memory trajectory tracking (persisted on end)+const activeTrajectories = new Map<string, TrajectoryData>();+// Memory store types and helpersinterface MemoryEntry {key: string;