A42Null/dsh-opencode-zen-plugin
Paste an OpenCode Console API key and the Console's chat models appear in the DSH model picker with their context windows, endpoint routing and reasoning tiers already set.
The plugin adapts the OpenCode Console model catalog to DSH with no per-model configuration: it fetches the catalog on start and on a timer (300 seconds by default) and the models appear in the picker automatically. Endpoint routing follows the official table by model family, so OpenAI-Responses-style models, Claude and Qwen chat models and the rest each go to their documented route, with reasoning parameters carried per model. It implements the full harness stream protocol, including streamed text, reasoning and tool-call blocks, usage accounting, stop-reason mapping and error classification for auth, quota and tier blocks, and it resolves the API key through the harness credential seam so a key saved from the web Models page is used without a restart.
Install
dsh plugin add @a42null/dsh-opencode-zen-pluginThe npm line the README lists as the primary install option; @a42null/dsh-opencode-zen-plugin@0.3.4 resolves its registry repository to this repo. The README also documents a release-tarball route and a github: route that needs git on PATH.
Compatibility
Ships as a DSH bundle; the key is entered under Settings, then Plugins. Model list and metadata are fetched from opencode.ai/zen/v1/models and models.dev, cached on disk for 7 days at ~/.opencode-zen/models.dev.json. Free -free models only run inside the OpenCode client and jev- SystemOne models are skipped; paid models still need a funded Console account.
Details
- Repo: A42Null/dsh-opencode-zen-plugin
- Category: Models & Providers
- Stars: 4
- Version: 0.3.4 (npm); MIT
Alternatives
yumusb/dsh-opencode-go-plus · kyomufs/dsh-opencode-zen · x5427876/dsh-opencode-free