import { ToolRegistration } from '../../core/types.js';
import { setupMemoryManagementTools } from './tools.js';

/**
 * Memory Management Module - 12-Factor MCP Implementation
 * 
 * This module replaces the legacy memory-management implementation
 * with a 12-factor compliant version that uses:
 * 
 * - Standardized tool interface
 * - SQLite-based data storage with full-text search
 * - Schema validation
 * - Structured outputs
 * - Stateless execution
 * - Contextual memory linking and relationships
 * - Advanced analytics and insights
 */

/**
 * Setup the memory management module
 */
export async function setupMemoryManagement(): Promise<ToolRegistration> {
  return await setupMemoryManagementTools();
}

// Export for backward compatibility
export { setupMemoryManagementTools } from './tools.js';