Files
Rocky 2bc8c1b87d 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.
2026-08-10 13:50:50 +08:00

27 lines
783 B
Swift

// TranscriptionDelivery.swift
// OSGKeyboard · Shared
//
// Host-app → keyboard handoff payload: final text plus an optional soft
// warning when cloud polish failed but the raw transcript is still delivered.
import Foundation
public struct TranscriptionDelivery: Sendable, Equatable {
public let text: String
public let polishWarning: String?
public let historyEntryID: UUID?
public let historyEntryRevision: Int64?
public init(
text: String,
polishWarning: String? = nil,
historyEntryID: UUID? = nil,
historyEntryRevision: Int64? = nil
) {
self.text = text
self.polishWarning = polishWarning
self.historyEntryID = historyEntryID
self.historyEntryRevision = historyEntryRevision
}
}