refactor: Improve plan mode with explicit approval request#296
Merged
refactor: Improve plan mode with explicit approval request#296
Conversation
- Add RequestPlanApproval tool for explicit plan submission - Remove automatic plan approval trigger - now agent-controlled - Enhance plan mode capabilities with TodoWrite and RequestPlanApproval tools - Update system prompts for more actionable planning - Remove dedicated plan approval UI component - Improve autocomplete filtering based on agent mode - Various bug fixes and UI improvements
Signed-off-by: Eden Reich <eden.reich@gmail.com>
Signed-off-by: Eden Reich <eden.reich@gmail.com>
Signed-off-by: Eden Reich <eden.reich@gmail.com>
Contributor
Author
|
PR Description Update Summary: Based on comprehensive code analysis, this PR includes more extensive changes than initially documented: Comprehensive Changes Identified:Major Improvements:
File Changes Summary:
Key Benefits:
The PR description should be updated to reflect these comprehensive improvements. |
ig-semantic-release-bot bot
pushed a commit
that referenced
this pull request
Dec 2, 2025
## [0.76.2](v0.76.1...v0.76.2) (2025-12-02) ### ♻️ Code Refactoring * Improve plan mode with explicit approval request ([#296](#296)) ([3aaedc4](3aaedc4))
|
🎉 This PR is included in version 0.76.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR refactors the planning system to replace automatic plan approval with an agent-controlled explicit approval mechanism.
Changes
Core Changes:
RequestPlanApprovaltool - New tool that allows agents to explicitly submit plans for approvalTechnical Details:
internal/services/tools/request_plan_approval.go- Implements the RequestPlanApproval toolinternal/ui/components/plan_approval_component.go- Dedicated UI component no longer neededBenefits:
Testing
Migration Notes
No breaking changes - existing workflows continue to work with improved UX.