(text: string)
| 29 | } |
| 30 | |
| 31 | function parseCommand(text: string) { |
| 32 | return resolveCommand(text.trim().toLowerCase()); |
| 33 | } |
| 34 | |
| 35 | function sendWsEvent(ws: WebSocket, event: AgentEvent): void { |
| 36 | if (ws.readyState !== ws.OPEN) return; |
no test coverage detected