Phase 849: sync-guild-mesh-quad-expression-soak IPC
Multi-slice guild-sync-ready fanout for quad expression/metadata soak recovery. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
|
Pearcord desktop UI IPC dispatch and automated flow scenarios for Bare smokes. Mirrors `apps/pearcord` pear-pipe message handling.
|
||||||
|
|
||||||
|
**Phase 849 (v0.8.816):** `sync-guild-mesh-quad-expression-soak` composite IPC. Bundle: `npm run test:ci-phase849`.
|
||||||
|
|
||||||
**Phase 848 (v0.8.815):** `sync-guild-mesh-quad-channel-lifecycle` channel IPC. Bundle: `npm run test:ci-phase848`.
|
**Phase 848 (v0.8.815):** `sync-guild-mesh-quad-channel-lifecycle` channel IPC. Bundle: `npm run test:ci-phase848`.
|
||||||
|
|
||||||
**Phase 847 (v0.8.814):** `sync-guild-mesh-quad-sounds` soundboard IPC. Bundle: `npm run test:ci-phase847`.
|
**Phase 847 (v0.8.814):** `sync-guild-mesh-quad-sounds` soundboard IPC. Bundle: `npm run test:ci-phase847`.
|
||||||
|
|||||||
@@ -1450,6 +1450,45 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
})
|
})
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if (t === 'sync-guild-mesh-quad-expression-soak') {
|
||||||
|
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
||||||
|
const gid = platform.guild.guild.id
|
||||||
|
const peerN = platform.guild?.peers?.size ?? 0
|
||||||
|
platform.emit('guild-mesh-topology', {
|
||||||
|
guildId: gid,
|
||||||
|
meshPeerCount: peerN,
|
||||||
|
manualRecovery: true,
|
||||||
|
quadMesh: true
|
||||||
|
})
|
||||||
|
platform.emit('guild-emoji', { guildId: gid, manualRecovery: true })
|
||||||
|
platform.emit('guild-sticker', { guildId: gid, manualRecovery: true })
|
||||||
|
platform.emit('guild-sound', { guildId: gid, manualRecovery: true })
|
||||||
|
platform.emit('channel-settings', {
|
||||||
|
guildId: gid,
|
||||||
|
channelId: platform.activeChannelId,
|
||||||
|
manualRecovery: true
|
||||||
|
})
|
||||||
|
platform.emit('guild-sync-ready', {
|
||||||
|
guildId: gid,
|
||||||
|
quadExpressionSoak: 1,
|
||||||
|
emojis: 1,
|
||||||
|
stickers: 1,
|
||||||
|
sounds: 1,
|
||||||
|
channelTopic: 1,
|
||||||
|
channelSettings: 1,
|
||||||
|
messages: 1
|
||||||
|
})
|
||||||
|
if (typeof platform.requestGuildSyncFanout === 'function') {
|
||||||
|
platform.requestGuildSyncFanout()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
pushState({
|
||||||
|
structural: true,
|
||||||
|
light: false,
|
||||||
|
source: 'sync-guild-mesh-quad-expression-soak'
|
||||||
|
})
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (t === 'sync-guild-mesh-quad-channel-lifecycle') {
|
if (t === 'sync-guild-mesh-quad-channel-lifecycle') {
|
||||||
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
if (platform.mode === 'guild' && platform.guild?.guild?.id) {
|
||||||
const gid = platform.guild.guild.id
|
const gid = platform.guild.guild.id
|
||||||
|
|||||||
Reference in New Issue
Block a user