forked from Rockachopa/Timmy-time-dashboard
Introduces a vendor-agnostic chat platform architecture: - chat_bridge/base.py: ChatPlatform ABC, ChatMessage, ChatThread - chat_bridge/registry.py: PlatformRegistry singleton - chat_bridge/invite_parser.py: QR + Ollama vision invite extraction - chat_bridge/vendors/discord.py: DiscordVendor with native threads Workflow: paste a screenshot of a Discord invite or QR code at POST /discord/join → Timmy extracts the invite automatically. Every Discord conversation gets its own thread, keeping channels clean. Bot responds to @mentions and DMs, routes through Timmy agent. 43 new tests (base classes, registry, invite parser, vendor, routes). https://claude.ai/code/session_01WU4h3cQQiouMwmgYmAgkMM
11 lines
353 B
Python
11 lines
353 B
Python
"""Chat Bridge — vendor-agnostic chat platform abstraction.
|
|
|
|
Provides a clean interface for integrating any chat platform
|
|
(Discord, Telegram, Slack, etc.) with Timmy's agent core.
|
|
|
|
Usage:
|
|
from chat_bridge.base import ChatPlatform
|
|
from chat_bridge.registry import platform_registry
|
|
from chat_bridge.vendors.discord import DiscordVendor
|
|
"""
|