opencode --version in 1.0.90 incorrectly reports 1.3.3? #3046

Closed
opened 2026-02-16 17:38:22 -05:00 by yindo · 2 comments
Owner

Originally created by @jdanbrown on GitHub (Nov 21, 2025).

Description

In 1.0.90, opencode --version incorrectly says 1.3.3. In 1.0.89, it correctly says 1.0.89. Maybe my nodenv environment is somehow doing something wacky?

#
# Check nodenv
#

$ nodenv version
24.4.1 (set by /Users/danb/.nodenv/version)

$ nodenv which opencode
/Users/danb/.nodenv/versions/24.4.1/bin/opencode

#
# Install opencode 1.0.89 and observe opencode --version is correct
#

$ npm -g install opencode-ai@1.0.89
changed 2 packages in 729ms

$ npm -g list opencode-ai
/Users/danb/.nodenv/versions/24.4.1/lib
└── opencode-ai@1.0.89

$ which -a opencode
/Users/danb/.nodenv/shims/opencode
/Users/danb/.nodenv/shims/opencode

$ opencode --version
1.0.89

#
# Install opencode 1.0.90 and observe opencode --version is incorrect
#

$ npm -g install opencode-ai@1.0.90
changed 2 packages in 711ms

$ npm -g list opencode-ai
/Users/danb/.nodenv/versions/24.4.1/lib
└── opencode-ai@1.0.90

$ which -a opencode
/Users/danb/.nodenv/shims/opencode
/Users/danb/.nodenv/shims/opencode

$ opencode --version
1.3.3

#
# Install opencode 1.0.89 again and observe opencode --version goes back to being correct
#

$ npm -g install opencode-ai@1.0.89
changed 2 packages in 1s

$ npm -g list opencode-ai
/Users/danb/.nodenv/versions/24.4.1/lib
└── opencode-ai@1.0.89

$ which -a opencode
/Users/danb/.nodenv/shims/opencode
/Users/danb/.nodenv/shims/opencode

$ opencode --version
1.0.89

OpenCode version

1.0.90

Steps to reproduce

(above)

Screenshot and/or share link

No response

Operating System

macOS 15.5

Terminal

VS Code terminal

Originally created by @jdanbrown on GitHub (Nov 21, 2025). ### Description In 1.0.90, `opencode --version` incorrectly says `1.3.3`. In 1.0.89, it correctly says `1.0.89`. Maybe my nodenv environment is somehow doing something wacky? ```sh # # Check nodenv # $ nodenv version 24.4.1 (set by /Users/danb/.nodenv/version) $ nodenv which opencode /Users/danb/.nodenv/versions/24.4.1/bin/opencode # # Install opencode 1.0.89 and observe opencode --version is correct # $ npm -g install opencode-ai@1.0.89 changed 2 packages in 729ms $ npm -g list opencode-ai /Users/danb/.nodenv/versions/24.4.1/lib └── opencode-ai@1.0.89 $ which -a opencode /Users/danb/.nodenv/shims/opencode /Users/danb/.nodenv/shims/opencode $ opencode --version 1.0.89 # # Install opencode 1.0.90 and observe opencode --version is incorrect # $ npm -g install opencode-ai@1.0.90 changed 2 packages in 711ms $ npm -g list opencode-ai /Users/danb/.nodenv/versions/24.4.1/lib └── opencode-ai@1.0.90 $ which -a opencode /Users/danb/.nodenv/shims/opencode /Users/danb/.nodenv/shims/opencode $ opencode --version 1.3.3 # # Install opencode 1.0.89 again and observe opencode --version goes back to being correct # $ npm -g install opencode-ai@1.0.89 changed 2 packages in 1s $ npm -g list opencode-ai /Users/danb/.nodenv/versions/24.4.1/lib └── opencode-ai@1.0.89 $ which -a opencode /Users/danb/.nodenv/shims/opencode /Users/danb/.nodenv/shims/opencode $ opencode --version 1.0.89 ``` ### OpenCode version 1.0.90 ### Steps to reproduce (above) ### Screenshot and/or share link _No response_ ### Operating System macOS 15.5 ### Terminal VS Code terminal
yindo added the opentuibug labels 2026-02-16 17:38:22 -05:00
yindo closed this issue 2026-02-16 17:38:22 -05:00
Author
Owner

@thdxr commented on GitHub (Nov 21, 2025):

sorry! fixed in next version

@thdxr commented on GitHub (Nov 21, 2025): sorry! fixed in next version
Author
Owner

@jdanbrown commented on GitHub (Nov 22, 2025):

Thanks! Confirmed fixed in 1.0.104.

@jdanbrown commented on GitHub (Nov 22, 2025): Thanks! Confirmed fixed in 1.0.104.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3046