Skip to content

Apply Patch / Edit permission view only shows the first file #36119

Description

@iltenahmet

Description

When the apply patch tool requests permissions to change multiple files at once, the user can only see the first file and has no way to see the other files.

For example in the image below, the user can only see the edit propsed for the first file, not the second.

Image

Plugins

No response

OpenCode version

1.17.17

Steps to reproduce

  1. Use a model that prefers the 'apply_patch' tool.
  2. Get it to suggest an edit to multiple files.
  3. Make sure you're not on auto-approve mode and instead it requests permission.
  4. You can only view the first file.

Screenshot and/or share link

No response

Operating System

macOS

Terminal

Kitty

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions