@llblab/pi-telegram 0.45.9 → 0.45.10

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 CHANGED
@@ -4,6 +4,11 @@
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 0.45.10: Rich headings and state-scope markers
8
+
9
+ - `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.
10
+ - `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.
11
+
7
12
  ## 0.45.9: Rich sections and exact queue continuation
8
13
 
9
14
  - `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/docs/ui-style.md CHANGED
@@ -37,6 +37,10 @@ Use emoji as stable semantic markers, not decoration. Emoji carry transportable
37
37
  | `🧠` | Model thinking controls | Thinking menus and status rows | Thinking activity quotes omit this icon and their header entirely to minimize chat height. |
38
38
  | `📎` | Attachment | Attachment summaries, queue rows for attachment-only turns | Not for thread binding. |
39
39
  | `👁` | Read-only inspection | State/detail viewers and inspection entrypoints | Opens evidence without mutating the inspected object; do not use for edit or refresh actions. |
40
+ | `🌐` | Global state scope | State-scope chooser and selected-scope heading | Cross-project memory composed first. |
41
+ | `📂` | Current-working-directory state scope | State-scope chooser and selected-scope heading | Project-local memory composed after Global. |
42
+ | `💬` | Session state scope | State-scope chooser and selected-scope heading | Conversation-branch memory composed after CWD. |
43
+ | `🧬` | Effective composed state | State-scope chooser and selected-scope heading | The resulting Global → CWD → Session projection. |
40
44
 
41
45
  ### Command And Control Actions
42
46
 
@@ -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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llblab/pi-telegram",
3
- "version": "0.45.9",
3
+ "version": "0.45.10",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"