mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-07-21 23:20:21 +00:00
0b57a7101f
Sidebar vanished during resilient/slow session loads. Preserve sidebar fields on resilient loads + add an opt-in api() retry so a slow /api/sessions shows a retryable error state instead of an empty sidebar. Maintainer fixes for the 3 review-blocking SILENT regressions: - Restore read_only / is_read_only / gateway_routing to the sidebar response allowlist, so read-only (imported CLI + Claude Code) sessions keep their rename/action-menu/swipe suppression and the gateway model label renders. (gateway_routing_history intentionally NOT sent — the label reader prefers the latest gateway_routing, and the full history would bloat each row.) - Scope-tag the session cache (active profile + all-profiles flag). When a /api/sessions refresh fails right after a profile switch, the catch path now clears the stale rows and shows the error state instead of re-rendering the PRIOR profile's sessions. Co-authored-by: ai-ag2026 <ai-ag2026@users.noreply.github.com>