Files
hermes-agent/plugins/platforms/telegram
alt-glitch f4ec51785e refactor(utils): url_safety moves from tools/ to utils/
tools/ holds model tools. url_safety registers none: it is the SSRF guard
and the SSRF-safe HTTP clients that tools, the gateway, cron, the agent
and platform plugins call, so it moves to utils/url_safety.py. Function
bodies are unchanged; importers and patch targets follow the new path and
every import stays where it was. The four imports of hermes_cli it makes
carry an HX018 waiver naming why.

tools.url_safety is on the published plugin API, so the old name keeps
working: one MOVES key, one REQUIRED_NAMES row and the old-path file
written by scripts/move/generate_shims.py. Both names give one module
object. In-repo code, bundled plugins included, imports the new name
(tests refuse an old one); the plugin guide keeps the published name.

Three tests whose only subject is url_safety move to tests/utils/. The
logger is now utils.url_safety, which belongs to no hermes logs component.
2026-11-30 20:24:12 +05:30
..