diff --git a/docs/websocket.md b/docs/websocket.md index 843e263..7f58570 100644 --- a/docs/websocket.md +++ b/docs/websocket.md @@ -101,6 +101,7 @@ | `{"type": "context_compressed", "messages_before": N, "messages_after": N, "summary": "...", "context_tokens": N, "max_context_tokens": N}` | After context compression runs | | `{"type": "profile_switched", "profile_id": "...", "profile_name": "..."}` | When `switch_profile` tool succeeds | | `{"type": "recall_update", "session_id": "...", "recall_id": "...", "call_type": "...", "trigger_at": "...", "status": "...", "action": "..."}` | Recall state changed (scheduled, cancelled, fired, rescheduled) | +| `{"type": "mcp_status_update", "server_name": "...", "status": "connected|disconnected", "tool_count": N, "error": "..."}` | MCP server connection status changed — broadcast to all sessions for toast notifications | | `{"type": "heartbeat"}` | Periodic keepalive during long silent operations (every 20 s) | | `{"type": "session_sync"}` | Client should reload session history from REST (`GET /sessions/{id}`) |