|
Handle heartbeat and session_sync on WS reconnect
- Ignore heartbeat events (server keep-alive pings) - On session_sync after a reconnect: call reloadSession() to fetch the latest saved history so the user sees the response even if the agent finished while the client was disconnected - Add chat.reloadSession(): force-reloads session from API bypassing the same-id guard, also restores context token metrics Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
|---|
|
|
| webclient/src/composables/useWebSocket.js |
|---|
| webclient/src/stores/chat.js |
|---|