Skip to content

No way to navigate between individual file diffs in the permission prompt for multi-file edits #21914

Closed as not planned

Description

@JuhilSavani

Description

When an agent edits multiple files in a single tool call, the permission prompt batches all file diffs into one dialog with no way to navigate between them. There is no working keybind to cycle through individual file diffs before making a decision.

This means you cannot properly review each file's changes before approving or rejecting the batch, which defeats the purpose of having a permission prompt at all.

Steps to reproduce

  1. Set "edit": "ask" in your opencode.json permission config
  2. Ask the agent to edit two or more files in a single prompt
  3. When the permission dialog appears, try to navigate between individual file diffs

Screenshot

Image

Current behavior

All files are batched together with no file-switching navigation. The only available keybind cycles between Allow once / Allow always / Reject — there is nothing to navigate the file diffs themselves. The only partial workaround is ctrl+f to fullscreen, but that only shows one file with no way to switch to the next.

Expected behavior

A keybind should allow cycling through each file's diff one at a time before committing to a decision.

Operating System

macOS 26.0.1

OpenCode version

1.3.17

Terminal

Warp Terminal v0.2026.04.01.08.39.stable_02

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 10, 2026
  2. github-actions commented on Apr 10, 2026

    @github-actions
    Contributor

    For keybind-related issues, please also check our pinned keybinds documentation: #4997


    This issue might be related to existing issues. Please check:

  3. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  4. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions