Commit Graph
322 Commits
Author SHA1 Message Date
debpalash a883c7c286 fix(audio): read and write audio without TorchCodec everywhere
torchaudio 2.10 decodes and encodes only through TorchCodec, which
VoiceStudio does not install.

- The process-wide torchaudio.load shim now falls back to soundfile when
  TorchCodec is missing, for every caller (pyannote, transformers, tests),
  not only backend='soundfile'.
- omnivoice-infer and omnivoice-infer-batch save through a new
  omnivoice.utils.audio.save_audio (soundfile); training scripts and the
  dataset read through read_audio. Repo scripts use services.audio_io.
- The torchaudio I/O gate now covers omnivoice/, scripts/ and tests/, and a
  round-trip test runs with torchaudio.load/save raising.
- Docker ROCm backfills select the base image from the checked-out torch
  pin instead of the workflow's.
- The ROCm arch-gate message names torch 2.10.0 and rocm7.1 (its wheels
  still include gfx1200/gfx1201; the arch list is a superset of 2.8's).
- wheel-prefetch tests read the torch pin from pyproject instead of
  hard-coding 2.8.0.
- docker.md no longer claims there is no cu128 aarch64 wheel.
2026-11-08 19:05:08 +05:30
debpalash e9e9970a30 fix(security): update PyTorch to 2.10 (CVE-2026-24747)
torch < 2.10 lets a crafted checkpoint run code even under
torch.load(weights_only=True). Move the main-app trio to torch 2.10.0,
torchaudio 2.10.0 and torchvision 0.25.0 everywhere it is pinned: uv
constraints and lock, deploy/torch-constraints.txt, the Dockerfile
(CUDA base image, cu129 arm64 stage, ROCm base image), setup.py and
runtime-project.ts. Linux AMD ROCm moves to the rocm7.1 index, the only
ROCm line PyTorch publishes 2.10 for (owner decision).

The cu126/cu128/cu129 GPU architecture lists are unchanged from 2.8, so no
NVIDIA card loses kernels. torchaudio 2.9+ I/O changes are already
handled: audio_io falls back to soundfile and prepare_audio_imports
installs the pyannote shim on every platform.

Engine sidecars keep their own upstream pins. Windows ROCm stays on
AMD's 2.9.1 build: repo.radeon.com publishes no 2.10 wheels yet.
2026-11-08 18:38:28 +05:30
velixio 4e0503c7ff fix(dev): make non-false cleanup previews fail safe 2026-11-08 16:26:35 +05:30
velixio 08e8f09947 feat(dev): add cleanup for project environments and app data 2026-11-08 14:22:43 +05:30
debpalash 4cb8e0f978 Merge #3861: fix(updater): download patch updates instead of full installers 2026-11-08 09:48:21 +05:30
debpalash a767f43f0a Merge remote-tracking branch 'origin/main' into train/1 2026-11-08 09:47:23 +05:30
velixio bcd0d734ce fix(build): stop the Vulkan header probe racing the compiler
Under pipefail, `printf | c++` failed whenever c++ exited before reading its
input: printf died of SIGPIPE and the probe reported no Vulkan headers. The
test's stand-in compiler does exactly that, so tests/test_gguf_vulkan_build.py
failed at random (seen on #3787). A here-string has no second process to race.
2026-11-08 02:07:36 +05:30
debpalash abdf0545ed Merge #3766: test: specify UTF-8 when reading Python test fixtures (#3710) (@Bl0ck154) 2026-11-08 02:00:05 +05:30
debpalash 6d359dee7a fix(release): check blockMapSize on the AppImage's own feed entry 2026-11-08 01:58:54 +05:30
debpalash 25248f33c1 fix(updater): download patch updates instead of full installers
GitHub release downloads answer multi-range requests with HTTP 501, so the
generic feed's differential download failed every time and electron-updater
fell back to the full installer. Use single ranges (as its GitHub provider
does), require every patchable payload's blockmap in the release check, and
offer the size of the installer this platform downloads instead of the sum of
every file in the feed.
2026-11-08 01:22:42 +05:30
Shimul Debnath c7a9bfe9da fix(dev): check Node before imports and all setup paths 2026-11-07 21:25:04 +05:30
Shimul Debnath b9ddf72c96 fix(dev): explain unsupported Node versions before startup 2026-11-07 21:09:08 +05:30
Bl0ck154 1f552d7453 Merge updated main while retaining UTF-8 fixture reads 2026-11-03 22:39:07 +02:00
velixio f9c775917a fix: preserve API notarization when rebuilding older tags 2026-11-03 01:21:11 +05:30
velixio 9d89622b49 build: notarize macOS releases with an Apple API key 2026-11-03 01:21:11 +05:30
Bl0ck154 b52651fd3a fix(tests): write UTF-8 fixtures and generated release notes consistently 2026-11-02 04:40:49 +02:00
Palash Debnath 1a29929cb8 feat(android): add Obtainium and a signed F-Droid repository (#3765)
* feat(android): publish verified releases through F-Droid clients and Obtainium

* docs(android): record catalogue packaging requirements and release note

* fix(android): refresh the repository after stable release publication

* fix(release): keep container dispatch independent of Android updates

* test(release): locate the publication step by identity
2026-11-02 02:12:14 +05:30
Palash Debnath 522bdc0e34 feat(macos): bundle the runtime for sandbox validation (#3755)
* feat(macos): stage the bundled runtime for sandbox validation

* docs: record private Mac sandbox runtime validation

* fix(macos): preserve credentials, diagnostics and folder authorization

* fix(macos): require a valid folder scope before accepting native paths

* fix(macos): allow models folder reset with stale grants

* fix(macos): retain selected media tool bookmarks
2026-11-01 20:36:35 +05:30
Palash Debnath c9ee676bc2 fix(packaging): use the registered Mac App Store bundle ID (#3753)
* fix(packaging): match registered Mac App Store bundle identity

* docs(changelog): record Mac App Store identity correction
2026-11-01 16:33:25 +05:30
Palash Debnath faa5294359 fix(mobile): restore OmniVoice speech and expand phone voice models (#3715)
Restore saved-voice OmniVoice speech, add native phone voice models and connect the public Gallery. Harden mobile first-use flows and consent, and skip runtime builds for documentation/test-only changes while retaining lightweight Docker Hub documentation publishing. Include the CLA-signed storage and contact test fixes from #3706 and #3707. Fixes #3671.
2026-10-31 15:29:16 +05:30
debpalash 24900bedd4 docs: refresh default-dark Electron presentation media 2026-10-29 11:33:03 +05:30
velixio bb84907938 Run API setup before desktop development 2026-10-28 22:56:08 +05:30
debpalash 75bfb6bb73 Remove obsolete legacy screenshot and source archive helpers 2026-10-28 16:14:23 +05:30
velixio ad1c96daec feat(provenance): clean-room reimplementation of the residue-scan sections
Reimplements every CLEAN-ROOM marker the previous commit left, from the
written spec only, in sandboxes built without history. The original tests
for the touched areas pass unchanged against the new code (337 passed).
Regenerates mobile/contract/openapi.json for the new model descriptions.
2026-10-28 13:26:12 +05:30
velixio 8c535daf67 chore(provenance): remove remaining contributor code found by the residue scan pending clean-room reimplementation
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM markers where the reimplementation goes.
2026-10-28 13:02:16 +05:30
debpalash 92ca58856b docs(readme): bring the translated READMEs to the new layout
Chinese, Japanese, Korean and Russian READMEs now mirror README.md:
purpose line, Platforms table, two-command Get started, Sponsors call
and the shorter license section. Korean and Russian gain the Team
section, and update_contributors.py now refreshes the contributor row
in every docs/readme translation.
2026-10-28 02:26:00 +05:30
Palash Debnath 5de5a2cbb0 Merge pull request #3574 from debpalash/feat/catalogue-multi-package-dots
Run dots.tts on the audio.cpp runtime (incl. Windows); catalogue packages per repo
2026-10-28 02:24:52 +05:30
Palash Debnath 49eda1de01 Merge pull request #3595 from debpalash/fix/issues-oct27b
fix: Intel Mac source setup, IndexTTS speed, cast Auto voice, custom-engine first run, idle unload stall
2026-10-28 02:23:56 +05:30
Palash Debnath 9f7088d1cb Merge pull request #3594 from debpalash/community/batch-oct27b
community: batch — macOS 14 dev launch, Galician locale, 24-hour times, speech-client framing
2026-10-28 02:23:51 +05:30
debpalash b1b24a8d3b Merge origin/main into feat/catalogue-multi-package-dots 2026-10-28 01:56:13 +05:30
Palash Debnath 5dff699158 Merge branch 'main' into fix/issues-oct27b 2026-10-28 01:56:04 +05:30
debpalash 7735e4a35e fix: Intel Mac source setup, IndexTTS speed, cast Auto voice, custom-engine first run, idle unload off the event loop
- Intel Mac checkouts get the remote-backend screen instead of an endless
  'environment incomplete' error; setup:api stops before syncing (#3584)
- IndexTTS turns public speed into native duration control; /ws/tts forwards
  a validated duration_factor (#3588)
- The dub Cast picker always offers the speaker's Auto voice (#3582)
- First run accepts a ready, selected non-default TTS engine (#3581)
- Idle, explicit and eviction unloads run off the event loop, so releasing
  device memory no longer stalls health checks (#3558)
2026-10-28 00:06:56 +05:30
velixio 3f8313791f refactor(backend): clean-room reimplementation of the Windows subprocess fallback, dub mix spill, CTranslate2 repair, audiobook join keys, capture fallback, Urdu verbalization, dictation prompt and Tailscale helpers
Rebuilds the remaining contributor backend units from a behaviour spec; public names, endpoints, JSON shapes and on-disk formats are unchanged.
2026-10-28 00:06:55 +05:30
velixio 8eb12caf27 chore(provenance): remove W7 backend helpers pending clean-room reimplementation
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM markers where the reimplementation goes.
2026-10-28 00:06:55 +05:30
debpalash f00100458c fix(batch): review fixes for absorbed community PRs
- Galician: replace the stale sponsor tier keys with the current five tiers in both catalogs; register gl in the shared language test, translate_all.py and the renderer perf locale pattern; drop the one-off Google Translate scraper script; locale-count wording in docs and the parity test no longer hardcodes 21.
- Speech client: loopback requests bypass environment proxies so a plain-HTTP bearer key never reaches a proxy (CodeRabbit on #3554), with a regression test.
2026-10-27 23:55:51 +05:30
debpalash 42c60e8630 Merge remote-tracking branch 'origin/main' into tmp-3574 2026-10-27 22:38:06 +05:30
velixio 6338dfae4c refactor(sherpa-onnx): clean-room reimplementation of Piper/lexicon VITS loading and the phone licence gate
Rebuilds model-file resolution, companion-file detection, the loader, the phone-only engine id check, their tests and docs from a behaviour spec.
2026-10-27 21:07:26 +05:30
velixio c5147e9df3 chore(provenance): remove sherpa-onnx Piper/lexicon loading and phone engine-id gate pending clean-room reimplementation
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM markers where the reimplementation goes.
2026-10-27 21:07:26 +05:30
debpalash f089cc3fcc Address review on catalogue packages and audio.cpp dots.tts
- dots.tts reports 48 kHz before its first render (was Breeze's 24 kHz).
- The licence projection marks package entries catalogued by their own id.
- Catalogue and cache helpers move to services/model_catalogue, so
  engine disk usage no longer imports a router (cyclic import).
- Best-effort except clauses say why they continue.
2026-10-27 19:12:05 +05:30
debpalash ca14a710f4 Merge remote-tracking branch 'origin/main' into feat/catalogue-multi-package-dots
# Conflicts:
#	docs/engines/README.md
2026-10-27 18:47:49 +05:30
Palash Debnath 1feca64055 Merge branch 'main' into feat/gguf-packaging-audiocpp 2026-10-27 18:18:47 +05:30
velixio 447e6f8aad Merge remote-tracking branch 'origin/main' into cla/rewrite-wave-2
# Conflicts:
#	CHANGELOG.md
#	backend/services/longform_import.py
#	backend/services/text_normalization.py
#	backend/tests/test_longform_import_epub_matter.py
#	electron/src/renderer/src/i18n/locales/ar.json
#	electron/src/renderer/src/i18n/locales/de.json
#	electron/src/renderer/src/i18n/locales/en.json
#	electron/src/renderer/src/i18n/locales/es.json
#	electron/src/renderer/src/i18n/locales/fr.json
#	electron/src/renderer/src/i18n/locales/hi.json
#	electron/src/renderer/src/i18n/locales/id.json
#	electron/src/renderer/src/i18n/locales/it.json
#	electron/src/renderer/src/i18n/locales/ja.json
#	electron/src/renderer/src/i18n/locales/ko.json
#	electron/src/renderer/src/i18n/locales/nl.json
#	electron/src/renderer/src/i18n/locales/pl.json
#	electron/src/renderer/src/i18n/locales/pt.json
#	electron/src/renderer/src/i18n/locales/ru.json
#	electron/src/renderer/src/i18n/locales/sv.json
#	electron/src/renderer/src/i18n/locales/th.json
#	electron/src/renderer/src/i18n/locales/tr.json
#	electron/src/renderer/src/i18n/locales/uk.json
#	electron/src/renderer/src/i18n/locales/vi.json
#	electron/src/renderer/src/i18n/locales/zh-CN.json
#	electron/src/renderer/src/i18n/locales/zh-TW.json
#	electron/src/shared/i18n/locales/ar.json
#	electron/src/shared/i18n/locales/de.json
#	electron/src/shared/i18n/locales/en.json
#	electron/src/shared/i18n/locales/es.json
#	electron/src/shared/i18n/locales/fr.json
#	electron/src/shared/i18n/locales/hi.json
#	electron/src/shared/i18n/locales/id.json
#	electron/src/shared/i18n/locales/it.json
#	electron/src/shared/i18n/locales/ja.json
#	electron/src/shared/i18n/locales/ko.json
#	electron/src/shared/i18n/locales/nl.json
#	electron/src/shared/i18n/locales/pl.json
#	electron/src/shared/i18n/locales/pt.json
#	electron/src/shared/i18n/locales/ru.json
#	electron/src/shared/i18n/locales/sv.json
#	electron/src/shared/i18n/locales/th.json
#	electron/src/shared/i18n/locales/tr.json
#	electron/src/shared/i18n/locales/uk.json
#	electron/src/shared/i18n/locales/vi.json
#	electron/src/shared/i18n/locales/zh-CN.json
#	electron/src/shared/i18n/locales/zh-TW.json
#	tests/test_no_hardcoded_cjk.py
#	tests/test_text_normalization.py
2026-10-27 17:34:14 +05:30
velixio b4757c557b Merge remote-tracking branch 'origin/main' into cla/rewrite-wave-1
# Conflicts:
#	backend/api/routers/dub_generate.py
#	backend/services/asr_backend.py
#	backend/tests/test_pytorch_whisper_oom_ladder.py
#	electron/src/renderer/src/i18n/locales/en.json
#	electron/src/renderer/src/i18n/locales/zh-CN.json
#	tests/test_no_hardcoded_cjk.py
2026-10-27 16:19:18 +05:30
velixio 96a94569d2 Merge remote-tracking branch 'origin/main' into cla/rewrite-wave-2
# Conflicts:
#	backend/services/llm_providers.py
#	backend/services/text_normalization.py
#	backend/utils/hf_progress.py
#	docs/STRUCTURE.md
#	docs/dubbing/translation-engines.md
#	electron/src/shared/components/settings/settingsCategories.jsx
#	tests/test_llm_providers.py
2026-10-27 16:03:43 +05:30
debpalash 86ecf65018 Run dots.tts on the audio.cpp runtime, incl. Windows
Model Catalogue keyed every entry by its Hugging Face repo, so a second
package from audio.cpp's shared GGUF repo could not be listed, installed
or removed on its own. Entries can now declare their own catalogue id
(<repo_id>:<package>); installs, install state, licence records, disk
usage and uninstall use it, while Hub calls and the cache keep the repo.
Uninstalling one package removes only its own files. Whole-repo entries
keep their repo id, so existing installs and acceptances are unchanged.

On top, the audiocpp-dots engine serves dots.tts SOAR through the pinned
audio.cpp v0.7.4 runtime (family dots_tts) with its own package, port and
server directory. TTS engine rows can install the shared runtime.
2026-10-27 15:41:49 +05:30
debpalash 0a787fe0c2 Bound parallel compiles in the GGUF runtime build
A bare cmake --build -j compiled every ggml CPU variant at once and the
Linux runner OOM-killed cc1plus, so the linux-x86_64 runtime (now
shipped in the installers) never built. Limit jobs to the CPU count.
2026-10-27 15:26:26 +05:30
debpalash ace7a5e020 Ship the OmniVoice GGUF runtime in the desktop installers
The installers never packaged bin/omnivoice-tts-<platform>, so the
GGUF engine reported "native binary not found" on every install.
Release and rehearsal builds now call build-omnivoice-tts.yml as a
reusable workflow and package each platform's runtime under
resources/bin, where the backend already looks. Signing rewrites the
binary, so the checksum manifest is refreshed after signing (before
the bundle seal on macOS). The Windows build carries its Visual C++
runtime and targets macOS 13.3. The packaging contract fails a release
whose installer lacks the runtime or whose manifest drifts.
2026-10-27 15:19:58 +05:30
Palash Debnath 388f22071f Merge branch 'main' into community-batch 2026-10-27 14:14:53 +05:30
velixio 67659842d1 fix(setup): keep the clean-room ROCm wording after merging main 2026-10-27 11:54:03 +05:30
velixio 7daa01e98c Merge remote-tracking branch 'origin/main' into cla/rewrite-wave-2
# Conflicts:
#	backend/api/routers/setup/wizard.py
#	docs/STRUCTURE.md
#	electron/src/renderer/src/components/app-shell/app-shell.test.tsx
#	electron/src/renderer/src/components/app-shell/use-workspace-sidebar.test.tsx
#	electron/src/renderer/src/components/app-shell/workspace-sidebar.test.tsx
#	electron/src/renderer/src/features/longform/generate-panel.test.tsx
#	electron/src/renderer/src/features/longform/longform-page.tsx
#	electron/src/renderer/src/features/settings/settings-page.tsx
#	electron/src/renderer/src/i18n/locales/ar.json
#	electron/src/renderer/src/i18n/locales/de.json
#	electron/src/renderer/src/i18n/locales/en.json
#	electron/src/renderer/src/i18n/locales/es.json
#	electron/src/renderer/src/i18n/locales/fr.json
#	electron/src/renderer/src/i18n/locales/hi.json
#	electron/src/renderer/src/i18n/locales/id.json
#	electron/src/renderer/src/i18n/locales/it.json
#	electron/src/renderer/src/i18n/locales/ja.json
#	electron/src/renderer/src/i18n/locales/ko.json
#	electron/src/renderer/src/i18n/locales/nl.json
#	electron/src/renderer/src/i18n/locales/pl.json
#	electron/src/renderer/src/i18n/locales/pt.json
#	electron/src/renderer/src/i18n/locales/ru.json
#	electron/src/renderer/src/i18n/locales/sv.json
#	electron/src/renderer/src/i18n/locales/th.json
#	electron/src/renderer/src/i18n/locales/tr.json
#	electron/src/renderer/src/i18n/locales/uk.json
#	electron/src/renderer/src/i18n/locales/vi.json
#	electron/src/renderer/src/i18n/locales/zh-CN.json
#	electron/src/renderer/src/i18n/locales/zh-TW.json
2026-10-27 11:52:28 +05:30