anomalyco / anomalyco/opencode

[FEATURE]: Allow for accepting/rejecting an edit with feedback/comments

Open
#41,461 1 comment 0 reactions 1 assignee View on GitHub

@kommander is already working on this.

Since Aug 10, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request

Hi,

In Claude Code, when an edit, shell command, etc., requires approval, you can tap Shift while the cursor is on Yes or No to approve/reject the edit and provide additional comments/context before the agent continues.

For example:
Shift+Yes: ", but you forgot to use the helper function we defined in..."

The current equivalent flow in OpenCode would be to reject the edit and provide the feedback in a separate prompt, which costs the LLM having to regenerate the edit.

Claude Code's Shift+Yes interaction feels very natural, and it would be great to have an equivalent workflow in OpenCode. My sincerest thanks to the OpenCode team.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.