Health Checks
Health Checks on macOS
Section titled “Health Checks on macOS”How to see whether the linked channel is healthy from the menu bar app.
Menu bar
Section titled “Menu bar”- Status dot now reflects Baileys health:
- Green: linked + socket opened recently.
- Orange: connecting/retrying.
- Red: logged out or probe failed.
- Secondary line reads “linked · auth 12m” or shows the failure reason.
- “Run Health Check” menu item triggers an on-demand probe.
Settings
Section titled “Settings”- General tab gains a Health card showing: linked auth age, session-store path/count, last check time, last error/status code, and buttons for Run Health Check / Reveal Logs.
- Uses a cached snapshot so the UI loads instantly and falls back gracefully when offline.
- Channels tab surfaces channel status + controls for WhatsApp/Telegram (login QR, logout, probe, last disconnect/error).
How the probe works
Section titled “How the probe works”- App runs
coderclaw health --jsonviaShellExecutorevery ~60s and on demand. The probe loads creds and reports status without sending messages. - Cache the last good snapshot and the last error separately to avoid flicker; show the timestamp of each.
When in doubt
Section titled “When in doubt”- You can still use the CLI flow in Gateway health (
coderclaw status,coderclaw status --deep,coderclaw health --json) and tail/tmp/coderclaw/coderclaw-*.logforweb-heartbeat/web-reconnect.