opencode icon indicating copy to clipboard operation
opencode copied to clipboard

When using the opencode CLI, the right-side modules for MCP and LSP disappear

Open ShidaYuumi opened this issue 4 weeks ago • 6 comments

Description

When using version 1.1.6, the right-side area displays normally, but after updating to version 1.1.8, the right-side area disappears.

Image

Plugins

none

OpenCode version

1.1.8

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

ShidaYuumi avatar Jan 09 '26 07:01 ShidaYuumi

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

  • #4703: LSP - Java - eclipse-jdt-ls won't appear in the right hand side of the CLI TUI when enabled
  • #7415: TUI crash: [Reconciler] Unknown component type: spinner
  • #7433: opentui: fatal: answer.join is not a function
  • #7392: opentui: fatal: answer.join is not a function
  • #6749: The tui in the input line disappeared
  • #4990: Output from agent is frequently hidden

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

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

@ShidaYuumi Does this work? ctrl+x b or ctrl+p show sidebar

dpuyosa avatar Jan 09 '26 08:01 dpuyosa

@ShidaYuumi Does this work? ctrl+x b or ctrl+p show sidebar这行得通吗? ctrl+x bctrl+p show sidebar

That's it, the sidebar should now display properly

ShidaYuumi avatar Jan 09 '26 09:01 ShidaYuumi

@ShidaYuumi Does this work? ctrl+x b or ctrl+p show sidebar

Although this allows the sidebar to be displayed, it introduces a new issue. Previously in version 1.1.6, when the window was relatively small, the MCP and LSP would appear in the bottom-left corner of the window. They would only shift to the right side when the window was enlarged to a certain extent. Using 'show sidebar' causes them to be displayed on the right side at all times, which leads to display issues in small windows. However, there are no problems when the window is large.

Image

ShidaYuumi avatar Jan 09 '26 09:01 ShidaYuumi

Rolling back to version 1.1.6 restores normal display Small window display Image Large window display Image

ShidaYuumi avatar Jan 09 '26 10:01 ShidaYuumi

@ShidaYuumi With the latest version, in my case, after doing the toggle and restarting OpenCode, it went back to the expect behavior.

dpuyosa avatar Jan 09 '26 12:01 dpuyosa