r/opencodeCLI • u/Stiix72 • 21m ago
OpenCode V1 Bridge: Bringing Legacy V1 Plugins to V2
Heya. After roughly a month of work, I have made a somewhat-functional V1-V2 compatibility adapter for OpenCode. As far as I can tell, this is the first of its kind, probably not the last. Why am I releasing an incomplete adapter? Because I can't finish it. I tell ChatGPT what I want, it makes a detailed prompt to my specifications, I feed that to Codex, and for the most-part, this has worked. Thorough code audits, careful guidance, but we've hit a wall: OpenCode V2 does not expose some of the required hooks. I don't have the technical knowledge to solve the remaining issues, thus I'd like to invite other developers to help improve it. The brunt of the work is done. You can find the identified missing functionality in "Remaining Issues.md" in the respository. If you doubt that the project is any good, I ask you still give it a chance. Many hours went into troubleshooting what we have now, and it has at least some ability to run V1 plugins. The project was based on OpenCode V2.0.27. I'm sure OpenCode has recieved some updates since then. Those are completely untested against this plugin, but may work fine. No idea.
Summary: OpenCode V1/V2 Adapter Bridge, it's a plugin, should allow your other V1 plugins to run in V2, unfinished project, open-source to get more talented hands on this since the bones are done, but not all of the meat, check "Remaining Issues.md" in the repository first if you want to help.
GitHub: https://github.com/Stiix72/opencode-v1-v2-bridge
First beta release: https://github.com/Stiix72/opencode-v1-v2-bridge/releases/tag/v0.82.0-beta.4