Supports decomposing large components and files, finding codesmells, finding modernizing opportunities as well as code organization opportunities. Fix this mega-classes today! Line numbers added to embedded code for better references from model -> claude
23 lines
597 B
Python
23 lines
597 B
Python
"""
|
|
Utility functions for Zen MCP Server
|
|
"""
|
|
|
|
from .file_types import CODE_EXTENSIONS, FILE_CATEGORIES, PROGRAMMING_EXTENSIONS, TEXT_EXTENSIONS
|
|
from .file_utils import expand_paths, read_file_content, read_files
|
|
from .security_config import EXCLUDED_DIRS, SECURITY_ROOT
|
|
from .token_utils import check_token_limit, estimate_tokens
|
|
|
|
__all__ = [
|
|
"read_files",
|
|
"read_file_content",
|
|
"expand_paths",
|
|
"CODE_EXTENSIONS",
|
|
"PROGRAMMING_EXTENSIONS",
|
|
"TEXT_EXTENSIONS",
|
|
"FILE_CATEGORIES",
|
|
"SECURITY_ROOT",
|
|
"EXCLUDED_DIRS",
|
|
"estimate_tokens",
|
|
"check_token_limit",
|
|
]
|