opencode
opencode copied to clipboard
feat(app): add question tool UI for web
What does this PR do?
Implements question-answering tool UI for web. Fixes #7599
- [x] Implemented as part of
message-part.tsxas other prompts for permissions. - [x] Allows keyboard navigation using left/right/up/down/enter keys, as well as answer submission.
- [x] Writing a new prompt will correctly dismiss the question, so session will not be stuck.
- [x] Correctly shows the form after refreshing the page.
May still need work on design, but I think AI quite nailed it after few iterations.
How did you verify your code works?
Tested it on web: