mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-04 04:47:19 +01:00
A take was a pulsing dot, a wave and a timer for as long as the person spoke, with nothing to show for it until the server answered. Now the browser's recogniser runs beside the recording as a PREVIEW: finals then the current guess, one line whose end is always in view (`liveText` on the controller, `.ck-voice-live` in the bar), dimmed while the server transcribes, replaced by the server's words when they land. On the browser leg the same words show as interim results, and only the finals are delivered. The preview is never load-bearing: a recogniser that is missing, refuses or says nothing leaves the wave on screen and the recording untouched, and its failures are not fed to the problem line — the person is being recorded fine, and "mic" or "unavailable" would be a lie about that. `liveWords(finals, interim)` is the pure combiner, tested. Claude-Session: https://claude.ai/code/session_01YKx4TPejLvFR9Uj4xrTf6Y Co-authored-by: Claude <noreply@anthropic.com>