fix: Show "edit" instead of "create" in permission prompt for existing files#1538
Merged
charlesvien merged 1 commit intomainfrom Apr 8, 2026
Conversation
Member
Author
065f007 to
4b8f8a8
Compare
cfcbb8f to
074bba6
Compare
This was referenced Apr 8, 2026
This was referenced Apr 8, 2026
adboio
approved these changes
Apr 8, 2026
4b8f8a8 to
d1da956
Compare
074bba6 to
7e29b50
Compare
Member
Author
Merge activity
|
d1da956 to
0f172d7
Compare
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.

Problem
Write tool permission prompts always say "Create new file" even when overwriting an existing file, because the old file content was never resolved during the permission request flow.
Closes #1529
Changes
How did you test this?
Manually