feat(core): wire audio→STT pipeline so dictation actually transcribes #4781
ccantynzcommented Apr 18, 2026
Originally written by @vercel[bot] on GitHub.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| voxlen | Preview, Comment | Apr 18, 2026 1:52am |
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into main.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/voxlen/pull/20
Makes the product actually transcribe
Before this PR, the audio → STT pipeline was not wired. Pressing the dictation hotkey captured audio into a channel nobody read. API keys stored by the frontend never reached the engines. Every dictation silently failed.
What changes
Core fix: audio → STT → transcription event
lib.rsnow takes the receiver off the audio engine at startup and spawns the existingAudioProcessoras a long-running tokio task. It consumes audio chunks, runs VAD, calls Deepgram/Whisper, and emits thetranscriptionevent thatuseTauriEventsalready listens for.Core fix: settings flow through to engines
update_settings/reset_settingsnow map the persistedAppSettingsontoSttConfig+GrammarConfigand apply them to the running engines. Previously they only wrote to disk.apply_loaded_settings_to_engines()runs at startup after settings hydrate, so API keys are present before the first hotkey press.set_grammar_config_internal(non-command) for in-process config updates.Quick wins from the E2E audit
capabilities/default.json— addedautostart:default. Plugin was registered but had no permission; "launch at login" would crash.OnboardingWizard.canProceed()— API-key step now requiresapiKeyValid === true, not just "field non-empty." Users can no longer bluff past onboarding with a fake key.landing/index.html— schema.org offers fixed: Pro was $5.99 (now $29), Lifetime was $149 (now $599). Added missing Professional $79 tier.Tests
tsc --noEmit— cleancargo check— blocked locally by missing GTK system libs; CI will verifyAfter merge
Next
mainbuild → v1.0.8 installer where dictation end-to-end actually works. User installs, configures a Deepgram key in onboarding, presses Ctrl+Shift+D, and words appear.https://claude.ai/code/session_01setup-workers