Files
openclaw/src/channels/plugins/status-state.ts
T
Marcus Castro aa76cf43f0 fix(whatsapp): stabilize auth state and reconcile local runtime after CLI login (#67815)
* WhatsApp: harden auth persistence and backup recovery

* WhatsApp: model unstable auth state across runtime and setup

* WhatsApp: recover login and monitor startup from unstable auth

* Channels: surface auth stabilizing in status and health

* Gateway protocol: add channels.start surface

* Gateway: reconcile local channel runtime after CLI login

* Channels UI: reflect recovered login start state

* Changelog: note WhatsApp auth stabilization

* Gateway: fix lint in call test
2026-04-19 14:20:46 -03:00

13 lines
288 B
TypeScript

export function formatChannelStatusState(statusState: string): string {
switch (statusState) {
case "linked":
return "linked";
case "not-linked":
return "not linked";
case "unstable":
return "auth stabilizing";
default:
return statusState;
}
}