opencode.json plugins version overwritten on startup #7421

Open
opened 2026-02-16 18:07:06 -05:00 by yindo · 2 comments
Owner

Originally created by @dhruvkej9 on GitHub (Jan 24, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

opencode overwrites the "oh-my-opencode@3.0.0-beta.16" plugin in the opencode.json to "oh-my-opencode@2.14.0" and after sending first message.

Plugins

oh-my-opencode, opencode-antigravity-auth@latest,@franlol/opencode-md-table-formatter, @tarquinen/opencode-dcp

OpenCode version

1.1.34

Steps to reproduce

  1. Write "oh-my-opencode@3.0.0-beta.16" plugin in the opencode.json
  2. Open new opencode in terminal
  3. After startup and first prompt oh-my-opencode version get's changed to "oh-my-opencode@2.14.0"

Screenshot and/or share link

https://github.com/user-attachments/assets/a7cf5069-4251-4502-b4f3-3349b3138189

Operating System

WSL2 Ubuntu 24.04

Terminal

Windows Terminal

Originally created by @dhruvkej9 on GitHub (Jan 24, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description opencode overwrites the "oh-my-opencode@3.0.0-beta.16" plugin in the opencode.json to "oh-my-opencode@2.14.0" and after sending first message. ### Plugins oh-my-opencode, opencode-antigravity-auth@latest,@franlol/opencode-md-table-formatter, @tarquinen/opencode-dcp ### OpenCode version 1.1.34 ### Steps to reproduce 1. Write "oh-my-opencode@3.0.0-beta.16" plugin in the opencode.json 2. Open new opencode in terminal 3. After startup and first prompt oh-my-opencode version get's changed to "oh-my-opencode@2.14.0" ### Screenshot and/or share link https://github.com/user-attachments/assets/a7cf5069-4251-4502-b4f3-3349b3138189 ### Operating System WSL2 Ubuntu 24.04 ### Terminal Windows Terminal
yindo added the windowsbug labels 2026-02-16 18:07:06 -05:00
Author
Owner

@dhruvkej9 commented on GitHub (Jan 24, 2026):

@rekram1-node It happened first time, very weird issue. why is opencode modifying opencode.json ??

@dhruvkej9 commented on GitHub (Jan 24, 2026): @rekram1-node It happened first time, very weird issue. why is opencode modifying opencode.json ??
Author
Owner

@github-actions[bot] commented on GitHub (Jan 24, 2026):

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

  • #9086: Config variables in opencode.json overwritten with actual values on start up
  • #6774: Plugins with implied latest version don't auto-update on restart
  • #10115: Only the last plugin loads in OpenCode 1.1.32 - Multiple plugins not supported
  • #8935: [FEATURE]: lockfiles (or similar) support for plugins
  • #8763: Plugin loader incorrectly appends @latest to GitHub references

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

@github-actions[bot] commented on GitHub (Jan 24, 2026): This issue might be a duplicate of existing issues. Please check: - #9086: Config variables in `opencode.json` overwritten with actual values on start up - #6774: Plugins with implied latest version don't auto-update on restart - #10115: Only the last plugin loads in OpenCode 1.1.32 - Multiple plugins not supported - #8935: [FEATURE]: lockfiles (or similar) support for plugins - #8763: Plugin loader incorrectly appends @latest to GitHub references Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7421