Added many tools
This commit is contained in:
@@ -1,16 +1,36 @@
|
||||
"""
|
||||
Tool bootstrap.
|
||||
Tool bootstrap module.
|
||||
|
||||
Importing this module forces
|
||||
tool registration into registry.
|
||||
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
|
||||
"""
|
||||
|
||||
from tools.ping import PingTool
|
||||
from tools.filesystem import FilesystemTool
|
||||
from tools.subprocess import SubprocessTool
|
||||
# ------------------------------------------------------------
|
||||
# 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",
|
||||
# ]
|
||||
|
||||
__all__ = [
|
||||
"PingTool",
|
||||
"FilesystemTool",
|
||||
"SubprocessTool",
|
||||
]
|
||||
# ------------------------------------------------------------
|
||||
# CURRENT DESIGN
|
||||
# ------------------------------------------------------------
|
||||
# Tool registration is now fully dynamic.
|
||||
# See: tools.discovery.load_all_tools()
|
||||
#
|
||||
# No explicit imports are required here.
|
||||
Reference in New Issue
Block a user
