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

Open
#3,789 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
full-stack

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
TypeScript
Stars
8.7k
Forks
649
Avg merge
16h 1m
Merged PRs (30d)
756

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from backnotprop/plannotator

All issues in backnotprop/plannotator

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.