fix: fix plan mode path resolution on Windows (#365)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { homedir } from "node:os";
|
||||
import { join } from "node:path";
|
||||
|
||||
const adjectives = [
|
||||
"bold",
|
||||
@@ -113,5 +114,5 @@ export function generatePlanName(): string {
|
||||
|
||||
export function generatePlanFilePath(): string {
|
||||
const name = generatePlanName();
|
||||
return `${homedir()}/.letta/plans/${name}.md`;
|
||||
return join(homedir(), ".letta", "plans", `${name}.md`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user