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

Abierto
#3,789 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
full-stack

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
649
Merge medio
16 h 1 min
PR fusionados (30 d)
756

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de backnotprop/plannotator

Todos los issues de backnotprop/plannotator

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.