Files
hermes-agent/plugins/platforms/signal/__init__.py
Teknium 42762d6a64 refactor(signal): plugin wiring lives in register.py, like QQ Bot and Yuanbao
The registration hooks had grown the moved adapter past 1,000 lines and put
two forward-only wrappers next to the message code. register.py now holds
the configured/validate checks and register(), and registers the setup and
standalone-sender functions directly. adapter.py is back to 983 lines; no
behaviour change (composite live probe matches main).

Addresses the Greptile finding on this PR.
2026-10-16 07:09:45 -07:00

7 lines
383 B
Python

# Absolute import (not ``from .adapter``): the plugin loader executes this package under a synthetic
# ``hermes_plugins.platforms__signal`` name, and the adapter's own absolute sibling imports would then
# load a second ``plugins.platforms.signal.adapter``. One canonical name = one SignalAdapter class.
from plugins.platforms.signal.register import register
__all__ = ["register"]