mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-27 01:11:40 +00:00
Add full QQ Bot integration via the Official QQ Bot API (v2): - WebSocket gateway for inbound events (C2C, group, guild, DM) - REST API for outbound text/markdown/media messages - Voice transcription (Tencent ASR + configurable STT provider) - Attachment processing (images, voice, files) - User authorization (allowlist + allow-all + DM pairing) Integration points: - gateway: Platform.QQ enum, adapter factory, allowlist maps - CLI: setup wizard, gateway config, status display, tools config - tools: send_message cross-platform routing, toolsets - cron: delivery platform support - docs: QQ Bot setup guide
19 lines
411 B
Python
19 lines
411 B
Python
"""
|
|
Platform adapters for messaging integrations.
|
|
|
|
Each adapter handles:
|
|
- Receiving messages from a platform
|
|
- Sending messages/responses back
|
|
- Platform-specific authentication
|
|
- Message formatting and media handling
|
|
"""
|
|
|
|
from .base import BasePlatformAdapter, MessageEvent, SendResult
|
|
from .qq import QQAdapter
|
|
|
|
__all__ = [
|
|
"BasePlatformAdapter",
|
|
"MessageEvent",
|
|
"SendResult",
|
|
"QQAdapter",
|
|
]
|