fix(panel): auto-provision Desktop argv.json and surface CDP bridge diagnostics for 2.33.0+ (Refs #26)

This commit is contained in:
fish
2026-11-18 20:11:31 +09:00
parent a954a98080
commit 935eb001ca
16 changed files with 1319 additions and 33 deletions
+11 -1
View File
@@ -262,7 +262,17 @@ export function isEquivalentTelemetry(prev, next) {
if (!sameArr(pSet?.overviewMetrics, nSet?.overviewMetrics)) return false;
if (!sameArr(pSet?.stepTableColumns, nSet?.stepTableColumns)) return false;
// 2. 比对云端状态
// 2. 比对云端状态与桥接健康度
const pWb = prev.windowBridge;
const nWb = next.windowBridge;
if (
(pWb?.state || '') !== (nWb?.state || '') ||
Boolean(pWb?.argvUpdatedThisBoot) !== Boolean(nWb?.argvUpdatedThisBoot) ||
Boolean(pWb?.argvConfigured) !== Boolean(nWb?.argvConfigured) ||
Number(pWb?.aliveCount || 0) !== Number(nWb?.aliveCount || 0)
) {
return false;
}
const pCloud = prev.cloudStatus;
const nCloud = next.cloudStatus;
if (