feat(ext-api): storage Wasabi de mídia — thumbnails + flag de recuperabilidade

- re-download persiste a mídia no Wasabi e gera thumbnail <url>.thumb.webp (sharp)
- GET /inbox/:chatId/messages expõe mediaRecoverable = url|path|payload presente
- ws-bridge: encaminha hook ext:presence

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
VPS 4 Deploy Agent
2026-07-04 19:05:50 +02:00
parent 1702235c59
commit 2c8eb41b7d
6 changed files with 631 additions and 12 deletions
@@ -109,6 +109,7 @@ export function buildWsBridge(
{ hook: 'ext:session.status', wsEvent: 'session.status' },
{ hook: 'ext:message.new', wsEvent: 'message.new' },
{ hook: 'ext:message.update', wsEvent: 'message.update' },
{ hook: 'ext:presence', wsEvent: 'presence' },
{ hook: 'ext:handoff', wsEvent: 'conversation.handoff' },
{ hook: 'ext:escalated', wsEvent: 'conversation.escalated' },
]