diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..4a24584 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,65 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.1.1] - 2026-03-23 + +### Bug Fixes + +- **ci**: Use arc-runner-set and remove external actions ([#1](https://github.com/rararulab/kotoba/issues/1)) +- **infra**: Address review feedback ([#1](https://github.com/rararulab/kotoba/issues/1)) +- **cli**: Correct voicevox engine download URL ([#35](https://github.com/rararulab/kotoba/issues/35)) +- **setup**: Use dedicated download client to fix voicevox download failure ([#74](https://github.com/rararulab/kotoba/issues/74)) ([#75](https://github.com/rararulab/kotoba/issues/75)) +- **setup**: Skip checksum verification when sidecar lacks a valid hash ([#79](https://github.com/rararulab/kotoba/issues/79)) ([#80](https://github.com/rararulab/kotoba/issues/80)) +- **db**: Migrate from raw schema.sql to sqlx::migrate! macro ([#85](https://github.com/rararulab/kotoba/issues/85)) ([#86](https://github.com/rararulab/kotoba/issues/86)) +- **cosyvoice**: Harden managed runtime startup and dependency bootstrap + +### Documentation + +- **cli**: Add Chinese usage + anime model guide ([#88](https://github.com/rararulab/kotoba/issues/88)) ([#89](https://github.com/rararulab/kotoba/issues/89)) +- Update rvc guide for subprocess approach ([#98](https://github.com/rararulab/kotoba/issues/98)) + +### Features + +- Initial kotoba CLI implementation +- **cli**: Add setup, doctor, and voice commands +- **grammar**: Add grammar management CLI ([#8](https://github.com/rararulab/kotoba/issues/8)) ([#19](https://github.com/rararulab/kotoba/issues/19)) +- **romaji**: Add automatic kana to romaji conversion ([#11](https://github.com/rararulab/kotoba/issues/11)) ([#22](https://github.com/rararulab/kotoba/issues/22)) +- **config**: Refactor config to set/get/list subcommands ([#10](https://github.com/rararulab/kotoba/issues/10)) ([#21](https://github.com/rararulab/kotoba/issues/21)) +- **voice**: Wire voice config to play command ([#9](https://github.com/rararulab/kotoba/issues/9)) ([#20](https://github.com/rararulab/kotoba/issues/20)) +- **vits**: Add local VITS ONNX inference for TTS ([#12](https://github.com/rararulab/kotoba/issues/12)) ([#18](https://github.com/rararulab/kotoba/issues/18)) +- Phase 2/3 — tests, error handling, tracing, skill alignment (#13-#17) ([#32](https://github.com/rararulab/kotoba/issues/32)) +- **cli**: Add download progress bars and structured JSON output ([#42](https://github.com/rararulab/kotoba/issues/42)) +- **cli**: Wire VITS ONNX inference into play command ([#52](https://github.com/rararulab/kotoba/issues/52)) +- **cli**: CSV quoting, DB indexes, list command, and CLI polish ([#53](https://github.com/rararulab/kotoba/issues/53)) +- **cli**: Add download checksum verification ([#54](https://github.com/rararulab/kotoba/issues/54)) +- **voice**: Wire VITS ONNX inference into play command ([#45](https://github.com/rararulab/kotoba/issues/45)) ([#46](https://github.com/rararulab/kotoba/issues/46)) +- **tts**: Add Kokoro ONNX + RVC v2 voice pipeline (#60, #69) ([#64](https://github.com/rararulab/kotoba/issues/64)) +- **rvc**: Wire real RVC v2 inference via rvc-python ([#93](https://github.com/rararulab/kotoba/issues/93)) +- **cli**: Fix pronunciation and add rvc cmds +- **tts**: Integrate cosyvoice backend for zero-training cloning ([#108](https://github.com/rararulab/kotoba/issues/108)) ([#109](https://github.com/rararulab/kotoba/issues/109)) + +### Miscellaneous Tasks + +- **infra**: Align with rara infrastructure standards ([#1](https://github.com/rararulab/kotoba/issues/1)) + +### Refactor + +- Config crate, backend trait, paths module, shared HTTP client ([#61](https://github.com/rararulab/kotoba/issues/61)) +- **cli**: Extract huggingface subcommand from voice ([#48](https://github.com/rararulab/kotoba/issues/48)) ([#50](https://github.com/rararulab/kotoba/issues/50)) +- **cli**: Replace stringly-typed args with clap enums and improve UX ([#70](https://github.com/rararulab/kotoba/issues/70)) ([#71](https://github.com/rararulab/kotoba/issues/71)) +- **cli**: Prettify doctor output with human-friendly formatting ([#82](https://github.com/rararulab/kotoba/issues/82)) ([#83](https://github.com/rararulab/kotoba/issues/83)) +- **rvc**: Use subprocess over sidecar ([#96](https://github.com/rararulab/kotoba/issues/96)) + +### Styling + +- **db**: Apply rustfmt ([#1](https://github.com/rararulab/kotoba/issues/1)) + +### Testing + +- **cosyvoice**: Add ignored zero-shot clone test for To Love-Ru Rara + + diff --git a/Cargo.lock b/Cargo.lock index 2c8e28e..64b2fa8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -697,9 +697,9 @@ checksum = "0c87e182de0887fd5361989c677c4e8f5000cd9491d6d563161a8f3a5519fc7f" [[package]] name = "deflate64" -version = "0.1.11" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "807800ff3288b621186fe0a8f3392c4652068257302709c24efd918c3dffcdc2" +checksum = "ac6b926516df9c60bfa16e107b21086399f8285a44ca9711344b9e553c5146e2" [[package]] name = "der" @@ -708,7 +708,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" dependencies = [ "const-oid", - "pem-rfc7468", + "pem-rfc7468 0.7.0", + "zeroize", +] + +[[package]] +name = "der" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71fd89660b2dc699704064e59e9dba0147b903e85319429e131620d022be411b" +dependencies = [ + "pem-rfc7468 1.0.0", "zeroize", ] @@ -1475,9 +1485,9 @@ checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2" [[package]] name = "iri-string" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c91338f0783edbd6195decb37bae672fd3b165faffb89bf7b9e6942f8b1a731a" +checksum = "d8e7418f59cc01c88316161279a7f665217ae316b388e58a0d10e29f54f1e5eb" dependencies = [ "memchr", "serde", @@ -1513,7 +1523,7 @@ dependencies = [ "cesu8", "cfg-if", "combine", - "jni-sys", + "jni-sys 0.3.1", "log", "thiserror 1.0.69", "walkdir", @@ -1522,9 +1532,31 @@ dependencies = [ [[package]] name = "jni-sys" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn", +] [[package]] name = "jobserver" @@ -1559,7 +1591,7 @@ dependencies = [ [[package]] name = "kotoba" -version = "0.1.0" +version = "0.1.1" dependencies = [ "async-trait", "bon", @@ -1585,7 +1617,7 @@ dependencies = [ "tracing", "tracing-subscriber", "wana_kana", - "zip 8.3.0", + "zip 8.4.0", ] [[package]] @@ -1826,7 +1858,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" dependencies = [ "bitflags 2.11.0", - "jni-sys", + "jni-sys 0.3.1", "log", "ndk-sys", "num_enum", @@ -1845,7 +1877,7 @@ version = "0.6.0+11769913" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" dependencies = [ - "jni-sys", + "jni-sys 0.3.1", ] [[package]] @@ -2217,6 +2249,15 @@ dependencies = [ "base64ct", ] +[[package]] +name = "pem-rfc7468" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6305423e0e7738146434843d1694d621cce767262b2a86910beab705e4493d9" +dependencies = [ + "base64ct", +] + [[package]] name = "percent-encoding" version = "2.3.2" @@ -2284,7 +2325,7 @@ version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" dependencies = [ - "der", + "der 0.7.10", "pkcs8", "spki", ] @@ -2295,7 +2336,7 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" dependencies = [ - "der", + "der 0.7.10", "spki", ] @@ -2450,7 +2491,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] @@ -3117,7 +3158,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" dependencies = [ "base64ct", - "der", + "der 0.7.10", ] [[package]] @@ -3998,27 +4039,27 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "ureq" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc97a28575b85cfedf2a7e7d3cc64b3e11bd8ac766666318003abbacc7a21fc" +checksum = "dea7109cdcd5864d4eeb1b58a1648dc9bf520360d7af16ec26d0a9354bafcfc0" dependencies = [ "base64", - "der", + "der 0.8.0", "log", "native-tls", "percent-encoding", "rustls-pki-types", "socks", "ureq-proto", - "utf-8", + "utf8-zero", "webpki-root-certs", ] [[package]] name = "ureq-proto" -version = "0.5.3" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d81f9efa9df032be5934a46a068815a10a042b494b6a58cb0a1a97bb5467ed6f" +checksum = "e994ba84b0bd1b1b0cf92878b7ef898a5c1760108fe7b6010327e274917a808c" dependencies = [ "base64", "http", @@ -4039,10 +4080,10 @@ dependencies = [ ] [[package]] -name = "utf-8" -version = "0.7.6" +name = "utf8-zero" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" +checksum = "b8c0a043c9540bae7c578c88f91dda8bd82e59ae27c21baca69c8b191aaf5a6e" [[package]] name = "utf8_iter" @@ -4458,6 +4499,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.5", +] + [[package]] name = "windows-sys" version = "0.61.2" @@ -4506,13 +4556,30 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] +[[package]] +name = "windows-targets" +version = "0.53.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +dependencies = [ + "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + [[package]] name = "windows-threading" version = "0.2.1" @@ -4540,6 +4607,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -4558,6 +4631,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -4576,12 +4655,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -4600,6 +4691,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -4618,6 +4715,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -4636,6 +4739,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -4654,6 +4763,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "windows_x86_64_msvc" +version = "0.53.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" + [[package]] name = "winnow" version = "0.7.15" @@ -4896,9 +5011,9 @@ dependencies = [ [[package]] name = "zip" -version = "8.3.0" +version = "8.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a243cfad17427fc077f529da5a95abe4e94fd2bfdb601611870a6557cc67657" +checksum = "7756d0206d058333667493c4014f545f4b9603c4330ccd6d9b3f86dcab59f7d9" dependencies = [ "aes", "bzip2", diff --git a/Cargo.toml b/Cargo.toml index 8a0948c..ccee847 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kotoba" -version = "0.1.0" +version = "0.1.1" edition = "2024" description = "Immersive Japanese language learning CLI with SRS and TTS" license = "MIT"