[PR #7386] feat(question): support multi-select questions #12379

Closed
opened 2026-02-16 18:17:17 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7386

State: closed
Merged: Yes


Summary

  • Add multiple: true support to question prompts and request schema.
  • Standardize replies to answers: string[][] (always arrays; no union types).
  • Update TUI question flow to toggle selections with enter and improve Other editing/unselect behavior.
  • Regenerate OpenAPI + JS SDK types for the new schema.

Notes

  • Single-select questions still auto-submit when only one question is asked.
  • Multi-select questions (including single-question multi-select) use the Confirm tab.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7386 **State:** closed **Merged:** Yes --- ## Summary - Add `multiple: true` support to question prompts and request schema. - Standardize replies to `answers: string[][]` (always arrays; no union types). - Update TUI question flow to toggle selections with `enter` and improve `Other` editing/unselect behavior. - Regenerate OpenAPI + JS SDK types for the new schema. ## Notes - Single-select questions still auto-submit when only one question is asked. - Multi-select questions (including single-question multi-select) use the Confirm tab.
yindo added the pull-request label 2026-02-16 18:17:17 -05:00
yindo closed this issue 2026-02-16 18:17:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12379