Skip to content

fix(voice): restore TTS review fixes lost in #110 squash merge#114

Merged
dimakis merged 1 commit intomainfrom
fix/restore-tts-review-fixes
Apr 6, 2026
Merged

fix(voice): restore TTS review fixes lost in #110 squash merge#114
dimakis merged 1 commit intomainfrom
fix/restore-tts-review-fixes

Conversation

@dimakis
Copy link
Copy Markdown
Owner

@dimakis dimakis commented Apr 6, 2026

Summary

Test plan

  • npm test passes (636 tests)
  • Verified missing functions/files are restored
  • Lint clean via pre-commit hooks

🤖 Generated with Claude Code

#110's squash merge overwrote #108's review fixes in ChatView and
tts.ts. This restores:

- stripCodeForTts() and truncateForTts() so TTS doesn't read code
- TTS_MAX_SPEAK_CHARS (2000) length guard
- TTS_CHUNK_MIN_CHARS moved to constants
- useAutoSpeak hook extraction with running guard
- playAudio re-entrancy guard (started flag)
- Tests for all of the above

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dimakis dimakis merged commit 9744864 into main Apr 6, 2026
1 check passed
@dimakis dimakis deleted the fix/restore-tts-review-fixes branch April 6, 2026 13:22
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