add TUI file-edit permission requests#14020
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
2e408b3 to
0402b3e
Compare
0665878 to
46aea00
Compare
0402b3e to
17f0a50
Compare
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR adds TUI permission handling for file-edit tool calls by wrapping blocked file-edit diffs in the shared permission prompt, routing accept/reject/replacement-guidance events back through the action model, and defaulting diff sections to collapsed with focused unit coverage.
Concerns
- No blocking correctness, security, or spec-alignment concerns were found in the annotated diff.
- No approved or repository spec context was provided for this PR, so there was no material spec drift to flag.
Verdict
Found: 0 critical, 0 important, 0 suggestions
Approve
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
17f0a50 to
c455672
Compare
810ff18 to
d86e2e5
Compare
c455672 to
f2992eb
Compare
d86e2e5 to
bd793a1
Compare
Co-Authored-By: Oz <oz-agent@warp.dev>
bd793a1 to
e455801
Compare

Description
This PR implements permissions requests for file edits. The UI is pretty much the same as the PR below this one, but we show the actual file edits in the permissions card. These file edits are collapsed by default (so the card is small and readable instead of very large for large edits), and each edit is expandable.
Testing
./script/runScreenshots / Videos
https://www.loom.com/share/82bcaeef4bb54a668a1173599c6c8f6b
Agent Mode