Web relay: auto-reconnect Baileys and test

This commit is contained in:
Peter Steinberger
2025-11-25 18:09:57 +01:00
parent 46be5eac7d
commit dda017df23
3 changed files with 253 additions and 110 deletions

View File

@@ -5,6 +5,7 @@
### Pending
- Auto-replies now send a WhatsApp fallback message when a command/Claude run hits the timeout, including up to 800 chars of partial stdout so the user still sees progress.
- Added tests covering the new timeout fallback behavior and partial-output truncation.
- Web relay auto-reconnects after Baileys/WebSocket drops (with log-out detection) and exposes close events for monitoring; added tests for close propagation and reconnect loop.
## 0.1.3 — 2025-11-25