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

オープン
#3,789 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
756

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

backnotprop/plannotator のほかの issue

backnotprop/plannotator の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。