GooDAnDReaDY/dsh-opencode-provider
Registers OpenCode Console/Zen (pay-as-you-go) and OpenCode Go/Go Plus (subscription) as two native DSH model routes, with multi-account rotation, four wire transports, and a 5h/week/month usage heatmap.
The router selects the opencode-direct or opencode-go-direct route from the DSH credential store, then picks a wire transport based on the chosen model's protocol: OpenAI Chat for DeepSeek and GLM models, Anthropic Messages for models that emit thinking signatures, OpenAI Responses for o-series compatible endpoints, and Google GenAI for models whose responses carry thoughtSignature replay data. The multi-account pool distributes load across configured credentials and applies cooldowns when a credential hits a quota. The usage heatmap shows spend across recent hours, the current week and the current month in the plugin's settings panel.
Install
dsh plugin --profile web add @goodandready/dsh-opencode-provider@0.5.14The npm line from the README (@goodandready/dsh-opencode-provider 0.5.14). The README explains why the ids use the -direct suffix: the built-in llm-pi-ai catalog already owns 'opencode' and 'opencode-go'; reusing those ids causes the core registry to reject the duplicate (DUPLICATE_DIRECTORY) and drop the built-in catalog. Select 'OpenCode (plugin)' or 'OpenCode Go (plugin)' in the model picker for this plugin's accounts. Existing sessions recorded under the old ids stay on the built-in routes.
Compatibility
MIT. Two routes: opencode-direct (OpenCode Console / Zen, pay-as-you-go via https://opencode.ai/inference) and opencode-go-direct (OpenCode Go / Go Plus, subscription via https://opencode.ai/inference/go). Credentials are resolved per call, so a changed credential reaches the next request without a restart. Multi-account pool with auto-rotation and cooldowns. Four wire transports chosen per model: OpenAI Chat Completions, Anthropic Messages (with thinking signatures), OpenAI Responses, and Google GenAI (thoughtSignature replay). A 5h/week/month heatmap and quota telemetry panel is included in the plugin settings.
Details
- Repo: GooDAnDReaDY/dsh-opencode-provider
- Category: Models & Providers
- Stars: 0
- Version: 0.5.14 (npm, @goodandready/dsh-opencode-provider)
Alternatives
GooDAnDReaDY/dsh-key-rotation · GooDAnDReaDY/dsh-clinebot · GooDAnDReaDY/dsh-subscriptions