spool-memory 0.2.3

Local-first developer memory system — persistent, structured knowledge for AI coding tools
Documentation
1
2
3
4
5
6
7
8
9
use crate::domain::{ContextBundle, WakeupPacket};

pub fn render(bundle: &ContextBundle) -> String {
    serde_json::to_string_pretty(bundle).unwrap_or_else(|_| "{}".to_string())
}

pub fn render_wakeup(packet: &WakeupPacket) -> String {
    serde_json::to_string_pretty(packet).unwrap_or_else(|_| "{}".to_string())
}