BrowserUse_and_ComputerUse_.../tools
teknium1 6134939882 refactor: deduplicate toolsets, unify async bridging, fix approval race condition, harden security
- Replace 4 copy-pasted messaging platform toolsets with shared _HERMES_CORE_TOOLS list
- Consolidate 5 ad-hoc async-bridging patterns into single _run_async() in model_tools.py
  - Removes deprecated get_event_loop()/set_event_loop() calls
  - Makes all tool handlers self-protecting regardless of caller's event loop state
  - RL handler refactored from if/elif chain to dispatch dict
- Fix exec approval race condition: replace module-level globals with thread-safe
  per-session tools/approval.py (submit_pending, pop_pending, approve_session, is_approved)
  - Session A approving "rm" no longer approves it for all other sessions
- Fix config deep merge: user overriding tts.elevenlabs.voice_id no longer clobbers
  tts.elevenlabs.model_id; migration detection now recurses to arbitrary depth
- Gateway default-deny: unauthenticated users denied unless GATEWAY_ALLOW_ALL_USERS=true
- Add 10 dangerous command patterns: rm --recursive, bash -c, python -e, curl|bash,
  xargs rm, find -delete
- Sanitize gateway error messages: users see generic message, full traceback goes to logs
2026-02-21 18:28:49 -08:00
..
__init__.py refactor: streamline cron job handling and update CLI commands 2026-02-21 16:21:19 -08:00
approval.py refactor: deduplicate toolsets, unify async bridging, fix approval race condition, harden security 2026-02-21 18:28:49 -08:00
browser_tool.py refactor: implement structured logging across multiple modules 2026-02-21 03:11:11 -08:00
clarify_tool.py feat: introduce clarifying questions tool for interactive user engagement 2026-02-19 20:06:14 -08:00
code_execution_tool.py refactor: enhance error handling with structured logging across multiple modules 2026-02-21 03:32:11 -08:00
cronjob_tools.py enable cronjobs in messaging platforms 2026-02-21 12:46:18 -08:00
debug_helpers.py refactor: consolidate debug logging across tools with shared DebugSession class 2026-02-21 03:53:24 -08:00
delegate_tool.py refactor: update tool descriptions for clarity and conciseness 2026-02-21 02:41:30 -08:00
file_operations.py fix: escape file glob patterns in ShellFileOperations 2026-02-19 15:12:02 -08:00
file_tools.py refactor: implement structured logging across multiple modules 2026-02-21 03:11:11 -08:00
fuzzy_match.py Cleanup time! 2026-02-20 23:23:32 -08:00
image_generation_tool.py refactor: consolidate debug logging across tools with shared DebugSession class 2026-02-21 03:53:24 -08:00
memory_tool.py refactor: improve memory entry handling and file operations 2026-02-20 02:32:15 -08:00
mixture_of_agents_tool.py refactor: consolidate debug logging across tools with shared DebugSession class 2026-02-21 03:53:24 -08:00
openrouter_client.py refactor: consolidate debug logging across tools with shared DebugSession class 2026-02-21 03:53:24 -08:00
patch_parser.py Add file manipulation tools and enhance setup scripts 2026-02-05 03:49:46 -08:00
process_registry.py refactor: enhance error handling with structured logging across multiple modules 2026-02-21 03:32:11 -08:00
rl_training_tool.py Update dependencies and enhance installation scripts 2026-02-07 00:05:04 +00:00
session_search_tool.py refactor: consolidate debug logging across tools with shared DebugSession class 2026-02-21 03:53:24 -08:00
skill_manager_tool.py feat: introduce skill management tool for agent-created skills and skills migration to ~/.hermes 2026-02-19 18:25:53 -08:00
skills_guard.py Cleanup time! 2026-02-20 23:23:32 -08:00
skills_hub.py refactor: enhance error handling with structured logging across multiple modules 2026-02-21 03:32:11 -08:00
skills_sync.py refactor: enhance error handling with structured logging across multiple modules 2026-02-21 03:32:11 -08:00
skills_tool.py feat: introduce skill management tool for agent-created skills and skills migration to ~/.hermes 2026-02-19 18:25:53 -08:00
terminal_tool.py refactor: deduplicate toolsets, unify async bridging, fix approval race condition, harden security 2026-02-21 18:28:49 -08:00
todo_tool.py Add todo tool for agent task planning and management 2026-02-17 17:02:33 -08:00
transcription_tools.py refactor: implement structured logging across multiple modules 2026-02-21 03:11:11 -08:00
tts_tool.py refactor: enhance error handling with structured logging across multiple modules 2026-02-21 03:32:11 -08:00
vision_tools.py refactor: consolidate debug logging across tools with shared DebugSession class 2026-02-21 03:53:24 -08:00
web_tools.py refactor: consolidate debug logging across tools with shared DebugSession class 2026-02-21 03:53:24 -08:00