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

Aperta
#3,789 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
full-stack

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
16h 1m
PR unite (30g)
756

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.