FishBottle7/opencode2dsh--packages-plugin0

@opencode2dsh/dsh-plugin

适用于 DeepSeek Harness 的免费 OpenCode Zen 模型插件:原生 dsh-llm 适配器插件,无需 API 密钥。

AI 分析

核心用途是免 API Key 接入并使用 OpenCode Zen 提供的免费模型。适合希望快速体验、无需配置凭据的 DSH 用户。

套件
@opencode2dsh/dsh-plugin
版本
0.2.6
授權
MIT
最近更新
2026年8月29日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FishBottle7/opencode2dsh#31edc18bedb486128d685bde112bddea7d8866ab&path:packages/plugin

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