TauriTavern/src-tauri
Darkatse 0c68ce7472 refactor(settings): collapse corrupt settings recovery into load_user_settings
Only settings.json is an untyped JSON object whose parse failure means the
bytes are damaged. tauritavern-settings.json is typed, so a parse failure
may be a schema problem and keeps failing fast.

- Recover in one match arm: rename the damaged file to
  settings.json.corrupt-<unix_ms>, rebuild from the bundled
  default/content/settings.json, and report through the user-visible error
  channel once the rebuild succeeded. A failed rename propagates instead of
  overwriting the only copy of the damaged bytes.
- Inject the bundled defaults from the composition root; a missing
  settings.json now converges on the same defaults instead of `{}`.
- Move the startup-only blocking loader out of the repository as
  load_tauritavern_settings_blocking.
2026-09-11 19:41:36 -04:00
..
crates refactor(settings): collapse corrupt settings recovery into load_user_settings 2026-09-11 19:41:36 -04:00
resources/tokenizers chore (Resource Compression): Compress embedded tokenizer resources to optimize application size. 2026-04-10 22:15:02 -04:00
.gitignore refactor(rust): move Tauri host crate into workspace crates 2026-07-02 15:30:20 -04:00
Cargo.lock refactor(regex): retire the Rust regex backend #238 2026-09-10 23:39:11 -04:00
Cargo.toml fix(android): enable gemm-f16 debug builds 2026-08-29 21:50:11 -04:00