feat(messenger): paged history + scrollback (SDK 0.3.0, kernel-client 0.2.0)

CrmMessagingAdapter.historyPage returns {messages, hasMore}. The socket path
(openThread) serves the newest page since it also joins the room; scrollback has
no socket verb, so `before` goes over the data door — by then the room is already
joined, so nothing live is missed either way.

Opening a long thread now loads one page instead of every message ever sent, and
the SDK renders a "Load older messages" control.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-29 14:02:37 +05:30
parent 7b806da14c
commit 954ad20a78
3 changed files with 37 additions and 19 deletions
+2 -2
View File
@@ -13,8 +13,8 @@
"@abe-kap/appshell-sdk": "^0.2.6",
"@huggingface/transformers": "^4.2.0",
"@imgly/background-removal": "^1.7.0",
"@insignia/iios-kernel-client": "^0.1.6",
"@insignia/iios-messaging-ui": "^0.2.0",
"@insignia/iios-kernel-client": "^0.2.0",
"@insignia/iios-messaging-ui": "^0.3.0",
"@photo-gallery/sdk": "file:./vendor/photo-gallery-sdk",
"@tanstack/react-query": "^5.101.4",
"@tensorflow-models/coco-ssd": "^2.2.3",