From 0cab20d6e41a8418cfda68551ad50168fda7d440 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Tue, 14 Apr 2026 19:29:34 +0530 Subject: [PATCH] feat(mcp-server): suggest recursive section content retrieval Add recursive:true flag to ask262_get_section_content call to retrieve nested sections. --- src/mcp-server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcp-server.ts b/src/mcp-server.ts index 10d1257..55f4ab5 100644 --- a/src/mcp-server.ts +++ b/src/mcp-server.ts @@ -229,7 +229,7 @@ I'll use one of these orchestration patterns: PATTERN 1 - For "What happens when I run this code?" questions: - Use ask262Debug.startImportant() and ask262Debug.stopImportant() in the code to mark only important sections. - STEP 1: ask262_evaluate_in_engine262(code: markedCode) - - STEP 2: ask262_get_section_content(sectionId: importantSections[0]) + - STEP 2: ask262_get_section_content(sectionId: importantSections[0], recursive: true) - Explain which spec sections were hit and why PATTERN 2 - For "How does X work?" questions (e.g., "${question}"):