dynamic scope awareness

This commit is contained in:
Taylor Wilsdon
2025-08-05 16:42:46 -04:00
parent d8a6f76981
commit 96f0e234ca
3 changed files with 94 additions and 10 deletions

View File

@@ -140,6 +140,11 @@ def main():
# Import specified tools or all tools if none specified
tools_to_import = args.tools if args.tools is not None else tool_imports.keys()
# Set enabled tools for scope management
from auth.scopes import set_enabled_tools
set_enabled_tools(list(tools_to_import))
safe_print(f"🛠️ Loading {len(tools_to_import)} tool module{'s' if len(tools_to_import) != 1 else ''}:")
for tool in tools_to_import:
tool_imports[tool]()