salvage valid settings instead of resetting store on parse failure#1631
Merged
Conversation
hailuwaycom-sketch
added a commit
to hailuwaycom-sketch/Handy
that referenced
this pull request
Jul 11, 2026
Integra los fixes de upstream v0.9.1 preservando todo el trabajo VozImperio. Resolucion de conflictos: - tauri.conf.json: identidad VozImperio (productName/identifier) + version 0.9.1. - theme.css: se adopta el mecanismo light/dark/system de upstream pero ambos pares apuntan a la paleta imperial oscura (marca dark forzada). ThemeSelector oculto en AboutSettings (plomeria intacta). - settings.rs: se adopta el salvage_settings de upstream (cjpais#1631) y se descarta nuestro repair_settings_value paralelo; se preservan defaults VozImperio (audio_feedback=true, selected_language=es, mute_while_recording=true, etc.) y campos propios (noise_suppression, text_replacement_rules, pause_media). - recorder.rs: coexisten noise_suppressor init (nuestro) y frame_resampler.reset() de upstream (fix crosstalk cjpais#1344). - actions.rs: la rama is_replace_selection (AI Replace) convive con el wrapper complete_unless_cancelled de upstream (cancelar post-proceso colgado cjpais#1614). - bindings.ts: se regenerara desde el Rust en el proximo build debug. Fixes de upstream incorporados sin colision: reset resampler, throttle mic IPC, poisoned mutex on quit, faster mic init, unicode paths, VS redist, paste delay, prompt-injection defense, transcribe-cpp 0.1.2, i18n (nl/ne + claves nuevas). Co-Authored-By: Claude Opus 4.8 (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.
One bad value in the settings store used to fail the whole parse and the loader reset everything to defaults. Now a salvage pass keeps every valid field and defaults only the broken ones.
Fixes #1619