From e0a01a0236647f1308db8c62e7098c5044454f94 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Tue, 2 Jun 2026 20:16:34 -0400 Subject: [PATCH] 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 --- index.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.js b/index.js index b73ed6c..d1319e4 100644 --- a/index.js +++ b/index.js @@ -2410,6 +2410,15 @@ async function dispatchUiMessage (platform, msg, hooks = {}) { } 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') { const out = await platform.createChannelWebhook({ channelId: msg.channelId,