dsh-zen-proxy
dsh plugin: in-process OpenAI-compatible proxy that injects official OpenCode Zen client headers, enabling Zen free models in dsh without the 429 FreeUsageLimitError
AI Analysis
核心用途是优化 OpenCode Zen 免费模型的使用体验。适合在 DSH 中频繁调用 Zen 免费模型、需要规避请求频率限制的用户。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗Configuration reference
| Field | Default | Description |
|---|---|---|
host | 127.0.0.1 | Bind address |
port | 4097 | Listen port |
upstreamHost | opencode.ai | Zen upstream host |
upstreamBasePath | /zen/v1 | Zen upstream base path |
userAgent | opencode/1.15.5 ai-sdk/provider-utils/4.0.23 runtime/bun/1.3.14 | Official CLI user-agent |
clientHeader | cli | x-opencode-client value |
projectHeader | global | x-opencode-project value |