[FEATURE]: Reject reason box in main sessions, not only subagents
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli, developer-experience
Research direction
The issue points to the permission prompt’s onSelect check for session.parentID, but gives no file path. Start by searching the TUI for that check and compare how the subagent reject reason box is staged. Done means the main session also shows the reason box, and submitting it empty still performs a plain reject.
Written by the indexing model from the issue text.
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
In the TUI, "Reject" only asks "Tell OpenCode what to do differently" in a subagent session. In the main session it rejects with no message and the turn ends, so I have to type the correction as a new prompt and the agent starts that work over.
This bites most with edits. The model often sends several edits in one step, and rejecting one rejects all of them. With a message the loop just continues: on 2.4.3 I replied reject with a message over the API to one of three pending edits in a main session, and the model got the message on all three and carried on. So the backend already handles it, only the TUI holds it back. The check is in the permission prompt's onSelect: if (session.parentID) { stage = "reject" } else { reply("reject") }.
Proposal: show the reason box in main sessions too. Enter with an empty box keeps today's behaviour (plain reject, turn ends), so nothing changes for anyone who doesn't type a reason.
Related: #28910 asked for the same box in the Desktop app (closed as stale). Happy to open the PR if this sounds right.
- Dominant language
- TypeScript
- Stars
- 230k
- Forks
- 31.3k
- Avg merge
- 6h 58m
- Merged PRs (30d)
- 471
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from anomalyco/opencode
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
area/web platform/ios type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
anomalyco/opencode#67504 · 1 comment ·
Maintainers usually reply within 1 day
-
area/tui platform/macos type/feature version/v2
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
anomalyco/opencode#67490 · 2 comments ·
Maintainers usually reply within 1 day
-
Plain source starting with `let ftype` is attached as video/mp4May be free again A pull request for this issue was closed without being merged. Openarea/core platform/macos status/repro-simulated type/bug version/v2
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
anomalyco/opencode#67448 · 1 comment ·
Maintainers usually reply within 1 day
-
tui: permission prompt does not display message set by permission.evaluate hookPossibly taken @ningsiyuan1024 claimed this 1 day ago. Openarea/tui platform/macos status/repro-simulated type/bug version/v2
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
anomalyco/opencode#67437 · 4 comments ·
Maintainers usually reply within 1 day
All issues in anomalyco/opencode
Similar issues
-
area:vscode bug has repro platform:macos platform:vscode regression
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
anthropics/claude-code#113502 ·
-
Add: Rajdhani TV HDOpencheck:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
effort/l priority/p1 risk/high triage/core
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
iflytek/skillhub#1188 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Fission-AI/OpenSpec#2337 ·
Maintainers usually reply within 1 day
-
Edit Network Properties can't be closed in a narrow windowPossibly taken @hridhinvarkeyjoseph claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cytoscape/cytoscape-web#1027 ·
Maintainers usually reply within 1 day