use std::path::PathBuf;
use std::sync::{Arc, Mutex};

use rusqlite::Connection;

#[derive(Clone)]
pub struct AppState {
    pub db: Arc<Mutex<Connection>>,
    pub docs_dir: PathBuf,
    pub passphrase: String,
    pub asr_upstream: String,
    pub asr_language: String,
    pub asr_chunk_size_sec: f64,
    pub claude_bin: String,
    pub claude_model: String,
    pub claude_max_budget_usd: f64,
}
