"""
virtual environment detection for raiseattention.

this module re-exports libsoulsearching with compatibility aliases for raiseattention.
"""

from __future__ import annotations

# Re-export everything from libsoulsearching
from libsoulsearching import (
    ToolType,
    VenvInfo,
    find_all_venvs,
    find_venv,
)

# Compatibility alias
EnvironmentInfo = VenvInfo

detect_environment = find_venv

__all__ = [
    "ToolType",
    "VenvInfo",
    "EnvironmentInfo",  # compatibility alias
    "find_venv",
    "find_all_venvs",
    "detect_environment",  # compatibility alias
]
