Add Engine settings dialogs for Qwen3, Kokoro, and Chatterbox TTS#11046
Merged
Conversation
Mirror the OmniVoice TTS engine settings dialog for the other local TTS engines so users can see install status / re-download from the TTS window. Track download SHA-256s for Qwen3 TTS and Kokoro TTS in DownloadHashManager and write .installed.sha256 sidecars so update status can be reported. Chatterbox reuses CrispASR's already-tracked hashes and reports model install status for Base/Turbo. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The button label ("Re-download Base/Turbo") was misleading when the
model wasn't actually installed yet — the dialog can be opened before
any models are downloaded. Switch to "Download" / "Re-download" based
on install status, and mirror the same in the confirmation prompt.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ZipArchive(stream, mode) defaults to leaveOpen=false, so UnpackZipStream was disposing the caller's MemoryStream when the archive went out of scope. WriteInstalledHashSidecar (called right after extraction) then hit ObjectDisposedException on .Length and silently swallowed it — so the .installed.sha256 sidecar was never written for the engine archive, and Kokoro / Qwen3 / OmniVoice engine status stayed at "no install record" even after a successful re-download. Pass leaveOpen: true and let callers manage stream lifetime — they all use MemoryStream and dispose it themselves immediately after. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
🤖 Generated with Claude Code