Commit Graph
4 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 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 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