Files
Hermes_rocket.chat_Plugin/plugin
Bernd (Hermes) 447fb31f30 fix: rename plugin/tools.py to plugin/rc_tools.py to resolve shadowing of hermes-internal tools/ package
plugin/tools.py existed since v2.0 and shadowed the hermes-internal tools/
package via PYTHONPATH. This caused 'from tools.registry import tool_error'
to fail in the gateway cleanup hook (gateway.cgroup_cleanup).

Changes:
- Rename plugin/tools.py -> plugin/rc_tools.py
- Update import in plugin/__init__.py: from .tools -> from .rc_tools
- Update comment in rc_tools.py referencing the old module name
- Hermes-internal imports (tools.registry, tools.clarify_gateway) left untouched
- All 117 tests pass (1 pre-existing failure in test_install_update_only.py unrelated)
2026-07-25 12:36:29 +02:00
..