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.
7 lines
383 B
Python
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"]
|