"""Utility functions and helpers for ClaudeTools API"""

from api.utils.crypto import decrypt_string, encrypt_string, generate_encryption_key
from api.utils.context_compression import (
    calculate_relevance_score,
    compress_conversation_summary,
    compress_file_changes,
    compress_project_state,
    create_context_snippet,
    extract_key_decisions,
    extract_tags_from_text,
    format_for_injection,
    merge_contexts,
)

__all__ = [
    # Crypto utilities
    "encrypt_string",
    "decrypt_string",
    "generate_encryption_key",
    # Context compression utilities
    "compress_conversation_summary",
    "create_context_snippet",
    "compress_project_state",
    "extract_key_decisions",
    "calculate_relevance_score",
    "merge_contexts",
    "format_for_injection",
    "extract_tags_from_text",
    "compress_file_changes",
]
