-
Notifications
You must be signed in to change notification settings - Fork 3.6k
feat: auto-accept agent edits setting auto accept edit tools #7993
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@uinstinct I agree YOLO mode should be expanded to include policies. With this implementation the policy behavior would conflict with the tool policy in the settings page. I think we could do this approach but only if we also show UI (maybe a tooltip/icon) to indicate that the tool policy is forced to automatic by the auto accept edits setting (and show it as automatic and disabled in the policies)
added! ![]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@uinstinct just the console log otherwise lgtm!
EDIT pushed up tweaks for below
Description
When auto-accept agent edit setting is turned on, automatically accept the edit tools including findandreplace, multiedit and editexistingfile.
resolves CON-3918
AI Code Review
@continue-general-review
or@continue-detailed-review
Checklist
Screen recording or screenshot
before.mp4
after.mp4
Tests
[ What tests were added or updated to ensure the changes work as expected? ]
Summary by cubic
Automatically accepts agent edit tool diffs when the auto-accept setting is enabled, skipping confirmation for Edit Existing File, Single Find & Replace, and Multi Edit calls. Addresses Linear CON-3918 to reduce friction in agent-led edits.