From ac5de0df28a647c860648b36c08e2a26c8b9a2e2 Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 5 May 2026 19:29:57 +0000 Subject: [PATCH] docs: add persistent typing indicator to README --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a50cdbc7..b8d7d695 100644 --- a/README.md +++ b/README.md @@ -219,6 +219,11 @@ Stream starts → detects tool_call → accumulates full tool_call → executes - Adaptive backoff on Telegram flood control (429) - Typing cursor `▉` during generation, clean final message - Graceful fallback to plain send on repeated failures +- **⌨️ Persistent Typing Indicator**: `sendChatAction('typing')` every 4s + - Active from message receipt through entire response (tool turns + streaming) + - Telegram typing expires after ~5s — 4s interval keeps it alive continuously + - Only stops when final response is fully delivered + - Ensures user always sees activity, even during long tool execution gaps - **🎨 Telegram HTML Formatting**: AI markdown → clean Telegram HTML - `**bold**`, `*italic*`, `` `code` ``, fenced code blocks, `[links](url)`, `~~strike~~`, headings, blockquotes, lists - Double fallback: HTML → stripped plain text (never shows raw `**`) @@ -557,8 +562,9 @@ Z.AI API (SSE) | MCP servers | ✅ Full MCP protocol | ✅ Native MCP + mcporter | ❌ None | | RTK optimization | ✅ RTK active (60-90% savings) | ✅ RTK integrated | ❌ None | | **Platform** | | | | -| Telegram integration | ✅ Native bot + webhook + streaming | ✅ 2-way Telegram bridge | ❌ None | -| Discord | ✅ Native bot (discord.js) | ✅ Full Discord integration | ❌ None | +|| Telegram integration | ✅ Native bot + webhook + streaming | ✅ 2-way Telegram bridge | ❌ None || +|| Persistent typing indicator | ✅ 4s interval, active during full response | ❌ None | ❌ None || +|| Discord | ✅ Native bot (discord.js) | ✅ Full Discord integration | ❌ None || | Multi-channel delivery | ✅ Delivery hub (TG + DC + WS + log) | ✅ Cron→multi-platform | ❌ None | || **Voice** | | | | || Speech-to-Text | ✅ Vosk (offline, ~200ms, 68MB) | ⚠️ Whisper (needs GPU) | ❌ None |