fix: correct escape characters in grep command

Fix escape characters in grep command for extracting code interfaces.
This commit is contained in:
Cross2pro
2026-03-15 11:57:56 +08:00
committed by GitHub
parent 47a8c70432
commit faa3f111c4

View File

@@ -492,7 +492,7 @@ After determining `files_modified`, extract the key interfaces/types/exports fro
```bash
# Extract type definitions, interfaces, and exports from relevant files
grep -n "export\|interface\|type\|class\|function" {relevant_source_files} 2>/dev/null | head -50
grep -n "export\\|interface\\|type\\|class\\|function" {relevant_source_files} 2>/dev/null | head -50
```
Embed these in the plan's `<context>` section as an `<interfaces>` block: