From f4688ecc0cab8f6f5e61db0e40ab906318236b29 Mon Sep 17 00:00:00 2001 From: mARTin-B78 Date: Fri, 29 May 2026 18:47:00 +0200 Subject: [PATCH] v1.2.0: VAD, live preview, hands-free mic, restore last section Conversation playground: - Live speech preview: MediaRecorder sends accumulated audio to /api/transcribe-bytes every 2.5 s; interim Whisper result shown in the text input field while recording. Web Speech API tried first as a faster path when available (HTTPS/localhost). - VAD auto-stop: AudioContext AnalyserNode measures RMS every frame; auto-stops after 1.5 s silence with a visible countdown. Auto-stop toggle to revert to click-to-stop. - Hands-free mode: mic auto-restarts after the agent finishes speaking via audio.ended event + generation-counter cancellation. Hands-free toggle (on by default) to disable. Navigation: - Persist active section and sub-page in localStorage; hard-reload returns to the same page instead of always jumping to My Voices. Co-Authored-By: Claude Sonnet 4.6 --- CHANGELOG.md | 155 +++++++++------------- VERSION | 2 +- static/js/conversation.js | 197 ++++++++++++++++++++++++++-- static/nav.js | 14 +- static/sections/s-conversation.html | 9 ++ static/style.css | 6 + 6 files changed, 273 insertions(+), 110 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ba9912..2e9093a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,105 +7,75 @@ Follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · versioned wi ## [Unreleased] -### Performance +--- -- **Self-hosted WaveSurfer and MDI icon font** — removed two render-blocking - `