- Schema v2: Note.AudioInfo, .m4a sidecar next to the note JSON in iCloud - AudioRecorderService (iOS/macOS) + SpeechAnalyzer transcription pipeline with enabled-language set and confidence-based auto-pick, re-transcribe menu - Settings > Transcription > Languages with asset download/reserve handling - watchOS app + accessory complication: one-button recorder, WCSession transferFile to phone, WatchInbox staging, direct-upsert ingestion - Player UI, transcription status chips, quick-capture mic in notes list - Version 0.2, changelog + README updated
22 lines
542 B
Swift
22 lines
542 B
Swift
import SwiftUI
|
|
|
|
@main
|
|
struct NotesWatchApp: App {
|
|
@State private var services = WatchAppServices()
|
|
@Environment(\.scenePhase) private var scenePhase
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
NavigationStack {
|
|
RecordView()
|
|
}
|
|
.environment(services)
|
|
.task { services.bootstrap() }
|
|
.onOpenURL { url in services.handleDeepLink(url) }
|
|
}
|
|
.onChange(of: scenePhase) { _, phase in
|
|
services.handleScenePhase(phase)
|
|
}
|
|
}
|
|
}
|