@llblab/pi-telegram 0.45.9 → 0.45.11
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 +9 -0
- package/lib/telegram-api.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 0.45.11: Consumer-owned companion semantics
|
|
8
|
+
|
|
9
|
+
- `Extension boundaries`: Removes consumer-specific state-scope emoji from the Telegram UI registry. The bridge continues to own generic Rich Message headings and inspection semantics, while companion extensions independently own their domain labels, composition rules, and presentation through the public section API.
|
|
10
|
+
|
|
11
|
+
## 0.45.10: Rich headings and state-scope markers
|
|
12
|
+
|
|
13
|
+
- `Rich section headings`: Public Rich Message block types now include native headings, allowing companion sections to place a fixed title above sibling disclosures instead of wrapping the entire view in another collapsible block.
|
|
14
|
+
- `State-scope markers`: Registers 🌐 Global, 📂 CWD, 💬 Session, and 🧬 Effective as canonical state-scope semantics for chooser buttons and selected-scope headings, with composition flowing Global → CWD → Session → Effective.
|
|
15
|
+
|
|
7
16
|
## 0.45.9: Rich sections and exact queue continuation
|
|
8
17
|
|
|
9
18
|
- `Extension Sections`: Public section contexts now expose `openRich(message)` for one standalone Telegram Native Rich Message routed to the exact callback chat/thread with normal message-ownership recording and scoped callback diagnostics. Companion extensions can reuse native `details`/`pre` disclosure without raw bot access; `👁` is the canonical read-only inspection marker.
|
package/lib/telegram-api.ts
CHANGED
|
@@ -292,6 +292,7 @@ export type TelegramRichText =
|
|
|
292
292
|
| { type: "bold" | "code"; text: TelegramRichText };
|
|
293
293
|
|
|
294
294
|
export type TelegramInputRichBlock =
|
|
295
|
+
| { type: "heading"; text: TelegramRichText; size?: 1 | 2 | 3 }
|
|
295
296
|
| { type: "pre"; text: TelegramRichText; language?: string }
|
|
296
297
|
| {
|
|
297
298
|
type: "details";
|