Integrate asynchronous questions into the TUI (#42891)

## What changed

- Display questions from live agent messages with a collapsed question count and an expandable answer editor.
- Support navigating, answering, queueing, and skipping questions while preserving the main composer draft. Expose question navigation and skip actions in the keymap picker.
- Route answers through existing input delivery and consume them only after an accepted send or queue operation. Keep questions editable while disconnected, with delivery and skipping disabled.

## Testing

Add tests for answer delivery, queued answers, retained drafts, disconnected editing, Vim undo, buffered input, constrained layouts, and question shortcut descriptions.

GitOrigin-RevId: 084b54dceb8c0100aefbf9f0b7897bf8d26eac47
This commit is contained in:
Ian MacLeod authored and copyberry committed 2026-09-05 00:15:42 +00:00
1 parent 6ae8dcf6e1
commit 218e8df926
26 files changed
+765 -34

No files matched your search

+1
View File
@@ -357,6 +357,7 @@ mod input_flow;
mod input_restore;
mod input_submission;
mod interrupts;
mod questions;
use self::interrupts::InterruptManager;
mod keymap_picker;
mod mcp_startup;