fix(plan): allow plan mode writes on Windows and fix prompt paths (#19658)

This commit is contained in:
Adib234
2026-02-23 12:48:50 -05:00
committed by GitHub
parent fa9aee2bf0
commit 8b1dc15182
3 changed files with 7 additions and 4 deletions

View File

@@ -225,7 +225,7 @@ priority = 100
modes = ["plan"]
# Adjust the pattern to match your custom directory.
# This example matches any .md file in a .gemini/plans directory within the project.
argsPattern = "\"file_path\":\"[^\"]*/\\.gemini/plans/[a-zA-Z0-9_-]+\\.md\""
argsPattern = "\"file_path\":\"[^\"]+[\\\\/]+\\.gemini[\\\\/]+plans[\\\\/]+[\\w-]+\\.md\""
```
[`list_directory`]: /docs/tools/file-system.md#1-list_directory-readfolder