Inbox: answer a waiting plan or gated review from the Inbox

未关闭
#3,776 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
full-stack

调研方向

Start by tracing how GET update builds open_reviews and how the Inbox renders rows in a thread, then follow the path a plan or gated review decision takes to the waiting session (see #899 and #3602). Read submit_plan in the OpenCode plugin and the server.waitForDecision() call, which currently blocks an Inbox answer from reaching the agent (see #2141). Done looks like: Inbox Approve/Send feedback resolves the same pending review, closes the review window, and a window decision clears the Inbox row, for both review kinds.

由索引模型根据 Issue 内容生成。

描述

Related: #899 (getting the decision back to the waiting session), #3602 (Approve for a document attached to a thread), #2141 (decision mode, which queues the Inbox's own questions but not open reviews).

I run agents on several linked machines, some with no browser. When an agent opens a plan review or a gated review, I'd like to approve it from the Inbox as well as from the review window, whichever I reach first:

  • The Inbox shows the open review in the agent's thread, with Approve and Send feedback (with a note).
  • An answer in the Inbox goes to the waiting session as the window's decision would, and closes the window.
  • A decision made in the window clears the row in the Inbox.

Today the Inbox only counts open reviews (open_reviews in GET update), and the Plans page's Approve records a decision on the saved plan, not on the review the agent is waiting on.

For the plannotator agent tool's gated reviews I can get close with an agent rule: the agent sends a question next to the review, and closes the review (close) if I answer in the Inbox first. That doesn't work for plan review. submit_plan in the OpenCode plugin waits on server.waitForDecision() until the window decides, so an Inbox answer can't reach the agent until then.

主要语言
TypeScript
星标
8.7k
派生
649
平均合并
16 小时 1 分钟
30 天内合并 PR
756

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

backnotprop/plannotator 的其他 Issue

查看 backnotprop/plannotator 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。