@dsh-plugins/dsh-opencode-go
DeepSeek Harness LLM provider plugin for OpenCode Go: registers the zen-go route (OpenAI-compatible chat/completions) and sends x-opencode-session per conversation.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xia-sc/dsh-opencode-go说明文档
阅读完整 README ↗配置(layer config / llm-opencode-go settings section)
| 字段 | 默认 | 说明 |
|---|---|---|
apiKeyEnv | OPENCODE_GO_API_KEY | credential ref 名 |
apiBase | https://opencode.ai/zen/go | 去掉尾部 /v1 前缀后的基址 |
requestTimeoutMs / streamIdleTimeoutMs | 60000 / 300000 | 连接超时 / 流空闲看门狗 |
enabledModels | 全表 | 提供哪些模型(卡片勾选即改这里) |
modelCaps | [] | [{id, contextWindow?, maxTokens?}],自填容量覆盖 |