hermes-agent/gateway/platforms
teknium1 b8c3bc7841 feat: browser screenshot sharing via MEDIA: on all messaging platforms
browser_vision now saves screenshots persistently to ~/.hermes/browser_screenshots/
and returns the screenshot_path in its JSON response. The model can include
MEDIA:<path> in its response to share screenshots as native photos.

Changes:
- browser_tool.py: Save screenshots persistently, return screenshot_path,
  auto-cleanup files older than 24 hours, mkdir moved inside try/except
- telegram.py: Add send_image_file() — sends local images via bot.send_photo()
- discord.py: Add send_image_file() — sends local images via discord.File
- slack.py: Add send_image_file() — sends local images via files_upload_v2()
  (WhatsApp already had send_image_file — no changes needed)
- prompt_builder.py: Updated Telegram hint to list image extensions,
  added Discord and Slack MEDIA: platform hints
- browser.md: Document screenshot sharing and 24h cleanup
- send_file_integration_map.md: Updated to reflect send_image_file is now
  implemented on Telegram/Discord/Slack
- test_send_image_file.py: 19 tests covering MEDIA: .png extraction,
  send_image_file on all platforms, and screenshot cleanup

Partially addresses #466 (Phase 0: platform adapter gaps for send_image_file).
2026-03-07 22:57:05 -08:00
..
__init__.py Enhance CLI with multi-platform messaging integration and configuration management 2026-02-02 19:01:51 -08:00
base.py Add logger.info/error for image extraction and delivery debugging 2026-03-07 21:24:47 -08:00
discord.py feat: browser screenshot sharing via MEDIA: on all messaging platforms 2026-03-07 22:57:05 -08:00
homeassistant.py feat: enhance Home Assistant integration with service discovery and setup 2026-03-03 05:16:53 -08:00
slack.py feat: browser screenshot sharing via MEDIA: on all messaging platforms 2026-03-07 22:57:05 -08:00
telegram.py feat: browser screenshot sharing via MEDIA: on all messaging platforms 2026-03-07 22:57:05 -08:00
whatsapp.py Merge PR #433: fix(whatsapp): replace Linux-only fuser with cross-platform port cleanup 2026-03-06 04:52:25 -08:00