Skip to content

fix(moonshine.rn): isolate Android ONNX Runtime - #486

Merged
abretonc7s merged 12 commits into
mainfrom
fix/moonshine-0.1.5-ort-coexistence
Aug 25, 2026
Merged

fix(moonshine.rn): isolate Android ONNX Runtime#486
abretonc7s merged 12 commits into
mainfrom
fix/moonshine-0.1.5-ort-coexistence

Conversation

@abretonc7s

Copy link
Copy Markdown
Collaborator

Builds on #473 and updates Android to upstream Moonshine 0.1.5 at minSdk 26. iOS remains pinned to v0.0.59.

Changes:

  • preserve retroactive speaker attribution updates and cover intent behavior with Android tests
  • give Moonshine its own checksum-pinned ONNX Runtime SONAME so it can coexist with Sherpa without pickFirst
  • add an API 26 native loader regression and Android bridge CI
  • sanitize playground environment validation errors so build logs cannot contain environment values

Validation:

  • yarn check
  • Moonshine: 13 JS tests and 7 Android unit tests
  • Sherpa: 67 tests and release AAR assembly
  • full 509 MB playground APK with both runtime filenames and no ONNX pickFirst
  • API 26 instrumented load of Sherpa and Moonshine with their matching runtimes
  • checksum-valid beta.1 Android release asset and clean-cache download

Closes #425.

Pete Warden and others added 3 commits August 24, 2026 17:35
…o 26

Addresses #425. Maven consumers can use API 26 once moonshine-voice 0.1.5
is published: intent matching uses the public EmbeddingModel API, and
per-line speakerId is derived from speakerSpans. iOS stays on v0.0.59.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread .github/workflows/tests.yml Fixed
Comment thread .github/workflows/tests.yml Fixed
Comment thread .github/workflows/tests.yml Fixed
Comment thread apps/sherpa-voice/scripts/diarization-pyannote-python.py Fixed
Comment thread apps/sherpa-voice/scripts/diarization-pyannote-python.py Fixed
Comment thread scripts/diarization-benchmark/ami-reference.mjs Fixed
Comment thread scripts/diarization-benchmark/cpwer.mjs Fixed
Comment thread scripts/diarization-benchmark/cpwer.mjs Fixed
Comment thread scripts/diarization-benchmark/score-report.mjs Fixed
Comment thread scripts/diarization-benchmark/ami-reference.mjs Fixed
Comment thread scripts/diarization-benchmark/doctor.mjs Fixed
Comment thread scripts/diarization-benchmark/doctor.mjs Fixed
Comment thread scripts/diarization-benchmark/run-fluid-ios-simulator.mjs Fixed
Comment thread apps/sherpa-voice/scripts/diarization-pyannote-python.py Fixed
Comment thread scripts/diarization-benchmark/ami-reference.mjs Fixed
Comment thread scripts/diarization-benchmark/cpwer.mjs Fixed
Comment thread scripts/diarization-benchmark/path-policy.mjs Fixed
Comment thread scripts/diarization-benchmark/score-report.mjs Fixed
@sonarqubecloud

Copy link
Copy Markdown

@abretonc7s
abretonc7s merged commit 6f07de6 into main Aug 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@siteed/moonshine.rn: minSdkVersion hardcoded to 35 in build.gradle prevents use below Android 15

3 participants