Skip to content

v2.47.0

Choose a tag to compare

@aebrer aebrer released this 31 Jul 01:49
· 46 commits to master since this release
0a4393c

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_user tool. 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 Markdown component and the Dashboard's sanitized MarkdownBody renderer. 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_info title 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.