"""
RBSP Runtime - Orchestration and execution layer.

Provides the engine, API, CLI, configuration, plugin system,
and cross-platform abstractions for the RBSP framework.
"""

from rbsp.runtime.engine import RBSPEngine
from rbsp.runtime.api import resolve, search, index, init
from rbsp.runtime.config import RBSPConfig
from rbsp.runtime.plugins import PluginManager, ResolverPlugin, IndexerPlugin, RankerPlugin
from rbsp.runtime.platform import PlatformInfo
from rbsp.runtime.snapshot import SnapshotManager, SnapshotInfo
from rbsp.runtime.migration import (
    IndexVersion,
    Migration,
    MigrationManager,
    CURRENT_VERSION,
    create_default_manager,
)
from rbsp.runtime.schema import Schema, FieldConfig, FieldType, default_code_schema
from rbsp.runtime.monitoring import Timer, Metrics, SlowQueryLog, PerformanceReport

__all__ = [
    "RBSPEngine",
    "resolve",
    "search",
    "index",
    "init",
    "RBSPConfig",
    "PluginManager",
    "ResolverPlugin",
    "IndexerPlugin",
    "RankerPlugin",
    "PlatformInfo",
    "SnapshotManager",
    "SnapshotInfo",
    "IndexVersion",
    "Migration",
    "MigrationManager",
    "CURRENT_VERSION",
    "create_default_manager",
    "Schema",
    "FieldConfig",
    "FieldType",
    "default_code_schema",
    "Timer",
    "Metrics",
    "SlowQueryLog",
    "PerformanceReport",
]
