[PR #10422] fix(web): construct apply_patch metadata before requesting permission #13435

Closed
opened 2026-02-16 18:18:17 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10422

State: closed
Merged: Yes


fixes #10417

What does this PR do?

  • ensure patch tool approval UI can display context on changes requested
  • merge input and permissions metadata in web ui
  • regression tests ensure the apply patch tool tests cover all types
  • git fixtures ensure tests which exercise patch tool permission see correct relative paths

How did you verify your code works?

tested locally with the embedded webui and a local build side-by-side, to demonstrate the patch tool diff rendering properly:

before:

Screenshot 2026-01-24 at 12 04 44

after:

Screenshot 2026-01-24 at 12 04 48
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10422 **State:** closed **Merged:** Yes --- fixes #10417 ### What does this PR do? * ensure patch tool approval UI can display context on changes requested * merge input and permissions metadata in web ui * regression tests ensure the apply patch tool tests cover all types * git fixtures ensure tests which exercise patch tool permission see correct relative paths ### How did you verify your code works? tested locally with the embedded webui and a local build side-by-side, to demonstrate the patch tool diff rendering properly: #### before: <img width="4336" height="2794" alt="Screenshot 2026-01-24 at 12 04 44" src="https://github.com/user-attachments/assets/9a8f82ed-53d1-4ce5-94a0-679a636ae114" /> #### after: <img width="4336" height="2794" alt="Screenshot 2026-01-24 at 12 04 48" src="https://github.com/user-attachments/assets/4d5a0bc8-060b-4363-9ab7-32299c6c8110" />
yindo added the pull-request label 2026-02-16 18:18:17 -05:00
yindo closed this issue 2026-02-16 18:18:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13435