feat: update skills (migrating-memory, agent-finder, message-search) (#458)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user