skyrocks/dsh-go-quota ↗★ 1

@skyrocks/dsh-go-quota

DeepSeek Harness plugin: OpenCode GO 套餐用量(5 小时 / 周 / 月三窗口)常驻输入框下方

Package
@skyrocks/dsh-go-quota
Compatibility
Unverified
Harness peer range
>=0.2.1-rc.2 <0.3.0
Cordis peer range
~4.0.5
Version
0.1.9
License
MIT
Last updated
Nov 6, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:skyrocks/dsh-go-quota

配置

包内 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 侧缓存(毫秒);点击刷新会绕过
字段默认值说明
baseUrlhttps://opencode.ai/zen/go/v1/usage用量接口地址
timeoutMs15000请求超时
cacheMs45000Host 缓存时长;refresh() 忽略缓存

改完配置需要重启 DSH。