WebSocket message types.
| 12 | |
| 13 | |
| 14 | class MessageType(str, Enum): |
| 15 | """WebSocket message types.""" |
| 16 | # Core messages |
| 17 | CONNECTION = "connection" |
| 18 | CHAT = "chat" |
| 19 | RESPONSE = "response" |
| 20 | |
| 21 | # Progress updates |
| 22 | SCRAPING_PROGRESS = "scraping_progress" |
| 23 | EXECUTION_UPDATE = "execution_update" |
| 24 | |
| 25 | # Suggestions and AI |
| 26 | SUGGESTION = "suggestion" |
| 27 | PATTERN_DETECTED = "pattern_detected" |
| 28 | OPTIMIZATION_SUGGESTED = "optimization_suggested" |
| 29 | |
| 30 | # Collaboration |
| 31 | USER_JOINED = "user_joined" |
| 32 | USER_LEFT = "user_left" |
| 33 | PIPELINE_UPDATED = "pipeline_updated" |
| 34 | |
| 35 | # System |
| 36 | ERROR = "error" |
| 37 | WARNING = "warning" |
| 38 | INFO = "info" |
| 39 | PING = "ping" |
| 40 | PONG = "pong" |
| 41 | |
| 42 | |
| 43 | class StreamingResponse: |
nothing calls this directly
no outgoing calls
no test coverage detected