From faa3f111c4c393c7e1decbb9efa7016b228cb575 Mon Sep 17 00:00:00 2001 From: Cross2pro Date: Sun, 15 Mar 2026 11:57:56 +0800 Subject: [PATCH] fix: correct escape characters in grep command Fix escape characters in grep command for extracting code interfaces. --- agents/gsd-planner.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/gsd-planner.md b/agents/gsd-planner.md index c8c2e2b5b..005d236d3 100644 --- a/agents/gsd-planner.md +++ b/agents/gsd-planner.md @@ -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 `` section as an `` block: