From a694a263309d1f2ae98fb938b76b013c2808cf35 Mon Sep 17 00:00:00 2001 From: wuwuzhijing <13216845+wuwuzhijing@users.noreply.github.com> Date: Tue, 12 May 2026 17:08:35 -0700 Subject: [PATCH] docs(gateway): mention Weixin in gateway help and docstrings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Salvage of #21063 — adds 'Weixin, and more' to module-level docstrings in gateway/__init__.py, gateway/config.py, gateway/platforms/base.py and the 'hermes gateway' subparser description. Co-authored-by: wuwuzhijing --- gateway/__init__.py | 2 +- gateway/config.py | 2 +- gateway/platforms/base.py | 2 +- hermes_cli/main.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gateway/__init__.py b/gateway/__init__.py index 8b6d988934a..140cc32fc5a 100644 --- a/gateway/__init__.py +++ b/gateway/__init__.py @@ -2,7 +2,7 @@ Hermes Gateway - Multi-platform messaging integration. This module provides a unified gateway for connecting the Hermes agent -to various messaging platforms (Telegram, Discord, WhatsApp) with: +to various messaging platforms (Telegram, Discord, WhatsApp, Weixin, and more) with: - Session management (persistent conversations with reset policies) - Dynamic context injection (agent knows where messages come from) - Delivery routing (cron job outputs to appropriate channels) diff --git a/gateway/config.py b/gateway/config.py index 16e2662e819..11bc8b75a0b 100644 --- a/gateway/config.py +++ b/gateway/config.py @@ -2,7 +2,7 @@ Gateway configuration management. Handles loading and validating configuration for: -- Connected platforms (Telegram, Discord, WhatsApp) +- Connected platforms (Telegram, Discord, WhatsApp, Weixin, and more) - Home channels for each platform - Session reset policies - Delivery preferences diff --git a/gateway/platforms/base.py b/gateway/platforms/base.py index 7026b55cf1b..0bf7b9a2ad9 100644 --- a/gateway/platforms/base.py +++ b/gateway/platforms/base.py @@ -1,7 +1,7 @@ """ Base platform adapter interface. -All platform adapters (Telegram, Discord, WhatsApp) inherit from this +All platform adapters (Telegram, Discord, WhatsApp, Weixin, and more) inherit from this and implement the required methods. """ diff --git a/hermes_cli/main.py b/hermes_cli/main.py index c40158b761b..64310dc6af1 100644 --- a/hermes_cli/main.py +++ b/hermes_cli/main.py @@ -9390,7 +9390,7 @@ def main(): gateway_parser = subparsers.add_parser( "gateway", help="Messaging gateway management", - description="Manage the messaging gateway (Telegram, Discord, WhatsApp)", + description="Manage the messaging gateway (Telegram, Discord, WhatsApp, Weixin, and more)", ) gateway_subparsers = gateway_parser.add_subparsers(dest="gateway_command")