hermes-agent/scripts
Teknium c6f4515f73
fix(whatsapp): download documents, audio, and video media from messages (#2978)
Add downloadMediaMessage() calls for documents, audio/voice notes, and
video in bridge.js — previously only images were downloaded, leaving all
other file types inaccessible to the agent.

Handle local file paths from the bridge for DOCUMENT, VOICE, and VIDEO
types in whatsapp.py with proper MIME detection. Inject text content
inline for readable files (.txt, .md, .csv, .json, etc.).

Follow-up fixes applied during salvage:
- Remove unused cache_document_from_bytes import
- Add 100KB size cap on text injection (matches Telegram/Discord/Slack)
- Align injection format with other platforms

Cherry-picked from PR #2818. Also fixes #2856 (bugs 1 & 2).
PR #2865 by ayberkesn fixed the same voice note issue.

Co-authored-by: noestelar <hola@noeali.com>
2026-03-25 08:37:28 -07:00
..
whatsapp-bridge fix(whatsapp): download documents, audio, and video media from messages (#2978) 2026-03-25 08:37:28 -07:00
discord-voice-doctor.py feat(voice): add discord-voice-doctor diagnostic script 2026-03-15 05:20:17 -07:00
hermes-gateway fix: prevent systemd restart storm on gateway connection failure 2026-03-21 09:26:39 -07:00
install.cmd feat: Windows native support via Git Bash 2026-03-02 22:03:29 -08:00
install.ps1 chore: remove all remaining mini-swe-agent references 2026-03-24 08:19:23 -07:00
install.sh refactor: remove mini-swe-agent dependency — inline Docker/Modal backends (#2804) 2026-03-24 07:30:25 -07:00
kill_modal.sh Add kill_modal script to manage Modal applications and better handling of file and terminal tools 2026-02-12 05:37:14 +00:00
release.py feat: add versioning infrastructure and release script 2026-03-12 01:35:47 -07:00
sample_and_compress.py Cleanup time! 2026-02-20 23:23:32 -08:00