Commit Graph
23 Commits
Author SHA1 Message Date
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 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 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
kevin9327 fb5fcfb771 fix(tts): build the OuteTTS speaker from a local Whisper instead of downloading in the worker (#2700) 2026-10-27 00:33:33 +05:30
debpalash e0355c1407 fix(sherpa-onnx): load Piper voices and lexicon VITS models; keep phone models out of the desktop licence gate
Piper releases name the model <voice>.onnx and need espeak-ng-data; accept a
single .onnx when model.onnx is absent and pass espeak-ng-data/lexicon.txt to
the VITS config. Phone-only licence rows now carry mobile: engine ids so the
desktop sherpa-onnx engine stops asking for the phone models' licences.

Based on #3373 by @MehmetinLove; drops the unused dict_dir and the unrelated
Turkish exam example.
2026-10-26 16:51:34 +05:30
Palash Debnath bc5025cc0e feat(tts): opt-in native CosyVoice 3 GGUF engine (Vulkan/CPU) (#3449)
feat(tts): opt-in native CosyVoice 3 GGUF engine (Vulkan/CPU)
2026-10-26 03:28:40 +05:30
dutch2005 5ee41e305b feat(asr): add local whisper.cpp transcription with optional Vulkan acceleration
Run local transcription and translation while preserving CPU choices, cached checkpoint names, actual model provenance and consistent source-language choices for translation, pack setup and glossary extraction.
2026-10-26 02:55:31 +05:30
debpalash 29f3b43fa3 fix(mobile): keep stereo channels and portable licence notices 2026-10-23 20:24:54 +05:30
debpalash 9972932778 Merge main into feat/mobile-on-device
# Conflicts:
#	CHANGELOG.md
#	docs/licensing/model-license-data.json
#	tests/test_model_license_workflow.py
2026-10-22 17:49:12 +05:30
velixio 63e403fcc0 feat(catalogue): list VoxCPM2 8-bit with its licence record 2026-10-22 16:49:33 +05:30
debpalash 383f8933e4 feat(mobile): phone model catalogue generated from the licence registry
Seven pinned, checksummed models for on-device use (Kitten and Kokoro TTS,
Whisper tiny/base, streaming Zipformer, OmniVoice Q4_K_M, Qwen3-1.7B Q4_K_M).
scripts/export_mobile_models.py joins mobile/contract/models.source.json
with the desktop licence registry; the contract test fails on drift, a
missing registry entry or an unhashed file. Four new registry rows are
added unreviewed (existing rows untouched so desktop acceptances stay
valid).
2026-10-18 03:37:45 +05:30
Bicheng (Kenneth) 55ad9b1787 Merge branch 'main' into fix/moss-pinned-loading 2026-10-14 00:01:56 -07:00
velixio daa7024489 feat!: remove remote devices and remote workers (moved to VoiceStudio Pro)
Remote devices, remote workers and GPU sharing are now part of VoiceStudio
Pro and are no longer in the open-source app.

Removed: backend/worker/** and the workers API, the Workers and inbound-node
settings, compute-target and remote-runtime UI, the worker CI job, the
worker docs and ADR, and the grpcio, grpcio-tools and protobuf direct
dependencies (the protobuf security floor stays as a constraint).

Kept: local generation, dub, audiobook, batch, model install and GPU use on
this machine; network sharing; the remote backend that Intel Macs use.

Compatibility: existing databases keep their remote_workers,
remote_worker_enrollments and remote_tasks tables and migration 0010; they
are ignored. A saved worker target falls back to local. Model install and
licence plans with a non-local target now return HTTP 400.
2026-10-11 17:14:36 +05:30
BichengWang f7aab8bc8d fix(moss): load model and codec from independently pinned snapshots 2026-10-10 12:21:11 -07:00
velixio 4458c6ec01 feat(licensing): readable licence dialog and recorded acceptances
Licence dialog, in the catalogue and when another page needs a model:
a plain summary (category, licence, review and acceptance state), what
the licence allows, the source, then collapsible variants, notes,
technical details and the verified-install preview, on a solid surface
with an always-visible acceptance footer. Several blocked models each get
their full licence and their own confirmation checkbox.

Acceptance and withdrawal are recorded per model with a UTC timestamp,
the exact terms fingerprint, the app version and the terms snapshot; the
last 20 actions are kept as history. The fingerprint now covers every
visible term field and licence document hash, so any change to a model's
terms asks again and the dialog names what changed. Earlier plain-string
records still read. New GET /models/licenses/details/{repo_id}.
2026-10-10 17:44:54 +05:30
velixio b0c58f98fb fix(licensing): close review findings on the licence acceptance gate
- fail closed when the licence registry or the acceptance store is unreadable
- keep the Supertonic-3 per-engine flag and the new acceptance in sync
- require admin to accept or revoke licences on a shared server
- let local model folders through as non-registry models, like ASR does
- open the acceptance dialog from dictation, TTS stream, task/SSE streams,
  streaming generate and batch, not only plain HTTP errors
- point error text at Model Catalogue
- map moonshine/tiny in the licence-coverage checker (CI)
- behavioural tests for every TTS, dub, batch, audiobook, dictation and
  NLLB gate, each verified to fail when its gate is removed
- docs and licence-data scope no longer call first-use unenforced
2026-10-10 15:37:44 +05:30
velixio 4a73d4e9cd feat(licensing): require licence acceptance before a non-commercial-category model is used
VoiceStudio is not the licensor and cannot grant model rights. Every model
whose declared licence category is not commercial must have its licence
accepted before it can be loaded or used, including models that are already
downloaded. Acceptance is stored per model, bound to a fingerprint of the
recorded terms, can be withdrawn, and an earlier Supertonic-3 acceptance
carries over. Unmapped or unreadable state fails closed.

Backend: model_acceptance service, accept/revoke/status routes, a 403
model_licence_required error, and gates at the TTS, ASR, dictation,
diarisation and translation load points. The failure payload reaches job,
SSE, WebSocket, OpenAI-compat and worker paths.

UI: Licence: icon trigger, acceptance form in the licence dialog, an
app-level dialog for any feature that hits an unaccepted model, and an
'Accept licence to use' state in place of 'Installed'. Strings in all
21 locales; docs and changelog updated.
2026-10-10 15:20:35 +05:30
velixio 72ecf82ee1 feat(licensing): categorise declared model licences with coloured icons
Derive a display-only licence category (commercial, conditions,
noncommercial, unknown) from the declared licence ids. The most
restrictive part of a record wins, restricted variants restrict their
repo, and unmapped ids fall back to unknown. CI fails when a registry
licence id is not mapped.

Model cards show a two-tone coloured SVG icon per category with the
licence, category and review state in the tooltip and accessible name.
Non-commercial review statuses no longer render as 'Not verified'.
2026-10-10 13:20:28 +05:30
Palash Debnath d1ae6687fe feat(licensing): add model disclosures and reviewed-file preview 2026-10-09 13:15:19 +00:00
debpalash ddce4bec67 fix(licensing): cover runtime model defaults and clarify paid scope 2026-10-03 06:55:29 +05:30
debpalash 3151fa99e8 fix(licensing): cover additional model defaults and aliases 2026-10-03 06:40:58 +05:30
debpalash b1d8c5728a chore(licensing): gate model inventory completeness in CI 2026-10-03 06:31:59 +05:30
debpalash 07d609998f docs(licensing): audit locked PyAV binary dependencies 2026-10-03 06:19:56 +05:30