* iOS: the keyboard model's memory lines say their numbers, and Remove where it can't run
What (card A213, approved by Ryan):
- The two memory causes carry their numbers, whole megabytes rounded down: "This iPhone's
keyboard has 118 MB; the model needs 131 MB, so it uses Apple's speech recognition." (这台
iPhone 的键盘有 %1$lld MB 内存,模型需要 %2$lld MB,因此使用 Apple 的语音识别。) from the
limit the keyboard already records, and "The keyboard had 41 MB free when it last opened;
loading the model needs 58 MB, so it used Apple's speech recognition. It tries again the
next time it opens." (键盘上次打开时只有 %1$lld MB 可用内存,载入模型需要 %2$lld MB,因此
使用了 Apple 的语音识别。下次打开时会再试一次。). The keyboard saves what was free with
shortOfMemory (KeyboardParakeetSettings.keyboardStateFree, in the App Group it already
writes; nothing is sent, Send feedback unchanged). Without a number (after a memory
warning, an older keyboard, nothing measured) the lines keep today's words, never 0 MB.
- A switch turned on by hand no longer downloads where the keyboard measured under 131 MB
(KeyboardParakeetDownload.downloads); Wi-Fi and free space stay skippable, and before the
keyboard has ever opened it still downloads at once, as today.
- Remove (464 MB) (移除(%@)) where English's model is on the iPhone and the keyboard is too
small for it: deleteKeyboardParakeet, what turning the switch off already deletes, with the
switch left on, so the page then reads the too-small line, no button, and nothing downloads
again. Never automatic; not while Hex dictates with that model; not for Multilingual, which
Hex dictates with too. The size is the folder's files on disk.
- Snapshot scenes: toosmall now records 118 MB; toosmalldownloaded has the model on disk;
short has 41 MB free.
Why: TestFlight 153, iPhone 14 (6 GB): the model was downloaded (by hand) but the keyboard
could never use it, and the page couldn't say on which numbers.
Verified: DictationSSOTTests (numbers, fallbacks, rounding, what the keyboard saves) and
DictationControllerTests (downloads by hand); suite and screenshots in a simbox, separately.
* iOS: the too-small snapshot scene dictates with Apple's speech recognition
What: settings-dictation-model-english-toosmalldownloaded sets Hex's own transcriber to
Apple's speech recognition, so English's model is the keyboard's alone there and Remove shows.
Why: in snapshots Hex keeps its initial Parakeet transcriber with the model ready, which
rightly hides Remove (Hex would dictate with it); an iPhone 14 on iOS 27 dictates with Apple's.
Verified: screenshot in a simbox.
* iOS: the too-small snapshot scene keeps Hex from preparing its own model
What: settings-dictation-model-english-toosmalldownloaded gives the controller the dictation
language the fixture stored (applyFixtureDictationLanguage), so Settings › Dictation doesn't
prepare a model for it as it appears.
Why: on the simulator, which has no Apple English model, that preparation picked Parakeet V2
for Hex itself, which rightly hid Remove; on an iPhone 14 Hex dictates with Apple's.
Verified: screenshot in a simbox.