feat: migrate gewechat adapter to unified webhook architecture

Move gewechat adapter from legacy (self-hosted Quart server) to the
unified webhook entry point at /api/bots/{bot_uuid}. This removes the
need for a dedicated port and aligns with the modern adapter pattern.

Key changes:
- Add set_bot_uuid() and handle_unified_webhook() methods
- Remove self-hosted Quart server from run_async()
- Auto-generate callback URL from callback_base_url + bot_uuid
- Update constructor signature to (config, logger)
- Rename legacy gewechat.yaml to prevent name conflict

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
fdc310
2026-03-22 04:59:29 +08:00
parent 865f6ee81b
commit 6e9fcccd7d
4 changed files with 687 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB