ai-agent 0.88.0

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
//! Session history functionality for assistant mode

pub const HISTORY_PAGE_SIZE: usize = 100;

#[derive(Debug, Clone)]
pub struct HistoryPage {
    pub events: Vec<serde_json::Value>,
    pub first_id: Option<String>,
    pub has_more: bool,
}

#[derive(Debug, Clone)]
pub struct HistoryAuthCtx {
    pub base_url: String,
    pub headers: std::collections::HashMap<String, String>,
}