nterrupt = true;
                this.audioQueue = [];
                this.stopCurrent();  // <== 添加这一句
                this.addLog("收到打断指令，清空播放队列并停止当前音频");
                this.updateStatus("已打断", "disconnected");
            }
        }

        // 改写的 WebRecorder，发送原始 PCM
        class WebRecorder {
            constructor(websocket) {
                this.websocket = websocket;
                this.audioContext = null;
            