@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.
AI Analysis
核心用途是将 OpenCode Go 接入为 DSH 的模型供应商。适合需要使用 OpenCode 专属模型及会话跟踪特性的开发与测试任务。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xia-sc/dsh-opencode-goREADME
Read the full 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?}],自填容量覆盖 |