mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-23 19:08:22 -06:00
aa76cf43f0
* 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
13 lines
288 B
TypeScript
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;
|
|
}
|
|
}
|