VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.
Python aiaudiobookcudadubbingelevenlabs-alternativehuggingfacelocal-firstmlxomnivoice-studiospeech-to-texttext-to-speechtranscriptiontranslatettsvoice-aivoice-cloningvoice-generationvoicestudioworkflow
fix(mobile): keep stereo channels and portable licence notices
debpalash29f3b43fa3be
diff --git a/.gitattributes b/.gitattributesindex a0cb569bd..55343929c 100644--- a/.gitattributes+++ b/.gitattributes@@ -1,6 +1,8 @@# Hash-pinned legal texts (tests/test_cla_workflow.py): identical bytes on every OS..github/CLA-*.md text eol=lf.github/CCLA-*.md text eol=lf+mobile/ios/VoiceStudio/Resources/NativeLicences/*.txt text eol=lf+mobile/android/app/src/main/assets/licenses/*.txt text eol=lf# Windows batch files break goto/labels with LF endings.*.bat text eol=crlfdiff --git a/.github/workflows/mobile-release.yml b/.github/workflows/mobile-release.ymlindex 64532363d..6d5c34d84 100644--- a/.github/workflows/mobile-release.yml+++ b/.github/workflows/mobile-release.yml@@ -98,7 +98,7 @@ jobs:ios:if: github.event_name == 'push' || inputs.ios- runs-on: macos-15+ runs-on: macos-26timeout-minutes: 80environment: mobile-releasesteps:diff --git a/.github/workflows/mobile.yml b/.github/workflows/mobile.ymlindex 96ab48a5d..0afd42d79 100644--- a/.github/workflows/mobile.yml+++ b/.github/workflows/mobile.yml@@ -87,7 +87,8 @@ jobs:ios:# Same SDK as the TestFlight upload, so App Store toolchain breaks show up here first.runs-on: macos-26- timeout-minutes: 50+ # Leave room for cold native builds plus simulator and device validation.+ timeout-minutes: 60steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0with:diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 0f6ac1246..1ea85b655 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,7 +10,7 @@ metadata and the backend fallback mirror it.**Highlights**-- Preview iOS and Android apps that run VoiceStudio on your phone, offline+- Preview iOS and Android apps that run VoiceStudio on your phone, offline after downloading the models- Opt-in Beta update channel: get fixes early from Settings → Updates, and roll onto the next stable release automatically### Changed@@ -22,6 +22,7 @@ metadata and the backend fallback mirror it.### Added+- The phone apps run speech, dictation, voice cloning and dubbing on the phone itself, offline once you download the models; pairing a computer is optional ([guide](docs/mobile.md)) (#2969)- Beta update channel: choose Stable or Beta under Settings → Updates; betas are `-beta.N` prereleases that never reach Stable users, and Docker gets matching `:beta` tags ([guide](docs/update-channels.md)) (#3175)- Preview iOS and Android companion apps: drive your own VoiceStudio from your phone (speak, voices and cloning, dubbing, dictation) after pairing by QR code; build from source for now ([guide](docs/mobile.md)) (#2965)@@ -30,6 +31,7 @@ metadata and the backend fallback mirror it.### Fixed- Phone dub playback restores sound after dictation on iOS and keeps the video visible when switching results on Android (#2969)+- Stereo WAV, CAF and AIFF references keep both channels when converted to mono on iOS (#2969)- Android dubbing errors remain visible when worker updates arrive while their receipt is being saved (#3031)- iOS reserves storage across simultaneous model downloads and keeps saved speech paired with the submitted text (#2969)@@ -75,6 +77,7 @@ metadata and the backend fallback mirror it.### CI+- Native licence notices keep their pinned hashes on Windows checkouts (#2969)- New `mobile-release` workflow builds signed Android and iOS apps and drafts a GitHub prerelease with the APK, AAB and IPAs (#2969)- The `mobile` workflow builds the pinned on-device runtimes for both apps (#2969)- Interactive release helper: pick stable or beta, draft or publish, and confirm by typing the tag (`scripts/release.py`) (#3187)@@ -238,7 +241,6 @@ metadata and the backend fallback mirror it.- Beta update channel: choose Stable or Beta under Settings → Updates; betas are `-beta.N` prereleases that never reach Stable users, and Docker gets matching `:beta` tags ([guide](docs/update-channels.md)) (#3175)- Preview iOS and Android companion apps: drive your own VoiceStudio from your phone (speak, voices and cloning, dubbing, dictation) after pairing by QR code; build from source for now ([guide](docs/mobile.md)) (#2965)-- The phone apps run speech, dictation, voice cloning and dubbing on the phone itself, offline once you download the models; pairing a computer is optional ([guide](docs/mobile.md)) (#2969)- Smart Fit speed limits: set the fastest and slowest speed dubbing may apply to a line, from the Timing section (#3026) — thanks @MoonDragon-MD!### Fixeddiff --git a/backend/config/model_licenses.json b/backend/config/model_licenses.jsonindex 2e0db76c5..2d7975f9a 100644--- a/backend/config/model_licenses.json+++ b/backend/config/model_licenses.json@@ -3170,11 +3170,6 @@"ownership_or_all_rights_cleared": false},"sources": [- {- "url": "https://github.com/openai/whisper/blob/31243bad24cc746f07d4c8bfdd2d974872cb1803/LICENSE",- "checked_at": "2026-10-18",- "method": "read_primary_source"- },{"url": "https://github.com/openai/whisper/blob/31243bad24cc746f07d4c8bfdd2d974872cb1803/LICENSE","checked_at": "2026-10-18",diff --git a/docs/licensing/model-license-data.json b/docs/licensing/model-license-data.jsonindex dc22e023b..cc84dbb7b 100644--- a/docs/licensing/model-license-data.json+++ b/docs/licensing/model-license-data.json@@ -1,7 +1,7 @@{"schema_version": 1,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","inventory_source_commit": "06c6e077f0fc35149efefc3561e9be5ae835d916","checked_at": "2026-10-03","scope": "Model-source disclosures joined to models.yaml. Using a model whose licence category is not commercial requires the user's local licence acceptance; ordinary installs and SDK auxiliary downloads are unchanged. The additive reviewed-install API fails closed on incomplete evidence. A local acknowledgement is not upstream assent or commercial permission.",@@ -15,7 +15,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "CC-BY-NC (version unspecified); Higgs Audio 2; Meta Llama 3","credit": "OmniVoice — Han Zhu and coauthors; tokenizer by Boson AI / Meta","notes": "The pinned card distinguishes Apache-2.0 code from non-commercial weights. The audio tokenizer has separate Boson and Meta terms; see docs/model-credits.md.",@@ -49,7 +49,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "other","credit": "audio-cpp/audio.cpp-gguf","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -137,7 +137,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "Systran/faster-whisper-large-v3","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -171,7 +171,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "mlx-community/whisper-large-v3-mlx","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -205,7 +205,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "NOASSERTION","credit": "mlx-community/whisper-large-v3-turbo","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -239,7 +239,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "openai/whisper-large-v3","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -273,7 +273,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "NOASSERTION","credit": "mlx-community/whisper-tiny-mlx","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -309,7 +309,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "deepdml/faster-whisper-large-v3-turbo-ct2","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -345,7 +345,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "Systran/faster-distil-whisper-large-v3","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -381,7 +381,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "Systran/faster-whisper-medium","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -417,7 +417,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "Systran/faster-whisper-small","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -453,7 +453,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "Systran/faster-whisper-base","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -487,7 +487,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "cc-by-4.0","credit": "nvidia/parakeet-tdt-0.6b-v3","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -521,7 +521,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "cc-by-4.0","credit": "nvidia/parakeet-tdt-0.6b-v2","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -555,7 +555,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "cc-by-4.0","credit": "mlx-community/parakeet-tdt-0.6b-v3","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -589,7 +589,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "UsefulSensors/moonshine-base","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -623,7 +623,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "UsefulSensors/moonshine-tiny","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -657,7 +657,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "NOASSERTION","credit": "csukuangfj/sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review. The raw card could not be retrieved (401/404); metadata alone does not resolve the access gap.",@@ -691,7 +691,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "cc-by-4.0","credit": "csukuangfj/sherpa-onnx-nemo-parakeet-tdt-0.6b-v2-int8","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -725,7 +725,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "csukuangfj/sherpa-onnx-streaming-zipformer-bilingual-zh-en-2023-02-20","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -759,7 +759,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "csukuangfj/sherpa-onnx-streaming-paraformer-bilingual-zh-en","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -793,7 +793,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "csukuangfj/sherpa-onnx-streaming-zipformer-en-20M-2023-02-17","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -827,7 +827,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "csukuangfj/sherpa-onnx-streaming-zipformer-zh-14M-2023-02-23","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -861,7 +861,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "NOASSERTION","credit": "csukuangfj/sherpa-onnx-whisper-tiny","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -893,7 +893,7 @@"engines": [],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "CC-BY-NC-4.0","credit": "NLLB-200 — Meta AI","notes": "Pinned model card identifies CC-BY-NC-4.0. This record does not grant output or training-data rights.",@@ -925,7 +925,7 @@"engines": [],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "pyannote/speaker-diarization-3.1","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -957,7 +957,7 @@"engines": [],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "pyannote/segmentation-3.0","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -989,7 +989,7 @@"engines": [],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "cc-by-4.0","credit": "pyannote/wespeaker-voxceleb-resnet34-LM","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1023,7 +1023,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "OpenMOSS-Team/MOSS-TTS-Nano-100M","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1057,7 +1057,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "KittenML/kitten-tts-mini-0.8","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1091,7 +1091,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "openbmb/VoxCPM2","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1126,7 +1126,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "FunAudioLLM/Fun-CosyVoice3-0.5B-2512","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1160,7 +1160,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "lj1995/GPT-SoVITS","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1194,7 +1194,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "mlx-community/Kokoro-82M-bf16","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1228,7 +1228,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "mlx-community/csm-1b-8bit","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1262,7 +1262,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "mlx-community/VoxCPM2-8bit","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1296,7 +1296,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "mlx-community/Qwen3-TTS-12Hz-1.7B-VoiceDesign-4bit","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1330,7 +1330,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "mlx-community/Dia-1.6B","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1364,7 +1364,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "CC-BY-NC-SA-4.0 AND Llama-3.2","credit": "OuteAI; MLX conversion by mlx-community; Meta. Built with Llama.","notes": "Original model separates Llama 3.2 components from OuteAI non-commercial additions. Conversion card links original; see docs/model-credits.md.",@@ -1398,7 +1398,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "NOASSERTION","credit": "mlx-community/Chatterbox-TTS-4bit","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1432,7 +1432,7 @@],"catalogued": true,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "mlx-community/MeloTTS-English-v3-MLX","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1466,7 +1466,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "other","credit": "IndexTeam/IndexTTS-2.5","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1501,7 +1501,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "CC-BY-NC-4.0; Higgs Audio 2; Meta Llama 3","credit": "OmniVoice — Han Zhu and coauthors; GGUF conversion by Serveurperso; tokenizer by Boson AI / Meta","notes": "Conversion card names CC-BY-NC-4.0; its codec description does not override the actual tokenizer terms. See docs/model-credits.md.",@@ -1536,7 +1536,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "openrail","credit": "Supertone/supertonic-3","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1571,7 +1571,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "cc-by-4.0","credit": "kyutai/pocket-tts","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review. The raw card could not be retrieved (401/404); metadata alone does not resolve the access gap.",@@ -1877,7 +1877,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "OpenMOSS-Team/MOSS-TTS-v1.5","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1909,7 +1909,7 @@"engines": [],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "OpenMOSS-Team/MOSS-Audio-Tokenizer","notes": "Required audio codec for MOSS-TTS-v1.5. Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1943,7 +1943,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "rednote-hilab/dots.tts-soar","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -1978,7 +1978,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "netease-youdao/Confucius4-TTS","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -2013,7 +2013,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "facebook/w2v-bert-2.0","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -2048,7 +2048,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "funasr/campplus","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -2083,7 +2083,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "nvidia/bigvgan_v2_22khz_80band_256x","notes": "Licence identifier is upstream model-card metadata, not verified permission for this distribution. Component terms and attribution text require review.",@@ -2118,7 +2118,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "NOASSERTION","credit": "iic/SenseVoiceSmall","notes": "Runtime uses the FunASR/ModelScope identifier. The matching Hugging Face API returned 401; no governing weight terms have been verified.",@@ -2153,7 +2153,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "Systran/faster-whisper-tiny","notes": "Runtime fallback outside models.yaml. Licence identifier is model-card metadata; component terms and attribution require review.",@@ -2188,7 +2188,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "Systran/faster-whisper-large-v2","notes": "Runtime fallback outside models.yaml. Licence identifier is model-card metadata; component terms and attribution require review.",@@ -2223,7 +2223,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "mit","credit": "OpenAI — Whisper large-v3-turbo","notes": "Clone-reference ASR fallback outside models.yaml. Model-card licence metadata is recorded; component terms and required notices remain under review.",@@ -2258,7 +2258,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "OpenMOSS-Team/MOSS-TTS-Nano","notes": "Licence label is upstream metadata only; governing component terms, author credit and required notices remain under review.",@@ -2293,7 +2293,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "NOASSERTION","credit": "eustlb/higgs-audio-v2-tokenizer","notes": "Licence label is upstream metadata only; governing component terms, author credit and required notices remain under review.",@@ -2327,7 +2327,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0; gpl-3.0","credit": "KittenML; ONNX conversion by Fangjun Kuang; eSpeak NG contributors","notes": "The selected ONNX repo LICENSE declares Apache-2.0. Required eSpeak NG phonemizer data is GPL-3.0, so the complete offered selection is conditional, not commercial-OK. Only English runtime data is selected; model voices require retained upstream notices.",@@ -2360,7 +2360,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0; gpl-3.0","credit": "hexgrad / Kokoro contributors; ONNX conversion by Fangjun Kuang; eSpeak NG contributors","notes": "The selected repo LICENSE declares Apache-2.0. Required eSpeak NG phonemizer data is GPL-3.0; the offered selection is conditional. Pinned sherpa frontend supports English and Mandarin, with 103 speaker IDs. Lexicons and Chinese normalization FSTs are selected; the unused CppJieba dictionaries and other languages are excluded.",@@ -2393,7 +2393,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "NOASSERTION","credit": "OpenAI; sherpa-onnx conversion by Fangjun Kuang","notes": "The export repo has no model card or LICENSE. OpenAI releases original Whisper code and weights under MIT (linked evidence), but this does not establish governing terms for the converted files. Keep the unidentified category and require acceptance. Only int8 encoder/decoder and tokens are offered.",@@ -2426,7 +2426,7 @@],"catalogued": false,"registry_version": "2026-10-09.draft1",- "registry_digest": "ce6c45814db9a1fac581ff9ce44f9b24b3f987e038ddc02d629edb267d822bbe",+ "registry_digest": "8d120e984e517c6e9664c4762c284089016bae61485e261eed57bf074913dad4","license": "apache-2.0","credit": "Alibaba Cloud / Qwen Team; GGUF quantization by Unsloth AI","notes": "Pinned Unsloth card declares Apache-2.0 and links Qwen3-1.7B. Q4_K_M is 1,107,409,472 bytes and carries its tokenizer inside the GGUF; no separate tokenizer download is needed. Chosen over the official Q8_0-only GGUF repo to fit the approximately 1.2 GB target. Small multilingual instruction model with non-thinking ChatML and bounded context; translation quality is not guaranteed.",diff --git a/docs/mobile.md b/docs/mobile.mdindex 90cd5d7af..0de81d2b0 100644--- a/docs/mobile.md+++ b/docs/mobile.md@@ -19,6 +19,7 @@ choose, per task, to run on **This phone** or **My computer**.- **Speak**: type text, pick a voice and language, generate, play, share.- **Voices**: clone a voice from a recording or an audio file. Voices youclone on the phone stay on the phone.+ Stereo recordings use audio from both channels.- **Dub**: pick a video or audio file and target languages; the phonetranscribes, translates and re-voices it in the original speaker's voice.Play completed dubs directly in the app, including after using Dictate;@@ -123,7 +124,7 @@ submits the app for App Store review. One-time setup in the Apple Developer team`.p8` text). `APPLE_TEAM_ID` is shared with macOS notarization.The workflow builds on the `macos-26` runner because App Store Connect accepts-only the current iOS SDK; the `mobile` workflow's iOS job uses the same runner.+only the current iOS SDK; the `mobile` and `mobile-release` iOS jobs use the same runner.The app icon is `Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png`, a1024×1024 opaque PNG rendered from `mobile/ios/VoiceStudio/AppIcon.svg`.Generated `Brand.xcassets` supplies launch and Home artwork; it removes the formerdiff --git a/mobile/android/features/src/main/kotlin/com/voicestudio/mobile/features/settings/SettingsScreen.kt b/mobile/android/features/src/main/kotlin/com/voicestudio/mobile/features/settings/SettingsScreen.ktindex 5437736c5..061861f52 100644--- a/mobile/android/features/src/main/kotlin/com/voicestudio/mobile/features/settings/SettingsScreen.kt+++ b/mobile/android/features/src/main/kotlin/com/voicestudio/mobile/features/settings/SettingsScreen.kt@@ -62,7 +62,7 @@ import com.voicestudio.mobile.l10n.L10n}if(editUrl!=null) AlertDialog(onDismissRequest={editUrl=null},text={Field("mobile.android.host_label",editName,{editName=it})},confirmButton={TextButton(onClick={val url=editUrl;vm.preference {it.copy(hosts=it.hosts.map {h -> if(h.url==url) h.copy(label=editName) else h})};editUrl=null}) {Text(tr("common.save"))}},dismissButton={TextButton(onClick={editUrl=null}) {Text(tr("common.cancel"))}})if(licenses) AlertDialog(shape=MaterialTheme.shapes.large,onDismissRequest={licenses=false},title={Text(tr("mobile.settings.licenses"))},text={- val content=remember {context.assets.list("licenses").orEmpty().sorted().joinToString("\n\n") {name -> context.assets.open("licenses/$name").bufferedReader().use {it.readText()}}}+ val content=remember {context.assets.list("licenses").orEmpty().filter {it.endsWith(".txt")}.sorted().joinToString("\n\n") {name -> context.assets.open("licenses/$name").bufferedReader().use {it.readText()}}}Text(content,Modifier.verticalScroll(rememberScrollState()))},confirmButton={TextButton(shape=MaterialTheme.shapes.small,onClick={licenses=false}) {Text(tr("common.close"))}})}diff --git a/mobile/ios/VoiceStudioKit/Sources/VoiceStudioKit/Local/AVDubMedia.swift b/mobile/ios/VoiceStudioKit/Sources/VoiceStudioKit/Local/AVDubMedia.swiftindex fdf5434a4..55293f579 100644--- a/mobile/ios/VoiceStudioKit/Sources/VoiceStudioKit/Local/AVDubMedia.swift+++ b/mobile/ios/VoiceStudioKit/Sources/VoiceStudioKit/Local/AVDubMedia.swift@@ -66,6 +66,7 @@ public struct AVPhoneAudioDecoder: PhoneAudioDecoder {let format = AVAudioFormat(commonFormat: .pcmFormatFloat32,sampleRate: 24000,channels: 1,interleaved: false),let converter = AVAudioConverter(from: input.processingFormat,to: format),let buffer = AVAudioPCMBuffer(pcmFormat: format,frameCapacity: 8192) else { throw ClientError("mobile.simple.audio_long") }+ converter.downmix = truelet handle = try FileHandle(forWritingTo: PrivateFiles.empty(output)); defer { try? handle.close() }var finished = false, total = 0while !finished {diff --git a/mobile/ios/VoiceStudioKit/Tests/VoiceStudioKitTests/PhoneWorkflowTests.swift b/mobile/ios/VoiceStudioKit/Tests/VoiceStudioKitTests/PhoneWorkflowTests.swiftindex f9d464a43..86e7facd2 100644--- a/mobile/ios/VoiceStudioKit/Tests/VoiceStudioKitTests/PhoneWorkflowTests.swift+++ b/mobile/ios/VoiceStudioKit/Tests/VoiceStudioKitTests/PhoneWorkflowTests.swift@@ -145,6 +145,27 @@ private actor FixtureEngine: LocalEngine {#expect(try audio.read(start: 0,count: 2400).samples.contains { abs($0) > 0.1 })await #expect(throws: (any Error).self) { try await AVPhoneAudioDecoder().decode(source: source,output: root.appendingPathComponent("long.pcm"),maxSeconds: 0.5,progress: { _ in }) }}+@Test(arguments: ["wav", "caf", "aiff"])+func phoneAVExtractionKeepsTheRightStereoChannel(_ ext: String) async throws {+ let root = try fixtureRoot(); defer { try? FileManager.default.removeItem(at: root) }+ let source = root.appendingPathComponent("stereo").appendingPathExtension(ext)+ let format = try #require(AVAudioFormat(commonFormat: .pcmFormatFloat32, sampleRate: 48000, channels: 2, interleaved: false))+ let buffer = try #require(AVAudioPCMBuffer(pcmFormat: format, frameCapacity: 12000))+ buffer.frameLength = 12000+ let channels = try #require(buffer.floatChannelData)+ for frame in 0..<12000 {+ let phase = Double(frame) * 2.0 * Double.pi * 440.0 / format.sampleRate+ channels[0][frame] = 0+ channels[1][frame] = Float(sin(phase) * 0.4)+ }+ do {+ let writer = try AVAudioFile(forWriting: source, settings: format.settings)+ try writer.write(from: buffer)+ }+ let audio = try await AVPhoneAudioDecoder().decode(source: source, output: root.appendingPathComponent("mono.pcm"), maxSeconds: 1, progress: { _ in })+ let samples = try audio.read(start: 0, count: audio.frames).samples+ #expect(samples.contains { abs($0) > 0.05 })+}@Test(.enabled(if: ProcessInfo.processInfo.environment["VOICESTUDIO_REAL_AUX"] == "1"))func realAuxiliaryPhoneVoiceCreationAndSpeak() async throws {let root = try fixtureRoot(); defer { try? FileManager.default.removeItem(at: root) }diff --git a/tests/test_ios_testflight.py b/tests/test_ios_testflight.pyindex c7e6c99d5..83174ec75 100644--- a/tests/test_ios_testflight.py+++ b/tests/test_ios_testflight.py@@ -127,3 +127,5 @@ def test_generated_and_bundled_catalogs_have_one_app_icon(tmp_path):def test_mobile_ci_builds_ios_with_the_upload_toolchain():mobile = yaml.load((ROOT / ".github/workflows/mobile.yml").read_text(), Loader=yaml.BaseLoader)assert mobile["jobs"]["ios"]["runs-on"] == load_workflow()["jobs"]["testflight"]["runs-on"]+ release = yaml.load((ROOT / ".github/workflows/mobile-release.yml").read_text(), Loader=yaml.BaseLoader)+ assert release["jobs"]["ios"]["runs-on"] == load_workflow()["jobs"]["testflight"]["runs-on"]diff --git a/tests/test_model_license_workflow.py b/tests/test_model_license_workflow.pyindex 4ce877698..25c2d5dbc 100644--- a/tests/test_model_license_workflow.py+++ b/tests/test_model_license_workflow.py@@ -263,7 +263,7 @@ class WorkflowTests(unittest.TestCase):p = self.prepare()for group in ("receipts", "evidence", "installed"):self.assertEqual(self.service._record_path(group, p["plan_digest"]),- self.service.store / group / f"{p['plan_digest']}.json")+ (self.service.store / group / f"{p['plan_digest']}.json").resolve())def test_symlinked_receipt_directory_cannot_escape_store(self):p = self.prepare()diff --git a/tests/test_native_notice_checkout.py b/tests/test_native_notice_checkout.pynew file mode 100644index 000000000..dbee81e2f--- /dev/null+++ b/tests/test_native_notice_checkout.py@@ -0,0 +1,34 @@+"""Pinned native notices survive a Windows-style Git checkout byte for byte."""+import hashlib+import json+import shutil+import subprocess+from pathlib import Path+++ROOT = Path(__file__).resolve().parents[1]+++def test_pinned_native_notices_survive_autocrlf_checkout(tmp_path):+ def git(*args):+ subprocess.run(["git", "-C", str(tmp_path), *args], check=True, capture_output=True)++ git("init", "-q")+ git("config", "core.autocrlf", "true")+ git("config", "core.safecrlf", "false")+ shutil.copy2(ROOT / ".gitattributes", tmp_path / ".gitattributes")+ notices = []+ for directory, manifest, prefix in [+ ("mobile/ios/VoiceStudio/Resources/NativeLicences", "sources.json", ""),+ ("mobile/android/app/src/main/assets/licenses", "native-sources.json", "native-"),+ ]:+ relative = Path(directory)+ shutil.copytree(ROOT / relative, tmp_path / relative)+ for entry in json.loads((ROOT / relative / manifest).read_text(encoding="utf-8")):+ notices.append((relative / (prefix + entry["name"] + ".txt"), entry["notice_sha256"]))+ git("add", ".")+ for path, _ in notices:+ (tmp_path / path).unlink()+ git("checkout", "--", *(path.as_posix() for path, _ in notices))+ for path, expected in notices:+ assert hashlib.sha256((tmp_path / path).read_bytes()).hexdigest() == expected, str(path)