From 1695f3b5ed42e5d3874c5f31ccca4274f383ce0a Mon Sep 17 00:00:00 2001 From: Daniel Riccio Date: Wed, 9 Jul 2025 08:48:45 -0500 Subject: [PATCH 1/2] fix: reset user response flag on new ask messages to fix auto-approval After update_todo_list tool execution, subsequent tools were not being auto-approved even when auto-approval was enabled. This was because userRespondedRef.current remained true after the first auto-approval. The fix resets this flag when any new ask message arrives, allowing each tool request to be evaluated for auto-approval independently. --- webview-ui/src/components/chat/ChatView.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index de2092248d..38b8997faf 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -240,6 +240,8 @@ const ChatViewComponent: React.ForwardRefRenderFunction Date: Wed, 9 Jul 2025 09:53:09 -0400 Subject: [PATCH 2/2] Add changeset --- .changeset/ninety-birds-appear.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/ninety-birds-appear.md diff --git a/.changeset/ninety-birds-appear.md b/.changeset/ninety-birds-appear.md new file mode 100644 index 0000000000..d3740a018a --- /dev/null +++ b/.changeset/ninety-birds-appear.md @@ -0,0 +1,5 @@ +--- +"roo-cline": patch +--- + +Fix bug where auto-approval was intermittently failing