Files
hermes-agent/plugins/platforms/weixin/__init__.py
Teknium e36a291671 refactor(weixin): move adapter into bundled platform plugin
git mv gateway/platforms/weixin.py -> plugins/platforms/weixin/adapter.py with
plugin.yaml + register(): adapter_factory, check_fn (install_hint = old
_BUILTIN_ADAPTERS warning), is_connected, required_env, setup_fn (QR-login wizard
moved from hermes_cli/gateway_setup_wizard.py), standalone_sender_fn (native
text+media via send_weixin_direct, formerly tools/send_message_senders._send_weixin),
allowlist/cron env vars, emoji, allow_update_command. Tests import the plugin path.

(cherry picked from commit bdff38c4987cb6f6333b909d4949c68a3bd2a6a2)
2026-10-16 07:09:45 -07:00

4 lines
54 B
Python

from .adapter import register
__all__ = ["register"]