init commit

This commit is contained in:
2026-03-11 07:21:21 -05:00
commit 5aff2183d6
29 changed files with 2270 additions and 0 deletions

30
app/utils/__init__.py Normal file
View File

@@ -0,0 +1,30 @@
"""SneakyCode shared utilities."""
from app.utils.file_helpers import (
BinaryFileError,
FileSizeError,
PathSecurityError,
check_file_size,
is_binary_file,
resolve_safe_path,
safe_read_file,
safe_write_file,
)
from app.utils.logging import console, get_logger, setup_logging
from app.utils.token_counter import TokenCounter, TokenUsage
__all__ = [
"BinaryFileError",
"FileSizeError",
"PathSecurityError",
"TokenCounter",
"TokenUsage",
"check_file_size",
"console",
"get_logger",
"is_binary_file",
"resolve_safe_path",
"safe_read_file",
"safe_write_file",
"setup_logging",
]