Spaces:
Sleeping
Sleeping
File size: 862 Bytes
0bbe516 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | """
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"
|