ddldxiacan/dsh-opencode-free ↗★ 0
dsh-opencode-free
Free OpenCode Zen models for DeepSeek Harness (DSH): native dsh-llm adapter plugin, no API key. 适合需要免API密钥直接使用免费模型的用户。安装需配置依赖。
同名パッケージの別リポジトリ
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ddldxiacan/dsh-opencode-freeドキュメント
README 全文を読む ↗Configuration
Defaults work out of the box. Override via the profile's cordis.patch.yml.
The name must be the package you installed as: dsh-opencode-free for a git
install, @dsh-opencode-free/dsh-plugin for the tarball or npm.
- id: dsh-opencode-free
name: dsh-opencode-free # or '@dsh-opencode-free/dsh-plugin'
config:
mode: adapter # adapter (default) | sidecar
providerId: dsh-opencode-free
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 | dsh-opencode-free | 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. |
firstEventMs / bodyIdleMs / responsesBodyIdleMs | 30000 / 120000 / 300000 | Adapter only, plugin 0.3.7+: stream-liveness watchdogs, in ms (integers from 1 to 600000). Time to the first stream event, mid-response body silence, and the body-idle floor for Responses models (muse-spark-*). Increase firstEventMs for slow cold starts. Unset keeps the defaults; restart DSH after editing. |