@luckydraw/cumulus 0.30.22 → 0.30.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -1
- package/dist/gateway/static/widget.js +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4742,7 +4742,11 @@
|
|
|
4742
4742
|
function playNextChunk() {
|
|
4743
4743
|
if (!state.active || state.audioQueue.length === 0) {
|
|
4744
4744
|
state.audioPlaying = false;
|
|
4745
|
-
|
|
4745
|
+
// Only signal done when the server explicitly said it's done sending audio.
|
|
4746
|
+
// Otherwise we're just between sentences (or waiting on tool calls) and more
|
|
4747
|
+
// PCM is on the way — firing done here would restart the mic and the
|
|
4748
|
+
// listening-phase guard in queuePCMAudio would drop subsequent audio.
|
|
4749
|
+
if (state.audioDone) {
|
|
4746
4750
|
onServerSpeakDone();
|
|
4747
4751
|
}
|
|
4748
4752
|
return;
|