Phase 992: add read receipt sync agentctl journey stub (v0.8.959)
Non-breaking headless journey for mesh stability UI read receipt sync keys snapshot and settings panel embed HTML verification. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
+21
@@ -1847,6 +1847,27 @@ class HeadlessSession {
|
||||
}
|
||||
}
|
||||
|
||||
/** Journey stub: mesh stability UI read receipt sync keys + embed snapshot (Phase 992). */
|
||||
async runMeshStabilityUiReadReceiptSyncJourney (guildId) {
|
||||
if (!this.platform) throw new Error('headless not started')
|
||||
const gid = guildId || this.platform.guild?.guild?.id
|
||||
if (!gid) throw new Error('no guild')
|
||||
const path = require('bare-path')
|
||||
const {
|
||||
listMeshStabilityUiReadReceiptSyncRowFieldKeys,
|
||||
buildMeshStabilityReadReceiptSyncSnapshot
|
||||
} = require('pearcord-platform/mesh-stability-ui-read-receipt-sync-keys')
|
||||
const uiPath = path.join(__dirname, '..', '..', 'apps', 'pearcord', 'ui', 'mesh-stability-ui-read-receipt-sync.js')
|
||||
const { buildMeshStabilityReadReceiptSyncDiagnosticsEmbedHtml } = await import(uiPath)
|
||||
const view = await this.refreshView()
|
||||
const fields = listMeshStabilityUiReadReceiptSyncRowFieldKeys()
|
||||
const snapshot = buildMeshStabilityReadReceiptSyncSnapshot(view)
|
||||
const embedHtml = buildMeshStabilityReadReceiptSyncDiagnosticsEmbedHtml({
|
||||
readReceiptSyncRows: [{ channelName: 'general', channelId: 'abc123def456', lastReadAt: Date.now() }]
|
||||
}, (s) => String(s))
|
||||
return { guildId: gid, fields, snapshot, embedHtml, view }
|
||||
}
|
||||
|
||||
/** Journey stub: mesh stability UI partition heal diagnostics keys + embed snapshot (Phase 991). */
|
||||
async runMeshStabilityUiPartitionHealDiagnosticsJourney (guildId) {
|
||||
if (!this.platform) throw new Error('headless not started')
|
||||
|
||||
Reference in New Issue
Block a user