lobehub/apps
Arvin Xu 2c2795e73a
🐛 fix: cli gateway auto reconnect (#13418)
* ♻️ refactor: move Marketplace below Resources in sidebar

Move the Marketplace (Community) nav item from topNavItems to bottomMenuItems,
positioning it below Resources in the sidebar navigation.

Closes LOBE-6320

* 🐛 fix(cli): auto-reconnect on auth expiry instead of exit

- Add `updateToken()` and `reconnect()` methods to GatewayClient
- On `auth_expired`, refresh JWT then reconnect automatically (no more process.exit)
- Add heartbeat ack timeout detection: force reconnect after 3 missed acks
- Reset missed heartbeat counter on `heartbeat_ack` receipt
- Add comprehensive tests for updateToken, reconnect, and missed heartbeat scenarios

Closes connection drop issue when JWT expires after long-running sessions.
2026-03-31 01:16:17 +08:00
..
cli 🐛 fix: cli gateway auto reconnect (#13418) 2026-03-31 01:16:17 +08:00
desktop 🐛 fix(desktop): persist gateway toggle state across app restarts (#13300) 2026-03-26 19:31:42 +08:00
device-gateway feat(cli): support api key auth in cli (#13190) 2026-03-26 10:11:38 +08:00