"""
TrustClaw — secure cloud agent plugin for CMDOP with OAuth and sandboxing.

Themed wrapper around the CMDOP Python SDK (cmdop).
Docs: https://cmdop.com/docs/sdk/python/
"""

from __future__ import annotations

from cmdop import CMDOPClient, AsyncCMDOPClient
from cmdop.exceptions import (
    CMDOPError,
    ConnectionError,
    AuthenticationError,
    TimeoutError,
)

__version__ = "2026.3.10"
__all__ = ["TrustClaw", "AsyncTrustClaw"]



class TrustClaw(CMDOPClient):
    """TrustClaw — secure cloud agent plugin for CMDOP with OAuth and sandboxing.

    Extends CMDOPClient with themed methods for secure cloud agent with OAuth authentication and sandboxing.

    Example::

        client = TrustClaw.remote(api_key="cmdop_live_xxx")
        # ... use themed methods below
    """

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
    pass


class AsyncTrustClaw(AsyncCMDOPClient):
    """Async variant of TrustClaw.

    Example::

        async with AsyncTrustClaw.remote(api_key="cmdop_live_xxx") as client:
            result = await client.agent.run("hello")
    """
    pass


# Re-export core SDK symbols for convenience
from cmdop import (  # noqa: F401, E402
    CMDOPClient,
    AsyncCMDOPClient,
)
