feat(platform): embed span guildCount for Phase 582 (v0.8.545)

Extend embed.resolve, embed.gossip, and embed.clear span ends with
guildCount for embed hub correlation.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Raven Scott
2026-05-24 16:03:10 -04:00
co-authored by Cursor
parent 57e2e1a699
commit 1c245c1225
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -229,6 +229,8 @@ Expose a single `EventEmitter` API the UI drives over IPC (`apps/pearcord/index.
**v0.8.521 (Phase 558):** Voice spans extend — `voice.join`/`voice.leave`/`voice.mute` `activeChannelId`. UI `#voice-panel-live`, `syncVoiceOccupancyLivePanelDuringGuildLoading`. Bundle: `npm run test:phase558-voice`. See [VOICE.md](../../docs/VOICE.md). **v0.8.521 (Phase 558):** Voice spans extend — `voice.join`/`voice.leave`/`voice.mute` `activeChannelId`. UI `#voice-panel-live`, `syncVoiceOccupancyLivePanelDuringGuildLoading`. Bundle: `npm run test:phase558-voice`. See [VOICE.md](../../docs/VOICE.md).
**v0.8.545 (Phase 582):** Embed spans extend — `embed.resolve`/`embed.gossip`/`embed.clear` end adds `guildCount`. UI `#embed-hub-panel-live`, `syncEmbedHubLivePanelDuringGuildLoading`; tightened **embed-errors** bleed exclusions. Bundle: `npm run test:phase582-embeds`. See [EMBEDS.md](../../docs/EMBEDS.md).
**v0.8.520 (Phase 557):** Embed spans extend — `embed.resolve`/`embed.gossip` `messageId`/`activeChannelId`; `embed.clear` on delete via `clearForMessageContent`. UI split embed panels; `#embed-panel-live`. Bundle: `npm run test:phase557-embeds`. See [EMBEDS.md](../../docs/EMBEDS.md). **v0.8.520 (Phase 557):** Embed spans extend — `embed.resolve`/`embed.gossip` `messageId`/`activeChannelId`; `embed.clear` on delete via `clearForMessageContent`. UI split embed panels; `#embed-panel-live`. Bundle: `npm run test:phase557-embeds`. See [EMBEDS.md](../../docs/EMBEDS.md).
**v0.8.519 (Phase 556):** Attachment spans extend — `attachment.stage` `stagedCount`/`remainingStagingCapacity`; `attachment.read` `activeChannelId`; `attachment.unlink` on delete. UI split attachment panels; `#attachment-panel-live`. Bundle: `npm run test:phase556-attachments`. See [ATTACHMENTS.md](../../docs/ATTACHMENTS.md). **v0.8.519 (Phase 556):** Attachment spans extend — `attachment.stage` `stagedCount`/`remainingStagingCapacity`; `attachment.read` `activeChannelId`; `attachment.unlink` on delete. UI split attachment panels; `#attachment-panel-live`. Bundle: `npm run test:phase556-attachments`. See [ATTACHMENTS.md](../../docs/ATTACHMENTS.md).
+3
View File
@@ -8763,6 +8763,7 @@ class PearcordPlatform extends EventEmitter {
messageId: msg.id, messageId: msg.id,
guildId, guildId,
channelId, channelId,
guildCount: (this.guilds || []).length,
activeChannelId: this.activeChannelId, activeChannelId: this.activeChannelId,
urlHost: (() => { urlHost: (() => {
try { try {
@@ -8787,6 +8788,7 @@ class PearcordPlatform extends EventEmitter {
messageId: msg.id, messageId: msg.id,
guildId, guildId,
channelId, channelId,
guildCount: (this.guilds || []).length,
activeChannelId: this.activeChannelId, activeChannelId: this.activeChannelId,
urlHost, urlHost,
urlLen: url.length, urlLen: url.length,
@@ -13103,6 +13105,7 @@ class PearcordPlatform extends EventEmitter {
messageId, messageId,
guildId, guildId,
channelId, channelId,
guildCount: (this.guilds || []).length,
clearedCount: embedClearCount, clearedCount: embedClearCount,
hadUrl: !!embedClear.hadUrl, hadUrl: !!embedClear.hadUrl,
activeChannelId: this.activeChannelId activeChannelId: this.activeChannelId