feat(messenger): attachments in chat — upload, send, and render

CrmMessagingAdapter now implements upload() (presign-upload → PUT → presign-download
→ Attachment with contentRef), so the composer's attach button appears; send()
forwards the attachment to the socket; and incoming messages (history + realtime)
resolve a presigned display URL. Pull SDK 0.1.4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-23 03:06:06 +05:30
parent 0c2b7ef132
commit 2c38ce811f
3 changed files with 55 additions and 14 deletions
+4 -4
View File
@@ -10,7 +10,7 @@
"dependencies": {
"@abe-kap/appshell-sdk": "^0.2.6",
"@insignia/iios-kernel-client": "^0.1.4",
"@insignia/iios-messaging-ui": "^0.1.3",
"@insignia/iios-messaging-ui": "^0.1.4",
"clsx": "^2.1.1",
"lucide-react": "^1.21.0",
"next": "16.2.9",
@@ -1028,9 +1028,9 @@
}
},
"node_modules/@insignia/iios-messaging-ui": {
"version": "0.1.3",
"resolved": "https://git.lynkedup.cloud/api/packages/insignia/npm/%40insignia%2Fiios-messaging-ui/-/0.1.3/iios-messaging-ui-0.1.3.tgz",
"integrity": "sha512-zCHaL0rF7l4a1/xKQAo7TUJyRKILdRJcblAaPzX8kY3pJpqRGqmAppRVOXwmbBQisCWe2rhrSw9T/EJm8IzBxQ==",
"version": "0.1.4",
"resolved": "https://git.lynkedup.cloud/api/packages/insignia/npm/%40insignia%2Fiios-messaging-ui/-/0.1.4/iios-messaging-ui-0.1.4.tgz",
"integrity": "sha512-xgwVPY//NFyCrGxuLpLlrXn89q2SMgQoKTiW46CWdLx6rkaaxSesVEijGEoYt25rVPVF9+RcDPbwIBQ2GDtHQw==",
"peerDependencies": {
"@insignia/iios-kernel-client": "*",
"react": ">=18",