mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-10-20 05:15:31 +00:00
WIP toward #41112 — the last and largest gateway channel. Telegram adapter + telegram_network satellite relocated to plugins/platforms/telegram/ with the network import rewritten to the new package path. register() exposes the platform with standalone_sender_fn (delegates to the retained _send_telegram REST sender), apply_yaml_config_fn (full telegram: YAML→env + extra bridge), setup_fn (delegates to the managed-bot QR wizard via lazy import), and a _build_adapter that applies the notification-mode resolution that used to live in gateway/run.py's factory branch. Core touchpoints stripped: run.py factory branch (was the leading if), config.py 90-line telegram_cfg bridge, gateway.py static dict + setup-map entry. send_message_tool keeps _send_telegram (the plugin delegates to it) with its TelegramAdapter imports repointed to the plugin path. Generic Platform.TELEGRAM references in core (auth maps, bridged config-loop special-cases, source-platform behavior checks) intentionally remain — same 'left generic in core' policy as the merged migrations. |
||
|---|---|---|
| .. | ||
| qqbot | ||
| __init__.py | ||
| _http_client_limits.py | ||
| ADDING_A_PLATFORM.md | ||
| api_server.py | ||
| base.py | ||
| bluebubbles.py | ||
| email.py | ||
| helpers.py | ||
| msgraph_webhook.py | ||
| signal.py | ||
| signal_rate_limit.py | ||
| slack.py | ||
| sms.py | ||
| webhook.py | ||
| wecom.py | ||
| wecom_callback.py | ||
| wecom_crypto.py | ||
| weixin.py | ||
| yuanbao.py | ||
| yuanbao_media.py | ||
| yuanbao_proto.py | ||
| yuanbao_sticker.py | ||