web: patch tool approval UI shows no context on change #7462

Closed
opened 2026-02-16 18:07:16 -05:00 by yindo · 2 comments
Owner

Originally created by @brittlewis12 on GitHub (Jan 24, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

today on web, across all viewports, the "Patch" tool (apply_patch) approval UI does not show any context on the substance of a change. this neutralized the value of the human-in-the-loop workflow when working with openai codex models in opencode.

Plugins

n/a

OpenCode version

1.1.34

Steps to reproduce

  1. start a web session with an openai codex model, e.g. gpt-5.2-codex
  2. request a file edit
  3. codex attempts to use patch tool, which triggers a permission event & approval UI

expected behavior:

  • see context on the patch diff(s) and file path(s) involved, just like the edit, write, and other tools show when awaiting approval

actual behavior:

  • no context on the requested changes at all; only buttons are visible: "deny", "allow always", "allow once"

Screenshot and/or share link

desktop web patch tool approval UI:

Image

mobile web patch tool approval UI:

Image

Operating System

macOS 15.6.1

Terminal

N/A — web ui

Originally created by @brittlewis12 on GitHub (Jan 24, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description today on web, across all viewports, the "Patch" tool (`apply_patch`) approval UI does not show any context on the substance of a change. this neutralized the value of the human-in-the-loop workflow when working with openai codex models in opencode. ### Plugins n/a ### OpenCode version 1.1.34 ### Steps to reproduce 1. start a web session with an openai codex model, e.g. `gpt-5.2-codex` 2. request a file edit 3. codex attempts to use patch tool, which triggers a permission event & approval UI expected behavior: - see context on the patch diff(s) and file path(s) involved, just like the edit, write, and other tools show when awaiting approval actual behavior: - no context on the requested changes at all; only buttons are visible: "deny", "allow always", "allow once" ### Screenshot and/or share link ### desktop web patch tool approval UI: <img width="4336" height="2794" alt="Image" src="https://github.com/user-attachments/assets/f7f72c48-c963-439f-9987-638e13cc85cd" /> * * * ### mobile web patch tool approval UI: <img width="660" height="1434" alt="Image" src="https://github.com/user-attachments/assets/0b34e719-a6c6-4085-bbcc-1a5db81800aa" /> * * * ### Operating System macOS 15.6.1 ### Terminal N/A — web ui
yindo added the bugweb labels 2026-02-16 18:07:16 -05:00
yindo closed this issue 2026-02-16 18:07:16 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 24, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #10008: buttons to share and close review panel not appearing on desktop app in windows
  • #10286: Permission prompt intercept keyboard inputs when a dialog is open
  • #9862: [TUI] With GPT-5.2, I can't see the file name that its asking to edit
  • #9921: OpenCode Review面板显示异常:有代码更改但显示"No changes in this session yet"

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 24, 2026): This issue might be a duplicate of existing issues. Please check: - #10008: buttons to share and close review panel not appearing on desktop app in windows - #10286: Permission prompt intercept keyboard inputs when a dialog is open - #9862: [TUI] With GPT-5.2, I can't see the file name that its asking to edit - #9921: OpenCode Review面板显示异常:有代码更改但显示"No changes in this session yet" Feel free to ignore if none of these address your specific case.
Author
Owner

@brittlewis12 commented on GitHub (Jan 24, 2026):

some of those seem very similar, in that they're handling patch tool subtleties, but primarily in the TUI rather than in the web ui.

@brittlewis12 commented on GitHub (Jan 24, 2026): some of those seem very similar, in that they're handling patch tool subtleties, but primarily in the TUI rather than in the web ui.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7462