feat(phase984): mesh stability UI reconnect chrome journey stub
Adds runMeshStabilityUiReconnectChromeJourney for agentctl smoke coverage. Non-breaking headless journey only. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
+17
@@ -1817,6 +1817,23 @@ class HeadlessSession {
|
||||
return { multi, federation }
|
||||
}
|
||||
|
||||
/** Journey stub: mesh stability UI reconnect chrome keys + snapshot (Phase 984). */
|
||||
async runMeshStabilityUiReconnectChromeJourney (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 {
|
||||
listMeshStabilityUiReconnectChromeFieldKeys,
|
||||
buildMeshStabilityReconnectChromeSnapshot,
|
||||
formatMeshStabilityP2pBadgeText
|
||||
} = require('pearcord-platform/mesh-stability-ui-reconnect-chrome-keys')
|
||||
const view = await this.refreshView()
|
||||
const fields = listMeshStabilityUiReconnectChromeFieldKeys()
|
||||
const snapshot = buildMeshStabilityReconnectChromeSnapshot(view)
|
||||
const badgeText = formatMeshStabilityP2pBadgeText(view?.stats)
|
||||
return { guildId: gid, fields, snapshot, badgeText, view }
|
||||
}
|
||||
|
||||
/** Journey stub: mesh stability UI refresh predicate keys + snapshot (Phase 983). */
|
||||
async runMeshStabilityUiRefreshPredicateJourney (guildId) {
|
||||
if (!this.platform) throw new Error('headless not started')
|
||||
|
||||
Reference in New Issue
Block a user