"""Textual TUI package for CleverAgents."""

from __future__ import annotations

from cleveragents.tui.app import CleverAgentsTuiApp


def run_tui(*, headless: bool = False) -> int:
    """Run TUI command entrypoint lazily to avoid import cycles."""
    from cleveragents.tui.commands import run_tui as _run_tui

    return _run_tui(headless=headless)


__all__ = [
    "CleverAgentsTuiApp",
    "run_tui",
]
