36 lines
1.1 KiB
Python
36 lines
1.1 KiB
Python
"""
|
|
Tool bootstrap module.
|
|
|
|
This package previously used explicit imports to force tool registration,
|
|
but has since moved to a dynamic discovery system.
|
|
|
|
Current system behavior:
|
|
- tools are loaded via tools.discovery.load_all_tools()
|
|
- each tool self-registers into the global registry
|
|
- MCP bindings happen after registry population
|
|
"""
|
|
|
|
# ------------------------------------------------------------
|
|
# LEGACY APPROACH (STATIC IMPORT REGISTRATION)
|
|
# ------------------------------------------------------------
|
|
# These imports were previously used to force tool registration
|
|
# at import-time. This approach was replaced to support scalable
|
|
# plugin discovery via pkgutil-based loading.
|
|
#
|
|
# from tools.ping import PingTool
|
|
# from tools.filesystem import FilesystemTool
|
|
# from tools.subprocess import SubprocessTool
|
|
#
|
|
# __all__ = [
|
|
# "PingTool",
|
|
# "FilesystemTool",
|
|
# "SubprocessTool",
|
|
# ]
|
|
|
|
# ------------------------------------------------------------
|
|
# CURRENT DESIGN
|
|
# ------------------------------------------------------------
|
|
# Tool registration is now fully dynamic.
|
|
# See: tools.discovery.load_all_tools()
|
|
#
|
|
# No explicit imports are required here. |
