Skip to content

feat: add pipeline reset mode config#21

Merged
wavekat-eason merged 5 commits intomainfrom
feat/pipeline-reset-mode
Mar 31, 2026
Merged

feat: add pipeline reset mode config#21
wavekat-eason merged 5 commits intomainfrom
feat/pipeline-reset-mode

Conversation

@wavekat-eason
Copy link
Copy Markdown
Contributor

@wavekat-eason wavekat-eason commented Mar 31, 2026

Summary

  • Add reset_mode (hard/soft) config to pipeline mode, using TurnController from wavekat-turn
  • Hard reset always clears the turn detector buffer on speech start; soft reset uses reset_if_finished to preserve audio across mid-sentence pauses
  • Display audio_duration_ms from TurnPrediction in pipeline timeline labels (shown as [Xs] only when buffer differs from segment duration)
  • Raise multipart upload body limit to 256MB for large WAV files
  • Compact pipeline config panel layout (2-column grid)

Test plan

  • Backend compiles with local wavekat-turn path override
  • Frontend TypeScript checks pass
  • Test hard vs soft reset with WAV file containing mid-sentence pauses
  • Verify buffer duration shows [Xs] in soft mode when audio accumulates

🤖 Generated with Claude Code

wavekat-eason and others added 5 commits March 31, 2026 15:27
Use TurnController from wavekat-turn to support soft reset
(reset_if_finished) in pipeline mode. Users can now toggle between
hard reset (always clears audio buffer) and soft reset (preserves
buffer across mid-sentence pauses) via the pipeline config panel.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Raise multipart body limit to 256MB for large WAV uploads.
Display reset mode (hard/soft) in pipeline timeline subtitle.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Show the turn detector's audio buffer duration (buf:Xs) alongside
each pipeline segment label. Also fixes WAV upload for large files
by raising the multipart body limit to 256MB.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Hide buffer duration label when it's within 200ms of the segment
duration. Use compact [Xs] format to reduce label overlap.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@wavekat-eason wavekat-eason merged commit e5fce45 into main Mar 31, 2026
2 checks passed
@wavekat-eason wavekat-eason deleted the feat/pipeline-reset-mode branch March 31, 2026 03:51
wavekat-eason pushed a commit that referenced this pull request Mar 31, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.0.9](v0.0.8...v0.0.9)
(2026-03-31)


### Features

* add pipeline reset mode config
([#21](#21))
([e5fce45](e5fce45))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant