1use std::path::PathBuf;
7use std::sync::LazyLock;
8
9pub static CONFIG_DIR: LazyLock<PathBuf> = LazyLock::new(|| {
11 dirs::home_dir()
12 .expect("no home directory")
13 .join(".openwalrus")
14});
15
16pub static SOCKET_PATH: LazyLock<PathBuf> = LazyLock::new(|| CONFIG_DIR.join("walrus.sock"));
18
19pub static TCP_PORT_FILE: LazyLock<PathBuf> = LazyLock::new(|| CONFIG_DIR.join("walrus.tcp"));
21
22pub static LOGS_DIR: LazyLock<PathBuf> = LazyLock::new(|| CONFIG_DIR.join("logs"));
24
25pub static HOME_DIR: LazyLock<PathBuf> = LazyLock::new(|| CONFIG_DIR.join("home"));
27
28pub const AGENTS_DIR: &str = "agents";
30pub const SKILLS_DIR: &str = "skills";
32pub const DATA_DIR: &str = "data";
34
35pub const MEMORY_DB: &str = "memory.db";
37
38pub const DEFAULT_AGENT: &str = "walrus";