ReviewOS

also looking at this

craft-native/craft

feat(ios): the speech pair closes the last deferral — ratchet 28 -> 26

#101
Merged glennmichael123 wants to merge feat/ios-speech-pair into main
10 files +1287 -573
packages/zig/src/ios_dispatch.zigmodified+2-7
Changes to packages/zig/src/ios_dispatch.zig
@@ -39,13 +39,7 @@ const bridge_mobile_pdf = @import("bridge_mobile_pdf.zig");
3939const bridge_mobile_bluetooth = @import("bridge_mobile_bluetooth.zig");
4040const bridge_mobile_audiorec = @import("bridge_mobile_audiorec.zig");
4141const bridge_mobile_health = @import("bridge_mobile_health.zig");
42// `bridge_mobile_speech.zig` is deliberately NOT in the chain. Its
43// capability_actions table is empty — the two speech actions were researched
44// in full and left with the Swift shim — so a module here would iterate,
45// return UnknownAction, and cost a comparison to serve nothing. Keeping it in
46// the chain would also read as coverage it does not provide, which is the
47// habit this migration exists to break. The file stays as the record of that
48// decision and of the Swift behaviour a future port has to match.
42const bridge_mobile_speech = @import("bridge_mobile_speech.zig");
4943
5044const objc = objc_runtime.objc;
5145
@@ -287,6 +281,7 @@ const mobile_bridges = .{
287281 bridge_mobile_bluetooth.BluetoothBridge,
288282 bridge_mobile_audiorec.AudioRecordingBridge,
289283 bridge_mobile_health.HealthBridge,
284 bridge_mobile_speech.SpeechBridge,
290285};
291286
292287/// Narrow an arbitrary handler error to one the page's error codes can express.