anomalyco / anomalyco/opencode
[FEATURE]: Allow for accepting/rejecting an edit with feedback/comments
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.