[Feature Request] Inbox: setting to deliver replies into a working agent's turn at once (or after a shorter wait)

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

Start by finding where INBOX_AUTO_SEND_AFTER_MS and PLANNOTATOR_INBOX_AUTO_SEND_MS are read, and follow deliver_now_at / deliver_now_by: "auto" through the server timer introduced in #2056. Read the connection capability check that polls busy and send_now, and the existing Inbox settings UI (Settings → Agents), since the new option must persist and feed both paths. Done means configurable wait minutes with 5 minutes as default, plus an "at once" mode that only marks replies as now where Send now is already available.

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

描述

Problem

When I reply to an agent that is in the middle of a turn, the reply waits as Undelivered. It goes in only when I press Send now, or by itself after 5 minutes (#2056). I want the agent to see the reply right away, so I end up pressing Send now on almost every reply I send while an agent is working.

My agents are Oh My Pi sessions (through the Pi connection), and their turns are often long: builds, test runs, multi-step edits. Steering a reply into the running turn has always been fine for me. A correction that arrives mid-turn is more useful than one that waits for the turn to end.

Proposal

Add a setting in the Inbox (Settings → Agents, or next to the other delivery options): "When an agent is working: deliver at once / after N minutes", with the current 5 minutes as the default.

  • At once behaves as if Send now were pressed when the reply is sent. It applies only where Send now is already possible, meaning the connection polls busy and send_now. Everywhere else, behavior is unchanged.
  • After N minutes makes the existing INBOX_AUTO_SEND_AFTER_MS wait configurable, for example 1, 2 or 5 minutes.

The delivery paths already exist: deliver_now_at with deliver_now_by: "auto", plus the server timer from #2056. This setting would only change when that timer fires, or mark the reply as "now" when it is sent. PLANNOTATOR_INBOX_AUTO_SEND_MS does this today, but it is a testing knob that release builds ignore.

Why a setting and not a new default

#2056 chose 5 minutes on purpose, and #3229 shows that some people want a queued reply to stay editable until it goes in. A setting keeps both workflows available.

Related: #1968 (Send now), #2056 (auto-send after 5 minutes), #3229 (edit undelivered messages).

主要语言
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 摘要。