v2.47.0
Interactive User Questions
dreb can now pause mid-turn and ask you structured questions directly in the TUI and Dashboard, via the new ask_user tool.
Added
ask_usertool. The agent can present a Markdown-formatted question with optional multiple-choice options and free-text input, then wait for your answer before continuing. Available across TUI, Dashboard, and RPC hosts; extensions can use the same UI surface.- Markdown questions. Question text renders through the existing TUI
Markdowncomponent and the Dashboard's sanitizedMarkdownBodyrenderer. Options, titles, and submitted answers stay plain. - Unambiguous cancellation. Escape, the in-card Stop agent action, RPC host cancellation, and question timeout all stop the current agent turn instead of silently continuing without an answer. The in-card stop action keeps cancellation reachable on mobile, where the question UI can obscure dock controls.
Fixed
- Session titles survive stop/resume. Recovering from a stopped turn creates a branched session, which previously dropped the
session_infotitle entry that sat after the branch point — the resumed session lost its name and auto-titling later generated a new one. Branched sessions now inherit the current session name.
Documentation
- Root and package READMEs, plus extension, RPC, Dashboard, and session docs, cover the new tool, its cancellation semantics, and the branching behavior.
Initial implementation by Maximilian Scheurer in PR 406, with follow-up in PR 421.