ai-agent 0.13.4

Idiomatic agent sdk inspired by the claude code source leak
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub async fn recover_conversation(_session_id: &str) -> Result<ConversationRecovery, String> {
    Err("Not implemented".to_string())
}

#[derive(Clone, Debug)]
pub struct ConversationRecovery {
    pub messages: Vec<serde_json::Value>,
}

pub fn save_conversation_state(_messages: Vec<serde_json::Value>) -> Result<(), String> {
    Ok(())
}

pub fn load_conversation_state() -> Option<Vec<serde_json::Value>> {
    None
}