Files
hermes-agent/tools/__init__.py

26 lines
726 B
Python

#!/usr/bin/env python3
"""Tools package namespace.
Keep package import side effects minimal. Importing ``tools`` should not
eagerly import the full tool stack, because several subsystems load tools while
``hermes_cli.config`` is still initializing.
Callers should import concrete submodules directly, for example:
import tools.web_tools
from tools import browser_tool
Python will resolve those submodules via the package path without needing them
to be re-exported here.
"""
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"]