vios_app 0.1.1

Small JSON vaults: Argon2id + AES-GCM, with optional AAD binding.
Documentation
// src/whisper_utils.rs — Local tone and intent classifier
pub fn classify_tone_and_intent(input: &str) -> (String, String, f32) {
    let input_lower = input.to_lowercase();
    let score = if input_lower.contains("angry") || input_lower.contains("mad") {
        0.85
    } else if input_lower.contains("grateful") || input_lower.contains("thank") {
        0.92
    } else if input_lower.contains("heavy") || input_lower.contains("tired") {
        0.70
    } else {
        0.75
    };

    let tone = if score > 0.9 {
        "grateful"
    } else if score > 0.8 {
        "confident"
    } else if score > 0.6 {
        "neutral"
    } else {
        "uncertain"
    };

    let intent = if input_lower.contains("want") {
        "desire"
    } else if input_lower.contains("need") {
        "request"
    } else if input_lower.contains("because") {
        "explain"
    } else {
        "reflect"
    };

    (tone.to_string(), intent.to_string(), score)
}