macOS 上的健康檢查
How to see whether the linked channel is healthy from the menu bar app.Menu bar
- 狀態圓點現在反映 Baileys 的健康狀態:
- 綠色:已連結 + 近期已開啟 socket。
- 橘色:連線中/重試中。
- 紅色:已登出或探測失敗。
- 次要行顯示「linked · auth 12m」或顯示失敗原因。
- 「Run Health Check」選單項目會觸發隨選探測。
設定
- 一般分頁新增健康卡片,顯示:連結的 auth 年齡、session-store 路徑/數量、上次檢查時間、最近的錯誤/狀態碼,以及「Run Health Check」/「Reveal Logs」按鈕。
- Uses a cached snapshot so the UI loads instantly and falls back gracefully when offline.
- Channels 分頁 顯示 WhatsApp/Telegram 的頻道狀態與控制項(登入 QR、登出、探測、最近一次斷線/錯誤)。
探測如何運作
- App runs
openclaw health --jsonviaShellExecutorevery ~60s and on demand. The probe loads creds and reports status without sending messages. - 分別快取「最後一次成功的快照」與「最後一次錯誤」,以避免畫面閃爍;並顯示各自的時間戳記。
不確定時
- 你仍可使用 Gateway health 中的 CLI 流程(
openclaw status、openclaw status --deep、openclaw health --json),並追蹤/tmp/openclaw/openclaw-*.log以查看web-heartbeat/web-reconnect。