[FEATURE]: Reject reason box in main sessions, not only subagents
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 74/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
Issue 指向权限提示中对 session.parentID 的 onSelect 检查,但没有提供文件路径。首先在 TUI 中搜索这项检查,并比较 subagent 拒绝原因框的显示方式。完成标准是主会话也显示原因框,并且提交空内容时仍执行普通拒绝。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 230k
- 派生
- 31.3k
- 平均合并
- 6 小时 58 分钟
- 30 天内合并 PR
- 471
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
anomalyco/opencode 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
area/web platform/ios type/bug
难度 2/5 1-3 小时 新手友好度 68/100
anomalyco/opencode#67504 · 1 条评论 ·
维护者通常 1 天内回复
-
area/tui platform/macos type/feature version/v2
难度 2/5 1-3 小时 新手友好度 83/100
anomalyco/opencode#67490 · 2 条评论 ·
维护者通常 1 天内回复
-
Plain source starting with `let ftype` is attached as video/mp4可能重新可做 关联的 PR 已关闭且未合并。 未关闭area/core platform/macos status/repro-simulated type/bug version/v2
难度 2/5 1-3 小时 新手友好度 68/100
anomalyco/opencode#67448 · 1 条评论 ·
维护者通常 1 天内回复
-
tui: permission prompt does not display message set by permission.evaluate hook可能已有人在做 @ningsiyuan1024 于 1 天前认领。 未关闭area/tui platform/macos status/repro-simulated type/bug version/v2
难度 2/5 1-3 小时 新手友好度 74/100
anomalyco/opencode#67437 · 4 条评论 ·
维护者通常 1 天内回复
查看 anomalyco/opencode 的全部 Issue
相似的 Issue
-
area:vscode bug has repro platform:macos platform:vscode regression
难度 2/5 1-3 小时 新手友好度 70/100
anthropics/claude-code#113502 ·
-
check:passed streams:add
难度 1/5 1 小时以内 新手友好度 77/100
维护者通常 1 天内回复
-
effort/l priority/p1 risk/high triage/core
难度 2/5 1-3 小时 新手友好度 76/100
iflytek/skillhub#1188 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 74/100
Fission-AI/OpenSpec#2337 ·
维护者通常 1 天内回复
-
Edit Network Properties can't be closed in a narrow window可能已有人在做 @hridhinvarkeyjoseph 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
cytoscape/cytoscape-web#1027 ·
维护者通常 1 天内回复