hex/ios/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 23f530073e
iOS keyboard: dictate in the keyboard while Hex's own speech model isn't installed (#2511)
#2491 (unify dictation routing) put needsModel ahead of every other route:
with Full Access on and Hex's model not marked installed (model.installed),
Dictate, the Hex key, hold-to-talk, selection Dictate, auto-start and
touch-down arming all opened Hex instead of dictating in the keyboard. Its
description doesn't list this as a behaviour change, and 1.0.4 never read
model.installed to route: in-keyboard dictation uses the keyboard's own
speech model (keyboard.md: "in a warm session, else inside the keyboard,
else by opening Hex"). Hex writes model.installed false at every launch until
its engine is ready (unless Parakeet V2 is on the phone), and it stays false
through a first download, Continue without a model, or a failed or
interrupted preparation, so those people lost in-place dictation. Each open
also counts as the keyboard opening Hex, which puts Keep mic warm back to
15 minutes.

- DictationRoute.resolve: with Hex's model not installed, the keyboard
  dictates by itself where it can (.inKeyboard), else .needsModel as before.
  #2491's one gain here stays: a warm keepalive with no model still opens
  Hex rather than sending a start Hex ignores. The bar's trigger now reads
  Dictate rather than Set up while it dictates in the keyboard.
- DictationSSOTTests.testDictationRoutePrecedenceTable says so.
- ios/docs/keyboard.md says so.

Verified:
- iPhone 17 Pro iOS 27.2 simulator, Release builds, model.installed false:
  f1c12743 (before #2491) dictated in the keyboard from the Hex key and the
  bar's Dictate; dev (ca7cf2a0) opened Hex from both; this change dictates in
  the keyboard from both. With the keyboard's own model missing as well
  (keyboardNeedsHex) all three open Hex. With model.installed true all three
  dictate in the keyboard.
- HEXMobile suite on an iPhone 17 Pro iOS 27.2 simulator (Mac Studio):
  973 tests, 0 failures.
- python3 scripts/code-shape.py --check passes.
2026-11-23 04:10:58 -05:00
..
acknowledgements.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
build-and-test.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
dictation.md iOS keyboard: a language picked by hand goes to Hex when the keyboard can't get its model (#2480) 2026-11-23 01:10:20 -05:00
keyboard.md iOS keyboard: dictate in the keyboard while Hex's own speech model isn't installed (#2511) 2026-11-23 04:10:58 -05:00
onboarding-and-setup.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
releasing.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
settings-and-home.md iOS Settings: Home refreshes again while it shows, Into field falls back to the words over the keys, the speech model card lands on its row, docs match (#2471) 2026-11-22 23:00:12 -05:00
typing-logs.md Split ios/README.md into area docs under ios/docs/ (#2447) 2026-11-22 18:16:37 -08:00
verification.md iOS Settings: Home refreshes again while it shows, Into field falls back to the words over the keys, the speech model card lands on its row, docs match (#2471) 2026-11-22 23:00:12 -05:00