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)
4 lines
54 B
Python
4 lines
54 B
Python
from .adapter import register
|
|
|
|
__all__ = ["register"]
|