Commit Graph
365 Commits
Author SHA1 Message Date
velixio 58ef2ee746 docs: clean-room rewording of remaining contributor passages
Rewrites the ROCm source-checkout notes, Start dictation details, Docker Hub architecture sentences, STRUCTURE rule and heading, Tailscale sharing steps and the CN/JA agent-install and source-run passages from a meaning-only spec.
2026-10-28 00:06:54 +05:30
velixio 7d6e3ab7d9 chore(provenance): remove contributor doc passages 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:54 +05:30
Shimul Debnath 982f94c529 Merge branch 'main' into fix/auto-pypi-mirror-race 2026-10-27 18:58:23 +05:30
Shimul Debnath e54fad422b Merge branch 'main' into chore/cleanup-unused-deps 2026-10-27 17:52:02 +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
Palash Debnath e680e8465b Merge branch 'main' into chore/cleanup-unused-deps 2026-10-27 17:27:16 +05:30
debpalash c00323f037 Let Auto pick the Aliyun PyPI mirror after a one-wheel speed check
The Auto download region never chose the China mirror, so users in China
downloaded every locked PyPI wheel from files.pythonhosted.org unless they
found the China option. Setup now times the first 256 KB of one locked wheel
from PyPI and Aliyun at once (one request each, 6 s limit, no retries) and
uses the mirror for the sync and the wheel prefetch only when it answers and
is clearly faster; anything uncertain keeps PyPI.

Also records the owner-approved sanctioned calls (locked package downloads,
including the wheel prefetch, and this speed check) in CLAUDE.md, AGENTS.md
and CONTRIBUTING.
2026-10-27 17:01:53 +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 48048c8d46 fix(setup): clear wheel prefetch leftovers after a successful sync; qualify localized blocker naming 2026-10-27 15:55:26 +05:30
Palash Debnath 115f47aeed Merge branch 'main' into fix/install-startup-batch 2026-10-27 15:40:45 +05:30
debpalash cb807e77b5 chore: drop unused dev dependencies, fix VoxCPM2 in-process CUDA graphs, document Smart App Control DLL blocks
- Remove pytest-cov (no --cov anywhere), root typescript (electron has its own)
  and turbo (+ turbo.json, build:all; one workspace). Lockfiles regenerated.
- VoxCPM2 in-process backend loads with optimize=False like the sidecar, so
  reduce-overhead CUDA graph trees no longer assert on the worker thread (#3567).
- Troubleshooting: Smart App Control can block unsigned runtime DLLs that
  installer signing does not cover; options spelled out (#3209, #1779).
- Fix remaining broken links from #2903.

Refs #2603
2026-10-27 15:28:32 +05:30
Palash Debnath 388f22071f Merge branch 'main' into community-batch 2026-10-27 14:14:53 +05:30
debpalash c8b0858504 Merge origin/main 2026-10-27 14:06:59 +05:30
debpalash 1da68893c9 fix(setup): drop the automatic mirror race, fall back to uv when a prefetched wheel cannot be used, match localized Windows load blocks by Smart App Control state
Review follow-up: the restricted-network PyPI/Aliyun probe is not a sanctioned
call, so it is removed (China stays an explicit region choice). If uv fails on a
prefetched file:// wheel, the original lock gets one more sync. A localized DLL
load failure on a host with Smart App Control on is treated as a block, not a
broken runtime.
2026-10-27 14:06:57 +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
debpalash 905d70ce55 Address review on the community batch
WSL guide requires 2.5.6 (its sparse commands pass --allow-unsafe) and
quotes the generated script path; README test requires the Korean and
Russian translations; the FHS env installs dev outputs; load torch_npu via
importlib.
2026-10-27 10:26:27 +05:30
debpalash cb0d62ff19 fix(setup): fetch large wheels over several connections, mirror restricted networks, name Windows load blocks
- Before the frozen sync, ask uv (dry run) which wheels it still has to
  download and fetch every one over 64 MB in byte ranges over 8 connections,
  verified against the sha256 in uv.lock, then hand uv the file:// copy.
  Partial downloads resume on retry; any failure falls back to uv (#3411).
- Restricted networks (picked, or auto-detected, where China lands) race one
  locked wheel on PyPI against the Aliyun mirror and use the mirror when PyPI
  is unreachable or clearly slower (#3444).
- A backend that Windows refused to load a DLL for (Smart App Control,
  application control policy, antivirus) names the blocker and is no longer
  treated as a broken runtime to re-download (#3209).
- Install docs no longer cap Apple Silicon at M1-M5 (#3074).
2026-10-27 10:05:51 +05:30
debpalash 2934b108c9 docs(wsl-rocm): start the Electron web UI and fail on GPU/import errors
The launcher's dev:frontend started the retired UI at v0.5.6; target v0.5.7,
whose dev:frontend is Electron's web entrypoint. Note WSL 2.5.6+ needs
--allow-unsafe for sparse mode, make verify-gpu exit nonzero without a GPU,
and stop the reset when wsl --import fails (review on #3391).
2026-10-27 09:54:49 +05:30
debpalash 89b8f4fee1 fix(engines): route unsupported GPUs to CPU, finish the Linux ROCm swap, name missing build tools
- Routing badge falls back to CPU for a CUDA card the wheel has no kernels
  for (sm_52 Maxwell on cu128), matching the loader; one cuda_forced()
  reading shared by loader, badge and GPU report (#3067).
- Linux ROCm torch swap reinstalls only the torch trio from an extra index;
  --index-url + --reinstall made Pillow 13 unresolvable (#3158, #3418).
- Sidecar installs that fail for lack of a C++ compiler say so and name the
  build tools per OS instead of blaming the network (#3423).
2026-10-27 09:51:41 +05:30
shamil2 bc8b561f9c feat(nix): add Nix flake and NixOS development environment (#2961) 2026-10-27 09:48:46 +05:30
Nur Zaman 725e729998 fix(xpu): load models on Intel Arc and recover from device OOM (#2747) 2026-10-27 09:47:42 +05:30
vincentfranstyo 69fd598ddc docs(install): point Windows PowerShell commands at install.ps1 (#2982) 2026-10-27 09:47:36 +05:30
jonathanwxh-cell 047d29677c docs(docker): explain recovery from a lost share PIN (#3006) 2026-10-27 09:47:35 +05:30
Esdedev 33d85d6121 docs: community-tested WSL2 AMD ROCm guide (no Docker) (#3391) 2026-10-27 09:47:28 +05:30
velixio ae24f24725 docs(macos): explain the Gatekeeper "damaged" dialog for intact downloads and lead with the quarantine fix
(cherry picked from commit 5101a0230d8f508e84abb9cbd37bb7230b13d0f8)
2026-10-27 03:17:51 +05:30
velixio 72e4e9d3f6 refactor: clean-room reimplementation of CUDA-graph gating, crash diagnostics, torch.compile opt-out, cue sheets and Clear script
Rebuilt from a behaviour spec by an implementer who never saw the removed code (batch O: #2278, #2205, #2157).

(cherry picked from commit 72d49954a9faf0c591ba9d37ae25e8362253ab02)
2026-10-27 03:17:51 +05:30
velixio bb9befd14f chore(provenance): remove cue sheet, clear script, and pre-Ampere compile safeguards pending clean-room reimplementation
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM markers where the reimplementation goes.

(cherry picked from commit 1ac12d16bacef204069252ab042897aef324803b)
2026-10-27 03:17:17 +05:30
velixio 6a3f5b1d9c refactor: clean-room reimplementation of dub transcribe keepalive, sidecar timeouts, audio IO fallbacks and stream-cut errors
Rebuilt from a behaviour spec by an implementer who never saw the removed code (batch K: rest of #2170).

(cherry picked from commit 1930a91fd797b33a94e99911fc9905a945362ad0)
2026-10-27 02:19:49 +05:30
velixio 24e3abe9d2 chore(provenance): remove stream keepalive, sidecar deadline, torchaudio fallback and related code pending clean-room reimplementation
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM markers where the reimplementation goes.

(cherry picked from commit 03c8656ab22b5191cfea9647225c4e6f6e94c095)
2026-10-27 02:19:49 +05:30
velixio 13d8e4ef71 refactor: clean-room reimplementation of small community fixes (translate language guess, Windows compile flag, OrcaRouter, Docker docs, loop window, tqdm, realtime events)
Rewritten from a behavioural spec by an implementer without access to the
removed code, so every line has CLA-covered provenance.

(cherry picked from commit 881b8313ebd78466dd15256b622a9f26752595c8)
2026-10-27 02:16:31 +05:30
velixio 490f3f3c8b chore(provenance): remove small contributor-authored fixes pending clean-room reimplementation
Removes code from contributors without a CLA on file, leaving CLEAN-ROOM markers where the reimplementation goes.

(cherry picked from commit 9da3b6c7cde8659510baec8e8bfc13d8cd367c32)
2026-10-27 02:16:31 +05:30
debpalash 7d97f7184a Merge origin/main into #3542; renumber the job_events migration to 0017 after 0016_profile_design_recipe
Keeps both sides in voice_convert: the warm reference ASR from this PR and
main's pinned source language.
2026-10-27 02:15:39 +05:30
debpalash e32495eae9 Merge origin/main into #3534 (keep main's engine-aware conditioning before the source-language pick) 2026-10-27 02:13:54 +05:30
debpalash 50ea0691a8 Merge remote-tracking branch 'origin/main' into rf-3542 2026-10-27 02:00:32 +05:30
Palash Debnath 23ba63ba28 Merge branch 'main' into fix/selected-engine-startup-preload 2026-10-27 01:39:51 +05:30
debpalash a7286394bd fix(stream): keep Generate and long-form streams alive behind proxies
A chunk or chapter can render for minutes without a byte, and proxies such
as Cloudflare cut the silent stream (524). Streamed /generate now sends blank
NDJSON lines and the long-form SSE routes send comments after 15 s of
silence, with no-buffer headers.
2026-10-27 01:11:07 +05:30
debpalash 136b8f9382 docs: repair broken relative links and guard them with a test
Re-implements the fix proposed in #2912 and extends it to every broken
relative link and anchor in the docs.
2026-10-27 00:30:42 +05:30
debpalash 6761715491 Merge origin/main into #3507 (combine fs/promises imports) 2026-10-27 00:26:51 +05:30
Palash Debnath 885a07a6ee Merge branch 'main' into fix/localized-failure-actions 2026-10-27 00:25:01 +05:30
Palash Debnath 08b0472983 Merge branch 'main' into fix/localized-failure-actions 2026-10-27 00:21:12 +05:30
Palash Debnath 474365adba Merge branch 'main' into fix/win-runtime-setup-cudnn-eperm 2026-10-27 00:21:06 +05:30
Palash Debnath dac7ce8995 Merge branch 'main' into fix/3475-3480-runtime-setup 2026-10-27 00:21:04 +05:30
debpalash 39a584832d docs(install): Android and iPhone downloads, M1–M5 Apple Silicon
README lists the phone builds next to the desktop installers and in the
platform table; docs/mobile.md gains an Install section (APK, sideloaded IPA)
instead of telling users to build from source; Apple Silicon reads M1–M5.
2026-10-26 23:53:23 +05:30
debpalash e0f8c4d256 docs(install): install VoiceStudio from the Snap Store on Linux
Snap revision 3 (0.5.7) is on the stable channel: the Linux guide and README
give the snap install command and the one-time audio-record connection.
2026-10-26 23:49:09 +05:30
debpalash 70b5bf88db fix(errors): localize every diagnosed failure and offer its in-app fix
Failures with a backend class (docs_topic) now show a short message in the
app language from one catalog (failureCatalog.ts) instead of the backend's
English text, plus a button that performs the fix where the app has one:
install a speech-to-text model or add a transcript, free memory, open
Storage, device, Audio tools, token or the matching Models page.

- Clone, Design, dub, longform, batch, transcription and voice preview all
  read the class the same way, including bare backend sentences from older
  servers.
- /generate returns a structured 400 for every classified validation
  failure, not only REFERENCE_STT_MISSING.
- tests/test_failure_catalog.py fails when a backend class lacks a catalog
  entry or a locale lacks its message.
2026-10-26 19:04:06 +05:30
debpalash f299485631 fix(runtime): never offer Resume for a finished runtime; keep source setup advice out of installed apps
- A ready marker written after the install marker proves setup finished, so a
  leftover .runtime-installing no longer sends a working runtime to Resume; it
  is removed, and the final removal retries Windows file locks (#3475).
- Resume reuses the existing venv and never evicts cached wheels; a CPU
  re-sync keeps its CPU torch instead of uninstalling it (#3475).
- The missing-environment action falls back to Retry outside the app-managed
  runtime, and the source message says to press Retry (#3480).
2026-10-26 18:29:53 +05:30
debpalash 66fba39fcd fix(windows): explain outdated VC++ runtime crashes and survive locked runtime folders
Setup on a Windows host whose system MSVCP140.dll predates 14.40 died with a
bare exit code 3221225477 at the import check: sentencepiece 0.2.2 is built
with MSVC 14.51 and crashes against the older runtime. The native diagnostic
now reports the loaded MSVCP140.dll path and version, and an access violation
on an outdated runtime becomes an actionable setup issue.

Runtime source staging now retries every lock-prone step (copy, cleanup,
rename), updates in place when a stale .previous folder is locked, and turns a
lock that outlasts all retries into a clear setup issue instead of a raw EPERM.
2026-10-26 18:26:56 +05:30
debpalash 7ba5f26c78 release: name desktop downloads VoiceStudio-<version>-<os>-<arch>
Electron is the only desktop app, so direct-download artifacts drop the
Electron label (store builds keep theirs). Installers still resolve the
VoiceStudio-Electron-* names for releases up to v0.5.7-beta.3; update feed
file names are unchanged and each feed names its own installer.
2026-10-26 17:20:20 +05:30
Palash Debnath 5b8db5d0a5 fix(rocm): RDNA4 (RX 9070) never gets cross-generation remap advice; AMD docs (#3499)
* fix(rocm): never advise cross-generation HSA remaps; document RDNA4 support

RX 9060/9070 (gfx1200/gfx1201) run natively on the pinned torch 2.8.0
rocm6.4 wheels and on the Windows ROCm 7.2.1 recipe, but a build without
gfx12 told owners to set HSA_OVERRIDE_GFX_VERSION=11.0.0, which cannot work.
Remap advice is now limited to a same-generation target the build ships,
with the exact value, and a test keeps every override inside its family.
Docs: RDNA4 status on Linux; stale 'no ROCm on Windows' lines fixed.

Refs #3418

* changelog: fragment
2026-10-26 16:56:46 +05:30
Palash Debnath 03179288ff fix(setup): download locked PyPI wheels from the China mirror (#3444) (#3498)
* fix(setup): download locked PyPI wheels from the China mirror (#3444)

uv sync --frozen fetches the exact URLs in uv.lock, so UV_INDEX_URL never
redirected the main install. For the china region, point the staged lock's
files.pythonhosted.org artifact URLs at mirrors.aliyun.com (same /packages/
layout, every pinned hash kept), restore the bundled lock afterwards, and
retry once from the original URLs if the mirror fails. PyTorch's index has
no sanctioned mirror and is left untouched. runtimeCompatible compares locks
with mirror hosts normalized; the setup log and download-source line name
the mirror.

Refs #3444, #3411

* changelog: fragment
2026-10-26 16:56:36 +05:30