hermes-agent/apps/desktop/src/i18n
Jaaneek 5ef0b8acb0 feat(auth): make xAI Grok OAuth device-code-only, drop loopback login
Replace the loopback/PKCE-callback server and manual-paste fallback with
the RFC 8628 device-code flow as the only xAI Grok OAuth login path. The
flow works in headless/SSH/container sessions with no 127.0.0.1 listener,
shrinking the local attack surface.

- Poll the token endpoint with server-provided interval, honoring
  slow_down and expires_in; store tokens with auth_mode
  oauth_device_code.
- Adaptive proactive refresh skew for short-lived device-code JWTs;
  rotated tokens sync back to auth.json, the global root store, and the
  credential pool (no refresh-token replay).
- Clear source suppression on successful re-login (CLI + dashboard) and
  drop the duplicate dashboard pool entry so exactly one seeded
  device_code entry exists.
- Use the shared device_code source name for consistency with the
  nous/codex device-code providers.
- Desktop: remove the loopback OAuth flow states and dead type variants;
  pkce providers' sign-in URL selection is unchanged.
- Docs (EN + zh-Hans) rewritten for device-code login; drop the deleted
  --manual-paste flag from documented commands.
2026-07-02 13:17:41 -07:00
..
catalog.ts feat: Add desktop language switching for Japanese and Traditional Chinese 2026-06-06 07:51:44 -07:00
context.test.tsx feat: Add desktop language switching for Japanese and Traditional Chinese 2026-06-06 07:51:44 -07:00
context.tsx feat(desktop): persist i18n language in config 2026-06-05 10:32:26 -07:00
define-locale.ts feat: Add desktop language switching for Japanese and Traditional Chinese 2026-06-06 07:51:44 -07:00
en.ts feat(auth): make xAI Grok OAuth device-code-only, drop loopback login 2026-07-02 13:17:41 -07:00
index.ts fix(desktop): limit pending tool shimmer to action verb 2026-06-24 21:59:41 -05:00
ja.ts feat(auth): make xAI Grok OAuth device-code-only, drop loopback login 2026-07-02 13:17:41 -07:00
languages.test.ts feat: Add desktop language switching for Japanese and Traditional Chinese 2026-06-06 07:51:44 -07:00
languages.ts Add searchable language picker 2026-06-06 07:51:44 -07:00
runtime.test.ts Refactor desktop settings i18n keys to camelCase 2026-06-06 07:51:44 -07:00
runtime.ts feat(desktop): persist i18n language in config 2026-06-05 10:32:26 -07:00
types.ts Merge pull request #55331 from xxxigm/fix/desktop-projects-stale-backend 2026-06-30 11:47:04 -05:00
zh-hant.ts feat(auth): make xAI Grok OAuth device-code-only, drop loopback login 2026-07-02 13:17:41 -07:00
zh.ts feat(auth): make xAI Grok OAuth device-code-only, drop loopback login 2026-07-02 13:17:41 -07:00