@llblab/pi-telegram 0.30.0 → 0.30.1
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 +4 -0
- package/lib/queue.ts +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
> Each release keeps at most 8 outcome records of at most 512 characters.
|
|
4
4
|
|
|
5
|
+
## 0.30.1: Priority Button Queue Hotfix
|
|
6
|
+
|
|
7
|
+
- `Priority Queue`: Assistant-authored button callbacks now enter the sorted priority lane ahead of already queued default prompts, aligning the visible lightning marker with actual dispatch order while preserving callback deduplication and FIFO ordering within each lane.
|
|
8
|
+
|
|
5
9
|
## 0.30.0: Generated Control Surfaces
|
|
6
10
|
|
|
7
11
|
- `Generated Control Surface`: Replaced the CLI-bound Button Console with a transport-aware Control Surface Skill that proactively generates truthful contextual controls when they shorten feedback for workflows, stateful systems, navigation, Actor supervision, and decisions while preserving domain ownership, ordinary prompt authority, confirmation boundaries, and stateless regeneration.
|
package/lib/queue.ts
CHANGED
|
@@ -821,7 +821,10 @@ export function appendTelegramPromptTurnOnce<TContext = unknown>(
|
|
|
821
821
|
isDuplicateTelegramPromptTurn(item, turn),
|
|
822
822
|
);
|
|
823
823
|
if (duplicate) return { items, appended: false };
|
|
824
|
-
return {
|
|
824
|
+
return {
|
|
825
|
+
items: [...items, turn].sort(compareTelegramQueueItems),
|
|
826
|
+
appended: true,
|
|
827
|
+
};
|
|
825
828
|
}
|
|
826
829
|
|
|
827
830
|
export function compareTelegramQueueItems<TContext = unknown>(
|