itchenshi/dsh-ready-gui--plugins-dsh-model-surplus ↗★ 3
dsh-model-surplus
DeepSeek Harness plugin: shows model usage and account balance in the session header — OpenCode Go plan usage (rolling / weekly / monthly) with the selected model's monthly cap, and DeepSeek account balance — each only while a matching model is the active selection. 适合使用OpenCode Go或DeepSeek官方服务,需实时查看额度消耗的用户。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:itchenshi/dsh-ready-gui#a886d1165b9c44e9887ad9fd6a8993e23449a0c4&path:plugins/dsh-model-surplusREADME
Read the full README ↗配置
插件的这一行配置位于 cordis.patch.yml;每个键都是可选的:
- insert:
- id: model-usage
name: dsh-model-surplus
config:
enabled: true
opencodeGo:
baseUrl: https://opencode.ai/zen/go/v1 # 上游根地址
apiKeyRef: OPENCODE_GO_API_KEY # 凭据引用
providers: [opencode-go, opencode] # 视为 OpenCode Go 的路由
deepseek:
baseUrl: https://api.deepseek.com # 上游根地址
apiKeyRef: DEEPSEEK_API_KEY # 凭据引用
providers: [deepseek-official] # 引擎的 DeepSeek 路由
顶层写 baseUrl / apiKeyRef / providers 仍会按 opencodeGo 分区读取(本插件以前只支持
OpenCode Go)。