Files
LangBot/pkg
RockChinQ a4995c8cd9 feat: Migrate pipeline debug from SSE to WebSocket
Replace Server-Sent Events (SSE) with WebSocket for pipeline debugging
to support bidirectional real-time communication and resolve timeout
limitations.

## Backend Changes

- Add WebSocketConnectionPool for managing client connections
- Implement WebSocket route handler at /api/v1/pipelines/<uuid>/chat/ws
- Modify WebChatAdapter to broadcast messages via WebSocket
- Support both legacy SSE and new WebSocket simultaneously
- Maintain person/group session isolation

## Frontend Changes

- Create PipelineWebSocketClient for WebSocket communication
- Update DebugDialog to use WebSocket instead of SSE
- Support auto-reconnection and connection status tracking
- Remove streaming toggle (WebSocket always supports streaming)

## Key Features

- Eliminates 120-second timeout limitation
- Supports multiple messages per request
- Enables backend push notifications (plugins)
- Maintains session isolation (person vs group)
- Backward compatible with SSE during transition

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 12:50:18 +00:00
..
2025-07-10 11:01:16 +08:00
2025-05-14 16:44:48 +08:00
2025-10-17 18:13:03 +08:00
2025-09-12 12:41:16 +08:00
2025-05-27 22:36:50 +08:00
2025-10-22 18:52:45 +08:00
2025-09-12 12:41:16 +08:00
2022-12-07 22:27:05 +08:00