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
// Source: /data/home/swei/claudecode/openclaudecode/src/memdir/paths.ts
//! Memory directory paths

use std::path::PathBuf;

pub fn get_memory_dir(cwd: &PathBuf) -> PathBuf {
    cwd.join(".claude").join("memory")
}

pub fn get_team_memory_dir(cwd: &PathBuf) -> PathBuf {
    get_memory_dir(cwd).join("team")
}

pub fn get_individual_memory_dir(cwd: &PathBuf) -> PathBuf {
    get_memory_dir(cwd).join("individual")
}