mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
Phase 4 of cloud-auto-discovery — the UI on top of the Phase 3 cloud plumbing. Adds a third 'Hermes Cloud' ModeCard alongside Local/Remote in gateway-settings. Selecting it reveals the cloud panel instead of the URL/token form: - signed-out → 'Sign in to Hermes Cloud' (one portal login in the OAuth partition) - signed-in → a discovered-agent picker (loading / empty / list states) with a Refresh control. Selecting an agent drives the silent per-agent cascade (cloud.agentSignIn) then applies a mode:'cloud' connection pointed at its dashboardUrl — no second sign-in prompt. Cloud auto-discovers on entering the mode when a portal session already exists. Test/Save bottom-row actions are hidden in cloud mode (selection applies the connection); the remote URL/token form is now gated to remote mode only. Wires the renderer to the Phase 3 IPC (window.hermesDesktop.cloud.*). i18n strings added to en + zh (full) and the Translations type; ja/zh-hant inherit via defineLocale fallback. New 'Cloud' icon (IconCloud) exported from lib/icons. Validated: tsc clean, eslint clean, vite renderer build succeeds, 52 electron + 16 vitest tests pass. cloud-auto-discovery Phase 4. |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| fonts | ||
| hooks | ||
| i18n | ||
| lib | ||
| store | ||
| themes | ||
| types | ||
| global.d.ts | ||
| hermes-profile-scope.test.ts | ||
| hermes.test.ts | ||
| hermes.ts | ||
| main.tsx | ||
| styles.css | ||
| vite-env.d.ts | ||