feat: add offline wake-word detection with sherpa-onnx

- Integrate sherpa-onnx for local "Computer" wake-word detection
- Add foreground service (microphone type) for continued listening across apps
- Request RECORD_AUDIO, POST_NOTIFICATIONS, and foreground service permissions
- Download and verify pinned sherpa-onnx model (17 MB) on first enable
- Update LauncherViewModel with wake-word state and controller
- Add WorkManager and commons-compress dependencies for model extraction
- Update README with wake-word feature details and limitations
This commit is contained in:
jahruz67
2026-07-25 14:48:05 -07:00
parent 29fc34dbdf
commit 3e1c2e714a
13 changed files with 1117 additions and 9 deletions
+8
View File
@@ -11,6 +11,14 @@ dependencyResolutionManagement {
repositories {
google()
mavenCentral()
ivy {
name = "sherpaOnnxReleases"
url = uri("https://github.com/k2-fsa/sherpa-onnx/releases/download")
patternLayout {
artifact("v[revision]/[artifact]-[revision].[ext]")
}
metadataSources { artifact() }
}
}
}