Major new addition: refactor tool
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
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
Utility functions for Zen MCP Server
|
||||
"""
|
||||
|
||||
from .file_utils import CODE_EXTENSIONS, expand_paths, read_file_content, read_files
|
||||
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__ = [
|
||||
@@ -10,6 +12,11 @@ __all__ = [
|
||||
"read_file_content",
|
||||
"expand_paths",
|
||||
"CODE_EXTENSIONS",
|
||||
"PROGRAMMING_EXTENSIONS",
|
||||
"TEXT_EXTENSIONS",
|
||||
"FILE_CATEGORIES",
|
||||
"SECURITY_ROOT",
|
||||
"EXCLUDED_DIRS",
|
||||
"estimate_tokens",
|
||||
"check_token_limit",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user