Skip to content

Conversation

@shaybc
Copy link
Contributor

@shaybc shaybc commented Mar 8, 2025

Added the option to manually or automatically approve sub-task/boomerang task to finish and continue to the next task (or to pause and wait for user to review the task, its results and then suggest next steps or additional changes/fixes and only after the user reviewed the last iteration and approved the task - Roo will continue to the next task by returning control to the parent task

image

image

Code_A4X8w9uJLS.mp4

Context

Implementation

Screenshots

before after

How to Test

Get in Touch


Important

Adds manual and automatic approval options for sub-tasks, updating state management and UI components to support task completion approvals.

  • Behavior:
    • Adds manual and automatic approval options for sub-tasks in Cline.ts.
    • Introduces askFinishSubTaskApproval() in Cline.ts to prompt user approval for task completion.
    • Updates finishSubTask() logic in Cline.ts to handle user approval.
  • State Management:
    • Adds alwaysAllowFinishTask to ExtensionState in ExtensionMessage.ts and globalState.ts.
    • Updates ExtensionStateContext.tsx to manage alwaysAllowFinishTask state.
  • UI Components:
    • Updates AutoApproveMenu.tsx and AutoApproveSettings.tsx to include "Continue to next task" option.
    • Modifies ChatRow.tsx and ChatView.tsx to handle new task approval messages.
    • Adds UI elements in ChatRow.tsx for task completion approval.

This description was created by Ellipsis for 27624a2. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Mar 8, 2025

⚠️ No Changeset found

Latest commit: 27624a2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Mar 8, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 9, 2025
@mrubens mrubens merged commit e945dcf into RooCodeInc:main Mar 9, 2025
16 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 9, 2025
ipattis pushed a commit to ipattis/roo-code that referenced this pull request Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants