hermes-agent/apps/desktop/src/app
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
..
agents Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
artifacts refactor(desktop): DRY/elegance pass over PR-touched files 2026-06-04 00:28:57 -05:00
chat feat(desktop): background needs-input indicator, clarify redesign, Cmd+K palette & UI consistency pass (#38631) 2026-06-04 00:47:08 -05:00
command-center refactor(desktop): DRY/elegance pass over PR-touched files 2026-06-04 00:28:57 -05:00
command-palette feat(desktop): dedicated Providers settings + polished Accounts/API-keys UX (#38551) 2026-06-04 03:03:42 -05:00
cron style(desktop): hide search when there's nothing to search 2026-06-03 23:55:04 -05:00
gateway/hooks fix(desktop): re-mint OAuth WS ticket on gateway reconnect (#38886) 2026-06-04 02:28:43 -07:00
hooks feat(desktop): global Cmd+K palette + UI consistency overhaul 2026-06-03 23:45:45 -05:00
messaging style(desktop): hide search when there's nothing to search 2026-06-03 23:55:04 -05:00
overlays feat(desktop): dedicated Providers settings + polished Accounts/API-keys UX (#38551) 2026-06-04 03:03:42 -05:00
profiles style(desktop): shared Badge component; tidy profile metadata 2026-06-03 23:49:45 -05:00
right-sidebar feat(desktop): global Cmd+K palette + UI consistency overhaul 2026-06-03 23:45:45 -05:00
session/hooks style(desktop): satisfy lint across PR-touched files 2026-06-04 00:22:17 -05:00
settings feat(desktop): username/password login for remote gateways (#38851) 2026-06-04 01:33:23 -07:00
shell refactor(desktop): DRY/elegance pass over PR-touched files 2026-06-04 00:28:57 -05:00
skills style(desktop): hide search when there's nothing to search 2026-06-03 23:55:04 -05:00
desktop-controller.tsx feat(desktop): dedicated Providers settings + polished Accounts/API-keys UX (#38551) 2026-06-04 03:03:42 -05:00
index.tsx Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
layout-constants.ts feat(desktop): global Cmd+K palette + UI consistency overhaul 2026-06-03 23:45:45 -05:00
model-picker-overlay.tsx Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
model-visibility-overlay.tsx feat(desktop): inline model picker in the status bar 2026-06-02 19:09:41 -05:00
page-search-shell.tsx style(desktop): hide search when there's nothing to search 2026-06-03 23:55:04 -05:00
routes.ts feat(desktop): global Cmd+K palette + UI consistency overhaul 2026-06-03 23:45:45 -05:00
types.ts feat(desktop): persistent needs-input indicator + icon button consolidation 2026-06-03 21:44:30 -05:00
updates-overlay.tsx feat(desktop): composer/intro polish + shared ErrorState 2026-06-04 00:19:05 -05:00