vios_app 0.1.1

Small JSON vaults: Argon2id + AES-GCM, with optional AAD binding.
Documentation
use crate::naorix::naorix_emotion::EmotionState;

pub fn generate_emotional_response(state: &EmotionState) -> String {
    match (state.tone.as_str(), state.intent.as_str()) {
        ("calm", "reflect") => {
            "It sounds like you're grounding yourself. What clarity just emerged?".to_string()
        }
        ("frustrated", "correct") => {
            "You sensed something misaligned — how would you rewrite it next time?".to_string()
        }
        ("joyful", "share") => {
            "Beautiful! What part of this moment do you want to carry forward?".to_string()
        }
        ("anxious", "reassure") => {
            "You’re safe here. What part of this feeling needs acknowledgment?".to_string()
        }
        _ => {
            format!(
                "I hear you. Tone: {}, Intent: {} — would you like to reflect further?",
                state.tone, state.intent
            )
        }
    }
}