"""Initialize the app.api.routes package."""

from fastapi import APIRouter
from .auth import router as auth_router
from .compliance import router as compliance_router
from .documents import router as documents_router
from .knowledge import router as knowledge_router
from .agent import router as agent_router
from .status import router as status_router
from .perception import router as perception_router
from .rag import router as rag_router
# Keep package boundaries explicit so backend imports stay predictable.


# Keep package boundaries explicit so backend imports stay predictable.
api_router = APIRouter()

# Auth routes first so /auth/token is easy to discover.
api_router.include_router(auth_router)
api_router.include_router(documents_router)
api_router.include_router(knowledge_router)
api_router.include_router(agent_router)
api_router.include_router(compliance_router)
api_router.include_router(status_router)
api_router.include_router(perception_router)
api_router.include_router(rag_router)

__all__ = [
    "api_router",
    "auth_router",
    "documents_router",
    "knowledge_router",
    "agent_router",
    "compliance_router",
    "status_router",
    "perception_router",
    "rag_router",
]
