#!/usr/bin/env python3
# src/chuk_mcp_server/endpoints/__init__.py
"""
Endpoints - Clean imports for optimized endpoint handlers

Simple, focused imports without redundant metadata.
Each endpoint file contains its own documentation and performance info.
"""

# Class-based endpoints
from .mcp import MCPEndpoint
from .health import HealthEndpoint
from .info import InfoEndpoint

# Function-based endpoints (optimized)
from .ping import handle_request as handle_ping
from .version import handle_request as handle_version

# Add the ultra-fast health endpoint function
from .health import handle_health_ultra_fast

# Utilities
from .utils import (
    json_response_fast as json_response,
    error_response_fast as error_response,
    not_found_response,
    method_not_allowed_response,
    internal_error_response
)

__all__ = [  # FIXED: Double underscores, not asterisks
    # Endpoints
    "MCPEndpoint",
    "HealthEndpoint", 
    "InfoEndpoint",
    "handle_ping",
    "handle_version",
    "handle_health_ultra_fast",
    
    # Utilities
    "json_response",
    "error_response",
    "not_found_response", 
    "method_not_allowed_response",
    "internal_error_response"
]