Repository navigation
opencode v2 (2.x) support for @omniroute/opencode-plugin? #14713
Replies: 5 comments 1 reply
|
Would the |
|
@morpheus9393 Yes, there is a v2 plugin, and @charleech pointed at the right place. It isn't on npm yet, though, and the guide doesn't say that.
To use it today, install it from a checkout. The plugin README covers this under "Local git clone --branch release/v3.8.51 https://github.com/diegosouzapw/OmniRoute
cd "OmniRoute/@omniroute/opencode-plugin-v2" && npm ci && npm run build{
"plugins": [
{
"package": "file:///path/to/OmniRoute/@omniroute/opencode-plugin-v2",
"options": { "providerId": "omniroute", "baseURL": "http://localhost:20128" }
}
]
}Keep the folder's root It works against a 3.8.x gateway. The guide ( On your second question: the plugin isn't deprecated for OC2. A static OpenAI-compatible provider entry does work, but you give up the live catalog and combos. Your offer to test is very welcome. A report of how the |
|
@morpheus9393 Update on the v2 plugin, and it's not the news I wanted to give you. v3.8.51 shipped on 2026-09-30 with The git clone --branch v3.8.51 https://github.com/diegosouzapw/OmniRoute
cd "OmniRoute/@omniroute/opencode-plugin-v2" && npm ci && npm run buildThen point |
|
@morpheus9393 @charleech Update: So the |
|
Closing for inactivity -- feel free to reopen if you still hit this, or open a fresh issue with a current log. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Hi, quick roadmap question about
@omniroute/opencode-plugin.Setup: OpenCode (moving to 2.x via OpenChamber 2.0) + OmniRoute gateway (3.8.x, Docker), using the plugin for the live
/v1/modelscatalog and combo routing via/api/combos.Problem: OpenCode 2.x broke the plugin API (
Plugin.define({id, setup})from@opencode-ai/plugin). The current plugin release (0.2.1) is v1-only and will not load under OC2.Questions:
@omniroute/opencode-pluginplanned? If yes, is there a rough timeline or a branch/PR to watch?opencode.jsoncthe officially recommended path going forward — i.e., should we treat the plugin as deprecated for OC2 and wire combos/models statically?Happy to test a beta/RC against a live 3.8.x gateway and report back. Thanks!
All reactions