anomalyco / anomalyco/opencode
Webui shows lower version than what it should. for example 1.18.18 is displayed as 1.18.17.
@Hona is already working on this.
Since Aug 16, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Title:
WebUI displays incorrect version number (one lower than actual version / CLI)
Description:
There appears to be a small bug in how the WebUI calculates or displays the version number. It seems the WebUI always displays the last digit as -1 compared to the actual installed version.
Steps to reproduce / Example:
- Install OpenCode version 1.18.18.
- Check the version using the CLI: It correctly displays 1.18.18.
- Open the WebUI and check the version there: It incorrectly displays 1.18.17.
Expected behavior:
The WebUI should mirror the correct version number as shown by the CLI (e.g., 1.18.18 instead of 1.18.17).
I see there are some other posts in the past about the same issue, even dating back to april 2025, and in some posts I see developers reaction as "Issue is fixed!". But as of today 16 August 2026, the issue is still ongoing, thats why I posted this bug report.
Plugins
No response
OpenCode version
1.18.18
Steps to reproduce
- install opencode
or do upgrade 'opencode upgrade' - you will see the version of opencode instaled.
- start up the cli/tui by typing 'opencode' and see in bottom right that it shows the correct version.
- start up the webui by typing 'opencode serve --hostname 0.0.0.0 --port 8088' (example, you can fill in other ip or port).
- then in your webbrowser go to the opencode server, click on the top left 'home' button so that it shows the list of conversations, settings etc.
- click on settings
- in the bottom left you'll see the version number where the last number is 1 too low.
Screenshot and/or share link
No response
Operating System
Ubuntu 24.04 PC, also Ubuntu 24.04 Jetson (Jetpack 7.2.1)
Terminal
gnome-terminal
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.