"""
OCR Pipeline Auto-Mode Orchestrator and Reprocess Endpoints — Barrel Re-export.

Split into submodules:
- ocr_pipeline_reprocess.py    — POST /sessions/{id}/reprocess
- ocr_pipeline_auto_steps.py   — POST /sessions/{id}/run-auto + VLM helper

Lizenz: Apache 2.0
DATENSCHUTZ: Alle Verarbeitung erfolgt lokal.
"""

from fastapi import APIRouter

from .reprocess import router as _reprocess_router
from .auto_steps import router as _steps_router

# Combine both sub-routers into a single router for backwards compatibility.
# The consumer imports `from ocr.pipeline.auto import router as _auto_router`.
router = APIRouter(prefix="/api/v1/ocr-pipeline", tags=["ocr-pipeline"])
router.include_router(_reprocess_router)
router.include_router(_steps_router)

__all__ = ["router"]
