🌊 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
rUv2d00ce47ad1c
diff --git a/v3/@claude-flow/cli/src/commands/memory.ts b/v3/@claude-flow/cli/src/commands/memory.tsindex a97c2661db..72fdbfa30c 100644--- a/v3/@claude-flow/cli/src/commands/memory.ts+++ b/v3/@claude-flow/cli/src/commands/memory.ts@@ -83,7 +83,7 @@ const storeCommand: Command = {}if (!value) {- output.printError('Value is required. Use --value or -v');+ output.printError('Value is required. Use --value');return { success: false, exitCode: 1 };}@@ -100,19 +100,28 @@ const storeCommand: Command = {output.printInfo(`Storing in ${namespace}/${key}...`);- if (asVector) {- output.writeln(output.dim(' Generating embedding vector...'));- output.writeln(output.dim(' Indexing with HNSW (M=16, ef=200)...'));- }-- // Call MCP memory/store tool for real persistence+ // Use direct sql.js storage with automatic embedding generationtry {- const result = await callMCPTool('memory/store', {+ const { storeEntry } = await import('../memory/memory-initializer.js');++ if (asVector) {+ output.writeln(output.dim(' Generating embedding vector...'));+ }++ const result = await storeEntry({key,value,- metadata: { namespace, tags, ttl, asVector, size: storeData.size }+ namespace,+ generateEmbeddingFlag: true, // Always generate embeddings for semantic search+ tags,+ ttl});+ if (!result.success) {+ output.printError(result.error || 'Failed to store');+ return { success: false, exitCode: 1 };+ }+output.writeln();output.printTable({columns: [@@ -125,15 +134,15 @@ const storeCommand: Command = {{ property: 'Size', val: `${storeData.size} bytes` },{ property: 'TTL', val: ttl ? `${ttl}s` : 'None' },{ property: 'Tags', val: tags.length > 0 ? tags.join(', ') : 'None' },- { property: 'Vector', val: asVector ? 'Yes' : 'No' },- { property: 'Total Entries', val: String((result as { totalEntries?: number }).totalEntries || 1) }+ { property: 'Vector', val: result.embedding ? `Yes (${result.embedding.dimensions}-dim)` : 'No' },+ { property: 'ID', val: result.id.substring(0, 20) }]});output.writeln();output.printSuccess('Data stored successfully');- return { success: true, data: { ...storeData, ...(result as Record<string, unknown>) } };+ return { success: true, data: { ...storeData, id: result.id, embedding: result.embedding } };} catch (error) {output.printError(`Failed to store: ${error instanceof Error ? error.message : 'Unknown error'}`);return { success: false, exitCode: 1 };