"""Reusable helpers for autobuilder hook scripts.

Add the parent ``hook-helpers/`` directory to ``PYTHONPATH`` (done
automatically by the autobuilder daemon) and import what you need::

    from autobuilder_hook_helpers.github import get_github_remote
    from autobuilder_hook_helpers.ci import wait_for_ci
    from autobuilder_hook_helpers.deploy import run_deploy_script, health_check
    from autobuilder_hook_helpers.fix_agent import run_fix_agent
    from autobuilder_hook_helpers.vercel import wait_for_vercel_deploy
"""

from autobuilder_hook_helpers.ci import wait_for_ci
from autobuilder_hook_helpers.deploy import health_check, run_deploy_script, store_deploy_url
from autobuilder_hook_helpers.fix_agent import run_fix_agent
from autobuilder_hook_helpers.github import (
    get_ci_failure_logs,
    get_github_remote,
    has_github_workflows,
)
from autobuilder_hook_helpers.vercel import get_vercel_preview_url, wait_for_vercel_deploy

__all__ = [
    "get_ci_failure_logs",
    "get_github_remote",
    "get_vercel_preview_url",
    "has_github_workflows",
    "health_check",
    "run_deploy_script",
    "run_fix_agent",
    "store_deploy_url",
    "wait_for_ci",
    "wait_for_vercel_deploy",
]
