fix(ipad): ship iPad P0 layout/globe fixes, edit-last-input, drop clipboard commands

Adapt typing/voice surfaces for iPad width and height, add the system globe
key and last-input editing flow, harden host-only Rime deployment, and remove
clipboard voice commands. Bump build to 61.
This commit is contained in:
Rocky
2026-08-10 13:50:50 +08:00
parent 53abad2050
commit 2bc8c1b87d
85 changed files with 5703 additions and 3997 deletions
@@ -1,8 +1,7 @@
// KeyboardOpenSurfacePolicy.swift
// OSGKeyboard · Shared
//
// Pure open-surface decision used by the keyboard extension. Extracted so
// paste-alert sticky resume can be unit-tested without UIKit.
// Pure open-surface decision used by the keyboard extension.
import Foundation
@@ -10,11 +9,9 @@ public enum KeyboardOpenSurfacePolicy: Sendable {
/// Surface to show on the first frame of a keyboard presentation.
public static func resolve(
locksTypingSurface: Bool,
clipboardCommandActive: Bool,
stickyPreferVoice: Bool,
preferred: KeyboardState.Surface
) -> KeyboardState.Surface {
if locksTypingSurface || clipboardCommandActive || stickyPreferVoice {
if locksTypingSurface {
return .voice
}
return preferred