Add live dictation and upgrade local runtimes #14
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/live-typing-upgrades"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dictation should appear while recording, without waiting for stop, and runtime upgrades should preserve existing data.
Live typing now shows and optionally inserts finalized phrases during recording, with shorter phrase boundaries, bounded backlog, and in-memory audio transfer. Stable dependencies are upgraded, including Electron 45, Sherpa 2, and React 19.3; clipboard access uses the new asynchronous API and preserves all formats. Settings have versioned, validated, atomic migrations with exact backups, and invalid data is refused unchanged.
Real testing exposed native abort hangs and worker-teardown crashes. Cancellation now discards subsequent results immediately and safely drains the active decode before reuse. Packaging filters also prevent source, tests, and screenshots from leaking into distributables. Existing streaming preferences are preserved; fresh installs enable live typing. macOS now requires 13+.
validation.md
Review follow-up: saved native-typing preferences are retained, while Linux uses direct typing at execution time. The fallback passed a focused regression test and actual Electron typing into a second window.
Proven with 133 passing tests, check/lint/build, actual packaged Electron microphone-to-ASR streaming, both native engines, global hotkeys and external typing, clipboard restoration, import, cancellation, migrations, and restart persistence. Runtime proof is Linux CPU with a synthetic microphone; Windows/macOS/GPU and physical microphone hardware were not tested.
kReview review
Verdict: no findings
The review found no verified defects in the changed code.
This review did not check generated or vendored files:
bun.lock,ui/bun.lock.kReview checked only the PR diff, metadata, and supplied repository context at
02ad97c789. It reports only issues supported by this material.Estimated cost: ~$0.46 total (876.2k in / 3.0k out); this run ~$0.24 (494.2k in / 1.5k out) / gpt-6.1-terra.
Run time: 1:22 total; this run 0:37.