vios_app 0.1.1

Small JSON vaults: Argon2id + AES-GCM, with optional AAD binding.
Documentation
/// Deterministic, offline stub for emotional response generation.
/// Keep this pure so tests/CI stay fast and network-free.
pub fn generate_emotional_response(input: &str) -> String {
    let trimmed = input.trim();
    if trimmed.is_empty() {
        return "neutral|empty".to_string();
    }
    // toy heuristic so callers can verify behavior without models
    let lower = trimmed.to_lowercase();
    let tone = if lower.contains("love") {
        "warm"
    } else if lower.contains("angry") || lower.contains("mad") {
        "tense"
    } else if lower.contains("sad") {
        "somber"
    } else if lower.contains("happy") || lower.contains("glad") {
        "bright"
    } else {
        "neutral"
    };
    format!("{tone}|{}", trimmed)
}