deepstrike_core/memory/durable.rs
1use serde::{Deserialize, Serialize};
2
3use crate::types::message::Message;
4
5/// A completed session's transcript as fed into the dream pipeline over FFI.
6/// Persistence is an SDK concern; the kernel only analyzes the payload.
7#[derive(Debug, Clone, Serialize, Deserialize)]
8pub struct SessionData {
9 pub session_id: String,
10 pub agent_id: String,
11 pub messages: Vec<Message>,
12 pub metadata: serde_json::Value,
13 pub created_at_ms: u64,
14 pub updated_at_ms: u64,
15}