opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Plan mode: Critical Issue in TUI and Web GUI

Open LeonMueller-OneAndOnly opened this issue 1 week ago • 2 comments

Description

The new "interactive question asking"-feature has a critical ux bug - alltough it is very nice when its working correctly.

When answering the last question (when multiple ones are asked) via text (and not using a pre suggested answer), the user can not confirm or send the answer in the TUI. So the new plan mode currently prevents the user from actually sending a request.

The web GUI doesnt even display the asked questions. So from there the user cannot answer them (since he does'nt see them).

Plugins

No response

OpenCode version

v1.1.8

Steps to reproduce

Well not sure how you get an llm to reliably reproduce this, but here is my shared convo

https://opncd.ai/share/ywBlj87Q

The very first prompt is the one where i experienced this issue.

Screenshot and/or share link

No response

Operating System

MacOs

Terminal

VS-Code

LeonMueller-OneAndOnly avatar Jan 09 '26 08:01 LeonMueller-OneAndOnly

This issue might be a duplicate of existing issues. Please check:

  • #7392: opentui: fatal: answer.join is not a function
  • #7438: opentui: fatal: answer.join is not a function

These issues appear to be manifestations of the same answer formatting bug that affects interactive question handling, which directly relates to the "cannot confirm answer" problem reported here.

Additionally, these related issues may provide context:

  • #7292: Plan mode is editing files despite refinement feedback (another critical plan mode bug)
  • #3844: Original feature request for plan mode questions (context for this feature)

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Jan 09 '26 08:01 github-actions[bot]

I will keep this issue open, since none of the suggested duplicates here seems to be an actual duplicate of the issue I experienced.

This issue might be a duplicate of existing issues. Please check:

* [opentui: fatal: answer.join is not a function. (In 'answer.join(", ")', 'answer.join' is undefined) #7392](https://github.com/anomalyco/opencode/issues/7392): opentui: fatal: answer.join is not a function

* [opentui: fatal: answer.join is not a function. (In 'answer.join(", ")', 'answer.join' is undefined) #7438](https://github.com/anomalyco/opencode/issues/7438): opentui: fatal: answer.join is not a function

These issues appear to be manifestations of the same answer formatting bug that affects interactive question handling, which directly relates to the "cannot confirm answer" problem reported here.

Additionally, these related issues may provide context:

* [Plan mode is editing my files (gemini 3 pro) #7292](https://github.com/anomalyco/opencode/issues/7292): Plan mode is editing files despite refinement feedback (another critical plan mode bug)

* [[FEATURE]: Plan mode questions like claude code #3844](https://github.com/anomalyco/opencode/issues/3844): Original feature request for plan mode questions (context for this feature)

Feel free to ignore if none of these address your specific case.

LeonMueller-OneAndOnly avatar Jan 09 '26 09:01 LeonMueller-OneAndOnly