feat: update skills (migrating-memory, agent-finder, message-search) (#458)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-01-04 16:31:32 -08:00
committed by GitHub
parent d0d45cba5a
commit 9b039b7249
16 changed files with 1482 additions and 146 deletions

View File

@@ -459,10 +459,8 @@ class SettingsManager {
if (!this.settings) return;
const settingsPath = this.getSettingsPath();
const dirPath = join(
process.env.XDG_CONFIG_HOME || join(homedir(), ".config"),
"letta",
);
const home = process.env.HOME || homedir();
const dirPath = join(home, ".letta");
try {
if (!exists(dirPath)) {
@@ -514,11 +512,9 @@ class SettingsManager {
}
private getSettingsPath(): string {
return join(
process.env.XDG_CONFIG_HOME || join(homedir(), ".config"),
"letta",
"settings.json",
);
// Use ~/.letta/ like other AI tools (.claude, .cursor, etc.)
const home = process.env.HOME || homedir();
return join(home, ".letta", "settings.json");
}
private getProjectSettingsPath(workingDirectory: string): string {