"""
crewai-mcps: Cryptographic security for CrewAI MCP tool calls.

Adds message signing, replay protection, and tool-pinning
to CrewAI's Model Context Protocol integrations.
"""

from crewai_mcps.secure_tool import (
    SecureMCPTool,
    KeyManager,
    NonceTracker,
    ToolPinner,
)
from crewai_mcps.middleware import (
    SecureToolProxy,
    ToolIntegrityError,
    install_crewai_hooks,
)
from crewai_mcps.verify import (
    ResponseVerifier,
    VerificationResult,
    PinCheckResult,
)
from crewai_mcps.audit import (
    AuditTrail,
    AuditEvent,
    AuditEventType,
)

__version__ = "0.1.0"

__all__ = [
    # Primary API
    "SecureMCPTool",
    "SecureToolProxy",
    "install_crewai_hooks",
    # Key management
    "KeyManager",
    # Verification
    "ResponseVerifier",
    "VerificationResult",
    "PinCheckResult",
    # Replay protection
    "NonceTracker",
    # Tool pinning
    "ToolPinner",
    "ToolIntegrityError",
    # Audit
    "AuditTrail",
    "AuditEvent",
    "AuditEventType",
]
