Replace MLX GPU inference with CoreML bundles so transcription continues while the host app is backgrounded. Adds model download and warm-up, vendored Qwen3Speech, and updates onboarding, settings, and copy for the ~1.6 GB CoreML package (iOS 18+).
23 lines
543 B
Swift
23 lines
543 B
Swift
// FlowDiagnostics.swift
|
|
// OSGKeyboard · Main App
|
|
//
|
|
// Structured logging for the Flow dictation pipeline. Visible in Xcode
|
|
// console (DEBUG) and Console.app via `subsystem: com.osgkeyboard.ios`.
|
|
|
|
import Foundation
|
|
import os
|
|
|
|
enum FlowDiagnostics {
|
|
private static let logger = Logger(
|
|
subsystem: "com.osgkeyboard.ios",
|
|
category: "Flow"
|
|
)
|
|
|
|
static func log(_ message: String) {
|
|
logger.info("\(message, privacy: .public)")
|
|
#if DEBUG
|
|
print("🌊[OSGFlow] \(message)")
|
|
#endif
|
|
}
|
|
}
|