From c2883cdab9b586a43a4d0f5766d66c087668876f Mon Sep 17 00:00:00 2001 From: Mike C <117104599+ColemanRoo@users.noreply.github.com> Date: Tue, 14 Jan 2025 20:50:21 -0600 Subject: [PATCH] Update src/core/Cline.ts Co-authored-by: Matt Rubens --- src/core/Cline.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/Cline.ts b/src/core/Cline.ts index 5c179c5a7a..716c9e2777 100644 --- a/src/core/Cline.ts +++ b/src/core/Cline.ts @@ -2054,6 +2054,11 @@ export class Cline { await this.say("completion_result", result, undefined, false) } + // complete command message + const didApprove = await askApproval("command", command) + if (!didApprove) { + break + } // Execute command from attempt_completion const [userRejected, execCommandResult] = await this.executeCommandTool(command!) if (userRejected) {