@llblab/pi-telegram 0.10.5 โ 0.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/lib/menu-queue.ts +8 -0
- package/lib/runtime.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.6: Native Typing Keepalive Hotfix
|
|
4
|
+
|
|
5
|
+
- `[Typing]` Telegram native `typing` chat actions now refresh every 2.5s instead of every 4s. Impact: the bot's Telegram-side typing animation has more headroom to stay visible during model retries, transient model/API errors, and other long-running agent work.
|
|
6
|
+
- `[Queue Menu]` Empty queue refresh now rotates through a wider set of small status phrases. Impact: repeatedly refreshing an empty queue feels less repetitive while preserving the same callbacks and menu layout.
|
|
7
|
+
- `[Tests]` Added coverage for the default native typing keepalive cadence.
|
|
8
|
+
|
|
3
9
|
## 0.10.5: Queue Continuity And Input Resilience Hotfix
|
|
4
10
|
|
|
5
11
|
- `[Compaction]` `/compact` completion and failure callbacks now request deferred queue dispatch instead of dispatching immediately. Impact: queued Telegram turns resume after compaction state and ฯ idle/pending-message state have a chance to settle.
|
package/lib/menu-queue.ts
CHANGED
|
@@ -18,6 +18,14 @@ const EMPTY_QUEUE_REFRESH_TITLES = [
|
|
|
18
18
|
"<b>๐ซ Still nothing in queue.</b>",
|
|
19
19
|
"<b>๐ Queue remains empty.</b>",
|
|
20
20
|
"<b>๐ณ Nothing queued yet.</b>",
|
|
21
|
+
"<b>๐ฆ Queue crickets continue.</b>",
|
|
22
|
+
"<b>๐ Queue is peacefully idle.</b>",
|
|
23
|
+
"<b>๐ง Nothing waiting. Very zen.</b>",
|
|
24
|
+
"<b>๐ช Queue orbit is clear.</b>",
|
|
25
|
+
"<b>๐งบ Basket is empty.</b>",
|
|
26
|
+
"<b>๐ญ No prompts on the horizon.</b>",
|
|
27
|
+
"<b>๐ซง Queue bubbles: none.</b>",
|
|
28
|
+
"<b>๐ธ No queued signals detected.</b>",
|
|
21
29
|
] as const;
|
|
22
30
|
type TelegramQueueMenuReplyMarkup = TelegramInlineKeyboardMarkup;
|
|
23
31
|
interface TelegramQueueMenuItem {
|
package/lib/runtime.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Owns small session-local runtime primitives that are shared by orchestration but are not specific to queueing, rendering, polling, or Telegram transport
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
const TELEGRAM_TYPING_ACTION_INTERVAL_MS =
|
|
7
|
+
const TELEGRAM_TYPING_ACTION_INTERVAL_MS = 2500;
|
|
8
8
|
|
|
9
9
|
export interface TelegramRuntimeQueueCounters {
|
|
10
10
|
nextQueuedTelegramItemOrder: number;
|