"""Intellectual property data tools for AI agents."""

from importlib.metadata import PackageNotFoundError, version

from mcp_data_core.envelope import configure as _configure_envelope
from mcp_data_core.logging import configure as _configure_logging

from .unified import (
    PatentPdf,
    build_canonical_claim,
    download_patent_pdf,
    get_patent_claims,
    google_limitations_from_html,
    odp_limitations_from_text,
)

try:
    __version__ = version("patent-client-agents")
except PackageNotFoundError:
    __version__ = "0+unknown"

_configure_logging("patent_client_agents")
_configure_envelope(__version__)

__all__ = [
    "PatentPdf",
    "build_canonical_claim",
    "download_patent_pdf",
    "get_patent_claims",
    "google_limitations_from_html",
    "odp_limitations_from_text",
]
