Added many tools

This commit is contained in:
AuroraCrimsonRose
2026-06-03 06:01:06 -05:00
parent 3723d2381d
commit e471f9bc54
28 changed files with 3488 additions and 205 deletions

View File

@@ -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.