Add interactive ask_user tool across TUI and Dashboard - #406
Conversation
Implementation PlanProblem analysisdreb already has blocking user-input primitives and RPC/Dashboard transport, but built-in tools are wrapped without an extension context, so a native tool cannot currently reach The current TUI can host only one extension dialog at a time; concurrent requests overwrite the visible component and can orphan a promise. Following the latest maintainer discussion and re-assessment, this plan recommends strict FIFO, one-question-at-a-time behavior for the first release. The tabbed concurrent view and The Dashboard already marks any pending blocking extension-UI request as needing attention and already turns that state into fleet styling, a title badge, and a service-worker notification. Routing the new request through that pipeline should satisfy the notification requirement without parallel notification infrastructure. DeliverablesStage 1 — UX prototype and sign-off
Stage 2 — Runtime and surface wiring
Acceptance criteria
Files to create or modifyCore tool and session wiring
TUI
RPC and Dashboard
Tests and documentation
Testing approach
Risks and open questions
Plan created by mach6 |
Progress Update — Stage 1 (UX prototype)Landed the development-only UX prototype for What's included
Maintainer feedback addressed
Scope noteThis follows the latest re-assessment: strict one-question-at-a-time for the first release. The tabbed concurrent view and Screenshots of the updated single-choice and answered states are attached below (drag-drop from local run; not committed as repo binaries). Verification
Commit: Progress tracked by mach6 |
Addresses #396
Plan a first-class
ask_userexperience with TUI and Dashboard parity. The draft deliberately starts with a UX prototype/sign-off stage before wiring the tool into the runtime.The latest issue discussion recommends strict one-question-at-a-time behavior for the first release; the plan comment calls out the resulting scope decision for maintainer confirmation.
Implementation plan posted as a comment below.