From 44a7786d96e8faa1c6cc443b714af66dbec12382 Mon Sep 17 00:00:00 2001 From: daniel-lxs Date: Tue, 4 Nov 2025 11:38:08 -0500 Subject: [PATCH] Update CREATE_PR prompt to use ask_followup_question for gh CLI installation confirmation --- src/shared/support-prompt.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/shared/support-prompt.ts b/src/shared/support-prompt.ts index 64a175e5fa..b17b9b6ac6 100644 --- a/src/shared/support-prompt.ts +++ b/src/shared/support-prompt.ts @@ -210,7 +210,8 @@ Stage and commit any outstanding changes, then review the changes made in this b 7. Check if gh CLI is installed: - Run: gh --version - - If not found, guide user to install: + - If not found, use ask_followup_question tool to ask the user if they want to install gh CLI + - If the user agrees, follow one of the installation methods depending on their OS: * macOS: brew install gh * Windows: winget install GitHub.cli * Linux: See https://github.com/cli/cli#installation @@ -226,7 +227,7 @@ Stage and commit any outstanding changes, then review the changes made in this b * Offer to have it reviewed by Roo Code Cloud's PR Reviewer agent * Link: https://roocode.com/reviewer -If gh CLI is not installed or authenticated, provide clear setup instructions and wait for user to complete setup before proceeding. +If gh CLI is not installed or authenticated, use ask_followup_question tool to confirm with the user before proceeding with installation instructions. `, }, } as const