refactor: use conversations (#475)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-01-13 16:40:59 -08:00
committed by GitHub
parent 3615247d14
commit ef7d8c98df
26 changed files with 1572 additions and 168 deletions

View File

@@ -199,11 +199,7 @@ class PermissionModeManager {
}
// Allow if target is any .md file in the plans directory
if (
targetPath &&
targetPath.startsWith(plansDir) &&
targetPath.endsWith(".md")
) {
if (targetPath?.startsWith(plansDir) && targetPath.endsWith(".md")) {
return "allow";
}
}