Repository navigation
Spec 0002: whisper-flow as the transcription engine - #7
Merged
Merged
Conversation
Requires all streaming transcription to go through a whisper-flow server over its /ws WebSocket. Covers configuration, audio format, partial/final result handling, errors, testing, and the gaps in whisper-flow 1.1.0 that affect the integration. Updates spec 0001's local-only goal and open questions, CLAUDE.md, and README to match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TC6WCRgEsuzNtiSyAN59vi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TC6WCRgEsuzNtiSyAN59vi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
docs/specs/0002-whisper-flow-transcription.md. It requires whisper-flow as the streaming transcription framework. The extension captures audio and streams it to a whisper-flow server's/wsendpoint, and does not run Whisper itself.Requirements have IDs and are marked must or should:
GET /ready.whisperCode.serverUrl(defaulthttp://localhost:8181), API key inSecretStoragesent asx-api-key, and explicit consent before streaming to a non-local host.is_partialis false. One undo step per segment.1008and1013, retry on disconnect, no orphaned sidecar processes.vscodeand counts toward the 95% gate. CI uses a fake WebSocket server, so it doesn't need whisper-flow or a microphone.The spec also lists gaps in whisper-flow 1.1.0 that affect whisper-code: no finalize-on-stop, no
protocol_version, noinitial_promptfor vocabulary, a fixed model per server, a window cap of about 64 s, and endpointing based on unchanged text.Changes elsewhere
localhostby default, no cloud STT". The architecture diagram is updated, and the runtime and mic-capture open questions are marked resolved.Review notes
🤖 Generated with Claude Code
https://claude.ai/code/session_01TC6WCRgEsuzNtiSyAN59vi