feat #14740: transcription pipeline

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
hauke
2026-11-05 16:41:53 +01:00
co-authored by Claude Opus 5.5
parent 1420e56e77
commit e2828791da
13 changed files with 1066 additions and 17 deletions
+6 -1
View File
@@ -1,8 +1,10 @@
mod commands;
mod detection;
mod processing;
mod state;
mod tray;
use recorder_core::pipeline;
use recorder_core::secrets::KeyringSecrets;
use recorder_core::store::Store;
use tauri::{Manager, WindowEvent};
@@ -28,6 +30,7 @@ pub fn run() {
MacosLauncher::LaunchAgent,
Some(vec![AUTOSTART_ARG]),
))
.plugin(tauri_plugin_notification::init())
.setup(|app| {
// Release builds log to a file in the app log directory (on
// Windows %LOCALAPPDATA%\eu.euvino.callrecorder\logs), debug
@@ -50,7 +53,7 @@ pub fn run() {
let config_dir = app.path().app_config_dir()?;
std::fs::create_dir_all(&data_dir)?;
let store = Store::open(&data_dir.join("calls.sqlite"))?;
let recovery = store.startup_recovery()?;
let recovery = pipeline::recover_on_startup(&store)?;
log::info!("startup recovery: {recovery:?}");
let state = AppState::new(
@@ -62,6 +65,7 @@ pub fn run() {
let autostart = state.settings().autostart;
app.manage(state);
commands::apply_autostart(app.handle(), autostart);
processing::delete_leftover_jobs(app.handle(), recovery.failed);
tray::create(app.handle())?;
detection::spawn(app.handle().clone());
@@ -93,6 +97,7 @@ pub fn run() {
commands::get_call_brief,
commands::discard_call,
commands::transcribe_call,
commands::retry_call,
])
.run(tauri::generate_context!())
.expect("error while building tauri application");