FishBottle7/opencode2dsh ↗★ 82
opencode2dsh
Free OpenCode Zen models for DeepSeek Harness (DSH): native dsh-llm adapter plugin, no API key. 适合需要接入并使用免费Zen模型进行对话或代码生成的DSH用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FishBottle7/opencode2dshドキュメント
README 全文を読む ↗Configuration
Defaults work out of the box. Override via the profile's cordis.patch.yml:
- id: opencode2dsh
name: '@opencode2dsh/dsh-plugin'
config:
mode: adapter # adapter (default) | sidecar
providerId: opencode2dsh
refreshSeconds: 300 # catalog refresh cadence
| Option | Default | Description |
|---|---|---|
mode | adapter | adapter: native LlmAdapter streaming straight from Zen. sidecar: legacy local-agent mode, not bundled — build the agent from legacy/agent and pass agentPath. |
providerId | opencode2dsh | Provider name shown in DSH. |
refreshSeconds | 300 | Live catalog refresh interval. Pricing metadata refreshes every 24 h. |
agentPath | auto-resolved | Sidecar only: path to the agent binary. |
agentArgs | — | Sidecar only: extra CLI args for the agent. |
restartDelayMs / restartMaxDelayMs / maxConsecutiveCrashes | 1000 / 60000 / 5 | Sidecar only: restart backoff and circuit breaker. |