You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(opencode): answer OpenCode questions from the modal, not only reject them #1025
Since #878, the OpenCode question modal shows the agent's question (questions[].question), but the only action is Reject (src/providers/opencode/runtime/opencodeSession.ts). OpenCode sends the options in metadata.questions[].options ({ label, description }), and the view never reads them. So a user can now read "Do you prefer red or blue?" and still cannot answer it.
Intended behaviour
Render each question with its header and options, one block per question, from metadata.questions[].
Answer through OpenCode's question reply endpoint with the chosen option(s). Keep Reject.
Multi-question prompts are answered as a set.
Acceptance
A renderer test drives the view from the recorded question-reject.json stream (packages/opencode-terminal-headless/testing/fixtures/live) and asserts the options render.
An integration test against a recorded or live server reply confirms the answer is accepted.
Found in the opencode-headless#14 review; out of scope for #878's release-blocker fix.
Activity
fix(opencode): answer a no-options question with an empty set, not an…
fix(opencode): keep a question's answer attached to that question
docs(decomposition): record the issue sweep through 2026-09-20 11:55Z