hermes-agent/apps/desktop/src
Teknium 928f1ac0e1
fix(desktop): re-mint OAuth WS ticket on gateway reconnect (#38886)
attemptReconnect() connected with the stale cached conn.wsUrl. OAuth WS
tickets are single-use with a ~30s TTL, so the first sign-in (which goes
through boot() and re-mints via resolveGatewayWsUrl) succeeds, but every
reconnect (sleep/wake, network online, window refocus, socket drop, app
restart) reused a dead ticket and failed the WS upgrade with an opaque
"Could not connect to Hermes gateway" — even though backend resolution
(cookie + REST) reported ready.

attemptReconnect now mints a fresh ticket before connecting, mirroring
use-gateway-request.ts, and surfaces the reauth "sign in again" message
once on OAuth expiry instead of silently looping backoff against a dead
ticket. Local/token gateways are unaffected (re-mint is a no-op).
2026-06-04 02:28:43 -07:00
..
app fix(desktop): re-mint OAuth WS ticket on gateway reconnect (#38886) 2026-06-04 02:28:43 -07:00
components feat(desktop): dedicated Providers settings + polished Accounts/API-keys UX (#38551) 2026-06-04 03:03:42 -05:00
hooks Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
lib fix(desktop): don't fall back to a dead WS ticket on OAuth re-mint failure 2026-06-04 01:11:34 -07:00
store feat(desktop): dedicated Providers settings + polished Accounts/API-keys UX (#38551) 2026-06-04 03:03:42 -05:00
themes Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
types feat(desktop): dedicated Providers settings + polished Accounts/API-keys UX (#38551) 2026-06-04 03:03:42 -05:00
global.d.ts feat(desktop): username/password login for remote gateways (#38851) 2026-06-04 01:33:23 -07:00
hermes.ts fix(desktop): configure local/custom endpoint without an API key or UI changes 2026-06-03 17:48:55 -07:00
main.tsx fix(desktop): stabilize project folder sessions (#37586) 2026-06-02 20:23:09 +00:00
styles.css feat(desktop): dedicated Providers settings + polished Accounts/API-keys UX (#38551) 2026-06-04 03:03:42 -05:00
vite-env.d.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00