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

/**
 * Documentation Management Module - 12-Factor MCP Implementation
 * 
 * This module replaces the legacy documentation implementation
 * with a 12-factor compliant version that uses:
 * 
 * - Standardized tool interface
 * - SQLite-based data storage
 * - Schema validation
 * - Structured outputs
 * - Stateless execution
 * - Multi-repository support through project context
 */

/**
 * Setup the documentation management module
 */
export async function setupDocumentation(): Promise<ToolRegistration> {
  return await setupDocumentationTools();
}

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