diff --git a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/architect-mode-prompt.snap b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/architect-mode-prompt.snap index 3e3fd8fc64..c324abca7d 100644 --- a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/architect-mode-prompt.snap +++ b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/architect-mode-prompt.snap @@ -274,18 +274,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -293,33 +289,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json ## attempt_completion diff --git a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/ask-mode-prompt.snap b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/ask-mode-prompt.snap index c90f1c1960..7fad4b5664 100644 --- a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/ask-mode-prompt.snap +++ b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/ask-mode-prompt.snap @@ -171,18 +171,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -190,33 +186,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json ## attempt_completion diff --git a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap index c771afd282..dce27f3e0c 100644 --- a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap +++ b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap @@ -273,27 +273,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need. -- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must: - 1. Be provided in its own tag - 2. Be specific, actionable, and directly related to the completed task - 3. Be a complete answer to the question - the user should not need to provide additional information or fill in any missing details. DO NOT include placeholders with brackets or parentheses. - 4. Optionally include a element to switch to a specific mode when the suggestion is selected - - When using the mode element, focus the suggestion text on the action to be taken rather than mentioning the mode switch, as the mode change is handled automatically and indicated by a visual badge +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -301,35 +288,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json diff --git a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-enabled.snap b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-enabled.snap index 09d67ade5b..c449d8df03 100644 --- a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-enabled.snap +++ b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-enabled.snap @@ -323,27 +323,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need. -- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must: - 1. Be provided in its own tag - 2. Be specific, actionable, and directly related to the completed task - 3. Be a complete answer to the question - the user should not need to provide additional information or fill in any missing details. DO NOT include placeholders with brackets or parentheses. - 4. Optionally include a element to switch to a specific mode when the suggestion is selected - - When using the mode element, focus the suggestion text on the action to be taken rather than mentioning the mode switch, as the mode change is handled automatically and indicated by a visual badge +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -351,35 +338,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json diff --git a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/partial-reads-enabled.snap b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/partial-reads-enabled.snap index 82d3ea1129..53eb23b427 100644 --- a/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/partial-reads-enabled.snap +++ b/src/core/prompts/__tests__/__snapshots__/add-custom-instructions/partial-reads-enabled.snap @@ -279,27 +279,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need. -- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must: - 1. Be provided in its own tag - 2. Be specific, actionable, and directly related to the completed task - 3. Be a complete answer to the question - the user should not need to provide additional information or fill in any missing details. DO NOT include placeholders with brackets or parentheses. - 4. Optionally include a element to switch to a specific mode when the suggestion is selected - - When using the mode element, focus the suggestion text on the action to be taken rather than mentioning the mode switch, as the mode change is handled automatically and indicated by a visual badge +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -307,35 +294,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/consistent-system-prompt.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/consistent-system-prompt.snap index 1492fe22b6..8918d9cd86 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/consistent-system-prompt.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/consistent-system-prompt.snap @@ -274,27 +274,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need. -- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must: - 1. Be provided in its own tag - 2. Be specific, actionable, and directly related to the completed task - 3. Be a complete answer to the question - the user should not need to provide additional information or fill in any missing details. DO NOT include placeholders with brackets or parentheses. - 4. Optionally include a element to switch to a specific mode when the suggestion is selected - - When using the mode element, focus the suggestion text on the action to be taken rather than mentioning the mode switch, as the mode change is handled automatically and indicated by a visual badge +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -302,35 +289,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-computer-use-support.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-computer-use-support.snap index 7db1eb9ce8..46dc396ba6 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-computer-use-support.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-computer-use-support.snap @@ -327,27 +327,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need. -- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must: - 1. Be provided in its own tag - 2. Be specific, actionable, and directly related to the completed task - 3. Be a complete answer to the question - the user should not need to provide additional information or fill in any missing details. DO NOT include placeholders with brackets or parentheses. - 4. Optionally include a element to switch to a specific mode when the suggestion is selected - - When using the mode element, focus the suggestion text on the action to be taken rather than mentioning the mode switch, as the mode change is handled automatically and indicated by a visual badge +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -355,35 +342,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-false.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-false.snap index 1492fe22b6..8918d9cd86 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-false.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-false.snap @@ -274,27 +274,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need. -- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must: - 1. Be provided in its own tag - 2. Be specific, actionable, and directly related to the completed task - 3. Be a complete answer to the question - the user should not need to provide additional information or fill in any missing details. DO NOT include placeholders with brackets or parentheses. - 4. Optionally include a element to switch to a specific mode when the suggestion is selected - - When using the mode element, focus the suggestion text on the action to be taken rather than mentioning the mode switch, as the mode change is handled automatically and indicated by a visual badge +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -302,35 +289,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-true.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-true.snap index ab6b28e9bc..8b792d50e5 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-true.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-true.snap @@ -362,27 +362,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need. -- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must: - 1. Be provided in its own tag - 2. Be specific, actionable, and directly related to the completed task - 3. Be a complete answer to the question - the user should not need to provide additional information or fill in any missing details. DO NOT include placeholders with brackets or parentheses. - 4. Optionally include a element to switch to a specific mode when the suggestion is selected - - When using the mode element, focus the suggestion text on the action to be taken rather than mentioning the mode switch, as the mode change is handled automatically and indicated by a visual badge +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -390,35 +377,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-undefined.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-undefined.snap index 1492fe22b6..8918d9cd86 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-undefined.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-undefined.snap @@ -274,27 +274,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need. -- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must: - 1. Be provided in its own tag - 2. Be specific, actionable, and directly related to the completed task - 3. Be a complete answer to the question - the user should not need to provide additional information or fill in any missing details. DO NOT include placeholders with brackets or parentheses. - 4. Optionally include a element to switch to a specific mode when the suggestion is selected - - When using the mode element, focus the suggestion text on the action to be taken rather than mentioning the mode switch, as the mode change is handled automatically and indicated by a visual badge +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -302,35 +289,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-different-viewport-size.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-different-viewport-size.snap index e1c5af3bd7..b0081bd8b2 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-different-viewport-size.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-different-viewport-size.snap @@ -327,27 +327,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need. -- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must: - 1. Be provided in its own tag - 2. Be specific, actionable, and directly related to the completed task - 3. Be a complete answer to the question - the user should not need to provide additional information or fill in any missing details. DO NOT include placeholders with brackets or parentheses. - 4. Optionally include a element to switch to a specific mode when the suggestion is selected - - When using the mode element, focus the suggestion text on the action to be taken rather than mentioning the mode switch, as the mode change is handled automatically and indicated by a visual badge +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -355,35 +342,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-mcp-hub-provided.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-mcp-hub-provided.snap index 09d67ade5b..c449d8df03 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-mcp-hub-provided.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-mcp-hub-provided.snap @@ -323,27 +323,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need. -- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must: - 1. Be provided in its own tag - 2. Be specific, actionable, and directly related to the completed task - 3. Be a complete answer to the question - the user should not need to provide additional information or fill in any missing details. DO NOT include placeholders with brackets or parentheses. - 4. Optionally include a element to switch to a specific mode when the suggestion is selected - - When using the mode element, focus the suggestion text on the action to be taken rather than mentioning the mode switch, as the mode change is handled automatically and indicated by a visual badge +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -351,35 +338,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json diff --git a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-undefined-mcp-hub.snap b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-undefined-mcp-hub.snap index 1492fe22b6..8918d9cd86 100644 --- a/src/core/prompts/__tests__/__snapshots__/system-prompt/with-undefined-mcp-hub.snap +++ b/src/core/prompts/__tests__/__snapshots__/system-prompt/with-undefined-mcp-hub.snap @@ -274,27 +274,14 @@ Description: Ask the user a question to gather additional information needed to Parameters: - question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -- question: (required) The question to ask the user. This should be a clear, specific question that addresses the information you need. -- follow_up: (required) A list of 2-4 suggested answers that logically follow from the question, ordered by priority or logical sequence. Each suggestion must: - 1. Be provided in its own tag - 2. Be specific, actionable, and directly related to the completed task - 3. Be a complete answer to the question - the user should not need to provide additional information or fill in any missing details. DO NOT include placeholders with brackets or parentheses. - 4. Optionally include a element to switch to a specific mode when the suggestion is selected - - When using the mode element, focus the suggestion text on the action to be taken rather than mentioning the mode switch, as the mode change is handled automatically and indicated by a visual badge +- follow_up: (required) A list of 2-4 suggested answers, each in its own tag. Suggestions must be complete, actionable answers without placeholders. Optionally include to switch modes (code/architect/etc.) + Usage: Your question here -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) - -Your suggested answer here - - -code -Implement the solution - +First suggestion +codeAction with mode switch @@ -302,35 +289,9 @@ Example: What is the path to the frontend-config.json file? - -./src/frontend-config.json - - -./config/frontend-config.json - - -./frontend-config.json - - - - -- question: (required) A clear, specific question addressing the information needed -- follow_up: (required) A list of 2-4 suggested answers, each in its own tag with nested element. Suggestions must be complete, actionable answers without placeholders. Optionally include element to switch modes (code/architect/etc.) -Example: Asking a question with mode switching options - -How would you like to proceed with this task? - - -code -Start implementing the solution - - -architect -Plan the architecture first - - -Continue with more details - +./src/frontend-config.json +./config/frontend-config.json +./frontend-config.json