* fix(engines): let users delete an engine VoiceStudio installed (#4490)
Nothing in the UI called the sidecar uninstall route, so a one-click engine
(MOSS-SoundEffect and its ~11 GB of weights, IndexTTS, CosyVoice, ...) could
never be removed, though the engine docs promised an Uninstall button.
- The shared install control offers Delete, with a confirmation, for an
app-managed install (never a user's own clone); Settings > Models shows it
on each installed one-click engine and Tools > Sound effects at the top.
- Uninstall stops the engine's running sidecar first, refuses while it is
mid-request (409), and reports files it could not delete (500 with the
folder) instead of a silent partial delete.
- Engine docs name the Delete button.
* fix(mobile): never leave a model download stuck at Waiting for Wi-Fi
Wi-Fi-only downloads parked on the network policy (metered or hotspot Wi-Fi,
cellular with Mobile data off) had no way forward and a generic label. Say
why they wait, offer Download on this connection, apply the Mobile data
switch to waiting transfers, and retry policy/constraint disagreements
sooner. Same on Android and iOS. (#4494)
* feat(dictation): optional compact level-meter overlay for press-and-hold dictation (#4493)
* chore(changelog): name the batch fragments after #4496 and credit reporters
* fix(engines): delete read-only files when removing an engine
Windows marks git pack files read-only, so rmtree(ignore_errors=True) left
.git behind and every engine delete there would have been reported as
incomplete. Uninstall now clears the read-only bit and retries, and only
files another process holds open are reported.
* fix(engines): keep every request away from an engine while it is deleted
A request holds the engine's op lock while it resolves its environment,
before its process exists, so the old live-process check missed it and a
spawn could rebuild part of the install mid-delete. The delete route now
marks the engine removing (new spawns refuse it), takes every instance's
op lock without waiting (busy → 409) and stops its sidecar before removing
files. Leftovers of an incomplete delete stay 'managed' so Delete is still
offered. Moves the stop out of sidecar_install, which also removes an import
cycle.
* fix(engines): Delete stays available for leftovers, sends one request, and promises only what it removes
- Delete is offered for any managed folder, not only a healthy install, so an
incomplete delete can be retried.
- A ref guard and a disabled confirm button stop a second DELETE.
- The confirmation no longer claims to remove models in the shared download
cache, which uninstall leaves in place.
* fix(mobile): relabel restored waiting downloads; harden iOS download replacement
Android: a queued waiting entry now takes the freshly computed waiting reason
on restore while active progress is kept. iOS: the Mobile data setting
restarts waiting transfers, downloadNow persists the intent before replacing
the task and keeps the model paused with a reason when saving fails, and task
ownership uses a per-model generation so a cancelled task never clears or
finalises a replacement's entries. (#4494)
* fix(dictation): show the full recorder after an empty result and report compact-overlay save failures
* fix(engines): retry only removals when a read-only file blocks an engine delete
rmtree also reports os.open/os.scandir failures to the callback, and calling
those with one argument raised TypeError and aborted the delete before its
leftover check. Other failures now reach that check.
* test(android): name freeBytes in the new ModelDownloads test calls
Five positional lambdas matched both the primary constructor and the
bundled-assets one, so the unit tests failed to compile.
* fix(engines): reference-count delete marks, refuse installs during a delete, never chmod a symlink target
- engine_removal holds counted 'being deleted' marks shared by the delete
route, the sidecar spawner and the installer: an overlapping delete that
gives up no longer clears the mark of one still removing files.
- start_install refuses (409) while the engine is being deleted, and the
install/repair button is disabled while a delete is pending.
- The read-only retry makes the parent folder writable and never chmods a
symlink, which would follow it to a shared interpreter.
- iOS test: drop an assertion that could only pass after the gate opened.
* docs(structure): 146 services
* fix(engines): keep POSIX file modes on delete; make the iOS replacement test observe the cancelled transfer
Keep delayed failure reports bound to their original diagnostic permission and preserve accepted work through storage recovery. Retain historical download provenance and owned session markers, keep expected refusals local, and preserve main/manual native validation runs.
All current-head platform, backend, desktop, security, identity and CLA checks passed; both review bots cleared the final repair.
Allow Android model-download jobs on the app VPN route while retaining Wi-Fi-only/cellular consent and saved partial ranges. Observe the default route, replace stale scheduler policies safely, and preserve paused intents. Include SDK VPN, queue restoration and existing transfer-policy controls.
Persist mobile model download intents, resume parallel ranges in background transfers, and show percentage, speed and ETA. Preserve partial downloads through retries and validate SHA-256 before activation.
Validation: all 35 PR checks passed, including native iOS and Android builds, tests and inference.
- Every screen trimmed to short labels and icons with one primary action:
Speak is a text box, three chips and Generate; Dictate is one mic button;
Dub is source, languages, voice; Settings and Models are plain rows.
Help text moved behind a single info sheet where still needed.
- Voices can be cloned and stored on the phone (OmniVoice via
omnivoice.cpp) and used from Speak; each voice shows where it lives.
- Dubbing runs on the phone: extract, transcribe (Whisper), translate
(Qwen3 via llama.cpp), re-voice cloning the original speaker, mix and mux,
as a foreground task with cancel and checkpoint resume.
sherpa-onnx, omnivoice.cpp and llama.cpp at the pinned versions, built for
arm64-v8a and x86_64 behind one LocalEngine. Sherpa TTS, transcription and
live dictation run on the phone; a Models screen downloads user-started,
resumable, SHA-256-verified models with the desktop's licence acceptance
and RAM fit. Speak and Dictate choose This phone or My computer; every tab
works without pairing.
The worker kept its own retry list (no 500), so a brief settings error
during the post-upload translator check permanently failed the dub. It now
uses the shared ClientFailure.isTransient(), tested through
authorizedTranslation. iOS already keeps the checkpoint and resumes.
- iOS: stopping dictation before the socket opened left finalizing set,
disabling dictation until the host changed. Reset it on every early exit
and on disappear.
- Uploading a file whose display name has no media extension (e.g.
'Interview') failed, since /dub/upload requires one. Both apps append the
file type's extension when the name lacks a matching one, for dub and
clone uploads, with tests.
From a device run of the Android build against a live host:
- Dub start failures always surface an actionable message (the worker
previously failed silently); the full worker pipeline is now tested
against a mock host.
- An LLM translation engine whose endpoint isn't verifiably on the host's
loopback needs the same per-job consent as online translators.
- The chosen dub file keeps its real name (on screen and as the upload
filename); clearing it says Remove, not Delete.
- Picker values take the space the label doesn't need; dub history uses
compact rows; searches with no matches say so; tabs render immediately.
- 15 new mobile strings translated into all 21 locales.
- Android DubWorker keeps going when Android refuses a foreground-service
start, and declares the dataSync type; cancellation still propagates.
- Corrupt or unreadable saved state falls back to defaults instead of
crashing every launch.
- Reconnecting keeps the saved host's label.
- zh-Hans*/zh-Hant*/zh-HK/zh-MO map to the bundled zh-CN/zh-TW catalogs.
- Upload failure receipts are shown once.
- A failed attempt on another host leaves the active session intact; PIN-only
disconnect sends no revoke.
- Android parses only the fallback-chain catalogs, cached per locale.
- Dub translation always names the host's active engine (GET
/engines/translation), as the desktop does; an online engine needs
per-job consent, and declining sends nothing. Previously the backend fell
back to Google.
- iOS dictation keeps recording across Sherpa utterance finals; only
the session summary ends it (Android summary handling aligned).
- Dub voice is an explicit choice of engine preset or saved voice; the
'Use source voice' label promised source-speaker cloning that the
app's transcription path can't prepare.
- Switching or disconnecting hosts clears host-specific state, stops
old-host monitoring and rejects stale replies.
SwiftUI (mobile/ios) and Jetpack Compose (mobile/android) apps that pair
with the user's own VoiceStudio backend by QR/PIN or API-key session and
drive Speak, Voices/cloning, Dub and Dictate. Both implement one contract,
mobile/contract/SPEC.md.
- Theme tokens are generated from the Electron theme
(scripts/export-mobile-tokens.ts) and the API description from the
backend (scripts/export_openapi.py); tests/test_mobile_contract.py fails
on drift.
- 199 mobile.* strings added to all 21 renderer locale catalogs.
- es: tts.record now reads "Grabar" (record), not "Registro" (log).
- New mobile CI workflow; docs/mobile.md user guide; CHANGELOG entry.