GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [FEATURE]: Allow messages to be sent mid-turn — interrupt, queue, or inject during active generation · Issue #21388 · anomalyco/opencode Closed Labels coreAnything pertaining to core functionality of the application (opencode server stuff) DescriptionProblemToday, once a turn begins (model is streaming tokens or executing tool calls), the input is effectively frozen. Any message typed by the user is either:
This creates several painful failure modes:
This is distinct from #17691 which proposes a Desired BehaviorThe user's input should always be live. Messages sent during an active turn should be handled in one of three modes (configurable per user / per session): Mode 1: Queue + Inject at next tool boundaryMessage is held and injected into the agent's context at the next natural breakpoint (between tool calls). The current tool finishes. No interruption. Mode 2: Preempt — pause streaming, inject, resumeThe model stream is paused mid-generation. The message is prepended to the pending assistant context and the turn resumes with the new context. Requires SSE stream cancellation + context splicing. Mode 3: Hard interrupt with context carry-forwardThe current turn is cancelled (existing behavior), but the accumulated partial tool results + the new user message are forwarded into a new turn automatically. The user doesn't lose the work done so far. Proposed UX
Technical SketchTUI path:
Web path:
API path:
Why This MattersThis is one of the highest-leverage UX improvements for agentic workflows:
Related Issues
Reacted by softyoda Activity
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |