whitelonng/dsh-opencode-go-pool ↗★ 1
dsh-opencode-go-pool
DeepSeek Harness plugin: multi-key pool with automatic quota failover and a usage dashboard for the OpenCode Go plan
AI Analysis
核心用途是管理多个 OpenCode Go 账号的 Key 并实现额度耗尽自动切换。适合拥有多个账号、需要保障 API 调用连续性并监控用量分布的开发者或团队。
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 ↗配置项
| 键 | 默认 | 含义 |
|---|---|---|
route | opencode-go | 接管官方路由;改为 opencode-go-pool 时注册自有路由(与官方并存,模型选择器需手动切换一次) |
keys | [] | Key 列表:{id, label, apiKeyEnv};通常留空由卡片管理 |
preemptAtPercent | 100 | 5h 滚动用量达到该百分比即主动避让;100 = 仅在失败时切换 |
usageBaseUrl | https://opencode.ai/zen/go/v1/usage | 用量接口地址 |
usageRefreshMs | 30000 | 卡片轮询间隔(host 侧另有 15s TTL 缓存) |
timeoutMs | 15000 | 用量请求超时 |