Files
hermes-agent/hermes_cli
John Paul Soliva 08caaceb35 fix(dashboard): xAI and MiniMax sign-ins save into the profile they started in, never after a cancel
The dashboard device-code pollers looked the owning profile up by session id
only after the provider answered. A cancel (DELETE) or the 15-minute session
sweep had removed the registry entry by then, so the lookup returned None and
the tokens were saved into the dashboard's launch profile; the xAI and MiniMax
pollers also never re-checked for a cancel, so a cancelled login still saved
and made xai-oauth the default profile's active provider. The Codex path had
the same bug (IA-01).

All three pollers (Nous, MiniMax, xAI) now take the profile from their own
session dict, and MiniMax and xAI check "cancelled" in the same critical
section as the save, like Nous and Codex. The by-id lookup helper is gone.
2026-09-28 12:18:58 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
…