1624318455/dsh-plugin-adapter ↗★ 0

dsh-plugin-adapter

Free OpenCode Zen models for DeepSeek Harness (DSH): native dsh-llm adapter plugin, no API key. 适合希望在DSH中免API Key直接调用OpenCode Zen模型进行对话的用户。

Package
dsh-plugin-adapter
Compatibility
Unverified
License
MIT
Last updated
Sep 20, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:1624318455/dsh-plugin-adapter

Configuration

Defaults work out of the box. Override via the profile's cordis.patch.yml:

- id: opencode2dsh
  name: '@memef1f1y/dsh-plugin-adapter'
  config:
    mode: adapter        # adapter (default) | sidecar
    providerId: zen-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.
providerIdzen-freeProvider name shown in DSH (opencode2dsh stays registered as a legacy alias).
refreshSeconds300Live catalog refresh interval. Pricing metadata refreshes every 24 h.
gatewaySession—Fixed session id sent as x-opencode-session for every request. Escape hatch: a conversation whose derived session is pinned to a broken upstream replica fails deterministically while fresh ones stream — pin a fresh canonical-shape id here and restart DSH to revive it.
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.