Commit Graph
15 Commits
Author SHA1 Message Date
Shimul Debnath 40c5e3ce6f fix(mobile): make model downloads resumable with background transfers and live progress (#3752)
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.
2026-11-01 19:27:50 +05:30
Palash Debnath cc91cac752 feat(mobile): make model RAM recommendations advisory (#3738)
* feat(mobile): make model RAM recommendations advisory

* test(mobile): verify low-memory try-anyway keeps licence consent

* docs(changelog): record advisory phone memory recommendations

* fix(mobile): preserve RAM advice and safe automatic model choices

* fix(mobile): keep Clone and Dub RAM warnings outside advanced controls
2026-10-31 23:40:29 +05:30
debpalash 44523d6a40 Fix mobile parity CI and project transfer review findings 2026-10-25 17:43:09 +05:30
debpalash a65cfa92f9 Expand native mobile production and editable project handoff 2026-10-25 16:55:55 +05:30
debpalash 97ee0f3707 feat(mobile): add native production workspaces and phone processing 2026-10-25 01:59:47 +05:30
debpalash 931139ede4 fix(android): serialize dub cancel/resume/delete, place raw PCM by timestamp, split dub utterances at pauses, keep separate speak and clone model choices 2026-10-22 16:35:47 +05:30
debpalash b3ce49936d feat(mobile): complete native workflows and Electron-style Home 2026-10-18 22:41:22 +05:30
debpalash f2cebf3876 feat(android): simple UI with little text, on-device voice cloning and dubbing
- 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.
2026-10-18 04:30:50 +05:30
debpalash c520c06777 feat(android): on-device TTS and dictation, model downloads, phone-first routing
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.
2026-10-18 03:37:45 +05:30
debpalash f40ee05924 fix(android): dub worker retries every transient failure, including HTTP 500
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.
2026-10-18 00:50:18 +05:30
debpalash 5c07ee12e7 fix(mobile): review — dictation restarts after an early stop; uploads keep a media extension
- 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.
2026-10-18 00:22:02 +05:30
debpalash 7603ce0716 fix(mobile): phone-test findings — dub start errors, remote-LLM consent, dub UX
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.
2026-10-18 00:14:49 +05:30
debpalash 890389897f fix(mobile): CodeRabbit review — resilient stores, zh script locales, foreground refusal
- 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.
2026-10-18 00:01:12 +05:30
debpalash 41566b71ac fix(mobile): review P1s — explicit translation provider, multi-phrase dictation, honest dub voice, host isolation
- 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.
2026-10-17 23:48:27 +05:30
debpalash d9b83e6a17 feat(mobile): native iOS and Android companion apps (preview)
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.
2026-10-17 23:02:12 +05:30