Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ updates:
default-days: 7
open-pull-requests-limit: 5
groups:
# React and React DOM (and their types) must move together, majors included: a lone react or
# react-dom bump fails `npm ci` on the peer range (D-56).
react:
patterns: [react, react-dom, "@types/react", "@types/react-dom"]
npm-minor-patch:
update-types: [minor, patch]
# Oxfmt is 0.x: a minor update can change the output, so it comes on its own (D-45).
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co

## What this is

Speechorus (repo folder `voice-studio`; renamed in D-36) is a Windows desktop Japanese TTS studio: Tauri 2 + React 18 + TypeScript on the front, Rust core behind it, and the external [speech.cpp](https://github.com/nyosegawa/speech.cpp) `speech.exe` (v0.11.2+, Vulkan build) as the engine. Main model: Drama-3-Japanese (Q4_K/Q5_K, Vulkan only, needs `GGML_VK_DISABLE_F16/COOPMAT/COOPMAT2=1`, and its `.gguf.json` sidecar next to the GGUF). Second model: Irodori-TTS. The app ships no GGUF files. The UI text is Japanese.
Speechorus (repo folder `voice-studio`; renamed in D-36) is a Windows desktop Japanese TTS studio: Tauri 2 + React 19 + TypeScript on the front, Rust core behind it, and the external [speech.cpp](https://github.com/nyosegawa/speech.cpp) `speech.exe` (v0.11.2+, Vulkan build) as the engine. Main model: Drama-3-Japanese (Q4_K/Q5_K, Vulkan only, needs `GGML_VK_DISABLE_F16/COOPMAT/COOPMAT2=1`, and its `.gguf.json` sidecar next to the GGUF). Second model: Irodori-TTS. The app ships no GGUF files. The UI text is Japanese.

## Commands

Expand Down
11 changes: 11 additions & 0 deletions docs/deviations.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,3 +409,14 @@ Requests: (1) a way to stop playback, (2) choosing a Drama-3 voice by text promp
- **Why**: The user asked for the cause of the stuck release and a fix before releasing v0.1.6 again.
- **Not done**: Why the runner stopped responding is not known (no log, no GitHub incident at that time); a heavier cold build may have played a part. The first CI run on `main` after this change saves the cache under the new key; a release started before that finishes builds without a cache (but without debug info).
- **User impact**: None to the app.

### D-56 React 19, and ureq 3 from Dependabot 【修正】
- **What**: Supersedes the "Not done" items of D-45 on React and `ureq`.
- **React 18.3 → 19.3** (`react`, `react-dom` ^19.3.1, `@types/react` ^19.3.0, `@types/react-dom` ^19.3.0). Dependabot opened the react and react-dom majors as two PRs; each fails `npm ci` alone on the peer range, so they were taken in one change. No source change was needed: typecheck, Oxlint, the 88 Vitest tests and `vite build` pass. The bundle grows from 515.0 kB to 594.1 kB (167.3 → 190.1 kB gzip), as D-45 found. `dependabot.yml` now groups these four packages, all update types included, so a later major comes as one PR.
- **`ureq` 2.12 → 3.5** (Dependabot PR #31). `downloads.rs` and `installer.rs` use the new API (`Agent::config_builder()`, `.header()`, `into_body()`). ureq 2's `timeout_read` becomes `timeout_per_read`, which also restarts on each read, so a stalled download still fails after 60 s and a slow one is not cut. One difference: ureq 3 fails to gunzip a 206 the server sent gzip-encoded (ureq 2 passed the bytes through), so resumable downloads now ask for `Accept-Encoding: identity`; the size and SHA-256 checks are on the file's own bytes anyway. Checked against the real hosts with a throwaway example: a range request to a Hugging Face binary and to GitHub raw text (206), the GitHub releases API JSON, and a 404 turning into an error.
- **Checked (React 19)**: the app under `npm run tauri dev`, driven over the WebView2 DevTools protocol with real mouse and key input. Typing a line (one Undo step), Ctrl+Z / Ctrl+Y, the line context menu and Esc, the 設定 and 書き出し dialogs, the ボイス and モデル screens, the volume slider and mute. With the Tauri runtime: starting Irodori-TTS and then switching to Drama-3-Japanese Q4_K from the モデル screen, generating a line with each (one take each: the StrictMode double mount registers the event listener once), playing a take, 採用, 連続再生, playing a voice reference, and a voice-design candidate. No console error or warning.
- **Not done**:
- Two bugs found on the way are also in React 18.3 (tried on `main` the same way), so they are not from this update: the env and extra-args fields of the モデル screen keep the first profile's values when another profile is picked, when the first one had any (uncontrolled `defaultValue` without a `key`; leaving the field then saves them into the other profile), and Esc does not close 書き出し (Esc first clears the line selection, the dialog re-renders, and `Dialog` re-adds its keydown listener during that dispatch, so the new one is not called).
- Dependabot updates only the SHA, not the `# vX.Y.Z` comment, when another comment follows it on the line (`# zizmor: ignore[...]`); fix the comment by hand in such PRs (done in #30).
- **User impact**: None expected. The app starts slightly slower to parse (+79 kB of JavaScript).

77 changes: 26 additions & 51 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
"@tauri-apps/api": "^2.12.5",
"@tauri-apps/plugin-dialog": "^2.8.4",
"immer": "^11.2.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"zustand": "^5.1.0"
},
"devDependencies": {
"@tauri-apps/cli": "^2.12.6",
"@testing-library/react": "^16.3.3",
"@types/react": "^18.3.31",
"@types/react-dom": "^18.3.7",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.3.0",
"husky": "^9.1.7",
"jsdom": "^31.0.1",
Expand Down