feat(ui): add reconnect button and session count in header

- Add retry button when SSE connection is lost
- Add reconnectSSE method for manual reconnection
- Add session count to header stats
- Include session costs in total cost calculation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-18 22:29:23 +01:00
co-authored by Claude Opus 4.5
parent 919e48a5cc
commit bc72bccc85
2 changed files with 31 additions and 6 deletions
+4
View File
@@ -24,6 +24,10 @@
</div>
</div>
<div class="header-stats">
<div class="stat-item">
<span class="stat-value" id="statSessions">0</span>
<span class="stat-label">Sessions</span>
</div>
<div class="stat-item">
<span class="stat-value" id="statCost">$0.00</span>
<span class="stat-label">Total Cost</span>