feat(tui-go): interactive clarification question view

Render stage clarification questions as an AskUserQuestion-style form:
header chip, prompt, selectable option chips, and a free-text custom slot.
Arrow/hjkl nav, space to select, e for custom, enter to submit. Submit
guards on all-answered and sends ClarificationResponse; the parked stage
re-runs with the answers in context.
This commit is contained in:
2026-06-14 13:00:59 +04:00
parent 6242b590e4
commit 218a98034e
8 changed files with 584 additions and 3 deletions
+4
View File
@@ -104,6 +104,10 @@ func (m Model) handleKey(k tea.KeyMsg) (tea.Model, tea.Cmd) {
if m.overlay != OverlayNone {
return m.handleOverlayKey(k)
}
if m.displayState() == StateClarification {
m.clarEnsureState()
return m.handleClarificationKey(k)
}
if m.editMode == ModeInsert {
return m.handleInsertKey(k)
}