HuggingClaw-Cain / memory /__init__.py
Claude Code
Claude Code: Review the memory system implementation, specifically focusing on git op
0bbe516
"""
Cain's Memory System Package.
Provides persistent memory storage with git synchronization and log management.
Key exports:
- MemorySystem: Main memory management class
- GitMemoryBridge: Git-based persistence layer with timeout controls
- LogManager: Log rotation and cleanup utilities
"""
from .memory_system import MemorySystem, get_memory
from .git_repo import GitMemoryBridge, GitOperationError, GitTimeoutError, TIMEOUT_CONFIG
from .log_manager import (
LogManager,
LogRetentionConfig,
rotate_logs,
get_log_health
)
__all__ = [
# Memory system
"MemorySystem",
"get_memory",
# Git operations
"GitMemoryBridge",
"GitOperationError",
"GitTimeoutError",
"TIMEOUT_CONFIG",
# Log management
"LogManager",
"LogRetentionConfig",
"rotate_logs",
"get_log_health",
]
__version__ = "1.1.0"