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

/**
 * Security Module - 12-Factor MCP Implementation
 * 
 * This module replaces the legacy security implementation
 * with a 12-factor compliant version that uses:
 * 
 * - Standardized tool interface
 * - SQLite-based event storage
 * - Schema validation
 * - Structured outputs
 * - Stateless execution
 * - Human approval workflows for critical operations
 */

/**
 * Setup the security module
 */
export async function setupSecurity(): Promise<ToolRegistration> {
  return await setupSecurityTools();
}

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