refactor: use conversations (#475)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user