From fc1cb77f0572948552377b23f7754a3016ac7dfa Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sun, 13 Sep 2026 18:36:47 +0300 Subject: feat: add Letta Code detection and restore (#3107) refs #3106 Co-authored-by: Cameron --- src/integration/env.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/integration/env.rs') diff --git a/src/integration/env.rs b/src/integration/env.rs index 48320c72..548c1386 100644 --- a/src/integration/env.rs +++ b/src/integration/env.rs @@ -175,6 +175,10 @@ pub(crate) fn qwen_dir() -> io::Result { config_dir_from_env_or_home(QWEN_HOME_ENV_VAR, &[".qwen"]) } +pub(crate) fn letta_dir() -> io::Result { + Ok(home_dir()?.join(".letta")) +} + pub(crate) fn cursor_dir() -> io::Result { config_dir_from_env_or_home(CURSOR_CONFIG_DIR_ENV_VAR, &[".cursor"]) } -- cgit v1.2.3