@skyrocks/dsh-go-quota
DeepSeek Harness plugin: OpenCode GO 套餐用量(5 小时 / 周 / 月三窗口)常驻输入框下方
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:skyrocks/dsh-go-quota说明文档
阅读完整 README ↗配置
包内 cordis.patch.yml 已带默认值,通常不需要改。需要覆盖时,在
~/.dsh/profiles/desktop/cordis.patch.yml(用户层)写入同 id 的配置:
- id: go-quota
config:
baseUrl: https://opencode.ai/zen/go/v1/usage
timeoutMs: 15000 # 单次请求超时(毫秒)
cacheMs: 45000 # Host 侧缓存(毫秒);点击刷新会绕过
| 字段 | 默认值 | 说明 |
|---|---|---|
baseUrl | https://opencode.ai/zen/go/v1/usage | 用量接口地址 |
timeoutMs | 15000 | 请求超时 |
cacheMs | 45000 | Host 缓存时长;refresh() 忽略缓存 |
改完配置需要重启 DSH。