"""
Kurral - Deterministic Testing and Replay for AI Agents
"""

__version__ = "0.2.2"
__author__ = "Kurral Team"
__email__ = "team@kurral.com"

# Core decorators and functions
from kurral.agent_decorator import trace_agent, trace_agent_invoke

# Replay functionality
from kurral.agent_replay import replay_agent_artifact as replay_artifact

# ARS Scoring
from kurral.ars_scorer import calculate_ars

# Platform configuration
from kurral.config import configure, get_platform_config, PlatformConfig

# MCP Proxy (optional - only if dependencies installed)
try:
    from kurral.mcp.proxy import KurralMCPProxy, create_proxy
    from kurral.mcp.config import MCPConfig
    _mcp_exports = ["KurralMCPProxy", "create_proxy", "MCPConfig"]
except ImportError:
    _mcp_exports = []

__all__ = [
    "__version__",
    "trace_agent",
    "trace_agent_invoke",
    "replay_artifact",
    "calculate_ars",
    # Platform configuration
    "configure",
    "get_platform_config",
    "PlatformConfig",
] + _mcp_exports