Handy/src/components/settings
Ivan Zhuravlev f8bbcd791c
Migrate to transcribe-rs-0.3.1 and add Canary support (#1023)
* refactor: migrate transcribe-rs from v0.2.8 to v0.3.0

Breaking API migration:
- engines::* → onnx::* module paths, whisper_cpp::* for Whisper
- TranscriptionEngine trait → SpeechModel trait
- Two-step new()+load_model() → one-step Model::load()
- transcribe_samples(Vec<f32>) → transcribe(&[f32])
- Explicit unload_model() → RAII drop
- Canary engine now from transcribe-rs instead of local crate

Removes canary-engine local crate dependency.
Uses path dependency to local transcribe-rs clone (temporary).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: upgrade transcribe-rs to v0.3.1, add Canary models

Update transcribe-rs dependency from v0.2.8 to v0.3.1 with
restructured features (whisper + onnx). Add Canary 180M Flash
(4 languages, 146MB) and Canary 1B v2 (25 EU languages, 692MB)
with translation support. Add i18n translations for all 17 locales.

Languages verified against HuggingFace model cards:
- Canary 180M Flash: en, de, es, fr
- Canary 1B v2: bg, hr, cs, da, nl, en, et, fi, fr, de, el, hu,
  it, lv, lt, mt, pl, pt, ro, sk, sl, es, sv, ru, uk

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* make sure when changing models the language changes with it

* format

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: CJ Pais <cj@cjpais.com>
2026-03-16 16:31:44 +08:00
..
about add experimental features to ui + reorg everything (#620) 2026-01-19 10:33:04 +08:00
advanced feat(linux): Add option to select typing tool (#760) 2026-02-11 15:00:29 +08:00
debug Add a paste delay setting (#694) 2026-02-01 20:58:02 +08:00
general Migrate to transcribe-rs-0.3.1 and add Canary support (#1023) 2026-03-16 16:31:44 +08:00
history feat: add models settings page with filtering and management (#478) 2026-02-08 12:18:22 +08:00
models feat(models): add opt-in custom Whisper model discovery (#622) 2026-02-09 10:15:45 +08:00
post-processing remove usage of dangerouslySetInnerHTML 2026-03-14 11:52:40 +08:00
PostProcessingSettingsApi fix: auto-refresh model list when switching post-processing providers (#854) 2026-02-25 16:21:26 +08:00
AlwaysOnMicrophone.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
AppDataDirectory.tsx Prevent highlight and selection cursor hover on UI text items (#541) 2026-01-10 11:00:01 +08:00
AppendTrailingSpace.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
AppLanguageSelector.tsx stored settings for language, and also overlay is now transcribed (#465) 2025-12-16 11:01:23 +07:00
AudioFeedback.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
AutostartToggle.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
AutoSubmit.tsx feat: add configurable auto-submit after transcription paste (#765) 2026-02-11 10:55:31 +08:00
ClamshellMicrophoneSelector.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
ClipboardHandling.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
CustomWords.tsx toast if exists 2026-02-19 17:26:14 +08:00
ExperimentalToggle.tsx add experimental features to ui + reorg everything (#620) 2026-01-19 10:33:04 +08:00
GlobalShortcutInput.tsx feat: add models settings page with filtering and management (#478) 2026-02-08 12:18:22 +08:00
HandyKeysShortcutInput.tsx feat: add models settings page with filtering and management (#478) 2026-02-08 12:18:22 +08:00
HistoryLimit.tsx Fix 'history limit' not saving to settings (#463) 2025-12-16 16:50:53 +07:00
index.ts feat: add models settings page with filtering and management (#478) 2026-02-08 12:18:22 +08:00
LanguageSelector.tsx Add support for SenseVoice (#745) 2026-02-09 12:15:42 +08:00
MicrophoneSelector.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
ModelUnloadTimeout.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
MuteWhileRecording.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
OutputDeviceSelector.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
PasteMethod.tsx Add "external script" paste method (#638) 2026-02-19 17:07:16 +08:00
PostProcessingSettingsPrompts.tsx feat: LLM based post-processing (#222) 2025-11-05 18:29:03 -08:00
PostProcessingToggle.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
PushToTalk.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
RecordingRetentionPeriod.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
ShortcutInput.tsx init attempt at new kb (#580) 2026-01-20 08:23:35 +08:00
ShowOverlay.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
ShowTrayIcon.tsx Add show tray icon setting (#667) 2026-02-10 10:39:35 +08:00
SoundPicker.tsx Improve audio feedback timing using real sound duration and trimmed WAV files (#349) 2025-11-19 10:10:23 +07:00
StartHidden.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
TranslateToEnglish.tsx fixes for 0.6.11: linking, ui (#579) 2026-01-14 12:44:59 +08:00
TypingTool.tsx feat(linux): Add option to select typing tool (#760) 2026-02-11 15:00:29 +08:00
UpdateChecksToggle.tsx Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
VolumeSlider.tsx Remove step prop from VolumeSlider component (#944) 2026-03-14 14:28:29 +08:00