v0.5.1 — Faster Messaging
What's new
Event-driven message handling — Telegram and WhatsApp messages now wake the processing loop instantly instead of waiting up to 2 seconds for the next poll tick. Typical latency drops from ~3s to under 1s.
Stall-aware typing indicator — typing indicator now stops after 15 seconds of no agent output, so it reflects actual work rather than just "process is alive". Resumes automatically when output flows again.
Agent acknowledgment — agents now send a quick ack ("On it — checking X") before starting longer tasks, so you know the request was received.
Heartbeat cleanup — heartbeat checks no longer leak internal reasoning. Old/filtered errors are silently ignored instead of reported.
Changes
src/message-signal.ts— new event-driven wake modulesrc/channels/telegram.ts/whatsapp.ts— signal on message receiptsrc/config.ts— poll interval 2000ms → 500ms (fallback only)src/index.ts— stall-aware typing (15s timeout), event-driven loopgroups/global/CLAUDE.md— agent ack instructions