chore(log): trace-level compose draft IPC logging

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-23 04:15:26 -04:00
co-authored by Cursor
parent c0ce2502fd
commit 1aec691a24
+4
View File
@@ -1211,6 +1211,10 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
return true
}
if (t === 'set-compose-draft') {
flowLog.trace('compose draft ipc', {
channelId: msg.channelId,
len: String(msg.text ?? '').length
})
await platform.setComposeDraft(msg.channelId, msg.text ?? '')
return true
}