BrowserUse_and_ComputerUse_.../gateway/platforms
teknium1 d04b9f4dc5 fix(signal): use media_urls/media_types instead of non-existent image_paths/audio_path/document_paths
The Signal adapter was passing image_paths, audio_path, and document_paths
to MessageEvent.__init__(), but those fields don't exist on the dataclass.
MessageEvent uses media_urls (List[str]) and media_types (List[str]).

Changes:
- Replace separate image_paths/audio_path/document_paths with unified
  media_urls and media_types lists (matching Discord, Slack, etc.)
- Add _ext_to_mime() helper to map file extensions to MIME types
- Use Signal's contentType from attachment metadata when available,
  falling back to extension-based mapping
- Update message type detection to check media_types prefixes

Fixes TypeError: MessageEvent.__init__() got an unexpected keyword
argument 'image_paths'
2026-03-10 14:58:16 -07:00
..
__init__.py Enhance CLI with multi-platform messaging integration and configuration management 2026-02-02 19:01:51 -08:00
ADDING_A_PLATFORM.md docs: add platform integration checklist for new gateway adapters 2026-03-08 21:20:06 -07:00
base.py fix: forward thread_id metadata for Telegram forum topic routing 2026-03-10 06:21:15 -07:00
discord.py fix: forward thread_id to Telegram adapter + update send_typing signatures 2026-03-10 06:26:32 -07:00
homeassistant.py fix: forward thread_id to Telegram adapter + update send_typing signatures 2026-03-10 06:26:32 -07:00
signal.py fix(signal): use media_urls/media_types instead of non-existent image_paths/audio_path/document_paths 2026-03-10 14:58:16 -07:00
slack.py fix: forward thread_id to Telegram adapter + update send_typing signatures 2026-03-10 06:26:32 -07:00
telegram.py fix: forward thread_id to Telegram adapter + update send_typing signatures 2026-03-10 06:26:32 -07:00
whatsapp.py fix: forward thread_id to Telegram adapter + update send_typing signatures 2026-03-10 06:26:32 -07:00