crabtalk-memory 0.0.21

Standalone single-file memory system for Crabtalk agents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub type EntryId = u64;

#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub enum EntryKind {
    Note,
    Archive,
    Topic,
}

#[derive(Clone, Debug)]
pub struct Entry {
    pub id: EntryId,
    pub name: String,
    pub content: String,
    pub aliases: Vec<String>,
    pub created_at: u64,
    pub kind: EntryKind,
}