Files
notes/Notes Watch App/NotesWatchApp.swift
T
rzen 86d74806c9 Add voice notes: on-device transcription, multi-language, watch capture
- 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
2026-07-15 13:30:43 -04:00

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)
}
}
}