Pass guildId and meta through settings deep link and diagnostics export IPC.

format-settings-deep-link includes guildId in URL; export-diagnostics-jsonl forwards meta to platform writer.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-23 06:45:53 -04:00
co-authored by Cursor
parent 063f4f3c89
commit cd32dbb82a
+10 -3
View File
@@ -731,9 +731,16 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
if (t === 'format-settings-deep-link') {
const url = platform.formatSettingsDeepLink({
section: msg.section,
scope: msg.scope
scope: msg.scope,
guildId: msg.guildId
})
send({
type: 'settings-deep-link',
url,
section: msg.section || null,
scope: msg.scope || 'user',
guildId: msg.guildId || null
})
send({ type: 'settings-deep-link', url, section: msg.section || null, scope: msg.scope || 'user' })
return true
}
if (t === 'mark-notification-read') {
@@ -1381,7 +1388,7 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
return true
}
if (t === 'export-diagnostics-jsonl') {
const out = platform.writeDiagnosticsJsonl(msg.lines || [])
const out = platform.writeDiagnosticsJsonl(msg.lines || [], msg.meta || {})
send({ type: 'diagnostics-jsonl-exported', ...out })
return true
}