Behavior-neutral structural pass over tools/*: god-file extractions into sibling modules (file_operations_common/lint/search, file_tools_paths/ read_tracking/write, code_execution_env/rpc, tool_search_catalog/names/ validation, tts_command_provider, ...), duplicate helper unification, if/elif -> dispatch tables, dead-code removal, docstring compaction. Tool schemas (get_tool_definitions) verified byte-identical to base.
15 lines
489 B
Python
15 lines
489 B
Python
#!/usr/bin/env python3
|
|
"""Tools package namespace. Kept side-effect free: importing ``tools`` must not
|
|
load the tool stack, since some subsystems import tools while
|
|
``hermes_cli.config`` is still initializing. Import concrete submodules directly."""
|
|
|
|
|
|
def check_file_requirements():
|
|
"""File tools only require terminal backend availability."""
|
|
from .terminal_tool import check_terminal_requirements
|
|
|
|
return check_terminal_requirements()
|
|
|
|
|
|
__all__ = ["check_file_requirements"]
|