Commit Graph
8 Commits
Author SHA1 Message Date
debpalash 23a277e4be fix: cap SRT-only timelines at 24 h; retry truncated runtime downloads without logging paths
- dub: a subtitle cue ending after 24 hours is refused (400) before a job
  exists; the dub mix is sized from an SRT-only job's timeline, so one absurd
  cue could allocate a mix file tens of gigabytes long.
- android fetch: a truncated chunked body (http.client.IncompleteRead) takes
  the same cleanup-and-retry path as an OSError, and the retry log names the
  error class and errno only, never an exception text that can hold a path.
2026-11-23 10:36:08 +05:30
debpalash e138368502 ci(android): retry a corrupted or failed pinned runtime download before failing
android-inference failed on a sherpa-onnx AAR whose bytes did not match its
pin, though the pinned asset still matches upstream: a truncated transfer.
fetch.py now discards a bad download and retries it up to three times with
backoff; a digest that still differs is reported as a real mismatch.
2026-11-23 10:09:07 +05:30
debpalash 291d9fa7c0 feat(gguf): bundle omnivoice.cpp tts-server so resident mode works in releases
Move the omnivoice.cpp pin (desktop and mobile) to 040c8b3, the commit that adds
the tts-server target and voice registry the resident mode needs. Build, checksum,
upload and package tts-server-<platform> beside omnivoice-tts-<platform> on every
desktop platform, fail the build and packaging when it is missing, and log once
why resident mode fell back to the per-request binary.

Refs #3654
2026-11-11 13:42:07 +05:30
debpalash 97ee0f3707 feat(mobile): add native production workspaces and phone processing 2026-10-25 01:59:47 +05:30
debpalash b3ce49936d feat(mobile): complete native workflows and Electron-style Home 2026-10-18 22:41:22 +05:30
debpalash 458bd0f398 fix(mobile): safe extraction of native source archives (CodeQL py/tarslip)
Use tarfile's data filter where available, and on older Pythons check each
entry's resolved path and link target stay inside the tree before
extracting it alone. Verified on the three pinned archives under Python
3.9 and 3.11; a regression test covers path escapes, absolute paths and
links out of the tree on both code paths.
2026-10-18 06:47:49 +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