v1.0.9
Alpha-OSK 1.0.9
Fuzzy / autocorrect overhaul plus a Windows-terminal fix for prediction-pill replacement.
Fixed
- Prediction-pill replace works in Windows terminals — In cmd / PowerShell / Windows Terminal / mintty,
Shift+Leftmoves the cursor without selecting, so picking a prediction left the typed letters at the end of the inserted word (e.g.owen→ clickOwenproducedOwenowen). Detected via foreground window class; terminals now use a BackSpace+type fallback.
Changed
- Removed accessibility profiles. Six profiles (Precise / Normal / Mild–Severe Tremor / Limited Mobility) replaced by one tuned default. Profile UI gone. Picked Gboard-leaning constants:
spatial_uncertainty=1.4(covers diagonal neighbours),confidence_threshold=0.65(more willing to autocorrect),prediction_weight=0.6, beam-searchmin_prob=0.001.
Added
- Frequency-weighted fuzzy ranking — candidates ranked by
spatial_prob × log(freq + 1)so common words win over rare ones with the same spatial match. - Edit-distance candidates — fuzzy now catches transpositions (
teh→the), deletions (thee→the), and insertions (th→the), not just spatial substitutions. - Bigram prior on fuzzy candidates — context like
ofbooststheoverthy/thaeven when fuzzy returns them in the wrong order. - Space-time autocorrect — curated misspellings table at
data/common_misspellings.txt(~150 entries) plus fuzzy fallback. Runs on space, replaces typed letters atomically. Casing follows the typed word. Privacy mode and edit mode skip it.
Chores
- CLAUDE.md trimmed by ~33 % (release runbook + threat-model table moved to
docs/WINDOWS.mdanddocs/AUTO_UPDATE.md).
Full changelog: https://github.com/okstudio1/alpha-osk/blob/main/CHANGELOG.md