Phase 666: IPC for embed retry and composer IME composing state.

Wire retry-link-embed and composer-ime-composing to platform handlers.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-06-02 20:16:34 -04:00
co-authored by Cursor
parent c0a2e03c8f
commit e0a01a0236
+9
View File
@@ -2410,6 +2410,15 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
} }
return true return true
} }
if (t === 'composer-ime-composing') {
platform.setComposerImeComposing(!!msg.active)
return true
}
if (t === 'retry-link-embed') {
await platform.retryLinkEmbedForMessage(msg.messageId)
pushState()
return true
}
if (t === 'create-channel-webhook') { if (t === 'create-channel-webhook') {
const out = await platform.createChannelWebhook({ const out = await platform.createChannelWebhook({
channelId: msg.channelId, channelId: msg.channelId,