ddldxiacan/dsh-opencode-free ↗★ 0

dsh-opencode-free

接入免费模型适配器 适合需要免API密钥直接使用免费模型的用户。安装需配置依赖。

包名
dsh-opencode-free
兼容性
待验证
版本
0.4.1
许可证
MIT
最近更新
2026年10月19日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ddldxiacan/dsh-opencode-free

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
OptionDefaultDescription
modeadapteradapter: native LlmAdapter streaming straight from Zen. sidecar: legacy local-agent mode, not bundled — build the agent from legacy/agent and pass agentPath.
providerIddsh-opencode-freeProvider name shown in DSH.
refreshSeconds300Live catalog refresh interval. Pricing metadata refreshes every 24 h.
agentPathauto-resolvedSidecar only: path to the agent binary.
agentArgs—Sidecar only: extra CLI args for the agent.
restartDelayMs / restartMaxDelayMs / maxConsecutiveCrashes1000 / 60000 / 5Sidecar only: restart backoff and circuit breaker.
firstEventMs / bodyIdleMs / responsesBodyIdleMs30000 / 120000 / 300000Adapter 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.