opencode2-cmdcOpenCode V2 plugin that starts a local Command Code Go subscription bridge.
0
127
127 in 7 days
32.9
Multi-signal model
4 days ago
2026-08-15
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode2-cmdc@0.1.0"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode2-cmdc@0.1.0"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode2-cmdcopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
OpenCode V2 plugin for a Command Code Go subscription.
The plugin starts a loopback-only OpenAI-compatible bridge at
http://127.0.0.1:8788/v1. It reads Command Code authentication at runtime
from the existing Command Code login; it does not write credentials or alter
other OpenCode providers or models.
Authenticate with Command Code first:
cmd login
The bridge is derived from the MIT-licensed
hermes-commandcode-provider
project and supports its Command Code model/event protocol.
OpenCode setup
OpenCode V2's current plugin catalog API does not create new provider/model
records at runtime. Install this plugin normally, then register the bridge as
an OpenAI-compatible commandcode provider in your OpenCode provider config.
This plugin never rewrites an existing provider, model, or default model.